Skip to content

Commit 1113fc0

Browse files
drm/i915: Add debug print about hw config table size
Add debug info to help investigate a very rare bug: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13385 Signed-off-by: John Harrison <[email protected]> Reviewed-by: Julia Filipchuk <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 9ef80ee commit 1113fc0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/gpu/drm/i915/gt/uc/intel_guc_hwconfig.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include "gt/intel_hwconfig.h"
88
#include "i915_drv.h"
99
#include "i915_memcpy.h"
10+
#include "intel_guc_print.h"
1011

1112
/*
1213
* GuC has a blob containing hardware configuration information (HWConfig).
@@ -42,6 +43,8 @@ static int __guc_action_get_hwconfig(struct intel_guc *guc,
4243
};
4344
int ret;
4445

46+
guc_dbg(guc, "Querying HW config table: size = %d, offset = 0x%08X\n",
47+
ggtt_size, ggtt_offset);
4548
ret = intel_guc_send_mmio(guc, action, ARRAY_SIZE(action), NULL, 0);
4649
if (ret == -ENXIO)
4750
return -ENOENT;

0 commit comments

Comments
 (0)