OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
453a295
)
Clarify order of operations
author
Robert Noland
<rnoland@wombat.2hip.net>
Sun, 25 Nov 2007 17:50:07 +0000
(12:50 -0500)
committer
Robert Noland
<rnoland@2hip.net>
Sat, 1 Dec 2007 19:44:30 +0000
(14:44 -0500)
shared-core/i915_dma.c
patch
|
blob
|
history
diff --git
a/shared-core/i915_dma.c
b/shared-core/i915_dma.c
index
d86f86c
..
31df743
100644
(file)
--- a/
shared-core/i915_dma.c
+++ b/
shared-core/i915_dma.c
@@
-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;
}