]> Pileus Git - ~andy/linux/commit
drm/nv50-nvc0: request and wait on notification of modeset completion
authorBen Skeggs <bskeggs@redhat.com>
Thu, 3 Feb 2011 05:46:14 +0000 (15:46 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 24 Feb 2011 20:45:02 +0000 (06:45 +1000)
commit60f60bf1bc45bef38568244f5c4e0d0f105c5032
tree8c636475240cdafb762254877dd4c00fa53fd41c
parentf13e435c59573aa0ac398210777cc0406c476593
drm/nv50-nvc0: request and wait on notification of modeset completion

This should prevent a number of races from occuring, the most obvious of
which will be exposed when we start making use of the "display sync" evo
channel for page flipping.  The DS channel will reject any command stream
that doesn't completely agree with the current "master" state.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_dma.h
drivers/gpu/drm/nouveau/nv50_crtc.c
drivers/gpu/drm/nouveau/nv50_display.c
drivers/gpu/drm/nouveau/nv50_display.h
drivers/gpu/drm/nouveau/nv50_evo.c