diff options
author | Rafael Antognolli <[email protected]> | 2019-02-13 11:32:17 -0800 |
---|---|---|
committer | Rafael Antognolli <[email protected]> | 2020-04-20 10:59:06 -0700 |
commit | 5bc3f52dd8c2b5acaae959ccae2e1fb7c769bb22 (patch) | |
tree | b5eafb64c6ef0c7c55875b5b556e9591e5937ee6 /src/gallium/drivers/iris/iris_resource.c | |
parent | a42d7157849832485e63850abaf341b10c952ea0 (diff) |
iris/bufmgr: Factor out GEM_MMAP ioctl from mmap_cpu and mmap_wc.
We want to add a new ioctl for mmap'ing buffers, so let's avoid
duplicating that code on both functions by extracting it from them
first.
[[email protected]: iris port]
Signed-off-by: Jordan Justen <[email protected]>
v2: Rename helper function names (Ken).
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jordan Justen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1675>
Diffstat (limited to 'src/gallium/drivers/iris/iris_resource.c')
0 files changed, 0 insertions, 0 deletions