Skip to content

Commit

Permalink
drm/nouveau: add delayed switch complete callback.
Browse files Browse the repository at this point in the history
this just adds the callback on the delayed switch mechanism.

Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Jan 5, 2011
1 parent 851ab95 commit 5ccb377
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/nouveau/nouveau_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -1054,6 +1054,7 @@ int nouveau_load(struct drm_device *dev, unsigned long flags)

void nouveau_lastclose(struct drm_device *dev)
{
vga_switcheroo_process_delayed_switch();
}

int nouveau_unload(struct drm_device *dev)
Expand Down

0 comments on commit 5ccb377

Please sign in to comment.