sna/dri: Remove busy-wait spin from vblank chaining of swapbuffers
The issue being that, due to the delay, the chained swap would miss its intended vblank and so cause an unwanted reduction in frame throughput and increase output latency even further. Since both client and server have other rate-limiting processes in place, we can forgo the stall here and still keep the clients in check. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54274 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
b56e8c5105
commit
f837807cc2
|
|
@ -1268,9 +1268,6 @@ void sna_dri_vblank_handler(struct sna *sna, struct drm_event_vblank *event)
|
|||
break;
|
||||
|
||||
case DRI2_SWAP_THROTTLE:
|
||||
if (!sna_dri_blit_complete(sna, info))
|
||||
return;
|
||||
|
||||
DBG(("%s: %d complete, frame=%d tv=%d.%06d\n",
|
||||
__FUNCTION__, info->type,
|
||||
event->sequence, event->tv_sec, event->tv_usec));
|
||||
|
|
|
|||
Loading…
Reference in New Issue