mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-08 10:28:04 +02:00
Clarify order of operations
This commit is contained in:
parent
453a295c82
commit
b2f8368b57
1 changed files with 1 additions and 1 deletions
|
|
@ -1102,7 +1102,7 @@ static int i915_do_cleanup_pageflip(struct drm_device * dev)
|
|||
if (dev_priv->sarea_priv->pf_current_page & (0x3 << (2 * i))) {
|
||||
dev_priv->sarea_priv->pf_current_page =
|
||||
(dev_priv->sarea_priv->pf_current_page &
|
||||
~(0x3 << (2 * i))) | (num_pages - 1) << (2 * i);
|
||||
~(0x3 << (2 * i))) | ((num_pages - 1) << (2 * i));
|
||||
|
||||
planes |= 1 << i;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue