summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/nid.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-05-19 06:14:42 +0200
committerDave Airlie <airlied@gmail.com>2011-05-22 12:25:27 +0200
commit0b65f83f9d2fab47b9b6040fe75fc2cfc73032d4 (patch)
tree0b1bed04eafc415a9f0b7068c39609af78a6d2eb /drivers/gpu/drm/radeon/nid.h
parentdrm/radeon/evergreen/btc/fusion: setup hdp to invalidate and flush when asked (diff)
downloadlinux-0b65f83f9d2fab47b9b6040fe75fc2cfc73032d4.tar.xz
linux-0b65f83f9d2fab47b9b6040fe75fc2cfc73032d4.zip
drm/radeon/cayman: setup hdp to invalidate and flush when asked
On cayman we need to set the bit to cause HDP flushes to invalidate the HDP cache also. Reviewed-by: Alex Deucher <alexdeucher@gmail.com> cc: stable@kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/nid.h')
-rw-r--r--drivers/gpu/drm/radeon/nid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/nid.h b/drivers/gpu/drm/radeon/nid.h
index 0f9a08b53fbd..b2088c1981d8 100644
--- a/drivers/gpu/drm/radeon/nid.h
+++ b/drivers/gpu/drm/radeon/nid.h
@@ -136,6 +136,8 @@
#define HDP_NONSURFACE_INFO 0x2C08
#define HDP_NONSURFACE_SIZE 0x2C0C
#define HDP_ADDR_CONFIG 0x2F48
+#define HDP_MISC_CNTL 0x2F4C
+#define HDP_FLUSH_INVALIDATE_CACHE (1 << 0)
#define CC_SYS_RB_BACKEND_DISABLE 0x3F88
#define GC_USER_SYS_RB_BACKEND_DISABLE 0x3F8C