Module: Mesa Branch: master Commit: 32f05fadbbdf2a3fb60055e610bbbdcd82dd3ce5 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=32f05fadbbdf2a3fb60055e610bbbdcd82dd3ce5
Author: Marek Olšák <[email protected]> Date: Fri Dec 4 20:35:08 2015 +0100 radeonsi: disable DCC on Stoney Cc: 11.1 <[email protected]> Reviewed-by: Alex Deucher <[email protected]> --- src/gallium/drivers/radeon/r600_texture.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index 6515a82..774722f 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -497,6 +497,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); _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
