]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc57d1efa4f9ddd2dcccc3d5577019ea74c7960dd
tree0eebcfac8ea5895171fba37c9dc156d47039a124
parent409408ce5a148cb42c1b1f292110758fecf45244
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