]> 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)
commit0f2da5e828604be1fd4cb30985751b6da4a26ecb
treef2190d9a3db87d37c24869236409729009e41e85
parent471b2f290237f578c606eee6bcd4e9ade4fbcfa0
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