]> 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)
commit99b4527692d8a4c5bf6caa1d795a2c4fe0d3d54c
tree12e23672a735d83033396600b392ee7f18501b06
parent7ef50da1bb62db37d701a141398e2fec8fc890fc
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