OSDN Git Service

drm/amdgpu: Fix sigsev when accessing MMIO on hot unplug.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Tue, 1 Mar 2022 00:03:36 +0000 (19:03 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Mar 2022 23:40:06 +0000 (18:40 -0500)
commit57230f0ce6eda6d47a2029b7b3a39cc5bb63fe32
tree8ecc1c474b73522744b3fd03d0b7550ca74b2256
parent7d4108e4ceb30a89c63ae62bea284cf42985cf31
drm/amdgpu: Fix sigsev when accessing MMIO on hot unplug.

Protect with drm_dev_enter/exit

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c