mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-06 03:38:03 +02:00
i915: Only wait for pending flips before asynchronous flips again.
This commit is contained in:
parent
0741064df4
commit
d734992e6a
1 changed files with 3 additions and 2 deletions
|
|
@ -589,8 +589,9 @@ static void i915_do_dispatch_flip(drm_device_t * dev, int pipe, int sync)
|
|||
dspbase);
|
||||
|
||||
BEGIN_LP_RING(4);
|
||||
OUT_RING(MI_WAIT_FOR_EVENT | (pipe ? MI_WAIT_FOR_PLANE_B_FLIP :
|
||||
MI_WAIT_FOR_PLANE_A_FLIP));
|
||||
OUT_RING(sync ? 0 :
|
||||
(MI_WAIT_FOR_EVENT | (pipe ? MI_WAIT_FOR_PLANE_B_FLIP :
|
||||
MI_WAIT_FOR_PLANE_A_FLIP)));
|
||||
OUT_RING(CMD_OP_DISPLAYBUFFER_INFO | (sync ? 0 : ASYNC_FLIP) |
|
||||
(pipe ? DISPLAY_PLANE_B : DISPLAY_PLANE_A));
|
||||
OUT_RING(dev_priv->sarea_priv->pitch * dev_priv->cpp);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue