drm/vmwgfx: Send a hotplug event at master_set
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 12 Feb 2016 09:01:28 +0000 (10:01 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Mon, 14 Mar 2016 14:01:05 +0000 (15:01 +0100)
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>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c

index 0ee76e523a902ac0905502fc838216903d8af83b..1ca90377581ce4c4cc1718f8bccee53e5cf76daa 100644 (file)
@@ -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;
 }
This page took 0.024874 seconds and 5 git commands to generate.