aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2019-05-10 14:29:02 +1000
committerDave Airlie <airlied@redhat.com>2019-05-10 14:29:08 +1000
commitc01ad0fe1d57dbdee6e2f77d2c21a64eb1537480 (patch)
tree384fc0d1a7cf101f3ed7f7bee91ad09604a14fb7 /drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
parentb1c19fa16c82f45032f6c1d715dbaf250bdd824c (diff)
parent9d6fea5744d6798353f37ac42a8a653a2607ca69 (diff)
downloadlinux-c01ad0fe1d57dbdee6e2f77d2c21a64eb1537480.tar.gz
linux-c01ad0fe1d57dbdee6e2f77d2c21a64eb1537480.tar.bz2
linux-c01ad0fe1d57dbdee6e2f77d2c21a64eb1537480.zip
Merge branch 'drm-next-5.2' of git://people.freedesktop.org/~agd5f/linux into drm-next
- Fix a crash on gpu reset at driver load time - ATPX hotplug fix for when the dGPU is powered off - PLL fix for r5xx asics - SR-IOV fixes Signed-off-by: Dave Airlie <airlied@redhat.com> From: Alex Deucher <alexdeucher@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190509230017.3566-1-alexander.deucher@amd.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c b/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
index 8dbad496b29f..2471e7cf75ea 100644
--- a/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
+++ b/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
@@ -372,6 +372,9 @@ static int xgpu_ai_mailbox_rcv_irq(struct amdgpu_device *adev,
if (amdgpu_sriov_runtime(adev))
schedule_work(&adev->virt.flr_work);
break;
+ case IDH_QUERY_ALIVE:
+ xgpu_ai_mailbox_send_ack(adev);
+ break;
/* READY_TO_ACCESS_GPU is fetched by kernel polling, IRQ can ignore
* it byfar since that polling thread will handle it,
* other msg like flr complete is not handled here.