]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 14 Aug 2019 09:18:49 +0000 (11:18 +0200)
commit67535bf7bade799b5c803982f093d879a191a831
tree6372ef0535b4a3409f5ab7ebb0e4ef877f07ff29
parent932421854a044d566e1863e1a0d74681246b9537
drm/vmwgfx: Don't send drm sysfs hotplug events on initial master set

BugLink: https://bugs.launchpad.net/bugs/1838700
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c