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:57 +1000
commit84e5a983c2024fc591324962127afda949f195a5 (patch)
treefb56f22302e95fab04cb353104fc050674e673f7 /nvif
parenta9d365116dfbddb77067c82bae0a9c842c41163d (diff)
downloadnouveau-84e5a983c2024fc591324962127afda949f195a5.tar.gz
disp/nv50-: audit and version LVDS_SCRIPT 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 abc6efab5..a3d433859 100644
--- a/nvif/class.h
+++ b/nvif/class.h
@@ -360,4 +360,11 @@ struct nv50_disp_sor_hdmi_pwr_v0 {
__u8 pad04[4];
};
+struct nv50_disp_sor_lvds_script_v0 {
+ __u8 version;
+ __u8 pad01[1];
+ __u16 script;
+ __u8 pad04[4];
+};
+
#endif