summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_state.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-12-07 13:56:26 +1000
committerDave Airlie <airlied@redhat.com>2011-01-05 13:43:22 +1000
commit5ccb377feaaff3daa1e9a179534bbd7550d78af6 (patch)
treec9a098cf46deaaffc07600ea67c71a16294f4136 /drivers/gpu/drm/nouveau/nouveau_state.c
parent851ab954daee0d8328e239a468835e36e6215182 (diff)
drm/nouveau: add delayed switch complete callback.
this just adds the callback on the delayed switch mechanism. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_state.c')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c
index d5b17b6ccd3..db4b410f4a8 100644
--- a/drivers/gpu/drm/nouveau/nouveau_state.c
+++ b/drivers/gpu/drm/nouveau/nouveau_state.c
@@ -1054,6 +1054,7 @@ err_out:
void nouveau_lastclose(struct drm_device *dev)
{
+ vga_switcheroo_process_delayed_switch();
}
int nouveau_unload(struct drm_device *dev)