aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorShiwu Zhang <[email protected]>2023-07-20 07:25:15 +0000
committerAlex Deucher <[email protected]>2023-07-25 17:47:26 +0000
commit9bc12db4e2f62fe257ce02a8d4aa20e9c47fbe0e (patch)
tree9036ec0a5ed6a405b36616eba8fa4a9516ed4b00 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentdrm/amdgpu: add VISIBLE info in amdgpu_bo_print_info (diff)
downloadkernel-9bc12db4e2f62fe257ce02a8d4aa20e9c47fbe0e.tar.gz
kernel-9bc12db4e2f62fe257ce02a8d4aa20e9c47fbe0e.zip
drm/amdgpu: fix the indexing issue during rlcg access ctrl init
In case that the GET_INST() is used for looping, only loops for the times of actual num of xcc, otherwise GET_INST() will return the invalid index, a.k.a -1 And also remove the redundant mask checking in case of GET_INST() Signed-off-by: Shiwu Zhang <[email protected]> Reviewed-by: Le Ma <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions