ac: set correct cache size per TCC for Yellow Carp

Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Tested-by: Yifan Zhang <yifan1.zhang@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15155>
This commit is contained in:
Marek Olšák
2021-10-08 21:24:02 -04:00
committed by Marge Bot
parent 4380916b76
commit 48046d5bd8
+3
View File
@@ -935,6 +935,9 @@ bool ac_query_gpu_info(int fd, void *dev_p, struct radeon_info *info,
default:
info->l2_cache_size = info->num_tcc_blocks * 256 * 1024;
break;
case CHIP_YELLOW_CARP:
info->l2_cache_size = info->num_tcc_blocks * 512 * 1024;
break;
}
info->l1_cache_size = 16384;