summaryrefslogtreecommitdiff
path: root/nvkm/include
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
commitbc5ae7ae17e5f06d4ef03ddc440df0da1a6f7ff7 (patch)
treeecb3ccc922d8f423273a2a54c925e02f5edd508d /nvkm/include
parent5a4f9b085ca80fc64cb83d6f80311a2164342d2d (diff)
downloadnouveau-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 'nvkm/include')
-rw-r--r--nvkm/include/core/class.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/nvkm/include/core/class.h b/nvkm/include/core/class.h
index 6c102d3d6..98733df66 100644
--- a/nvkm/include/core/class.h
+++ b/nvkm/include/core/class.h
@@ -59,10 +59,6 @@ struct nv04_display_scanoutpos {
#define NV50_DISP_SOR_MTHD_LINK 0x00000004
#define NV50_DISP_SOR_MTHD_OR 0x00000003
-#define NV50_DISP_SOR_PWR 0x00010000
-#define NV50_DISP_SOR_PWR_STATE 0x00000001
-#define NV50_DISP_SOR_PWR_STATE_ON 0x00000001
-#define NV50_DISP_SOR_PWR_STATE_OFF 0x00000000
#define NVA3_DISP_SOR_HDA_ELD 0x00010100
#define NV84_DISP_SOR_HDMI_PWR 0x00012000
#define NV84_DISP_SOR_HDMI_PWR_STATE 0x40000000