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:56:27 +0000 (22:56 -0500)
commit68ebc13ea40656fddd3803735d621921a2d74a5e
tree0eebcfac8ea5895171fba37c9dc156d47039a124
parentb463d4e53ca9bdbf227e19b477fbfcdedaa14c84
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