drm/amdgpu: change bank cache lock type to spinlock
authorYang Wang <kevinyang.wang@amd.com>
Thu, 16 May 2024 23:56:24 +0000 (07:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 17 May 2024 21:40:39 +0000 (17:40 -0400)
commit258ed689bc3163f86204f75df6c23f92b59b3fad
treef179fc4fe01eb23f29c88a241806edda4862087e
parent7794e99848de19e37b45a17a23115e973021b7ae
drm/amdgpu: change bank cache lock type to spinlock

modify the lock type to 'spinlock' to avoid schedule issue
in interrupt context.

Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c
drivers/gpu/drm/amd/amdgpu/amdgpu_mca.h