diff options
author | Sinclair Yeh <syeh@vmware.com> | 2016-06-29 22:15:48 +0300 |
---|---|---|
committer | Sinclair Yeh <syeh@vmware.com> | 2016-07-01 20:47:48 +0300 |
commit | 04319d89fbec72dfd60738003c3813b97c1d5f5a (patch) | |
tree | 84cfcc2b11bc4d25292ab5d00aba1ce13820b1d3 /drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | |
parent | 7c20d213dd3cd6295bf9162730e7a368af957854 (diff) | |
download | linux-04319d89fbec72dfd60738003c3813b97c1d5f5a.tar.xz |
drm/vmwgfx: Add an option to change assumed FB bpp
Offer an option for advanced users who want larger modes at 16bpp.
This becomes necessary after the fix: "Work around mode set
failure in 2D VMs." Without this patch, there would be no way
for existing advanced users to get to a high res mode, and the
regression is they will likely get a black screen after a software
update on their current VM.
Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Cc: <stable@vger.kernel.org>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_drv.h')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h index 1980e2a28265..89fb19443a3f 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h @@ -386,6 +386,7 @@ struct vmw_private { spinlock_t hw_lock; spinlock_t cap_lock; bool has_dx; + bool assume_16bpp; /* * VGA registers. |