[PATCH 2/2] drm/amd/sched: add schuduling policy

Michel Dänzer michel at daenzer.net
Fri Mar 17 03:30:18 UTC 2017

On 17/03/17 11:35 AM, Zhou, David(ChunMing) wrote:
> Hi Christian, Andres,
> I understand your mean, especially high priority queue from Andres is
> for VR, which is liking an engine to himself, but our scheduler is a
> generic thing, which is used by multiple case. From scheduler
> perspective, scheduling policy is popular, e.g. CPU scheduler, it
> provides different time piece for different priority queue, high
> priority has long time to execute, low has short time, but everyone
> has the chance to run, just sooner or later.

The CPU scheduler supports the SCHED_FIFO scheduling policy, which
doesn't preempt a running process. It's only available to root.

Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer

More information about the amd-gfx mailing list