]> git.baikalelectronics.ru Git - kernel.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>
Thu, 17 Aug 2017 19:46:03 +0000 (15:46 -0400)
commit73ce3623e18a94c8b9102159ba7fb4c27da2570d
treeb6ab0f8a498711e710e1556129075891fa0cec6c
parenta14be3a72577bbcd8fcb76577cffdba2c284ab64
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