diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-08-09 22:10:26 +0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-09 23:28:07 +0400 |
commit | c4abd3178e117d3ca15a40d76df2dbb135f33d78 (patch) | |
tree | 9dd2a3b7b40c41e64a71fc34323ee27499a4ab7f /drivers/gpu/drm/nouveau/nvif | |
parent | bf0eb89859439f016a1fab4cdf737c95f36dbb2e (diff) | |
download | linux-c4abd3178e117d3ca15a40d76df2dbb135f33d78.tar.xz |
drm/nv50-/disp: audit and version DAC_LOAD 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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvif/class.h b/drivers/gpu/drm/nouveau/nvif/class.h index 9681a102970d..2200fea849d4 100644 --- a/drivers/gpu/drm/nouveau/nvif/class.h +++ b/drivers/gpu/drm/nouveau/nvif/class.h @@ -333,4 +333,11 @@ struct nv50_disp_dac_pwr_v0 { __u8 pad05[3]; }; +struct nv50_disp_dac_load_v0 { + __u8 version; + __u8 load; + __u16 data; + __u8 pad04[4]; +}; + #endif |