[PATCH v1] drm/xe/pcode: stop logging mailbox status as error
Aravind Iddamsetty
aravind.iddamsetty at linux.intel.com
Thu Mar 6 04:38:07 UTC 2025
On 04-03-2025 11:47, Raag Jadav wrote:
Hi Raag,
> 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.
are you saying there are cases where we send a command that is not supported
on a particular platform?
Thanks,
Aravind.
>
> Signed-off-by: Raag Jadav <raag.jadav at 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;
> }
More information about the Intel-xe
mailing list