[PATCH v3 0/4] V3D module changes for Pi5

From: Iago Toral Quiroga
Date: Tue Oct 31 2023 - 03:39:54 EST


This series includes patches to update the V3D kernel module
that drives the VideoCore VI GPU in Raspberry Pi 4 to also support
the Video Core VII iteration present in Raspberry Pi 5.

The first patch in the series adds a small uAPI update required for
TFU jobs, the second patch addresses the bulk of the work and
involves mostly updates to register addresses, the third and fourth
patches match the 'brcm,2712-v3d' device string from Pi5 with the
V3D driver.

The changes for the user-space driver can be found in the
corresponding Mesa MR here:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25450

Changes in v2:
- Addeded s-o-b to patches (Maíra Canal)
- patch 2: fixed style warnings (Maíra Canal)
- patch 2: Use macro with version param to get reg addresses (Maíra Canal)
- new patch: Update the device tree binding (Stefan Wahren)

Changes in v3:
- Moved changelog entries in patches to cover letter (Stefan Wahren)
- Added DT maintainers (Stefan Wahren, Krzysztof Kozlowski)

Iago Toral Quiroga (4):
drm/v3d: update UAPI to match user-space for V3D 7.x
drm/v3d: fix up register addresses for V3D 7.x
dt-bindings: gpu: v3d: Add BCM2712's compatible
drm/v3d: add brcm,2712-v3d as a compatible V3D device

.../devicetree/bindings/gpu/brcm,bcm-v3d.yaml | 1 +
drivers/gpu/drm/v3d/v3d_debugfs.c | 178 ++++++++++--------
drivers/gpu/drm/v3d/v3d_drv.c | 1 +
drivers/gpu/drm/v3d/v3d_gem.c | 4 +-
drivers/gpu/drm/v3d/v3d_irq.c | 46 +++--
drivers/gpu/drm/v3d/v3d_regs.h | 94 +++++----
drivers/gpu/drm/v3d/v3d_sched.c | 38 ++--
include/uapi/drm/v3d_drm.h | 5 +
8 files changed, 211 insertions(+), 156 deletions(-)

--
2.39.2