drm/vmwgfx: Don't kill clients on VT switch
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 9 Oct 2013 08:42:51 +0000 (01:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Nov 2013 03:08:11 +0000 (12:08 +0900)
commitcb0bb972b5b6798a94fbe08330a7ac83284b301a
treee8578a6fa523170baf8729d7ead7adf80960d5dd
parent598b53ebd0836be3b0d9ffdb100ca83baae506d7
drm/vmwgfx: Don't kill clients on VT switch

commit c4249855ac5b2a383704d31e040d3831d6a25c6f upstream.

DRI clients that tried to grab the TTM lock when the master (X server) was
switched away during a VT switch were sent the SIGTERM signal by the
kernel. Fix this so that they are only sent that signal when the master has
exited.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c