]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit81927facb8c1f75626f66df4f4446ebc9a7338ca
treef2190d9a3db87d37c24869236409729009e41e85
parent8c07d62dc75ab6a6d0cecf154aaf452550c7692f
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