mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
[intel-gem] Call the new throttle ioctl from swap buffers
Swap buffers is a fairly reasonable time to wait for the hardware for a while; this keeps us from overrunning the ring.
This commit is contained in:
parent
dbf3c5247c
commit
f5d03af109
1 changed files with 2 additions and 0 deletions
|
|
@ -848,6 +848,8 @@ intelSwapBuffers(__DRIdrawablePrivate * dPriv)
|
|||
|
||||
intel_fb->swap_ust = ust;
|
||||
}
|
||||
drmCommandNone(intel->driFd, DRM_I915_GEM_THROTTLE);
|
||||
|
||||
}
|
||||
else {
|
||||
/* XXX this shouldn't be an error but we can't handle it for now */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue