* Fwd: [PATCH] nouveau: Fix unconditional return waiting on memory
@ 2013-04-08 2:01 Calvin Owens
[not found] ` <20130408020117.GA6479-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Calvin Owens @ 2013-04-08 2:01 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Cc: jcalvinowens-Re5JQEeQqe8AvxtiuMwx3w
----- Forwarded message from Calvin Owens <jcalvinowens-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> -----
From: Calvin Owens <jcalvinowens-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
CC: Ben Skeggs <bskeggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>, Calvin Owens <jcalvinowens-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: Thu, 21 Mar 2013 13:10:12 -0500
Subject: [PATCH] nouveau: Fix unconditional return waiting on memory
Typo in nv50_display_flip_wait allows page flipping to run ahead before
memory has time to settle.
Signed-off-by: Calvin Owens <jcalvinowens-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
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
----- End forwarded message -----
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-09 7:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08 2:01 Fwd: [PATCH] nouveau: Fix unconditional return waiting on memory Calvin Owens
[not found] ` <20130408020117.GA6479-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-04-08 22:42 ` Marcin Ślusarz
[not found] ` <CA+GA0_tm86Z7H6mGi056BhWrq2=+_69N3Xcn3HUCa_hQuB_Wqg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-04-09 7:04 ` Dave Airlie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.