drm/amdgpu/sdma5: fix a sdma potential hang in VK_Examples test
authortiancyin <tianci.yin@amd.com>
Mon, 22 Apr 2019 09:07:06 +0000 (17:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:27 +0000 (18:59 -0500)
commit278b6fba223005e87c8f491c9b7fa33dc6a6461e
tree51566adb0dc73db61e8404afa4dd060b14aefdbf
parent4135f10e26eaeb75a30ccfa6359d81004e1adc82
drm/amdgpu/sdma5: fix a sdma potential hang in VK_Examples test

[why]
When page fault happens, it could lead to sdma hang is RESP_MODE =
0 for non-PRT case.

[how]
Setting  SDMAx_UTCL1_CNTL.RESP_MODE to 0b011 to avoid SDMA halt.

Reviewed-by: Jack Xiao <Jack.Xiao@amd.com>
Signed-off-by: tiancyin <tianci.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c