Re: [PATCH 1/2] drm/scheduler: add a current job field to scheduler

2018-09-18 Thread Nayan Deshmukh
Hi Christian, Yes you are correct. My bad. Do you have any comments on the second patch? I will drop this patch and rebase the second one. Regards, Nayan On Wed, Sep 19, 2018, 2:09 AM Koenig, Christian wrote: > Am 18.09.2018 um 18:17 schrieb Nayan Deshmukh: > > Which points to the job runnin

Re: [PATCH 1/2] drm/scheduler: add a current job field to scheduler

2018-09-18 Thread Koenig, Christian
Am 18.09.2018 um 18:17 schrieb Nayan Deshmukh: > Which points to the job running on the hardware. This is > useful when we need to access the currently executing job > from the scheduler. That should be identical to list_first_entry_or_null(&sched->ring_mirror_list), doesn't it? Regards, Christi

[PATCH 1/2] drm/scheduler: add a current job field to scheduler

2018-09-18 Thread Nayan Deshmukh
Which points to the job running on the hardware. This is useful when we need to access the currently executing job from the scheduler. Signed-off-by: Nayan Deshmukh --- drivers/gpu/drm/scheduler/sched_main.c | 17 +++-- include/drm/gpu_scheduler.h| 2 ++ 2 files changed,