Commit b1ea3e6e authored by Calvin Owens's avatar Calvin Owens Committed by Ben Skeggs

drm/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: default avatarCalvin Owens <jcalvinowens@gmail.com>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent e4604d8f
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment