Skip to content

Commit c0cc999

Browse files
Ma Junalexdeucher
authored andcommitted
drm/amdkfd: Fix the warning of array-index-out-of-bounds
For some GPUs with more CUs, the original sibling_map[32] in struct crat_subtype_cache is not enough to save the cache information when create the VCRAT table, so skip filling the struct crat_subtype_cache info instead fill struct kfd_cache_properties directly to fix this problem. Signed-off-by: Ma Jun <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent cfa61b8 commit c0cc999

File tree

4 files changed

+282
-292
lines changed

4 files changed

+282
-292
lines changed

0 commit comments

Comments
 (0)