Skip to content

Commit

Permalink
drm/vmwgfx: Send a hotplug event at master_set
Browse files Browse the repository at this point in the history
Make sure drm clients (mostly the X server) are communicated the current
layout when switched in.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
  • Loading branch information
Thomas Hellstrom committed Mar 14, 2016
1 parent 2e69b25 commit 5ea1734
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,7 @@ static int vmw_master_set(struct drm_device *dev,
}

dev_priv->active_master = vmaster;
drm_sysfs_hotplug_event(dev);

return 0;
}
Expand Down

0 comments on commit 5ea1734

Please sign in to comment.