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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user