]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit48210172ca4c3be04a3ea182a1f1304752b763da
tree0a6d2b46859ced9f660d4e896fcd131342060b57
parentea41a6d191c0bc4470104e39581ea28e1af11829
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