mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-20 13:28:09 +02:00
DRM GEM mmap offsets go through drm_vma_offset_exact_lookup_locked() which requires an exact match on the GEM offset. Passing a non-zero bo_offset causes EINVAL because the kernel can't find the BO at the shifted offset. Every caller already passes bo_offset=0 and maps the full BO size, so drop those parameters and use bo->size directly. Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40315> |
||
|---|---|---|
| .. | ||
| meson.build | ||
| pan_kmod.c | ||
| pan_kmod.h | ||
| pan_kmod_backend.h | ||
| panfrost_kmod.c | ||
| panthor_kmod.c | ||
| panthor_kmod.h | ||