diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 04:10:26 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 05:28:09 +1000 |
commit | e00f2235386484cc1920dd99d17beac2a8dc4a95 (patch) | |
tree | fe61b4a6bd6c44ba668dcb3687b6a7e6049c7bae /drivers/gpu/drm/nouveau/nvif | |
parent | 120b0c39c75688864e4a25e71cf3ed40e8e18651 (diff) | |
download | talos-obmc-linux-e00f2235386484cc1920dd99d17beac2a8dc4a95.tar.gz talos-obmc-linux-e00f2235386484cc1920dd99d17beac2a8dc4a95.zip |
drm/nv50-/disp: 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 'drivers/gpu/drm/nouveau/nvif')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvif/class.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvif/class.h b/drivers/gpu/drm/nouveau/nvif/class.h index 84d2926dd069..abc6efab5dc6 100644 --- a/drivers/gpu/drm/nouveau/nvif/class.h +++ b/drivers/gpu/drm/nouveau/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 |