drm/vmwgfx: Don't send drm sysfs hotplug events on initial master set
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 7 May 2019 09:07:53 +0000 (11:07 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 21 May 2019 08:22:40 +0000 (10:22 +0200)
commit63cb44441826e842b7285575b96db631cc9f2505
tree838caf2f2991eb5a5d41402d78513f52ae65590f
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9
drm/vmwgfx: Don't send drm sysfs hotplug events on initial master set

This may confuse user-space clients like plymouth that opens a drm
file descriptor as a result of a hotplug event and then generates a
new event...

Cc: <stable@vger.kernel.org>
Fixes: 5ea1734827bb ("drm/vmwgfx: Send a hotplug event at master_set")
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c