OSDN Git Service

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)
commit7ab3f021bbc8078e7fbd1d06b6b3105dc010dc0e
tree240847a05c1e9f5b58c825fba0f86bd77002963b
parent9194fb22ddd8e178e4e83e656b0c2346124ba9ec
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