summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorMa Jun <Jun.Ma2@amd.com>2022-11-02 15:53:26 +0800
committerAlex Deucher <alexander.deucher@amd.com>2022-11-04 16:05:53 -0400
commitc0cc999f3c32e65a7c88fb323893ddf897b24488 (patch)
tree5f492204010dd8722c25e0a852b2774a72c7f436 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parentcfa61b8f9e9e5e14e7a79f3e9454feb8e4690f99 (diff)
downloadlinux-c0cc999f3c32e65a7c88fb323893ddf897b24488.tar.bz2
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 <Jun.Ma2@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions