From: Dave Airlie Date: Tue, 7 Dec 2010 03:56:26 +0000 (+1000) Subject: drm/nouveau: add delayed switch complete callback. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=5ccb377feaaff3daa1e9a179534bbd7550d78af6;p=deliverable%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 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)