]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Make fence sequences continous across a VT switch.
authorThomas Hellstrom <thellstrom@vmware.com>
Wed, 13 Jan 2010 21:28:38 +0000 (22:28 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 14 Jan 2010 02:18:02 +0000 (12:18 +1000)
commitcccf2c0624ef6c57b4bf1e1e70163c8c3eff780a
tree9ee43b851160e50234d8bd67967e7eb07104d8b9
parent3f3ea9ab6f0f50f296b185f31693c5c95cb6f1af
drm/vmwgfx: Make fence sequences continous across a VT switch.

A vt switch in stealth mode would take down the FIFO, and re-
initialize fence sequence numbers. This patch
saves the current state of the fence sequence when the FIFO is
disabled.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c