diff options
author | Eric Anholt <eric@anholt.net> | 2016-01-25 10:01:35 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2016-02-08 16:34:13 -0800 |
commit | b8badc243630e88f243b66c20599cfd035286382 (patch) | |
tree | beb38becc769c1cfc03a103fc9169b7075fbc16c /lib/igt_vc4.h | |
parent | 4880e13d04c005c1d7918b4499be45704dea9aca (diff) |
igt: Add a helper function for mapping VC4 BOs.
v2: Use do_ioctl().
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'lib/igt_vc4.h')
-rw-r--r-- | lib/igt_vc4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_vc4.h b/lib/igt_vc4.h index 46220345..d428f391 100644 --- a/lib/igt_vc4.h +++ b/lib/igt_vc4.h @@ -25,5 +25,6 @@ #define IGT_VC4_H uint32_t igt_vc4_get_cleared_bo(int fd, size_t size, uint32_t clearval); +void *igt_vc4_mmap_bo(int fd, uint32_t handle, uint32_t size, unsigned prot); #endif /* IGT_VC4_H */ |