mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 04:34:03 +02:00
drm/xe/mmio: Prefer tile-based WARN message
If 64-bit read operations are unstable, use tile-based WARN message to provide more details on which tile this was observed. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patch.msgid.link/20260622132342.19600-7-michal.wajdeczko@intel.com
This commit is contained in:
parent
699ca9d4ec
commit
692689c97b
|
|
@ -11,7 +11,6 @@
|
|||
#include <linux/pci.h>
|
||||
|
||||
#include <drm/drm_managed.h>
|
||||
#include <drm/drm_print.h>
|
||||
|
||||
#include "regs/xe_bars.h"
|
||||
#include "xe_device.h"
|
||||
|
|
@ -315,8 +314,8 @@ u64 xe_mmio_read64_2x32(struct xe_mmio *mmio, struct xe_reg reg)
|
|||
oldudw = udw;
|
||||
}
|
||||
|
||||
drm_WARN(&mmio->tile->xe->drm, retries == 0,
|
||||
"64-bit read of %#x did not stabilize\n", reg.addr);
|
||||
xe_tile_WARN(mmio->tile, retries == 0,
|
||||
"MMIO: 64-bit read of %#x did not stabilize\n", reg.addr);
|
||||
|
||||
return (u64)udw << 32 | ldw;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user