]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
drm/vmwgfx: Support topology greater than texture size
authorSinclair Yeh <syeh@vmware.com>
Thu, 23 Mar 2017 22:39:16 +0000 (15:39 -0700)
committerSinclair Yeh <syeh@vmware.com>
Fri, 31 Mar 2017 22:21:19 +0000 (15:21 -0700)
commit810b3e1683d00e51c8392bcee7dc7a1c65354777
treef2190d9a3db87d37c24869236409729009e41e85
parent2f9545cec6ffd490b08c5675c94c249f169a7e87
drm/vmwgfx: Support topology greater than texture size

Most of the display servers today use a single surface to represent the
entire desktop even if it's stretched across multiple screens.

For vmwgfx with STDU, the maximum surface size is limited to the
maximum texture size on the host.  On a 2D VM, this limits our
ability to support configurations with more than one 4K monitor.

To get past this limitation, we will now allow using a large DMA buf
as the framebuffer, and take care of blitting contents from this DMA buf
to the display buffer.

Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
drivers/gpu/drm/vmwgfx/vmwgfx_kms.h
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c