projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4604d8
)
drm/nouveau: fix unconditional return waiting on memory
author
Calvin Owens
<jcalvinowens@gmail.com>
Mon, 8 Apr 2013 02:01:19 +0000
(21:01 -0500)
committer
Ben Skeggs
<bskeggs@redhat.com>
Mon, 8 Apr 2013 23:16:15 +0000
(09:16 +1000)
Typo in nv50_display_flip_wait allows page flipping to run ahead before
memory has time to settle.
Signed-off-by: Calvin Owens <jcalvinowens@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_display.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/nv50_display.c
b/drivers/gpu/drm/nouveau/nv50_display.c
index 7f0e6c3f37d1fae4983bd6d8270364e52f00fc30..1ddc03e51bf47789b65992db64a3784cf0dad424 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nv50_display.c
+++ b/
drivers/gpu/drm/nouveau/nv50_display.c
@@
-479,7
+479,7
@@
nv50_display_flip_wait(void *data)
{
struct nv50_display_flip *flip = data;
if (nouveau_bo_rd32(flip->disp->sync, flip->chan->addr / 4) ==
- flip->chan->data)
;
+ flip->chan->data)
return true;
usleep_range(1, 2);
return false;