Skip to content

drm/v3d: Convert v3d logging to device-based DRM helpers

Maíra Canal dri-devel 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20260109-v3d-drm-debug-412cec00a4ac

Versions newest first

  1. v2 Latest2 patches 2 repliesApplied
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- [1/2, 2/2] Use the ``struct drm_file *file_priv`` pointer instead of passing ``struct v3d_dev`` to functions (Iago Toral)
- [2/2] s/drm_warn/drm_err in ``v3d_reset()`` (Iago Toral)
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2drm/v3d: Consolidate CPU job validation in a functiondrivers/gpu/drm/v3d/v3d_submit.c+26 -480 replies
2/2drm/v3d: Convert v3d logging to device-based DRM helpersdrivers/gpu/drm/v3d/v3d_bo.c drivers/gpu/drm/v3d/v3d_drv.c drivers/gpu/drm/v3d/v3d_gem.c +4 more+62 -540 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIago Toral Quiroga
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] drm/v3d: Convert v3d logging to device-based DRM helpers

This small series intends to replace the legacy DRM_DEBUG/INFO/WARN/ERROR logging with the corresponding device-based drm_dbg(), drm_info(), drm_warn() and drm_err() helpers. I split the series in two patches to ease the reviewing process as the first one has a minor code-refactor.

Thanks for the review!

Best regards,
- Maíra

---
v1 -> v2:

- [1/2, 2/2] Use the ``struct drm_file *file_priv`` pointer instead of passing ``struct v3d_dev`` to functions (Iago Toral)
- [2/2] s/drm_warn/drm_err in ``v3d_reset()`` (Iago Toral)
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Maíra Canal (2):
drm/v3d: Consolidate CPU job validation in a function drm/v3d: Convert v3d logging to device-based DRM helpers

 drivers/gpu/drm/v3d/v3d_bo.c     |   8 +--
 drivers/gpu/drm/v3d/v3d_drv.c    |   6 +-
 drivers/gpu/drm/v3d/v3d_gem.c    |  16 ++---
 drivers/gpu/drm/v3d/v3d_irq.c    |   8 +--
 drivers/gpu/drm/v3d/v3d_mmu.c    |   6 +-
 drivers/gpu/drm/v3d/v3d_sched.c  |   6 +-
 drivers/gpu/drm/v3d/v3d_submit.c | 140 +++++++++++++++++----------------------
 7 files changed, 88 insertions(+), 102 deletions(-)

---
base-commit: 44e4c88951fa9c73bfbde8269e443ea5343dd2af
change-id: 20260109-v3d-drm-debug-412cec00a4ac