anv: Include linux/sync_file.h instead of cut and pasting contents
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 29 Apr 2020 22:16:04 +0000 (15:16 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 1 May 2020 19:00:02 +0000 (19:00 +0000)
commit812cf5f522abd006fd9f3cb7bbcad797bd8730fb
tree916d4367615ab422471cc598891c8c0567dc30dc
parentabf8aed68047c1fa4d28e92a1aa2ccf74e0be5dc
anv: Include linux/sync_file.h instead of cut and pasting contents

Linux 4.7 has been out for a long time, this is probably safe to
depend on at this point, rather than cut and pasting the contents.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3802>
src/intel/vulkan/anv_gem.c