]> git.baikalelectronics.ru Git - kernel.git/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)
commitd0afa81cbe2df6e5dce35958cd7a8b50fe2f2fcc
tree8c636475240cdafb762254877dd4c00fa53fd41c
parentbe94bc5ca091de381434b637900c95cc5e8fd09c
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