From: Dave Airlie Date: Tue, 7 Dec 2010 03:56:26 +0000 (+1000) Subject: drm/nouveau: add delayed switch complete callback. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5ccb377feaaff3daa1e9a179534bbd7550d78af6;hp=851ab954daee0d8328e239a468835e36e6215182;p=mv-sheeva.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 d5b17b6ccd3..db4b410f4a8 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)