iris: Implement the Xe version of iris_bufmgr_init_global_vm()
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 14 Feb 2023 17:00:22 +0000 (09:00 -0800)
committerMarge Bot <emma+marge@anholt.net>
Fri, 17 Mar 2023 19:31:56 +0000 (19:31 +0000)
commit60f4bd61b6f23436b6894c763262ed5e7efea007
tree84f50a1339c6d1327ea0fdcc058ff4f6fe691abe
parent7f65b94451d01e0e8bdc41b161d2769de516fa07
iris: Implement the Xe version of iris_bufmgr_init_global_vm()

As Xe KMD requires VM, iris_bufmgr_init_global_vm() now is returing
a boolean telling if bufmgr creationg should continue or not.

Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21937>
src/gallium/drivers/iris/iris_bufmgr.c
src/gallium/drivers/iris/meson.build
src/gallium/drivers/iris/xe/iris_bufmgr.c [new file with mode: 0644]
src/gallium/drivers/iris/xe/iris_bufmgr.h [new file with mode: 0644]