Files
linux/drivers
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-18 19:36:36 +01:00
2022-02-17 17:05:07 -08:00
2022-02-07 16:35:35 -08:00
2022-01-22 08:33:37 +02:00
2022-02-02 10:33:04 +05:30
2022-01-22 08:33:37 +02:00
2021-12-29 10:54:50 +01:00
2022-01-22 08:33:37 +02:00