Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: stop leaking page flip fence

reservation_object_get_fences_rcu already takes the references.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>

authored by

Christian König and committed by
Alex Deucher
5c92d87d c50f13f9

-4
-4
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
··· 184 184 goto cleanup; 185 185 } 186 186 187 - fence_get(work->excl); 188 - for (i = 0; i < work->shared_count; ++i) 189 - fence_get(work->shared[i]); 190 - 191 187 amdgpu_bo_get_tiling_flags(new_rbo, &tiling_flags); 192 188 amdgpu_bo_unreserve(new_rbo); 193 189