aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
diff options
context:
space:
mode:
authorMa Jun <[email protected]>2022-11-02 07:53:26 +0000
committerAlex Deucher <[email protected]>2022-11-04 20:05:53 +0000
commitc0cc999f3c32e65a7c88fb323893ddf897b24488 (patch)
tree5f492204010dd8722c25e0a852b2774a72c7f436 /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
parentdrm/amdgpu: switch to select_se_sh wrapper for gfx v9_0 (diff)
downloadkernel-c0cc999f3c32e65a7c88fb323893ddf897b24488.tar.gz
kernel-c0cc999f3c32e65a7c88fb323893ddf897b24488.zip
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]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions