mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 09:02:06 +00:00
drm/amdkfd: add renoir cache info for CRAT (v2)
Renoir's cache info should be the same with raven and carrizo's. v2: fix missed "break" Signed-off-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
8099ae40d8
commit
a8d42f174d
1 changed files with 5 additions and 0 deletions
|
@ -138,6 +138,7 @@ static struct kfd_gpu_cache_info carrizo_cache_info[] = {
|
|||
/* TODO - check & update Vega10 cache details */
|
||||
#define vega10_cache_info carrizo_cache_info
|
||||
#define raven_cache_info carrizo_cache_info
|
||||
#define renoir_cache_info carrizo_cache_info
|
||||
/* TODO - check & update Navi10 cache details */
|
||||
#define navi10_cache_info carrizo_cache_info
|
||||
|
||||
|
@ -670,6 +671,10 @@ static int kfd_fill_gpu_cache_info(struct kfd_dev *kdev,
|
|||
pcache_info = raven_cache_info;
|
||||
num_of_cache_types = ARRAY_SIZE(raven_cache_info);
|
||||
break;
|
||||
case CHIP_RENOIR:
|
||||
pcache_info = renoir_cache_info;
|
||||
num_of_cache_types = ARRAY_SIZE(renoir_cache_info);
|
||||
break;
|
||||
case CHIP_NAVI10:
|
||||
case CHIP_NAVI14:
|
||||
pcache_info = navi10_cache_info;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue