mirror of
https://github.com/torvalds/linux.git
synced 2026-11-12 20:54:48 +01:00
drm/xe/pcode: Report 'Mailbox failed' error using SIGID
Report 'Mailbox failed' error using xe_log_err() helper. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Cc: Riana Tauro <riana.tauro@intel.com> Cc: Aravind Iddamsetty <aravind.iddamsetty@intel.com> Cc: Mallesh Koujalagi <mallesh.koujalagi@intel.com> Reviewed-by: Mallesh Koujalagi <mallesh.koujalagi@intel.com> Link: https://patch.msgid.link/20260814171801.13347-27-michal.wajdeczko@intel.com Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
parent
688835ac03
commit
29fea83709
|
|
@ -14,6 +14,7 @@
|
|||
#include "regs/xe_pmt.h"
|
||||
#include "xe_assert.h"
|
||||
#include "xe_device.h"
|
||||
#include "xe_log.h"
|
||||
#include "xe_mmio.h"
|
||||
#include "xe_pcode_api.h"
|
||||
#include "xe_pm.h"
|
||||
|
|
@ -61,9 +62,7 @@ static int pcode_mailbox_status(struct xe_tile *tile)
|
|||
}
|
||||
|
||||
if (err) {
|
||||
drm_err(&tile_to_xe(tile)->drm, "PCODE Mailbox failed: %d %s",
|
||||
err_decode, err_str);
|
||||
|
||||
xe_log_err(tile, PCODE, err_decode, "Mailbox failed: %s\n", err_str);
|
||||
return err_decode;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user