mirror_ubuntu-kernels/drivers/gpu/drm/amd
Shiwu Zhang 9bc12db4e2 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 <shiwu.zhang@amd.com>
Reviewed-by: Le Ma <le.ma@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-07-25 13:47:26 -04:00
..
acp
amdgpu drm/amdgpu: fix the indexing issue during rlcg access ctrl init 2023-07-25 13:47:26 -04:00
amdkfd drm/amdkfd: avoid svm dump when dynamic debug disabled 2023-07-25 13:44:05 -04:00
amdxcp drm/amdxcp: fix Makefile to build amdxcp module 2023-06-09 12:32:53 -04:00
display drm/amd/display: Unlock on error path in dm_handle_mst_sideband_msg_ready_event() 2023-07-25 13:41:55 -04:00
include drm/amd: open brace '{' following struct go on the same line 2023-07-25 13:43:50 -04:00
pm drm/amdgpu: open brace '{' following struct go on the same line 2023-07-25 13:44:00 -04:00