OSDN Git Service

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 d5b17b6..db4b410 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)