]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add msix restore for pass-through mode
authorChengzhe Liu <ChengZhe.Liu@amd.com>
Thu, 22 Jul 2021 03:31:10 +0000 (11:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Jul 2021 14:09:40 +0000 (10:09 -0400)
commit04c2353dec0a8d5f12742da7f096e43c74ba637c
tree212fec57fa1d47250bf8b326e516e49a0fd9b97b
parent2709075ed9bc06e3d5255d8cc6bb7808d5a4347c
drm/amdgpu: Add msix restore for pass-through mode

In pass-through mode, after mode 1 reset, msix enablement status would
lost and never receives interrupt again. So, we should restore msix
status after mode 1 reset.

Signed-off-by: Chengzhe Liu <ChengZhe.Liu@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_irq.c