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:26:57 +1000 |
commit | bc5ae7ae17e5f06d4ef03ddc440df0da1a6f7ff7 (patch) | |
tree | ecb3ccc922d8f423273a2a54c925e02f5edd508d /nvif | |
parent | 5a4f9b085ca80fc64cb83d6f80311a2164342d2d (diff) | |
download | nouveau-bc5ae7ae17e5f06d4ef03ddc440df0da1a6f7ff7.tar.gz |
disp/nv50-: audit and version SOR_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 2200fea84..4afc264ba 100644 --- a/nvif/class.h +++ b/nvif/class.h @@ -340,4 +340,10 @@ struct nv50_disp_dac_load_v0 { __u8 pad04[4]; }; +struct nv50_disp_sor_pwr_v0 { + __u8 version; + __u8 state; + __u8 pad02[6]; +}; + #endif |