]> git.baikalelectronics.ru Git - kernel.git/commit
vmwgfx: vt-switch (master drop) fixes
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 1 Oct 2010 08:21:48 +0000 (10:21 +0200)
committerDave Airlie <airlied@redhat.com>
Fri, 1 Oct 2010 11:08:50 +0000 (21:08 +1000)
commite28d3759681375bdd51e40bb4c2571019ebfe6e3
tree04df1e7175ee697874a099477298eed3c706ec8b
parentc4d6198f5864802864f2c38a042badb244cd76ce
vmwgfx: vt-switch (master drop) fixes

We add an option not to enable fbdev, this option is off (0) by default.
Not enabling fbdev at load time makes it possible to co-operate with
vga16fb and vga text mode when VT switching.

However, if 3D resources are active when VT switching, we're currently
not able to switch over to vga, due to device limitations.
This fixes a bug where we previously lost 3D state during VT switch.

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_drv.h
drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c