Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] drm/xe/pcode: Increase default mailbox timeout
@ 2026-09-07  8:35 Karthik Poosa
  2026-09-07  8:35 ` [PATCH v2 1/2] drm/xe/pcode: Increase default pcode mailbox timeout to 10ms Karthik Poosa
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Karthik Poosa @ 2026-09-07  8:35 UTC (permalink / raw)
  To: intel-xe
  Cc: rodrigo.vivi, anshuman.gupta, badal.nilawar, raag.jadav,
	riana.tauro, sk.anirban, mallesh.koujalagi, soham.purkait,
	ravi.kishore.koppuravuri, Karthik Poosa

This small series raises the default pcode mailbox timeout from 1ms to
10ms and consolidates the value behind a single shared macro.

We have observed sporadic mailbox write timeouts where 1ms was not enough
for the command to complete, resulting in spurious -ETIMEDOUT failures.
Bumping the default to 10ms avoids these while staying well within the
pcode mailbox specification guidance.

Patch 1 introduces PCODE_DEFAULT_TIMEOUT_MS and switches the default
pcode read/write paths to it.

Patch 2 drops the duplicate PL_WRITE_MBX_TIMEOUT_MS macro in hwmon and
reuses PCODE_DEFAULT_TIMEOUT_MS, keeping the power limit write in sync
with the pcode default.

This series continues the effort to address the review feedback received
on patch series https://patchwork.freedesktop.org/series/171303/.

Karthik Poosa (2):
  drm/xe/pcode: Increase default pcode mailbox timeout to 10ms
  drm/xe/hwmon: Use shared pcode default timeout for power limit write

 drivers/gpu/drm/xe/xe_hwmon.c | 7 +------
 drivers/gpu/drm/xe/xe_pcode.c | 2 +-
 drivers/gpu/drm/xe/xe_pcode.h | 4 +++-
 3 files changed, 5 insertions(+), 8 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2026-09-10 21:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-07  8:35 [PATCH v2 0/2] drm/xe/pcode: Increase default mailbox timeout Karthik Poosa
2026-09-07  8:35 ` [PATCH v2 1/2] drm/xe/pcode: Increase default pcode mailbox timeout to 10ms Karthik Poosa
2026-09-10 21:59   ` Rodrigo Vivi
2026-09-07  8:35 ` [PATCH v2 2/2] drm/xe/hwmon: Use shared pcode default timeout for power limit write Karthik Poosa
2026-09-07  8:44   ` sashiko-bot
2026-09-08  6:06     ` Poosa, Karthik
2026-09-10 21:59   ` Rodrigo Vivi
2026-09-07  8:44 ` ✓ CI.KUnit: success for drm/xe/pcode: Increase default mailbox timeout Patchwork
2026-09-07  9:34 ` ✓ Xe.CI.BAT: " Patchwork
2026-09-07 10:59 ` ✗ 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