summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@intel.com>2021-10-06 10:54:51 -0400
committerRodrigo Vivi <rodrigo.vivi@intel.com>2021-10-07 13:04:24 -0400
commit25d2f85bf57fb0a56eeb60d00465b99f069f4376 (patch)
treea93ce9dddbeddcdec4a1cbeb18b4fe87d57d8830 /README.md
parentc947b6aba56d23496acde6ee68a96d0c28a68d77 (diff)
include: Introduce linux-uapi for non-drm-uapi files.
sync_file.h is needed for dma-buf, but it is part of the linux-uapi include dir. The patch aims to have a drm-uapi directory that is a pure copy of the generated drm-uapi include dir. Cc: Petri Latvala <petri.latvala@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/README.md b/README.md
index d71a2fa7..62bef46d 100644
--- a/README.md
+++ b/README.md
@@ -154,8 +154,18 @@ These should be updated all together by:
# From the kernel dir with a drm/drm-next commit checked out:
$ make INSTALL_HDR_PATH=<dest-dir> headers_install
$ rm -f <igt-dir>/include/drm-uapi/*
- $ cp <dest-dir>/include/linux/sync_file.h <igt-dir>/include/drm-uapi/
$ cp <dest-dir>/include/drm/* <igt-dir>/include/drm-uapi/
Then, commit with a note of which exact commit from airlied's branch
was used to generate them.
+
+### `include/linux-uapi/sync_file.h`
+
+Imported non-DRM uapi headers from airlied's drm-next branch.
+
+ # From the kernel dir with a drm/drm-next commit checked out:
+ $ make INSTALL_HDR_PATH=<destdir> headers_install
+ $ cp <destdir>/include/linux/sync_file.h ~/igt/include/linux-uapi/
+
+Then, commit with a note of which exact commit from airlied's branch
+was used to generate them.