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)
committerDave Airlie <airlied@redhat.com>
Tue, 15 Oct 2013 18:46:53 +0000 (19:46 +0100)
commitc4249855ac5b2a383704d31e040d3831d6a25c6f
tree0a6d2b46859ced9f660d4e896fcd131342060b57
parent26682480c202e7360cbcdc3bc9e962bf749c6b8d
drm/vmwgfx: Don't kill clients on VT switch

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>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c