diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 04:10:27 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 05:26:57 +1000 |
commit | dd946b338d4bad89d344751e1dd7f57de0062c4f (patch) | |
tree | b5ae744fa121798b3a0870138a84088a7201f2c9 /nvif | |
parent | 84e5a983c2024fc591324962127afda949f195a5 (diff) | |
download | nouveau-dd946b338d4bad89d344751e1dd7f57de0062c4f.tar.gz |
disp/nv50-: audit and version SOR_DP_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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nvif/class.h b/nvif/class.h index a3d433859..e0d45faa4 100644 --- a/nvif/class.h +++ b/nvif/class.h @@ -367,4 +367,10 @@ struct nv50_disp_sor_lvds_script_v0 { __u8 pad04[4]; }; +struct nv50_disp_sor_dp_pwr_v0 { + __u8 version; + __u8 state; + __u8 pad02[6]; +}; + #endif |