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
commita9d365116dfbddb77067c82bae0a9c842c41163d (patch)
treefd4b7228e37ae7d94001d263d7774a72c05782ce /nvif
parentd565912539ccce2eb96cc04635278f7a6c009991 (diff)
downloadnouveau-a9d365116dfbddb77067c82bae0a9c842c41163d.tar.gz
disp/nv50-: audit and version SOR_HDMI_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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/nvif/class.h b/nvif/class.h
index 84d2926dd..abc6efab5 100644
--- a/nvif/class.h
+++ b/nvif/class.h
@@ -352,4 +352,12 @@ struct nv50_disp_sor_hda_eld_v0 {
__u8 data[];
};
+struct nv50_disp_sor_hdmi_pwr_v0 {
+ __u8 version;
+ __u8 state;
+ __u8 max_ac_packet;
+ __u8 rekey;
+ __u8 pad04[4];
+};
+
#endif