linux-stable/drivers/gpu/drm/v3d
Maíra Canal 51b76c1f30
drm/v3d: Enable V3D to use different PAGE_SIZE
Currently, the V3D driver uses PAGE_SHIFT over the assumption that
PAGE_SHIFT = 12, as the PAGE_SIZE = 4KB. But, the RPi 5 is using
PAGE_SIZE = 16KB, so the MMU PAGE_SHIFT is different than the system's
PAGE_SHIFT.

Enable V3D to be used in system's with any PAGE_SIZE by making sure that
everything MMU-related uses the MMU page shift.

Signed-off-by: Maíra Canal <mcanal@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240214193503.164462-1-mcanal@igalia.com
2024-02-23 16:37:20 -03:00
..
Kconfig
Makefile drm/v3d: Detach job submissions IOCTLs to a new specific file 2023-12-01 09:34:01 -03:00
v3d_bo.c drm/v3d: Enable V3D to use different PAGE_SIZE 2024-02-23 16:37:20 -03:00
v3d_debugfs.c drm/v3d: Enable V3D to use different PAGE_SIZE 2024-02-23 16:37:20 -03:00
v3d_drv.c drm/v3d: Add a CPU job submission 2023-12-01 09:34:19 -03:00
v3d_drv.h drm/v3d: Enable V3D to use different PAGE_SIZE 2024-02-23 16:37:20 -03:00
v3d_fence.c
v3d_gem.c drm/v3d: Detach job submissions IOCTLs to a new specific file 2023-12-01 09:34:01 -03:00
v3d_irq.c drm/v3d: Enable V3D to use different PAGE_SIZE 2024-02-23 16:37:20 -03:00
v3d_mmu.c drm/v3d: Enable V3D to use different PAGE_SIZE 2024-02-23 16:37:20 -03:00
v3d_perfmon.c drm/v3d: add missing mutex_destroy 2022-11-10 11:49:40 -01:00
v3d_regs.h drm/v3d: fix up register addresses for V3D 7.x 2023-11-02 08:54:39 -03:00
v3d_sched.c drm/v3d: Create a CPU job extension for the copy performance query job 2023-12-01 09:47:36 -03:00
v3d_submit.c drm/v3d: Free the job and assign it to NULL if initialization fails 2024-01-11 11:23:13 -03:00
v3d_sysfs.c drm/v3d: Expose the total GPU usage stats on sysfs 2023-11-06 10:09:29 -03:00
v3d_trace.h drm/v3d: Create tracepoints to track the CPU job 2023-12-01 09:37:48 -03:00
v3d_trace_points.c