From: Marek Olšák Date: Mon, 20 Apr 2020 21:29:39 +0000 (-0400) Subject: ac: enable displayable DCC on Navi12 & Navi14 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22a4cb4937d40d3dbd34129c8c0e6cf8673c8f95;p=mesa.git ac: enable displayable DCC on Navi12 & Navi14 Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/common/ac_gpu_info.c index 055ecaf4cf2..550a5f3a705 100644 --- a/src/amd/common/ac_gpu_info.c +++ b/src/amd/common/ac_gpu_info.c @@ -659,10 +659,13 @@ bool ac_query_gpu_info(int fd, void *dev_p, assert(ib_align); info->ib_start_alignment = ib_align; - if (info->drm_minor >= 31 && - (info->family == CHIP_RAVEN || - info->family == CHIP_RAVEN2 || - info->family == CHIP_RENOIR)) { + if ((info->drm_minor >= 31 && + (info->family == CHIP_RAVEN || + info->family == CHIP_RAVEN2 || + info->family == CHIP_RENOIR)) || + (info->drm_minor >= 34 && + (info->family == CHIP_NAVI12 || + info->family == CHIP_NAVI14))) { if (info->num_render_backends == 1) info->use_display_dcc_unaligned = true; else