Skip to content

drm: add drm_warn_ratelimited() and convert ivpu to use it

Dawid Osuchowski dri-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/22 patches 3 repliesIn review
  2. v1 posting 1/22 patches 1 replySuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/print: add drm_warn_ratelimited logging macroinclude/drm/drm_print.h+3 -01 reply
2/2accel/ivpu: Use drm_warn_ratelimited macrodrivers/accel/ivpu/ivpu_drv.h+1 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchKarol Wachowski
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH RESEND 0/2] drm: add drm_warn_ratelimited() and convert ivpu to use it

This patch set adds drm_warn_ratelimited() to the DRM print helpers and updates the ivpu driver to use the warning-level variant instead of err-level logging. The new helper matches the existing rate-limited logging pattern and gives drivers a consistent way to emit warning messages without spamming the kernel log.

This change improves logging correctness and consistency for drivers that need rate-limited warnings.

Dawid Osuchowski (2):
drm/print: add drm_warn_ratelimited logging macro accel/ivpu: Use drm_warn_ratelimited macro

 drivers/accel/ivpu/ivpu_drv.h | 2 +-
 include/drm/drm_print.h       | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

base-commit: 063019ac51afffda4ab3d658701b086caa0c8e9e

Signature · 1 line
2.43.0