vsky, Andrey mailto:andrey.grodzov...@amd.com>>
*Cc:* amd-gfx@lists.freedesktop.org
<mailto:amd-gfx@lists.freedesktop.org>; Maling list - DRI
developers mailto:dri-de...@lists.freedesktop.org>>; Koenig, Christian
mailto:christian.koe...@amd.com>>
*Subject:* Re
id Zhou
>
>
>
> *From:* dri-devel *On Behalf Of
> *Nayan Deshmukh
> *Sent:* Thursday, August 02, 2018 12:07 AM
> *To:* Grodzovsky, Andrey
> *Cc:* amd-gfx@lists.freedesktop.org; Maling list - DRI developers <
> dri-de...@lists.freedesktop.org>; Koenig, Christian <
/scheduler: add new function to get least loaded
sched v2
Yes, that is correct.
Nayan
On Wed, Aug 1, 2018, 9:05 PM Andrey Grodzovsky
mailto:andrey.grodzov...@amd.com>> wrote:
Clarification question - if the run queues belong to different
schedulers they effectively point to different ring
Series is Acked-by: Andrey Grodzovsky
Andrey
On 08/01/2018 12:06 PM, Nayan Deshmukh wrote:
Yes, that is correct.
Nayan
On Wed, Aug 1, 2018, 9:05 PM Andrey Grodzovsky
mailto:andrey.grodzov...@amd.com>> wrote:
Clarification question - if the run queues belong to different
schedule
Yes, that is correct.
Nayan
On Wed, Aug 1, 2018, 9:05 PM Andrey Grodzovsky
wrote:
> Clarification question - if the run queues belong to different
> schedulers they effectively point to different rings,
>
> it means we allow to move (reschedule) a drm_sched_entity from one ring
> to another -
Clarification question - if the run queues belong to different
schedulers they effectively point to different rings,
it means we allow to move (reschedule) a drm_sched_entity from one ring
to another - i assume that the idea int the first place, that
you have a set of HW rings and you can ut
The function selects the run queue from the rq_list with the
least load. The load is decided by the number of jobs in a
scheduler.
v2: avoid using atomic read twice consecutively, instead store
it locally
Signed-off-by: Nayan Deshmukh
---
drivers/gpu/drm/scheduler/gpu_scheduler.c | 25 +