nouveau: enable HMM
authorKarol Herbst <kherbst@redhat.com>
Sun, 29 Jul 2018 20:06:18 +0000 (22:06 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 14 Jul 2020 19:59:12 +0000 (19:59 +0000)
commit08ceba943d280759b01973dec291eaa14a820894
tree66d9e4b43b3b74ea14e9a76a0030b9d6952c1649
parent1f37662c093ee168d0669d0ea0c7f169e272d0c7
nouveau: enable HMM

v2: move declarations into libdrm
v3: fix typos
    rework handling of how much memory to reserve
v4: remove unused parameter
    unmap cutout on error and when the screen is destroyed
v5: move into screen_create
    enable HMM only if CL gets enabled

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5906>
meson.build
src/gallium/drivers/nouveau/nouveau_screen.c
src/gallium/drivers/nouveau/nouveau_screen.h