* [PATCH] nouveau: Fix unconditional return waiting on memory
@ 2013-03-21 18:10 Calvin Owens
0 siblings, 0 replies; only message in thread
From: Calvin Owens @ 2013-03-21 18:10 UTC (permalink / raw)
To: dri-devel, linux-kernel; +Cc: Ben Skeggs, Calvin Owens
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>
---
drivers/gpu/drm/nouveau/nv50_display.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c
index 2db5799..96bc2f3 100644
--- 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;
--
1.7.3.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-21 18:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-21 18:10 [PATCH] nouveau: Fix unconditional return waiting on memory Calvin Owens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox