drm/amdgpu: Enable F32_WPTR_POLL_ENABLE in mqd
authorRuili Ji <ruiliji2@amd.com>
Mon, 3 Oct 2022 09:39:45 +0000 (17:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Oct 2022 16:05:44 +0000 (12:05 -0400)
commit21a550de5faf9f54013334c9a6a7643b8fd80b36
tree43b8cdbfb9edbe67ab480cb58996ccde2d9ec65a
parent525530ad9a7ec9aa34266e1429cc5ef9acb58e6c
drm/amdgpu: Enable F32_WPTR_POLL_ENABLE in mqd

This patch is to fix the SDMA user queue doorbell missing issue on
SDMA 6.0. F32_WPTR_POLL_ENABLE has to be set if doorbell mode is
used. Otherwise ringing SDMA user queue doorbell can't wake up
system from gfxoff.

Signed-off-by: Ruili Ji <ruiliji2@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 6.0.x
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c