mbox series

[0/3] V3D module changes for Pi5

Message ID 20230928114532.167854-1-itoral@igalia.com (mailing list archive)
Headers show
Series V3D module changes for Pi5 | expand

Message

Iago Toral Sept. 28, 2023, 11:45 a.m. UTC
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 addresses the bulk of the work and
involves mostly updates to register addresses. The second patch
adds a small uAPI update required for TFU jobs and the third and
final patch matches 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

Iago Toral Quiroga (3):
  drm/v3d: fix up register addresses for V3D 7.x
  drm/v3d: update UAPI to match user-space for V3D 7.x
  drm/v3d: add brcm,2712-v3d as a compatible V3D device

 drivers/gpu/drm/v3d/v3d_debugfs.c | 173 +++++++++++++++++-------------
 drivers/gpu/drm/v3d/v3d_drv.c     |   1 +
 drivers/gpu/drm/v3d/v3d_gem.c     |   3 +
 drivers/gpu/drm/v3d/v3d_irq.c     |  47 ++++----
 drivers/gpu/drm/v3d/v3d_regs.h    |  51 ++++++++-
 drivers/gpu/drm/v3d/v3d_sched.c   |  41 ++++---
 include/uapi/drm/v3d_drm.h        |   5 +
 7 files changed, 206 insertions(+), 115 deletions(-)