summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nv50_display.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-02-03 15:46:14 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-02-25 06:45:02 +1000
commit60f60bf1bc45bef38568244f5c4e0d0f105c5032 (patch)
tree8c636475240cdafb762254877dd4c00fa53fd41c /drivers/gpu/drm/nouveau/nv50_display.h
parentf13e435c59573aa0ac398210777cc0406c476593 (diff)
downloadop-kernel-dev-60f60bf1bc45bef38568244f5c4e0d0f105c5032.zip
op-kernel-dev-60f60bf1bc45bef38568244f5c4e0d0f105c5032.tar.gz
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_display.h')
-rw-r--r--drivers/gpu/drm/nouveau/nv50_display.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_display.h b/drivers/gpu/drm/nouveau/nv50_display.h
index ea37f23..a51b885 100644
--- a/drivers/gpu/drm/nouveau/nv50_display.h
+++ b/drivers/gpu/drm/nouveau/nv50_display.h
@@ -37,6 +37,7 @@
struct nv50_display {
struct nouveau_channel *master;
+ struct nouveau_gpuobj *ntfy;
struct tasklet_struct tasklet;
struct {
OpenPOWER on IntegriCloud