]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Move fence SW fallback warning v3
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Tue, 25 Sep 2018 14:24:16 +0000 (10:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Sep 2018 02:09:21 +0000 (21:09 -0500)
commit77d9c371d4b81add17f677cd8c0b18267b0449b1
tree12e23672a735d83033396600b392ee7f18501b06
parent543a7a84c9c4f9472368a1da137356dfe9883e00
drm/amdgpu: Move fence SW fallback warning v3

Only print the warning if there was actually some fence processed
from the SW fallback timer.

v2: Add return value to amdgpu_fence_process to let
amdgpu_fence_fallback know fences were actually
processed and then print the warning.

v3: Always return true if seq != last_seq

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h