summaryrefslogtreecommitdiff
path: root/nvif
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-08-10 04:10:26 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-08-10 05:26:57 +1000
commit5a4f9b085ca80fc64cb83d6f80311a2164342d2d (patch)
tree2f93db8c4990bb1ec84e8236fc6c57a7ffc91fde /nvif
parent3e60956386dffdb5e3b744f50afebfdbce16c3d8 (diff)
downloadnouveau-5a4f9b085ca80fc64cb83d6f80311a2164342d2d.tar.gz
disp/nv50-: audit and version DAC_LOAD 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 9681a1029..2200fea84 100644
--- a/nvif/class.h
+++ b/nvif/class.h
@@ -333,4 +333,11 @@ struct nv50_disp_dac_pwr_v0 {
__u8 pad05[3];
};
+struct nv50_disp_dac_load_v0 {
+ __u8 version;
+ __u8 load;
+ __u16 data;
+ __u8 pad04[4];
+};
+
#endif