aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2019-10-03 12:44:42 +0200
committerThomas Hellstrom <[email protected]>2019-10-24 15:08:43 +0200
commit91146c07967b1d531a38f724ad91e7a0fc0769ef (patch)
tree387eeaa4bcdf580dba0540700c1eb1e12832b6b6 /bin
parent00db976905b7fcd615ccee0c13dcbf9dfe29f5ec (diff)
winsys/svga: Limit the maximum DMA hardware buffer size
The kernel total GMR/DMA size is limited, but it's definitely possible for the kernel to allow a larger buffer allocation to succeed, but command submission using that buffer as a GMR would fail typically causing an application crash. So have the winsys limit the size of GMR/DMA buffers. The pipe driver will then resort to allocating smaller buffers and perform the DMA transfer in multiple bands, also allowing for the pre-flush mechanism to kick in. This avoids the related application crashes. Fixes: e7843273fae ("winsys/svga: Update to vmwgfx kernel module 2.1") Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Charmaine Lee <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions