]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: Clear doorbell interrupt status for Sienna Cichlid
authorChengzhe Liu <ChengZhe.Liu@amd.com>
Tue, 20 Jul 2021 07:18:12 +0000 (15:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Jul 2021 14:09:40 +0000 (10:09 -0400)
commit1bece222eabeb3d8b10c5f2dadb03b6fb780b050
tree9504670a7f981c878e732e03ea2dc8fd1c2c6806
parent5810323ba692895b045e3f1b3e107605c3717dab
drm/amdgpu: Clear doorbell interrupt status for Sienna Cichlid

On Sienna Cichlid, in pass-through mode, if we unload the driver in BACO
mode(RTPM), then the kernel would receive thousands of interrupts.
That's because there is doorbell monitor interrupt on BIF, so KVM keeps
injecting interrupts to the guest VM. So we should clear the doorbell
interrupt status after BACO exit.

v2: Modify coding style and commit message

Signed-off-by: Chengzhe Liu <ChengZhe.Liu@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_nbio.h
drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c