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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Jun 2019 07:17:22 +0000 (09:17 +0200)
commit3a20515c3c44b13d4851f408cc4d5e1ac32688f1
treead7d2418ba093f9a8d74e5a6e31e7d51e173410d
parent1715a46322fa17037f2b1cc05f3cf9e1046c8a9e
drm/vmwgfx: Don't send drm sysfs hotplug events on initial master set

commit 63cb44441826e842b7285575b96db631cc9f2505 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c