mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 18:21:24 +02:00
drm/xe/memirq: Update diagnostic message
Instead printing static offset values, print number of allocated pages and the actual GGTT addresses of the page zero source and status and address of the common mask vector. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: Ilia Levi <ilia.levi@intel.com> Link: https://patch.msgid.link/20260518192547.600-7-michal.wajdeczko@intel.com
This commit is contained in:
parent
86d08fe942
commit
becd6a78b5
|
|
@ -226,9 +226,11 @@ static int memirq_alloc_pages(struct xe_memirq *memirq)
|
|||
memirq_assert(memirq, !memirq->status.is_iomem);
|
||||
memirq_assert(memirq, !memirq->mask.is_iomem);
|
||||
|
||||
memirq_debug(memirq, "page offsets: bo %#x bo_size %zu source %#x status %#x\n",
|
||||
xe_bo_ggtt_addr(bo), bo_size, XE_MEMIRQ_SOURCE_OFFSET(0),
|
||||
XE_MEMIRQ_STATUS_OFFSET(0));
|
||||
memirq_debug(memirq, "pages: count %u size %zu\n", num_pages, bo_size);
|
||||
memirq_debug(memirq, "page0: source %#x status %#x mask %#x\n",
|
||||
xe_bo_ggtt_addr(bo) + XE_MEMIRQ_SOURCE_OFFSET(0),
|
||||
xe_bo_ggtt_addr(bo) + XE_MEMIRQ_STATUS_OFFSET(0),
|
||||
xe_bo_ggtt_addr(bo) + XE_MEMIRQ_ENABLE_OFFSET);
|
||||
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user