anv: add new gem/drm helpers
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 6 Aug 2019 12:56:40 +0000 (15:56 +0300)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Sep 2020 16:40:11 +0000 (16:40 +0000)
commita965ffad21d41f14e09babd18896bb962b326da4
treee5ced0bc5b54522f631fd04c243a30684738a7a2
parenta0c07e41e5234cc79bb18edb3a34954e74d07680
anv: add new gem/drm helpers

Needed for dealing with the new DRM timeline syncobj ioctls.

v2: Make use of the anv_gem_get_drm_cap() parameter... (Jason)

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2901>
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_gem.c
src/intel/vulkan/anv_gem_stubs.c
src/intel/vulkan/anv_private.h