drm/amdgpu: save list length when fence is signaled
authorChunming Zhou <[email protected]>
Fri, 11 Aug 2017 01:34:33 +0000 (09:34 +0800)
committerAlex Deucher <[email protected]>
Thu, 17 Aug 2017 19:46:03 +0000 (15:46 -0400)
commit5b7f8404b217613918a0ebe40ea5511990ab2e35
treeb6ab0f8a498711e710e1556129075891fa0cec6c
parent3c848bb38aca1f7fd23edeb867b89d714a2e6ce2
drm/amdgpu: save list length when fence is signaled

update the list first to avoid redundant checks.

Signed-off-by: Chunming Zhou <[email protected]>
Reviewed-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c