Files
linux/drivers/gpu/drm/amd/amdgpu
Gavin Wan d68cf992de drm/amd/amdgpu: Remove static from variable in RLCG Reg RW
[why]
These static variables save the RLC Scratch registers address.
When we install multiple GPUs (for example: XGMI setting) and
multiple GPUs call the function at same time. The RLC Scratch
registers address are changed each other. Then it caused
reading/writing from/to wrong GPU.

[how]
Removed the static from the variables. The variables are
on the stack.

Fixes: 5d447e2967 ("drm/amdgpu: add helper for rlcg indirect reg access")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Gavin Wan <Gavin.Wan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-04-14 15:29:20 -04:00
..
2022-02-11 16:19:23 -05:00
2022-03-25 12:40:51 -04:00
2022-02-10 10:23:40 +01:00
2022-03-25 12:40:51 -04:00
2022-03-25 12:40:51 -04:00
2021-05-19 23:50:27 -04:00
2022-04-11 13:50:35 -04:00
2022-04-11 13:50:35 -04:00
2022-01-19 22:32:47 -05:00
2021-10-20 11:43:57 -04:00
2022-03-22 10:53:39 -04:00
2021-05-19 23:50:27 -04:00
2020-07-02 12:02:50 -04:00
2021-10-20 11:43:57 -04:00
2020-08-14 16:22:39 -04:00
2020-07-01 01:59:24 -04:00
2020-07-02 12:02:50 -04:00