diff options
author | Asbjørn Sloth Tønnesen <asbjorn@asbjorn.st> | 2024-06-29 21:25:06 +0300 |
---|---|---|
committer | Andi Shyti <andi.shyti@linux.intel.com> | 2025-03-06 00:13:30 +0300 |
commit | d0efbe85e12567545b3d7f2f4c79477807537708 (patch) | |
tree | b366967ffafde0ac2921ec14dd05cbcfe134047f /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 463c93a18cef8a0b22d4eea1611e1ed31c1f97c6 (diff) | |
download | linux-d0efbe85e12567545b3d7f2f4c79477807537708.tar.xz |
drm/i915: implement vmap/vunmap GEM object functions
Implement i915_gem_vmap_object() and i915_gem_vunmap_object(),
based on i915_gem_dmabuf_vmap() and i915_gem_dmabuf_vunmap().
This enables a drm_client to use drm_client_buffer_vmap() and
drm_client_buffer_vunmap() on hardware using the i915 driver.
Tested with a currently out of tree pixelflut drm_client[1] on:
- Lenovo ThinkCentre M720q (CoffeeLake-S GT2 / Intel UHD Graphics 630)
- Dell Wyse N06D - 3030 LT (ValleyView on Intel Celeron N2807 SOC)
[1] XDP->DRM pixelflut: https://labitat.dk/wiki/Pixelflut-XDR
Signed-off-by: Asbjørn Sloth Tønnesen <asbjorn@asbjorn.st>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240629182513.78026-1-asbjorn@asbjorn.st
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions