anv: Add support for new MMAP_OFFSET ioctl.
authorRafael Antognolli <rafael.antognolli@intel.com>
Fri, 18 Jan 2019 23:05:55 +0000 (15:05 -0800)
committerRafael Antognolli <rafael.antognolli@intel.com>
Mon, 20 Apr 2020 17:59:06 +0000 (10:59 -0700)
commit4abf0837cdb14b10a58d28766d5c1d3698d8a6d8
tree856033574b4b094543fc86a38ff984d81bb2ec3d
parent0d387da08349e1bdd222efae0657fc74009d9955
anv: Add support for new MMAP_OFFSET ioctl.

v2: Update getparam check (Ken).

[jordan.l.justen@intel.com: use 0 offset for MMAP_OFFSET]

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1675>
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_gem.c
src/intel/vulkan/anv_private.h