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)
commit7704befbd599e9c9524f640e14658ca8ed9d8717
tree9ee43b851160e50234d8bd67967e7eb07104d8b9
parent50ec3b7c35fda131e92abc6f9d93a230b7e009eb
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