summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2015-12-04 20:35:08 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-12-12 19:39:01 +0000
commit4bb16d712a3b281eb5e7f1c18f110935288daaee (patch)
tree4b7c1118a167e56a7955ac5a69865bca8dc3c18e
parent950e9886d01cd76d4ed5d1854609d27b8e459266 (diff)
radeonsi: disable DCC on Stoney
Cc: 11.1 <mesa-stable@lists.freedesktop.org> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 32f05fadbbdf2a3fb60055e610bbbdcd82dd3ce5)
-rw-r--r--src/gallium/drivers/radeon/r600_texture.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c
index 3126cce8c22..1ed9b3a08da 100644
--- a/src/gallium/drivers/radeon/r600_texture.c
+++ b/src/gallium/drivers/radeon/r600_texture.c
@@ -489,6 +489,10 @@ static void vi_texture_alloc_dcc_separate(struct r600_common_screen *rscreen,
if (rscreen->debug_flags & DBG_NO_DCC)
return;
+ /* TODO: DCC is broken on Stoney */
+ if (rscreen->family == CHIP_STONEY)
+ return;
+
rtex->dcc_buffer = (struct r600_resource *)
r600_aligned_buffer_create(&rscreen->b, PIPE_BIND_CUSTOM,
PIPE_USAGE_DEFAULT, rtex->surface.dcc_size, rtex->surface.dcc_alignment);