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 14:04:59 +0000 (14:04 +0000)
commitf67cd0bbd978a093c6802bef33099c5b83e496df
treeee75aaea96fd01d97ba6e3842da9282874a440ba
parent6f4a6ed0e0b7f5b4746792ec622b5891657163f5
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/4580>
meson.build
src/gallium/drivers/nouveau/nouveau_screen.c
src/gallium/drivers/nouveau/nouveau_screen.h