drm/amdgpu: Fix SDMA hang in prt mode v2
authorTao Zhou <tao.zhou1@amd.com>
Fri, 7 Sep 2018 05:50:31 +0000 (13:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Sep 2018 03:45:19 +0000 (22:45 -0500)
commit03f67ed10d8522ea27be348e3f87d88f92043e71
tree9af8b4ae86fcea299fbc92856fde16f27a72f8c3
parent28968375a7ec95562e402b43f795e04fd320ae18
drm/amdgpu: Fix SDMA hang in prt mode v2

Fix SDMA hang in prt mode, clear XNACK_WATERMARK in reg SDMA0_UTCL1_WATERMK to avoid the issue

Affected ASICs: VEGA10 VEGA12 RV1 RV2

v2: add reg clear for SDMA1

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Tested-by: Yukun Li <yukun1.li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c