iris: Include linux/sync_file.h instead of cut and pasting contents
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 29 Apr 2020 06:30:02 +0000 (23:30 -0700)
committerMarge Bot <eric+marge@anholt.net>
Fri, 1 May 2020 19:00:02 +0000 (19:00 +0000)
commitabf8aed68047c1fa4d28e92a1aa2ccf74e0be5dc
tree7fe4403009ed2b9154ac75ad591e0a16b9c9700e
parenta807c9e91d1e80542eb35a68bc1951b85268d0c1
iris: Include linux/sync_file.h instead of cut and pasting contents

Lets us drop some cut and pasted kernel header contents.

Linux 4.7 came out 4 years before we the first officially supported
release of this driver; iris won't run on kernels older than 4.16,
and 4.18.11+ is strongly recommended.  So I suspect it's safe to
assume that a kernel header from 4.7 will exist at build time.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3802>
src/gallium/drivers/iris/iris_fence.c