aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvif/class.h
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:28:07 +1000
commitc4abd3178e117d3ca15a40d76df2dbb135f33d78 (patch)
tree9dd2a3b7b40c41e64a71fc34323ee27499a4ab7f /drivers/gpu/drm/nouveau/nvif/class.h
parentdrm/nv50-/disp: audit and version DAC_PWR method (diff)
downloadlinux-dev-c4abd3178e117d3ca15a40d76df2dbb135f33d78.tar.xz
linux-dev-c4abd3178e117d3ca15a40d76df2dbb135f33d78.zip
drm/nv50-/disp: 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 'drivers/gpu/drm/nouveau/nvif/class.h')
-rw-r--r--drivers/gpu/drm/nouveau/nvif/class.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvif/class.h b/drivers/gpu/drm/nouveau/nvif/class.h
index 9681a102970d..2200fea849d4 100644
--- a/drivers/gpu/drm/nouveau/nvif/class.h
+++ b/drivers/gpu/drm/nouveau/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