]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu:Improves robustness of SOC15_WAIT_ON_RREG
authorJames Zhu <James.Zhu@amd.com>
Mon, 17 Dec 2018 13:35:05 +0000 (08:35 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Dec 2018 22:39:03 +0000 (17:39 -0500)
commitc96b3fc5159ff49d1b27a7e27d8498eaa7c474b2
tree240847a05c1e9f5b58c825fba0f86bd77002963b
parentd78cd89962162b88ddb74910b62b126d69488e20
drm/amdgpu:Improves robustness of SOC15_WAIT_ON_RREG

If register value is updating, reset timeout counter.
It improves robustness of SOC15_WAIT_ON_RREG.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15_common.h