Skip to content

drm/xe: Refactor I2C and HECI error messages

Jonathan Cavitt intel-xe 8 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 0 repliesNew
  2. v5 posting 2/21 patch 2 repliesApplied
  3. v5 posting 1/24 patches 1 replySuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v45 patches1 replySuperseded
v35 patches6 repliesSuperseded
v2 posting 2/25 patches0 repliesSuperseded
v2 posting 1/21 patch2 repliesSuperseded
v11 patch1 replySuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/xe/printk: Add xe_warn_once()drivers/gpu/drm/xe/xe_printk.h+3 -00 replies
2/3drm/xe/heci: Use xe print functions in xe_heci_gsc.cdrivers/gpu/drm/xe/xe_heci_gsc.c+10 -110 replies
3/3drm/xe/i2c: Use xe print functions in xe_i2c.cdrivers/gpu/drm/xe/xe_i2c.c+3 -30 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchMichal WajdeczkoRaag Jadav
1/3R-b
2/3
3/3R-b

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

Read the v6 thread

Cover letter [PATCH v6 0/3] drm/xe: Refactor I2C and HECI error messages

Update xe_heci_gsc.c and xe_i2c.c to use the xe error reporting helper functions in xe_printk.h instead of directly calling the associated drm print functions from drm_print.h. While we're here, we should update the error messages to print the error codes in a more friendly way.

This necessitates creating a new helper function - xe_warn_once() - as drm_warn_once() currently has no equivalent helper function in xe_printk.h.

Jonathan Cavitt (3):
drm/xe/printk: Add xe_warn_once() drm/xe/heci: Use xe print functions in xe_heci_gsc.c drm/xe/i2c: Use xe print functions in xe_i2c.c

 drivers/gpu/drm/xe/xe_heci_gsc.c | 21 ++++++++++-----------
 drivers/gpu/drm/xe/xe_i2c.c      |  6 +++---
 drivers/gpu/drm/xe/xe_printk.h   |  3 +++
 3 files changed, 16 insertions(+), 14 deletions(-)
Signature · 1 line
2.53.0