diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2016-02-12 12:01:28 +0300 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2016-03-14 17:01:05 +0300 |
commit | 5ea1734827bb49a738c9d8bda783763d729bf233 (patch) | |
tree | 56f5662e5b115aa331b4acf995d250d322500d13 /drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | |
parent | 2e69b25bb12cfd32250684b600652589d823a96c (diff) | |
download | linux-5ea1734827bb49a738c9d8bda783763d729bf233.tar.xz |
drm/vmwgfx: Send a hotplug event at master_set
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>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_drv.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c index 0ee76e523a90..1ca90377581c 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c @@ -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; } |