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
commitd565912539ccce2eb96cc04635278f7a6c009991 (patch)
tree47af1c7b223678b37f7a5256346ffeb8d276bad2 /nvif
parentbc5ae7ae17e5f06d4ef03ddc440df0da1a6f7ff7 (diff)
downloadnouveau-d565912539ccce2eb96cc04635278f7a6c009991.tar.gz
disp/nv50-: audit and version SOR_HDA_ELD 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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/nvif/class.h b/nvif/class.h
index 4afc264ba..84d2926dd 100644
--- a/nvif/class.h
+++ b/nvif/class.h
@@ -346,4 +346,10 @@ struct nv50_disp_sor_pwr_v0 {
__u8 pad02[6];
};
+struct nv50_disp_sor_hda_eld_v0 {
+ __u8 version;
+ __u8 pad01[7];
+ __u8 data[];
+};
+
#endif