drm/nouveau: add delayed switch complete callback.
authorDave Airlie <airlied@redhat.com>
Tue, 7 Dec 2010 03:56:26 +0000 (13:56 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 5 Jan 2011 03:43:22 +0000 (13:43 +1000)
this just adds the callback on the delayed switch mechanism.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/nouveau/nouveau_state.c

index d5b17b6ccd3a5493a69f6d30b833f2a2328667ea..db4b410f4a8cbd19d90f4a5bab308e5244dc9943 100644 (file)
@@ -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)