]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: disable GFX ring and disable PQ wptr in hw_fini
authorMonk Liu <Monk.Liu@amd.com>
Mon, 29 Jan 2018 11:24:32 +0000 (19:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 28 Feb 2018 19:18:08 +0000 (14:18 -0500)
commitc855b3053d68df4fcd3ea2ea0f1bf51b219d0068
tree491f79b4bd3c2a8ca11629154c6a84b6d05bb60c
parent655edf6add8413f9bcfa7706a22aabbb7def6e47
drm/amdgpu: disable GFX ring and disable PQ wptr in hw_fini

otherwise there will be DMAR reading error comes out from CP since
GFX is still alive and CPC's WPTR_POLL is still enabled, which would
lead to DMAR read error.

fix:
we can hault CPG after hw_fini, but cannot halt CPC becaues KIQ
stil need to be alive to let RLCV invoke, but its WPTR_POLL could
be disabled.

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c