amd: enable displayable DCC for everything newer than Navi1x

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Acked-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6100>
This commit is contained in:
Marek Olšák
2020-07-27 19:24:31 -04:00
committed by Marge Bot
parent abed921ce7
commit b11ebbe2f6

View File

@@ -718,7 +718,8 @@ bool ac_query_gpu_info(int fd, void *dev_p,
info->family == CHIP_RENOIR)) ||
(info->drm_minor >= 34 &&
(info->family == CHIP_NAVI12 ||
info->family == CHIP_NAVI14))) {
info->family == CHIP_NAVI14)) ||
info->chip_class >= GFX10_3) {
if (info->num_render_backends == 1)
info->use_display_dcc_unaligned = true;
else