winsys/svga: Enable transhuge pages for buffer objects
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 21 Jan 2020 09:58:25 +0000 (10:58 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jan 2020 10:56:06 +0000 (10:56 +0000)
commit8afe12b2123cca006df6d0eaa45eb89c36f63a98
tree1020b69adffc81800b84d3edf9f8634fa8abdaa7
parent3b3c2daf3a73bd8e9f5dc4780a9074aa55f7cd0c
winsys/svga: Enable transhuge pages for buffer objects

If the kernel supports it, enable transhuge pages for graphics buffer
objects. Except for the syscall itself, this is never expected to cause
any negative performance implications.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3614>
src/gallium/winsys/svga/drm/vmw_screen_ioctl.c