drm/amdgpu: Fix MMIO access page fault
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 16 Sep 2021 16:54:07 +0000 (12:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Sep 2021 19:17:29 +0000 (15:17 -0400)
commitc03509cbc01559549700e14c4a6239f2572ab4ba
treea574e7bc4190f868b262817af1a05361dc77367f
parentd82e2c249c8ffaec20fa618611ea2ab4dcfd4d01
drm/amdgpu: Fix MMIO access page fault

Add more guards to MMIO access post device
unbind/unplug

Bug: https://bugs.archlinux.org/task/72092?project=1&order=dateopened&sort=desc&pagenum=1
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c