summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/r600d.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-01-17 03:11:47 +0400
committerAlex Deucher <alexander.deucher@amd.com>2014-01-21 03:20:56 +0400
commitd45b964a22cad962d3ede1eba8d24f5cee7b2a92 (patch)
treee38948c90fa1c552b4ae3e5c90702effc3926ab0 /drivers/gpu/drm/radeon/r600d.h
parent10e9ffae463396c5a25fdfe8a48d7c98a87f6b85 (diff)
downloadlinux-d45b964a22cad962d3ede1eba8d24f5cee7b2a92.tar.xz
drm/radeon: set the full cache bit for fences on r7xx+
Needed to properly flush the read caches for fences. Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/r600d.h')
-rw-r--r--drivers/gpu/drm/radeon/r600d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600d.h b/drivers/gpu/drm/radeon/r600d.h
index 3fca4b9c65ad..37455f65107f 100644
--- a/drivers/gpu/drm/radeon/r600d.h
+++ b/drivers/gpu/drm/radeon/r600d.h
@@ -1582,6 +1582,7 @@
# define PACKET3_CP_DMA_CMD_DAIC (1 << 29)
#define PACKET3_SURFACE_SYNC 0x43
# define PACKET3_CB0_DEST_BASE_ENA (1 << 6)
+# define PACKET3_FULL_CACHE_ENA (1 << 20) /* r7xx+ only */
# define PACKET3_TC_ACTION_ENA (1 << 23)
# define PACKET3_VC_ACTION_ENA (1 << 24)
# define PACKET3_CB_ACTION_ENA (1 << 25)