summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-09-01 08:40:41 +0400
committerDave Airlie <airlied@redhat.com>2009-09-07 07:48:11 +0400
commita498b8210f2f6ee0529c28048b5c4cecc17937c2 (patch)
tree3fc3c8a1072cce63be19d096debbdf541df5b57c
parentff6fdbed8f465f796da7ab32cde67e2dfb9e1f8f (diff)
downloadlinux-a498b8210f2f6ee0529c28048b5c4cecc17937c2.tar.xz
drm/radeon/kms: block depthxy offset from use from userspace.
This could be used to bypass CS checks. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/radeon/reg_srcs/r3001
-rw-r--r--drivers/gpu/drm/radeon/reg_srcs/rs6001
-rw-r--r--drivers/gpu/drm/radeon/reg_srcs/rv5151
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/reg_srcs/r300 b/drivers/gpu/drm/radeon/reg_srcs/r300
index 16f8f38264f7..d927005c6fa2 100644
--- a/drivers/gpu/drm/radeon/reg_srcs/r300
+++ b/drivers/gpu/drm/radeon/reg_srcs/r300
@@ -725,4 +725,3 @@ r300 0x4f60
0x4F50 ZB_HIZ_RDINDEX
0x4F54 ZB_HIZ_PITCH
0x4F58 ZB_ZPASS_DATA
-0x4F60 ZB_DEPTHXY_OFFSET
diff --git a/drivers/gpu/drm/radeon/reg_srcs/rs600 b/drivers/gpu/drm/radeon/reg_srcs/rs600
index 498c581a328b..344405a44df9 100644
--- a/drivers/gpu/drm/radeon/reg_srcs/rs600
+++ b/drivers/gpu/drm/radeon/reg_srcs/rs600
@@ -725,4 +725,3 @@ rs600 0x6d40
0x4F50 ZB_HIZ_RDINDEX
0x4F54 ZB_HIZ_PITCH
0x4F58 ZB_ZPASS_DATA
-0x4F60 ZB_DEPTHXY_OFFSET
diff --git a/drivers/gpu/drm/radeon/reg_srcs/rv515 b/drivers/gpu/drm/radeon/reg_srcs/rv515
index 7432df7f1c19..9602026ff9fe 100644
--- a/drivers/gpu/drm/radeon/reg_srcs/rv515
+++ b/drivers/gpu/drm/radeon/reg_srcs/rv515
@@ -483,4 +483,3 @@ rv515 0x6d40
0x4F50 ZB_HIZ_RDINDEX
0x4F54 ZB_HIZ_PITCH
0x4F58 ZB_ZPASS_DATA
-0x4F60 ZB_DEPTHXY_OFFSET