Revert "radeonsi: disable DCC on Stoney"
This reverts commit 32f05fadbb.
It turned out the problem with Stoney was caused by incorrect handling of
a non-power-two VRAM size in the kernel driver.
This is an optional BIOS setting and can be worked around by choosing
a different VRAM size in the BIOS.
Cc: 11.1 <mesa-stable@lists.freedesktop.org>
This commit is contained in:
@@ -497,10 +497,6 @@ 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);
|
||||
|
||||
Reference in New Issue
Block a user