Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Raag Jadav <raag.jadav@intel.com>
To: lucas.demarchi@intel.com, rodrigo.vivi@intel.com,
	anshuman.gupta@intel.com, badal.nilawar@intel.com,
	riana.tauro@intel.com
Cc: intel-xe@lists.freedesktop.org, Raag Jadav <raag.jadav@intel.com>
Subject: [PATCH v1] drm/xe/pcode: stop logging mailbox status as error
Date: Tue,  4 Mar 2025 11:47:27 +0530	[thread overview]
Message-ID: <20250304061727.452100-1-raag.jadav@intel.com> (raw)

Since we're expecting many platform specific mailbox commands that
might not be widely supported, stop logging them as errors. With this
we can avoid unnecessary platform checks and use the return value of
mailbox without enraging CI.

Signed-off-by: Raag Jadav <raag.jadav@intel.com>
---
 drivers/gpu/drm/xe/xe_pcode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_pcode.c b/drivers/gpu/drm/xe/xe_pcode.c
index 9333ce776a6e..280f69119ff1 100644
--- a/drivers/gpu/drm/xe/xe_pcode.c
+++ b/drivers/gpu/drm/xe/xe_pcode.c
@@ -46,7 +46,7 @@ static int pcode_mailbox_status(struct xe_tile *tile)
 
 	err = xe_mmio_read32(&tile->mmio, PCODE_MAILBOX) & PCODE_ERROR_MASK;
 	if (err) {
-		drm_err(&tile_to_xe(tile)->drm, "PCODE Mailbox failed: %d %s", err,
+		drm_dbg(&tile_to_xe(tile)->drm, "PCODE Mailbox failed: %d %s", err,
 			err_decode[err].str ?: "Unknown");
 		return err_decode[err].errno ?: -EPROTO;
 	}
-- 
2.34.1


             reply	other threads:[~2025-03-04  6:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-04  6:17 Raag Jadav [this message]
2025-03-04  7:00 ` ✓ CI.Patch_applied: success for drm/xe/pcode: stop logging mailbox status as error Patchwork
2025-03-04  7:00 ` ✓ CI.checkpatch: " Patchwork
2025-03-04  7:02 ` ✓ CI.KUnit: " Patchwork
2025-03-04  7:18 ` ✓ CI.Build: " Patchwork
2025-03-04  7:20 ` ✓ CI.Hooks: " Patchwork
2025-03-04  7:22 ` ✓ CI.checksparse: " Patchwork
2025-03-04  7:40 ` ✓ Xe.CI.BAT: " Patchwork
2025-03-04  8:41 ` ✗ Xe.CI.Full: failure " Patchwork
2025-03-06  4:38 ` [PATCH v1] " Aravind Iddamsetty
2025-03-06  8:57   ` Raag Jadav
2025-03-06  9:47     ` Aravind Iddamsetty
2025-03-06 10:44       ` Raag Jadav
2025-03-06 16:13         ` Rodrigo Vivi
2025-03-06 18:11           ` Raag Jadav
2025-03-06 19:19       ` Raag Jadav

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250304061727.452100-1-raag.jadav@intel.com \
    --to=raag.jadav@intel.com \
    --cc=anshuman.gupta@intel.com \
    --cc=badal.nilawar@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=lucas.demarchi@intel.com \
    --cc=riana.tauro@intel.com \
    --cc=rodrigo.vivi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox