]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add kiq version interface for RREG32/WREG32
authorchen gong <curry.gong@amd.com>
Wed, 15 Jan 2020 06:44:43 +0000 (14:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Jan 2020 21:34:22 +0000 (16:34 -0500)
commitdec2b7c9ab751c68d68f8cb1f2163f1d24180400
treec9532f3709feb8a5c51f921a252b6136ed8a5ab4
parent4fbaf44ed23997dce6a0e762f5bd08554cb7e3e0
drm/amdgpu: add kiq version interface for RREG32/WREG32

Reading some registers by mmio will result in hang when GPU is in
"gfxoff" state.This problem can be solved by GPU in "ring command
packages" way.

Signed-off-by: chen gong <curry.gong@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@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/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c