]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Remove extra dma_fence_put on xe_sync_entry_add_deps failure
authorHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Tue, 20 Aug 2024 09:02:28 +0000 (14:32 +0530)
committerNirmoy Das <nirmoy.das@intel.com>
Tue, 27 Aug 2024 08:32:57 +0000 (10:32 +0200)
commit11b7309dbe9fa98d9b8d18cd51db4f385c37ae30
tree9599c0c1aeeeeaf1b0938ad904fe4d1f5e449731
parent9c57bc08652a7c8e0e355c52c023fddc090fe9bb
drm/xe: Remove extra dma_fence_put on xe_sync_entry_add_deps failure

drm_sched_job_add_dependency() drops references even in case of error,
no need for caller to call dma_fence_put.

Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Acked-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240820090230.3258128-1-himal.prasad.ghimiray@intel.com
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
drivers/gpu/drm/xe/xe_sync.c