drm/amdgpu: Deactivate SW interrupt fallback in amdgpu_fence_process v2
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Mon, 24 Sep 2018 12:10:22 +0000 (14:10 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Sep 2018 02:09:18 +0000 (21:09 -0500)
commit3547e3cf1976e6ff72098c8f8e7e4a1c3e727e1d
treef9ffce29318bbeaef6c1c491f18a21dc1bd01248
parent22a3a2941b93e5095ea63f6ab01d96cbfd4cd3f4
drm/amdgpu: Deactivate SW interrupt fallback in amdgpu_fence_process v2

Deactivate SW interrupt fallback when all emited fences are completed.
Also switch interrupt SW fallback message from INFO to WARN.

v2: shorten the warning message a bit and only re-activate the timer during
processing if it was already activated before. (Christian)

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Suggested-by: Christian Konig <Christian.Koenig@amd.com>
Reviewed-and-Tested-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c