Skip to content

Commit d50bf3f

Browse files
hkasivisalexdeucher
authored andcommitted
drm/amdkfd: hard-code MALL cacheline size for gfx11, gfx12
This information is not available in ip discovery table. Signed-off-by: Harish Kasiviswanathan <[email protected]> Reviewed-by: David Belanger <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
1 parent 321048c commit d50bf3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdkfd/kfd_crat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1504,7 +1504,7 @@ static int kfd_fill_gpu_cache_info_from_gfx_config(struct kfd_dev *kdev,
15041504
CRAT_CACHE_FLAGS_DATA_CACHE |
15051505
CRAT_CACHE_FLAGS_SIMD_CACHE);
15061506
pcache_info[i].num_cu_shared = adev->gfx.config.max_cu_per_sh;
1507-
pcache_info[i].cache_line_size = 0;
1507+
pcache_info[i].cache_line_size = 64;
15081508
i++;
15091509
}
15101510
return i;

0 commit comments

Comments
 (0)