From: Dave Airlie Date: Tue, 7 Dec 2010 03:56:26 +0000 (+1000) Subject: drm/nouveau: add delayed switch complete callback. X-Git-Tag: v2.6.38-rc1~419^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ccb377feaaff3daa1e9a179534bbd7550d78af6;p=thirdparty%2Fkernel%2Flinux.git drm/nouveau: add delayed switch complete callback. this just adds the callback on the delayed switch mechanism. Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c index d5b17b6ccd3a5..db4b410f4a8cb 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)