summaryrefslogtreecommitdiff
path: root/nvif
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-08-10 04:10:27 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-08-10 05:26:58 +1000
commit39e2197f793e11f18b9e67b322beebb89c104f78 (patch)
treeacd12b78a861b7f700e8144a94ef1fe159b78bfe /nvif
parentdd946b338d4bad89d344751e1dd7f57de0062c4f (diff)
downloadnouveau-39e2197f793e11f18b9e67b322beebb89c104f78.tar.gz
disp/nv50-: audit and version PIOR_PWR method
The full object interfaces are about to be exposed to userspace, so we need to check for any security-related issues and version the structs to make it easier to handle any changes we may need in the future. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvif')
-rw-r--r--nvif/class.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/nvif/class.h b/nvif/class.h
index e0d45faa4..f869f94d4 100644
--- a/nvif/class.h
+++ b/nvif/class.h
@@ -373,4 +373,11 @@ struct nv50_disp_sor_dp_pwr_v0 {
__u8 pad02[6];
};
+struct nv50_disp_pior_pwr_v0 {
+ __u8 version;
+ __u8 state;
+ __u8 type;
+ __u8 pad03[5];
+};
+
#endif