Re: [RFC PATCH] drm/scheduler: Add drm_sched_job_cleanup

2018-10-25 Thread Koenig, Christian
Am 24.10.18 um 16:55 schrieb Jordan Crouse: > On Wed, Oct 24, 2018 at 07:10:23PM +0530, Sharat Masetty wrote: >> Hi, >> >> Can you please review this and share your thoughts on this approach. We >> primarily need a clean way to release the finished fence in case the job >> was not pushed to the

Re: [RFC PATCH] drm/scheduler: Add drm_sched_job_cleanup

2018-10-24 Thread Jordan Crouse
On Wed, Oct 24, 2018 at 07:10:23PM +0530, Sharat Masetty wrote: > Hi, > > Can you please review this and share your thoughts on this approach. We > primarily need a clean way to release the finished fence in case the job > was not pushed to the queue. So, this patch adds the new API to clean up >

[RFC PATCH] drm/scheduler: Add drm_sched_job_cleanup

2018-10-24 Thread Sharat Masetty
Hi, Can you please review this and share your thoughts on this approach. We primarily need a clean way to release the finished fence in case the job was not pushed to the queue. So, this patch adds the new API to clean up the resources allocated in sched_job_init() Additionally I also move the