From 186adc514b820dd736cc680a6cf058b7fbb31ebf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 30 Nov 2017 02:14:18 +0100 Subject: [PATCH] ac/surface: always compute DCC info when DCC is possible on GFX9 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The same code for VI doesn't check for scanout either. Reviewed-by: Nicolai Hähnle --- src/amd/common/ac_surface.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/amd/common/ac_surface.c b/src/amd/common/ac_surface.c index 8347c45508f..590920ee2b6 100644 --- a/src/amd/common/ac_surface.c +++ b/src/amd/common/ac_surface.c @@ -925,7 +925,6 @@ static int gfx9_compute_miptree(ADDR_HANDLE addrlib, } else { /* DCC */ if (!(surf->flags & RADEON_SURF_DISABLE_DCC) && - !(surf->flags & RADEON_SURF_SCANOUT) && !compressed && in->swizzleMode != ADDR_SW_LINEAR) { ADDR2_COMPUTE_DCCINFO_INPUT din = {0}; -- 2.30.2