drm/amdkfd: To fix sdma page fault issue for GC 11
authorRuili Ji <ruiliji2@amd.com>
Mon, 6 Feb 2023 10:35:50 +0000 (18:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Feb 2023 22:35:57 +0000 (17:35 -0500)
commit2e2b9baf008ec795fe750a48b42e787cf31486df
tree3703b0794d043d7689275816ae97ac20a70a02fe
parenta48bba98380cb0b43dcd01d276c7efc282e3c33f
drm/amdkfd: To fix sdma page fault issue for GC 11

For the MQD memory, KMD would always allocate 4K memory,
and mes scheduler would write to the end of MQD for unmap flag.

Signed-off-by: Ruili Ji <ruiliji2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c