drm/amdgpu: fix CPDMA hang in PRT mode
authorTao Zhou <tao.zhou1@amd.com>
Tue, 9 Oct 2018 03:40:31 +0000 (11:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Oct 2018 19:47:39 +0000 (14:47 -0500)
commitf9f97e3c7fe681bc8dcb9625856a559e2c7e11d8
treef992e66662542ae3fd358db30d2af5632d5669b3
parent04e7580f892688aff140c574dbefa707977375e7
drm/amdgpu: fix CPDMA hang in PRT mode

Fix CPDMA hang in PRT mode, set CPF_INT_DMA in reg CP_MECx_F32_INT_DIS for Compute and set DISABLE_GFX_HALT_ON_UTCL1_ERROR in reg CP_DEBUG for GFX

Affected ASICs: Vega10 Vega12 Raven

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Tested-by: Yukun.Li <yukun1.li@amd.com>
Tested-by: Maciej.Jesionowski <maciej.jesionowski@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/gfx_v9_0.c