diff options
author | 2021-11-05 12:10:27 +0100 | |
---|---|---|
committer | 2021-11-05 12:10:27 +0100 | |
commit | 820e9906cf64142169134f35b996108303cf22ca (patch) | |
tree | 89f8831fb39c59aba208395d91e25ab4b26f473f /drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | |
parent | Merge branch 'for-5.16/apple' into for-linus (diff) | |
parent | HID: hid-asus.c: Maps key 0x35 (display off) to KEY_SCREENLOCK (diff) | |
download | wireguard-linux-820e9906cf64142169134f35b996108303cf22ca.tar.xz wireguard-linux-820e9906cf64142169134f35b996108303cf22ca.zip |
Merge branch 'for-5.16/asus' into for-linus
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c b/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c index ff2307d7ee0f..23b066bcffb2 100644 --- a/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c +++ b/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c @@ -258,6 +258,8 @@ static void xgpu_ai_mailbox_flr_work(struct work_struct *work) amdgpu_virt_fini_data_exchange(adev); atomic_set(&adev->in_gpu_reset, 1); + xgpu_ai_mailbox_trans_msg(adev, IDH_READY_TO_RESET, 0, 0, 0); + do { if (xgpu_ai_mailbox_peek_msg(adev) == IDH_FLR_NOTIFICATION_CMPL) goto flr_done; |