OpenCloudOS-Kernel/drivers/gpu/drm/scheduler
Sharat Masetty 26efecf955 drm/scheduler: Add drm_sched_job_cleanup
This patch adds a new API to clean up the scheduler job resources. This
is primarliy needed in cases the job was created but was not queued to
the scheduler queue. Additionally with this change, the layer which
creates the scheduler job also gets to free up the job's resources and
this entails moving the dma_fence_put(finished_fence) to the drivers
ops free handler routines.

Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-11-05 14:21:27 -05:00
..
Makefile drm/scheduler: rename gpu_scheduler.c to sched_main.c 2018-08-27 11:10:44 -05:00
gpu_scheduler_trace.h drm/scheduler: Add job dependency trace. 2018-08-27 11:09:46 -05:00
sched_entity.c drm/scheduler: Add drm_sched_job_cleanup 2018-11-05 14:21:27 -05:00
sched_fence.c drm/scheduler: change entities rq even earlier 2018-08-27 11:10:07 -05:00
sched_main.c drm/scheduler: Add drm_sched_job_cleanup 2018-11-05 14:21:27 -05:00