Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/3] drm/xe: Refactor I2C and HECI error messages
@ 2026-09-02 19:58 Jonathan Cavitt
  2026-09-02 19:58 ` [PATCH v6 1/3] drm/xe/printk: Add xe_warn_once() Jonathan Cavitt
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Jonathan Cavitt @ 2026-09-02 19:58 UTC (permalink / raw)
  To: intel-xe
  Cc: alex.zuo, jonathan.cavitt, michal.wajdeczko, raag.jadav,
	andi.shyti, jani.nikula

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(-)

-- 
2.53.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-09-03 11:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-02 19:58 [PATCH v6 0/3] drm/xe: Refactor I2C and HECI error messages Jonathan Cavitt
2026-09-02 19:58 ` [PATCH v6 1/3] drm/xe/printk: Add xe_warn_once() Jonathan Cavitt
2026-09-02 19:58 ` [PATCH v6 2/3] drm/xe/heci: Use xe print functions in xe_heci_gsc.c Jonathan Cavitt
2026-09-02 19:58 ` [PATCH v6 3/3] drm/xe/i2c: Use xe print functions in xe_i2c.c Jonathan Cavitt
2026-09-02 20:06 ` ✓ CI.KUnit: success for drm/xe: Refactor I2C and HECI error messages Patchwork
2026-09-02 21:02 ` ✓ Xe.CI.BAT: " Patchwork
2026-09-03 11:32 ` ✗ Xe.CI.FULL: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox