summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_state.c
diff options
context:
space:
mode:
authorDave Airlie2010-12-07 04:56:26 +0100
committerDave Airlie2011-01-05 04:43:22 +0100
commit5ccb377feaaff3daa1e9a179534bbd7550d78af6 (patch)
treec9a098cf46deaaffc07600ea67c71a16294f4136 /drivers/gpu/drm/nouveau/nouveau_state.c
parentvga_switcheroo: add debugging mux switch option. (diff)
downloadkernel-qcow2-linux-5ccb377feaaff3daa1e9a179534bbd7550d78af6.tar.gz
kernel-qcow2-linux-5ccb377feaaff3daa1e9a179534bbd7550d78af6.tar.xz
kernel-qcow2-linux-5ccb377feaaff3daa1e9a179534bbd7550d78af6.zip
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 d5b17b6ccd3a..db4b410f4a8c 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)