Skip to content
Commit 02dfb919 authored by Chris Wilson's avatar Chris Wilson
Browse files

sna/present: Only add the first element to the Timer queue



TimerSet scales linearly with the number of elements in the queue as it
performs an insertion sort, duplicating the sorting we also perform to
keep the per-crtc vblank queue in an orderly fashion. As we already
maintain the ordered timeline of vblanks, we can simply queue the next
when the current vblank completes.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 16820c4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment