intel: Move anv_gem_supports_syncobj_wait to common code.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 29 Apr 2020 20:47:57 +0000 (13:47 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 1 May 2020 19:00:02 +0000 (19:00 +0000)
commit615270502c7e7083e41080d3ea3cc57a29458f66
treebedc0bc24d0c6528b056d0cb6c767785c0afa8fd
parent07fb925ad82f2b61cbdd239956c16e752c64e05d
intel: Move anv_gem_supports_syncobj_wait to common code.

This will let me use this in iris.

We leave the existing anv function for anv_gem_stubs.c faking, but
move the contents to a helper in a new src/intel/common/gen_gem.c file.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3802>
src/intel/Makefile.sources
src/intel/common/gen_gem.c [new file with mode: 0644]
src/intel/common/gen_gem.h
src/intel/common/meson.build
src/intel/vulkan/anv_gem.c