]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/amdgpu: save list length when fence is signaled
authorChunming Zhou <David1.Zhou@amd.com>
Fri, 11 Aug 2017 01:34:33 +0000 (09:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2017 18:10:01 +0000 (14:10 -0400)
commit7a7c286d07f9c704e8fd11dd960bf421cc67b66b
treeb766310f61cc1ed41f35dbd2b9af4304e5d33366
parent46828dc77961d9286e55671c4dd3b6c9effadf1a
drm/amdgpu: save list length when fence is signaled

update the list first to avoid redundant checks.

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c