More drm_dbg to guc_dbg changes
Subsystems (2)
v2 cover More drm_dbg to guc_dbg changes
From: John Harrison <[email protected]>
Update more print messages to the new scheme.
v2: Also change all errors to %pe rather than %d (MichalW). Few other tweaks.
John Harrison (6):
drm/i915/guc: More debug print updates - UC firmware drm/i915/guc: More debug print updates - GSC firmware drm/i915/guc: More debug print updates - GuC reg capture drm/i915/guc: More debug print updates - GuC selftests drm/i915/guc: More debug print updates - GuC SLPC drm/i915/guc: More debug print updates - GuC logging
drivers/gpu/drm/i915/gt/intel_gt_print.h | 3 + drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.c | 9 +- drivers/gpu/drm/i915/gt/uc/intel_gsc_uc.c | 7 +- .../gpu/drm/i915/gt/uc/intel_guc_capture.c | 51 ++++---- drivers/gpu/drm/i915/gt/uc/intel_guc_log.c | 3 +- drivers/gpu/drm/i915/gt/uc/intel_guc_print.h | 3 + drivers/gpu/drm/i915/gt/uc/intel_guc_rc.c | 8 +- drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c | 61 ++++----- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 42 +++---- drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 116 +++++++++--------- drivers/gpu/drm/i915/gt/uc/selftest_guc.c | 42 ++++--- .../drm/i915/gt/uc/selftest_guc_hangcheck.c | 23 ++-- .../drm/i915/gt/uc/selftest_guc_multi_lrc.c | 11 +- 13 files changed, 174 insertions(+), 205 deletions(-)
Signature · 1 line
2.39.1
PATCH v2 1/6 drm/i915/guc: More debug print updates - UC firmware
From: John Harrison <[email protected]>
Update a bunch more debug prints to use the new GT based scheme.
v2: Also change prints to use %pe for error values (MichalW).
--- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 42 ++++---- drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 116 +++++++++++------------ 2 files changed, 73 insertions(+), 85 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_uc.c +18 -24
@@ -83,15 +83,15 @@ static int __intel_uc_reset_hw(struct intel_uc *uc)static void __confirm_options (struct intel_uc *uc) { -struct drm_i915_private *i915 =uc_to_gt (uc)->i915; +struct intel_gt *gt =uc_to_gt (uc); +struct drm_i915_private *i915 = gt->i915; -drm_dbg (&i915->drm, -"enable_guc=%d (guc:%s submission:%s huc:%s slpc:%s)\n" , - i915->params.enable_guc, -str_yes_no (intel_uc_wants_guc (uc)), -str_yes_no (intel_uc_wants_guc_submission (uc)), -str_yes_no (intel_uc_wants_huc (uc)), -str_yes_no (intel_uc_wants_guc_slpc (uc))); +gt_dbg (gt,"enable_guc=%d (guc:%s submission:%s huc:%s slpc:%s)\n" , + i915->params.enable_guc, +str_yes_no (intel_uc_wants_guc (uc)), +str_yes_no (intel_uc_wants_guc_submission (uc)), +str_yes_no (intel_uc_wants_huc (uc)), +str_yes_no (intel_uc_wants_guc_slpc (uc)));if (i915->params.enable_guc ==0 ) {GEM_BUG_ON (intel_uc_wants_guc (uc));
@@ -102,26 +102,22 @@ static void __confirm_options(struct intel_uc *uc) }if (!intel_uc_supports_guc (uc)) -drm_info (&i915->drm, -"Incompatible option enable_guc=%d - %s\n" , - i915->params.enable_guc,"GuC is not supported!" ); +gt_info (gt,"Incompatible option enable_guc=%d - %s\n" , + i915->params.enable_guc,"GuC is not supported!" );if (i915->params.enable_guc &ENABLE_GUC_LOAD_HUC && !intel_uc_supports_huc (uc)) -drm_info (&i915->drm, -"Incompatible option enable_guc=%d - %s\n" , - i915->params.enable_guc,"HuC is not supported!" ); +gt_info (gt,"Incompatible option enable_guc=%d - %s\n" , + i915->params.enable_guc,"HuC is not supported!" );if (i915->params.enable_guc &ENABLE_GUC_SUBMISSION && !intel_uc_supports_guc_submission (uc)) -drm_info (&i915->drm, -"Incompatible option enable_guc=%d - %s\n" , - i915->params.enable_guc,"GuC submission is N/A" ); +gt_info (gt,"Incompatible option enable_guc=%d - %s\n" , + i915->params.enable_guc,"GuC submission is N/A" );if (i915->params.enable_guc & ~ENABLE_GUC_MASK ) -drm_info (&i915->drm, -"Incompatible option enable_guc=%d - %s\n" , - i915->params.enable_guc,"undocumented flag" ); +gt_info (gt,"Incompatible option enable_guc=%d - %s\n" , + i915->params.enable_guc,"undocumented flag" ); }void intel_uc_init_early (struct intel_uc *uc)
@@ -549,10 +545,8 @@ static int __uc_init_hw(struct intel_uc *uc)intel_gsc_uc_load_start (&uc->gsc); -gt_info (gt,"GuC submission %s\n" , -str_enabled_disabled (intel_uc_uses_guc_submission (uc))); -gt_info (gt,"GuC SLPC %s\n" , -str_enabled_disabled (intel_uc_uses_guc_slpc (uc))); +guc_info (guc,"submission %s\n" ,str_enabled_disabled (intel_uc_uses_guc_submission (uc))); +guc_info (guc,"SLPC %s\n" ,str_enabled_disabled (intel_uc_uses_guc_slpc (uc)));return 0 ;
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c +55 -61
214 lines not on this page · raw message
Signature · 1 line
2.39.1
PATCH v2 2/6 drm/i915/guc: More debug print updates - GSC firmware
In reply to [email protected]From: John Harrison <[email protected]>
Update a bunch more debug prints to use the new GT based scheme.
v2: Also change prints to use %pe for error values (MichalW).
--- drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.c | 9 ++++----- drivers/gpu/drm/i915/gt/uc/intel_gsc_uc.c | 7 +++---- 2 files changed, 7 insertions(+), 9 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.c +4 -5
@@ -6,6 +6,7 @@#include "gt/intel_engine_pm.h" #include "gt/intel_gpu_commands.h" #include "gt/intel_gt.h" +#include "gt/intel_gt_print.h" #include "gt/intel_ring.h" #include "intel_gsc_fw.h"
@@ -88,9 +89,8 @@ static int gsc_fw_load(struct intel_gsc_uc *gsc)i915_request_put (rq);if (err) -drm_err (&gsc_uc_to_gt (gsc)->i915->drm, -"Request submission for GSC load failed (%d)\n" , - err); +gt_err (gsc_uc_to_gt (gsc),"Request submission for GSC load failed %pe\n" , +ERR_PTR (err));return err; }
@@ -200,8 +200,7 @@ int intel_gsc_uc_fw_upload(struct intel_gsc_uc *gsc)/* FW is not fully operational until we enable SW proxy */ intel_uc_fw_change_status (gsc_fw,INTEL_UC_FIRMWARE_TRANSFERRED ); -drm_info (>->i915->drm,"Loaded GSC firmware %s\n" , - gsc_fw->file_selected.path); +gt_info (gt,"Loaded GSC firmware %s\n" , gsc_fw->file_selected.path);return 0 ;
drivers/gpu/drm/i915/gt/uc/intel_gsc_uc.c +3 -4
@@ -6,6 +6,7 @@#include <linux/types.h> #include "gt/intel_gt.h" +#include "gt/intel_gt_print.h" #include "intel_gsc_uc.h" #include "intel_gsc_fw.h" #include "i915_drv.h"
@@ -59,7 +60,6 @@ int intel_gsc_uc_init(struct intel_gsc_uc *gsc) {static struct lock_class_key gsc_lock;struct intel_gt *gt =gsc_uc_to_gt (gsc); -struct drm_i915_private *i915 = gt->i915;struct intel_engine_cs *engine = gt->engine[GSC0 ];struct intel_context *ce;struct i915_vma *vma;
@@ -81,8 +81,7 @@ int intel_gsc_uc_init(struct intel_gsc_uc *gsc)I915_GEM_HWS_GSC_ADDR , &gsc_lock, "gsc_context");if (IS_ERR (ce)) { -drm_err (>->i915->drm, -"failed to create GSC CS ctx for FW communication\n" ); +gt_err (gt,"failed to create GSC CS ctx for FW communication\n" ); err =PTR_ERR (ce); goto out_vma; }
@@ -98,7 +97,7 @@ int intel_gsc_uc_init(struct intel_gsc_uc *gsc) out_fw:intel_uc_fw_fini (&gsc->fw); out: -i915_probe_error (i915,"failed with %d\n" , err); +gt_probe_error (gt,"GSC init failed %pe\n" ,ERR_PTR (err));return err; }
Signature · 1 line
2.39.1
PATCH v2 3/6 drm/i915/guc: More debug print updates - GuC reg capture
In reply to [email protected]From: John Harrison <[email protected]>
Update a bunch more debug prints to use the new GT based scheme.
v2: Upgrade the no node found message to a warning on the grounds of it being quite important if the error capture can't find any register state information.
--- .../gpu/drm/i915/gt/uc/intel_guc_capture.c | 51 ++++++++----------- 1 file changed, 21 insertions(+), 30 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c +21 -30
@@ -15,6 +15,7 @@#include "guc_capture_fwif.h" #include "intel_guc_capture.h" #include "intel_guc_fwif.h" +#include "intel_guc_print.h" #include "i915_drv.h" #include "i915_gpu_error.h" #include "i915_irq.h"
@@ -353,7 +354,6 @@ guc_capture_alloc_steered_lists_xe_hpg(struct intel_guc *guc, u32 ipver) {struct intel_gt *gt =guc_to_gt (guc); -struct drm_i915_private *i915 =guc_to_gt (guc)->i915;struct sseu_dev_info *sseu;int slice, subslice, i, iter, num_steer_regs, num_tot_regs =0 ;const struct __guc_mmio_reg_descr_group *list;
@@ -402,7 +402,7 @@ guc_capture_alloc_steered_lists_xe_hpg(struct intel_guc *guc, } } -drm_dbg (&i915->drm,"GuC-capture found %d-ext-regs.\n" , num_tot_regs); +guc_dbg (guc,"capture found %d ext-regs.\n" , num_tot_regs); guc->capture->extlists = extlists; }
@@ -477,7 +477,6 @@ guc_capture_list_init(struct intel_guc *guc, u32 owner, u32 type, u32 classid, struct guc_mmio_reg *ptr, u16 num_entries) {u32 i =0 , j =0 ; -struct drm_i915_private *i915 =guc_to_gt (guc)->i915;const struct __guc_mmio_reg_descr_group *reglists = guc->capture->reglists;struct __guc_mmio_reg_descr_group *extlists = guc->capture->extlists;const struct __guc_mmio_reg_descr_group *match;
@@ -509,8 +508,7 @@ guc_capture_list_init(struct intel_guc *guc, u32 owner, u32 type, u32 classid, } }if (i < num_entries) -drm_dbg (&i915->drm,"GuC-capture: Init reglist short %d out %d.\n" , - (int )i, (int )num_entries); +guc_dbg (guc,"Got short capture reglist init: %d out %d.\n" , i, num_entries);return 0 ; }
@@ -540,12 +538,11 @@ guc_capture_getlistsize(struct intel_guc *guc, u32 owner, u32 type, u32 classid, size_t *size, bool is_purpose_est) {struct intel_guc_state_capture *gc = guc->capture; -struct drm_i915_private *i915 =guc_to_gt (guc)->i915;struct __guc_capture_ads_cache *cache = &gc->ads_cache[owner][type][classid];int num_regs;if (!gc->reglists) { -drm_warn (&i915->drm,"GuC-capture: No reglist on this device\n" ); +guc_warn (guc,"No capture reglist for this device\n" );return -ENODEV ; }
@@ -557,9 +554,9 @@ guc_capture_getlistsize(struct intel_guc *guc, u32 owner, u32 type, u32 classid,if (!is_purpose_est && owner ==GUC_CAPTURE_LIST_INDEX_PF && !guc_capture_get_one_list (gc->reglists, owner, type, classid)) {if (type ==GUC_CAPTURE_LIST_TYPE_GLOBAL ) -drm_warn (&i915->drm,"Missing GuC-Err-Cap reglist Global!\n" ); +guc_warn (guc,"Missing capture reglist: global!\n" );else -drm_warn (&i915->drm,"Missing GuC-Err-Cap reglist %s(%u):%s(%u)!\n" , +guc_warn (guc,"Missing capture reglist: %s(%u):%s(%u)!\n" ,__stringify_type (type), type,__stringify_engclass (classid), classid);return -ENODATA ;
@@ -592,7 +589,6 @@ intel_guc_capture_getlist(struct intel_guc *guc, u32 owner, u32 type, u32 classi {struct intel_guc_state_capture *gc = guc->capture;struct __guc_capture_ads_cache *cache = &gc->ads_cache[owner][type][classid]; -struct drm_i915_private *i915 =guc_to_gt (guc)->i915;struct guc_debug_capture_list *listnode;int ret, num_regs;u8 *caplist, *tmp;
@@ -623,7 +619,7 @@ intel_guc_capture_getlist(struct intel_guc *guc, u32 owner, u32 type, u32 classi caplist =kzalloc (size,GFP_KERNEL );if (!caplist) { -drm_dbg (&i915->drm,"GuC-capture: failed to alloc cached caplist" ); +guc_dbg (guc,"Failed to alloc cached register capture list" );return -ENOMEM ; }
@@ -653,7 +649,6 @@ intel_guc_capture_getnullheader(struct intel_guc *guc, void **outptr, size_t *size) { struct intel_guc_state_capture *gc = guc->capture; -struct drm_i915_private *i915 =guc_to_gt (guc)->i915;int tmp =sizeof (u32) *4 ;void *null_header;
@@ -665,7 +660,7 @@ intel_guc_capture_getnullheader(struct intel_guc *guc, null_header =kzalloc (tmp,GFP_KERNEL );if (!null_header) { -drm_dbg (&i915->drm,"GuC-capture: failed to alloc cached nulllist" ); +guc_dbg (guc,"Failed to alloc cached register capture null list" );return -ENOMEM ; }
@@ -727,7 +722,6 @@ guc_capture_output_min_size_est(struct intel_guc *guc)static void check_guc_capture_size (struct intel_guc *guc) { -struct drm_i915_private *i915 =guc_to_gt (guc)->i915;int min_size =guc_capture_output_min_size_est (guc);int spare_size = min_size *GUC_CAPTURE_OVERBUFFER_MULTIPLIER ;u32 buffer_size =intel_guc_log_section_size_capture (&guc->log);
@@ -741,13 +735,13 @@ static void check_guc_capture_size(struct intel_guc *guc)* INTEL_GUC_STATE_CAPTURE_EVENT_STATUS_NOSPACE. */ if (min_size <0 ) -drm_warn (&i915->drm,"Failed to calculate GuC error state capture buffer minimum size: %d!\n" , +guc_warn (guc,"Failed to calculate error state capture buffer minimum size: %d!\n" , min_size);else if (min_size > buffer_size) -drm_warn (&i915->drm,"GuC error state capture buffer maybe small: %d < %d\n" , +guc_warn (guc,"Error state capture buffer maybe small: %d < %d\n" , buffer_size, min_size);else if (spare_size > buffer_size) -drm_dbg (&i915->drm,"GuC error state capture buffer lacks spare size: %d < %d (min = %d)\n" , +guc_dbg (guc,"Error state capture buffer lacks spare size: %d < %d (min = %d)\n" , buffer_size, spare_size, min_size); }
@@ -848,7 +842,6 @@ static int guc_capture_log_remove_dw(struct intel_guc *guc, struct __guc_capture_bufstate *buf, u32 *dw) { - struct drm_i915_private *i915 = guc_to_gt(guc)->i915; int tries = 2;int avail =0 ;u32 *src_data;
@@ -865,7 +858,7 @@ guc_capture_log_remove_dw(struct intel_guc *guc, struct __guc_capture_bufstate *return 4 ; }if (avail) -drm_dbg (&i915->drm,"GuC-Cap-Logs not dword aligned, skipping.\n" ); +guc_dbg (guc,"Register capture log not dword aligned, skipping.\n" ); buf->rd =0 ; }
@@ -1118,13 +1111,12 @@ static void __guc_capture_create_prealloc_nodes(struct intel_guc *guc) {struct __guc_capture_parsed_output *node =NULL ; -struct drm_i915_private *i915 =guc_to_gt (guc)->i915;int i;for (i =0 ; i <PREALLOC_NODES_MAX_COUNT ; ++i) { node =guc_capture_alloc_one_node (guc);if (!node) { -drm_warn (&i915->drm,"GuC Capture pre-alloc-cache failure\n" ); +guc_warn (guc,"Register capture pre-alloc-cache failure\n" );/* dont free the priors, use what we got and cleanup at shutdown */ return ; }
@@ -1169,7 +1161,6 @@ guc_capture_create_prealloc_nodes(struct intel_guc *guc)static int guc_capture_extract_reglists (struct intel_guc *guc,struct __guc_capture_bufstate *buf) { -struct drm_i915_private *i915 =guc_to_gt (guc)->i915;struct guc_state_capture_group_header_t ghdr = {0 };struct guc_state_capture_header_t hdr = {0 };struct __guc_capture_parsed_output *node =NULL ;
@@ -1183,7 +1174,7 @@ guc_capture_extract_reglists(struct intel_guc *guc, struct __guc_capture_bufstatif (!i)return -ENODATA ;if (i %sizeof (u32)) { -drm_warn (&i915->drm,"GuC Capture new entries unaligned\n" ); +guc_warn (guc,"Got mis-aligned register capture entries\n" ); ret = -EIO ; goto bailout; }
@@ -1301,7 +1292,7 @@ guc_capture_extract_reglists(struct intel_guc *guc, struct __guc_capture_bufstatbreak ; }if (datatype !=GUC_CAPTURE_LIST_TYPE_GLOBAL ) -drm_dbg (&i915->drm,"GuC Capture missing global dump: %08x!\n" , +guc_dbg (guc,"Register capture missing global dump: %08x!\n" , datatype); } node->is_partial = is_partial;
@@ -1322,7 +1313,7 @@ guc_capture_extract_reglists(struct intel_guc *guc, struct __guc_capture_bufstat numregs =FIELD_GET (CAP_HDR_NUM_MMIOS , hdr.num_mmios);if (numregs > guc->capture->max_mmio_per_node) { -drm_dbg (&i915->drm,"GuC Capture list extraction clipped by prealloc!\n" ); +guc_dbg (guc,"Register capture list extraction clipped by prealloc!\n" ); numregs = guc->capture->max_mmio_per_node; } node->reginfo[datatype].num_regs = numregs;
@@ -1367,7 +1358,6 @@ static void __guc_capture_process_output(struct intel_guc *guc) {unsigned int buffer_size, read_offset, write_offset, full_count;struct intel_uc *uc =container_of (guc,typeof (*uc), guc); -struct drm_i915_private *i915 =guc_to_gt (guc)->i915;struct guc_log_buffer_state log_buf_state_local;struct guc_log_buffer_state *log_buf_state;struct __guc_capture_bufstate buf;
@@ -1403,7 +1393,8 @@ static void __guc_capture_process_output(struct intel_guc *guc) write_offset = buffer_size; }else if (unlikely ((read_offset > buffer_size) || (write_offset > buffer_size))) { -drm_err (&i915->drm,"invalid GuC log capture buffer state!\n" ); +guc_err (guc,"Register capture buffer in invalid state: read = 0x%X, size = 0x%X!\n" , + read_offset, buffer_size);/* copy whole buffer as offsets are unreliable */ read_offset =0 ; write_offset = buffer_size;
@@ -1586,13 +1577,11 @@ void intel_guc_capture_get_matching_node(struct intel_gt *gt, struct intel_context *ce) {struct __guc_capture_parsed_output *n, *ntmp; -struct drm_i915_private *i915;struct intel_guc *guc;if (!gt || !ee || !ce)return ; - i915 = gt->i915; guc = >->uc.guc;if (!guc->capture)return ;
@@ -1615,7 +1604,9 @@ void intel_guc_capture_get_matching_node(struct intel_gt *gt,return ; } } -drm_dbg (&i915->drm,"GuC capture can't match ee to node\n" ); + +guc_warn (guc,"No register capture node found for 0x%04X / 0x%08X\n" , + ce->guc_id.id, ce->lrc.lrca); }void intel_guc_capture_process (struct intel_guc *guc)
Signature · 1 line
2.39.1
PATCH v2 4/6 drm/i915/guc: More debug print updates - GuC selftests
In reply to [email protected]From: John Harrison <[email protected]>
Update a bunch more debug prints to use the new GT based scheme.
v2: Also change prints to use %pe for error values (MichalW). Fix a context leak on error due to a -- being too early. Use the correct header file for the debug macros.
--- drivers/gpu/drm/i915/gt/uc/selftest_guc.c | 42 ++++++++++--------- .../drm/i915/gt/uc/selftest_guc_hangcheck.c | 23 +++++----- .../drm/i915/gt/uc/selftest_guc_multi_lrc.c | 11 ++--- 3 files changed, 40 insertions(+), 36 deletions(-)
drivers/gpu/drm/i915/gt/uc/selftest_guc.c +22 -20
@@ -3,6 +3,8 @@* Copyright �� 2021 Intel Corporation */ +#include "gt/intel_gt_print.h" +#include "intel_guc_print.h" #include "selftests/igt_spinner.h" #include "selftests/intel_scheduler_helpers.h"
@@ -65,7 +67,7 @@ static int intel_guc_scrub_ctbs(void *arg) ce =intel_context_create (engine);if (IS_ERR (ce)) { ret =PTR_ERR (ce); -drm_err (>->i915->drm,"Failed to create context, %d: %d\n" , i, ret); +gt_err (gt,"Failed to create context %d: %pe\n" , i, ce); goto err; }
@@ -86,7 +88,7 @@ static int intel_guc_scrub_ctbs(void *arg)if (IS_ERR (rq)) { ret =PTR_ERR (rq); -drm_err (>->i915->drm,"Failed to create request, %d: %d\n" , i, ret); +gt_err (gt,"Failed to create request %d: %pe\n" , i, rq); goto err; }
@@ -96,7 +98,7 @@ static int intel_guc_scrub_ctbs(void *arg)for (i =0 ; i <3 ; ++i) { ret =i915_request_wait (last[i],0 ,HZ );if (ret <0 ) { -drm_err (>->i915->drm,"Last request failed to complete: %d\n" , ret); +gt_err (gt,"Last request failed to complete: %pe\n" ,ERR_PTR (ret)); goto err; }i915_request_put (last[i]);
@@ -113,7 +115,7 @@ static int intel_guc_scrub_ctbs(void *arg)/* GT will not idle if G2H are lost */ ret =intel_gt_wait_for_idle (gt,HZ );if (ret <0 ) { -drm_err (>->i915->drm,"GT failed to idle: %d\n" , ret); +gt_err (gt,"GT failed to idle: %pe\n" ,ERR_PTR (ret)); goto err; }
@@ -153,7 +155,7 @@ static int intel_guc_steal_guc_ids(void *arg) ce =kcalloc (GUC_MAX_CONTEXT_ID ,sizeof (*ce),GFP_KERNEL );if (!ce) { -drm_err (>->i915->drm,"Context array allocation failed\n" ); +guc_err (guc,"Context array allocation failed\n" );return -ENOMEM ; }
@@ -166,25 +168,25 @@ static int intel_guc_steal_guc_ids(void *arg) ce[context_index] =intel_context_create (engine);if (IS_ERR (ce[context_index])) { ret =PTR_ERR (ce[context_index]); +guc_err (guc,"Failed to create context: %pe\n" , ce[context_index]); ce[context_index] =NULL ; -drm_err (>->i915->drm,"Failed to create context: %d\n" , ret); goto err_wakeref; } ret =igt_spinner_init (&spin, engine->gt);if (ret) { -drm_err (>->i915->drm,"Failed to create spinner: %d\n" , ret); +guc_err (guc,"Failed to create spinner: %pe\n" ,ERR_PTR (ret)); goto err_contexts; } spin_rq =igt_spinner_create_request (&spin, ce[context_index],MI_ARB_CHECK );if (IS_ERR (spin_rq)) { ret =PTR_ERR (spin_rq); -drm_err (>->i915->drm,"Failed to create spinner request: %d\n" , ret); +guc_err (guc,"Failed to create spinner request: %pe\n" , spin_rq); goto err_contexts; } ret =request_add_spin (spin_rq, &spin);if (ret) { -drm_err (>->i915->drm,"Failed to add Spinner request: %d\n" , ret); +guc_err (guc,"Failed to add Spinner request: %pe\n" ,ERR_PTR (ret)); goto err_spin_rq; }
@@ -192,9 +194,9 @@ static int intel_guc_steal_guc_ids(void *arg)while (ret != -EAGAIN ) { ce[++context_index] =intel_context_create (engine);if (IS_ERR (ce[context_index])) { - ret =PTR_ERR (ce[context_index--]); - ce[context_index] =NULL ; -drm_err (>->i915->drm,"Failed to create context: %d\n" , ret); + ret =PTR_ERR (ce[context_index]); +guc_err (guc,"Failed to create context: %pe\n" , ce[context_index]); + ce[context_index--] =NULL ; goto err_spin_rq; }
@@ -203,8 +205,8 @@ static int intel_guc_steal_guc_ids(void *arg) ret =PTR_ERR (rq); rq =NULL ;if (ret != -EAGAIN ) { -drm_err (>->i915->drm,"Failed to create request, %d: %d\n" , - context_index, ret); +guc_err (guc,"Failed to create request %d: %pe\n" , + context_index,ERR_PTR (ret)); goto err_spin_rq; } }else {
@@ -218,7 +220,7 @@ static int intel_guc_steal_guc_ids(void *arg)igt_spinner_end (&spin); ret =intel_selftest_wait_for_rq (spin_rq);if (ret) { -drm_err (>->i915->drm,"Spin request failed to complete: %d\n" , ret); +guc_err (guc,"Spin request failed to complete: %pe\n" ,ERR_PTR (ret));i915_request_put (last); goto err_spin_rq; }
@@ -230,7 +232,7 @@ static int intel_guc_steal_guc_ids(void *arg) ret =i915_request_wait (last,0 ,HZ *30 );i915_request_put (last);if (ret <0 ) { -drm_err (>->i915->drm,"Last request failed to complete: %d\n" , ret); +guc_err (guc,"Last request failed to complete: %pe\n" ,ERR_PTR (ret)); goto err_spin_rq; }
@@ -238,7 +240,7 @@ static int intel_guc_steal_guc_ids(void *arg) rq =nop_user_request (ce[context_index],NULL );if (IS_ERR (rq)) { ret =PTR_ERR (rq); -drm_err (>->i915->drm,"Failed to steal guc_id, %d: %d\n" , context_index, ret); +guc_err (guc,"Failed to steal guc_id %d: %pe\n" , context_index, rq); goto err_spin_rq; }
@@ -246,20 +248,20 @@ static int intel_guc_steal_guc_ids(void *arg) ret =i915_request_wait (rq,0 ,HZ );i915_request_put (rq);if (ret <0 ) { -drm_err (>->i915->drm,"Request with stolen guc_id failed to complete: %d\n" , ret); +guc_err (guc,"Request with stolen guc_id failed to complete: %pe\n" ,ERR_PTR (ret)); goto err_spin_rq; }/* Wait for idle */ ret =intel_gt_wait_for_idle (gt,HZ *30 );if (ret <0 ) { -drm_err (>->i915->drm,"GT failed to idle: %d\n" , ret); +guc_err (guc,"GT failed to idle: %pe\n" ,ERR_PTR (ret)); goto err_spin_rq; }/* Verify a guc_id was stolen */ if (guc->number_guc_id_stolen == number_guc_id_stolen) { -drm_err (>->i915->drm,"No guc_id was stolen" ); +guc_err (guc,"No guc_id was stolen" ); ret = -EINVAL ; }else { ret =0 ;
drivers/gpu/drm/i915/gt/uc/selftest_guc_hangcheck.c +12 -11
@@ -3,6 +3,7 @@* Copyright © 2022 Intel Corporation */ +#include "gt/intel_gt_print.h" #include "selftests/igt_spinner.h" #include "selftests/igt_reset.h" #include "selftests/intel_scheduler_helpers.h"
@@ -45,7 +46,7 @@ static int intel_hang_guc(void *arg) ctx =kernel_context (gt->i915,NULL );if (IS_ERR (ctx)) { -drm_err (>->i915->drm,"Failed get kernel context: %ld\n" ,PTR_ERR (ctx)); +gt_err (gt,"Failed get kernel context: %pe\n" , ctx);return PTR_ERR (ctx); }
@@ -54,7 +55,7 @@ static int intel_hang_guc(void *arg) ce =intel_context_create (engine);if (IS_ERR (ce)) { ret =PTR_ERR (ce); -drm_err (>->i915->drm,"Failed to create spinner request: %d\n" , ret); +gt_err (gt,"Failed to create spinner request: %pe\n" , ce); goto err; }
@@ -63,13 +64,13 @@ static int intel_hang_guc(void *arg) old_beat = engine->props.heartbeat_interval_ms; ret =intel_engine_set_heartbeat (engine,BEAT_INTERVAL );if (ret) { -drm_err (>->i915->drm,"Failed to boost heatbeat interval: %d\n" , ret); +gt_err (gt,"Failed to boost heatbeat interval: %pe\n" ,ERR_PTR (ret)); goto err; } ret =igt_spinner_init (&spin, engine->gt);if (ret) { -drm_err (>->i915->drm,"Failed to create spinner: %d\n" , ret); +gt_err (gt,"Failed to create spinner: %pe\n" ,ERR_PTR (ret)); goto err; }
@@ -77,28 +78,28 @@ static int intel_hang_guc(void *arg)intel_context_put (ce);if (IS_ERR (rq)) { ret =PTR_ERR (rq); -drm_err (>->i915->drm,"Failed to create spinner request: %d\n" , ret); +gt_err (gt,"Failed to create spinner request: %pe\n" , rq); goto err_spin; } ret =request_add_spin (rq, &spin);if (ret) {i915_request_put (rq); -drm_err (>->i915->drm,"Failed to add Spinner request: %d\n" , ret); +gt_err (gt,"Failed to add Spinner request: %pe\n" ,ERR_PTR (ret)); goto err_spin; } ret =intel_reset_guc (gt);if (ret) {i915_request_put (rq); -drm_err (>->i915->drm,"Failed to reset GuC, ret = %d\n" , ret); +gt_err (gt,"Failed to reset GuC: %pe\n" ,ERR_PTR (ret)); goto err_spin; } guc_status =intel_uncore_read (gt->uncore,GUC_STATUS );if (!(guc_status &GS_MIA_IN_RESET )) {i915_request_put (rq); -drm_err (>->i915->drm,"GuC failed to reset: status = 0x%08X\n" , guc_status); +gt_err (gt,"Failed to reset GuC: status = 0x%08X\n" , guc_status); ret = -EIO ; goto err_spin; }
@@ -107,12 +108,12 @@ static int intel_hang_guc(void *arg) ret =intel_selftest_wait_for_rq (rq);i915_request_put (rq);if (ret) { -drm_err (>->i915->drm,"Request failed to complete: %d\n" , ret); +gt_err (gt,"Request failed to complete: %pe\n" ,ERR_PTR (ret)); goto err_spin; }if (i915_reset_count (global) == reset_count) { -drm_err (>->i915->drm,"Failed to record a GPU reset\n" ); +gt_err (gt,"Failed to record a GPU reset\n" ); ret = -EINVAL ; goto err_spin; }
@@ -132,7 +133,7 @@ static int intel_hang_guc(void *arg) ret =intel_selftest_wait_for_rq (rq);i915_request_put (rq);if (ret) { -drm_err (>->i915->drm,"No-op failed to complete: %d\n" , ret); +gt_err (gt,"No-op failed to complete: %pe\n" ,ERR_PTR (ret)); goto err; } }
drivers/gpu/drm/i915/gt/uc/selftest_guc_multi_lrc.c +6 -5
@@ -3,6 +3,7 @@* Copyright �� 2019 Intel Corporation */ +#include "gt/intel_gt_print.h" #include "selftests/igt_spinner.h" #include "selftests/igt_reset.h" #include "selftests/intel_scheduler_helpers.h"
@@ -115,30 +116,30 @@ static int __intel_guc_multi_lrc_basic(struct intel_gt *gt, unsigned int class) parent =multi_lrc_create_parent (gt, class,0 );if (IS_ERR (parent)) { -drm_err (>->i915->drm,"Failed creating contexts: %ld" ,PTR_ERR (parent)); +gt_err (gt,"Failed creating contexts: %pe\n" , parent);return PTR_ERR (parent); }else if (!parent) { -drm_dbg (>->i915->drm,"Not enough engines in class: %d" , class); +gt_dbg (gt,"Not enough engines in class: %d\n" , class);return 0 ; } rq =multi_lrc_nop_request (parent);if (IS_ERR (rq)) { ret =PTR_ERR (rq); -drm_err (>->i915->drm,"Failed creating requests: %d" , ret); +gt_err (gt,"Failed creating requests: %pe\n" , rq); goto out; } ret =intel_selftest_wait_for_rq (rq);if (ret) -drm_err (>->i915->drm,"Failed waiting on request: %d" , ret); +gt_err (gt,"Failed waiting on request: %pe\n" ,ERR_PTR (ret));i915_request_put (rq);if (ret >=0 ) { ret =intel_gt_wait_for_idle (gt,HZ *5 );if (ret <0 ) -drm_err (>->i915->drm,"GT failed to idle: %d\n" , ret); +gt_err (gt,"GT failed to idle: %pe\n" ,ERR_PTR (ret)); } out:
Signature · 1 line
2.39.1
PATCH v2 5/6 drm/i915/guc: More debug print updates - GuC SLPC
In reply to [email protected]From: John Harrison <[email protected]>
Update a bunch more debug prints to use the new GT based scheme.
v2: Also change prints to use %pe for error values (MichalW).
--- drivers/gpu/drm/i915/gt/uc/intel_guc_rc.c | 8 +-- drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c | 61 ++++++++------------- 2 files changed, 26 insertions(+), 43 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_rc.c +4 -4
@@ -6,6 +6,7 @@#include <linux/string_helpers.h> #include "intel_guc_rc.h" +#include "intel_guc_print.h" #include "gt/intel_gt.h" #include "i915_drv.h"
@@ -70,13 +71,12 @@ static int __guc_rc_control(struct intel_guc *guc, bool enable) ret =guc_action_control_gucrc (guc, enable);if (ret) { -i915_probe_error (guc_to_gt (guc)->i915,"Failed to %s GuC RC (%pe)\n" , -str_enable_disable (enable),ERR_PTR (ret)); +guc_probe_error (guc,"Failed to %s RC (%pe)\n" , +str_enable_disable (enable),ERR_PTR (ret));return ret; } -drm_info (>->i915->drm,"GuC RC: %s\n" , -str_enabled_disabled (enable)); +guc_info (guc,"RC: %s\n" ,str_enabled_disabled (enable));return 0 ; }
drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c +22 -39
191 lines not on this page · raw message
Signature · 1 line
2.39.1
PATCH v2 6/6 drm/i915/guc: More debug print updates - GuC logging
In reply to [email protected]From: John Harrison <[email protected]>
Update a bunch more debug prints to use the new GT based scheme.
--- drivers/gpu/drm/i915/gt/intel_gt_print.h | 3 +++ drivers/gpu/drm/i915/gt/uc/intel_guc_log.c | 3 +-- drivers/gpu/drm/i915/gt/uc/intel_guc_print.h | 3 +++ 3 files changed, 7 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/gt/intel_gt_print.h +3 -0
@@ -28,6 +28,9 @@#define gt_err_ratelimited (_gt, _fmt, ...) \ drm_err_ratelimited(&(_gt)->i915->drm, "GT%u: " _fmt, (_gt)->info.id, ##__VA_ARGS__) +#define gt_notice_ratelimited (_gt, _fmt, ...) \ + dev_notice_ratelimited((_gt)->i915->drm.dev, "GT%u: " _fmt, (_gt)->info.id, ##__VA_ARGS__) +#define gt_probe_error (_gt, _fmt, ...) \ do { \ if (i915_error_injected()) \
drivers/gpu/drm/i915/gt/uc/intel_guc_log.c +1 -2
@@ -333,8 +333,7 @@ bool intel_guc_check_log_buf_overflow(struct intel_guc_log *log, log->stats[type].sampled_overflow +=16 ; } -dev_notice_ratelimited (guc_to_gt (log_to_guc (log))->i915->drm.dev, -"GuC log buffer overflow\n" ); +guc_notice_ratelimited (log_to_guc (log),"log buffer overflow\n" ); }return overflow;
drivers/gpu/drm/i915/gt/uc/intel_guc_print.h +3 -0
@@ -30,6 +30,9 @@#define guc_err_ratelimited (_guc, _fmt, ...) \ guc_printk((_guc), err_ratelimited, _fmt, ##__VA_ARGS__) +#define guc_notice_ratelimited (_guc, _fmt, ...) \ + guc_printk((_guc), notice_ratelimited, _fmt, ##__VA_ARGS__) +#define guc_probe_error (_guc, _fmt, ...) \ guc_printk((_guc), probe_error, _fmt, ##__VA_ARGS__)
Signature · 1 line
2.39.1
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for More drm_dbg to guc_dbg changes (rev2)
In reply to [email protected]== Series Details ==
== Series Details ==
Series: More drm_dbg to guc_dbg changes (rev2)
URL : https://patchwork.freedesktop.org/series/113624/
State : warning
== Summary ==
Error: dim checkpatch failed800ec7a87261 drm/i915/guc: More debug print updates - UC firmware 219cdc2fb45b drm/i915/guc: More debug print updates - GSC firmware c1a8660e46a5 drm/i915/guc: More debug print updates - GuC reg capture -:101: WARNING:OOM_MESSAGE: Possible unnecessary 'out of memory' message #101: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c:622:
if (!caplist) {
+ guc_dbg(guc, "Failed to alloc cached register capture list");
-:118: WARNING:OOM_MESSAGE: Possible unnecessary 'out of memory' message #118: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c:663:
if (!null_header) {
+ guc_dbg(guc, "Failed to alloc cached register capture null list");
total: 0 errors, 2 warnings, 0 checks, 214 lines checked 9f9950373225 drm/i915/guc: More debug print updates - GuC selftests -:68: WARNING:OOM_MESSAGE: Possible unnecessary 'out of memory' message #68: FILE: drivers/gpu/drm/i915/gt/uc/selftest_guc.c:158:
if (!ce) {
+ guc_err(guc, "Context array allocation failed\n");
total: 0 errors, 1 warnings, 0 checks, 280 lines checked 88c7ab4b276b drm/i915/guc: More debug print updates - GuC SLPC c0b7351f1f37 drm/i915/guc: More debug print updates - GuC logging -:19: CHECK:MACRO_ARG_REUSE: Macro argument reuse '_gt' - possible side-effects? #19: FILE: drivers/gpu/drm/i915/gt/intel_gt_print.h:31:
+#define gt_notice_ratelimited(_gt, _fmt, ...) \
+ dev_notice_ratelimited((_gt)->i915->drm.dev, "GT%u: " _fmt, (_gt)->info.id, ##__VA_ARGS__)
total: 0 errors, 0 warnings, 1 checks, 27 lines checked
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for More drm_dbg to guc_dbg changes (rev2)
In reply to [email protected]== Series Details ==
== Series Details ==
Series: More drm_dbg to guc_dbg changes (rev2)
URL : https://patchwork.freedesktop.org/series/113624/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12707 -> Patchwork_113624v2
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/index.html
Participating hosts (37 -> 34)
------------------------------
Missing (3): fi-kbl-soraka bat-atsm-1 fi-snb-2520m
Known issues
------------
Here are the changes found in Patchwork_113624v2 that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@i915_selftest@live@gt_lrc:
- {bat-dg2-11}: [INCOMPLETE][1] ([i915#7609] / [i915#7913]) -> [PASS][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/bat-dg2-11/igt@i915_selftest@live@gt_lrc.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/bat-dg2-11/igt@i915_selftest@live@gt_lrc.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#7609]: https://gitlab.freedesktop.org/drm/intel/issues/7609
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7982]: https://gitlab.freedesktop.org/drm/intel/issues/7982
Build changes
-------------
* Linux: CI_DRM_12707 -> Patchwork_113624v2
CI-20190529: 20190529
CI_DRM_12707: 4553eb97820406ff3cbc51a3348ffabfe3b3110e @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7152: 790b81207a0a6705213ec5ea645bc5e223b2ce1d @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_113624v2: 4553eb97820406ff3cbc51a3348ffabfe3b3110e @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
d462a41ecae2 drm/i915/guc: More debug print updates - GuC logging 91c4d02dce7c drm/i915/guc: More debug print updates - GuC SLPC 336c66228bf9 drm/i915/guc: More debug print updates - GuC selftests 64bebe805074 drm/i915/guc: More debug print updates - GuC reg capture 91c3c7c8bb8d drm/i915/guc: More debug print updates - GSC firmware 5d3c51740897 drm/i915/guc: More debug print updates - UC firmware
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/index.html
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for More drm_dbg to guc_dbg changes (rev2)
In reply to [email protected]== Series Details ==
== Series Details ==
Series: More drm_dbg to guc_dbg changes (rev2)
URL : https://patchwork.freedesktop.org/series/113624/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12707_full -> Patchwork_113624v2_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/index.html
Participating hosts (11 -> 10)
------------------------------
Missing (1): shard-rkl0
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_113624v2_full:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@gem_exec_balancer@hang:
- {shard-dg1}: NOTRUN -> [DMESG-WARN][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-dg1-14/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_113624v2_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_fair@basic-deadline:
- shard-glk: [PASS][2] -> [FAIL][3] ([i915#2846])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-glk2/igt@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-glk1/igt@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-glk: [PASS][4] -> [FAIL][5] ([i915#2842]) +1 similar issue
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-glk5/igt@gem_exec_fair@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-glk2/igt@gem_exec_fair@[email protected]
* igt@kms_dsc@dsc-with-bpc-formats:
- shard-glk: NOTRUN -> [SKIP][6] ([fdo#109271]) +8 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-glk9/igt@[email protected]
#### Possible fixes ####
* igt@drm_fdinfo@idle@rcs0:
- {shard-rkl}: [FAIL][7] ([i915#7742]) -> [PASS][8] +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-rkl-3/igt@drm_fdinfo@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-rkl-2/igt@drm_fdinfo@[email protected]
* igt@feature_discovery@psr1:
- {shard-rkl}: [SKIP][9] ([i915#658]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-rkl-2/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-rkl-6/igt@[email protected]
* igt@gem_ctx_exec@basic-nohangcheck:
- {shard-rkl}: [FAIL][11] ([i915#6268]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-rkl-3/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-rkl-5/igt@[email protected]
* igt@gem_ctx_persistence@hang:
- {shard-rkl}: [SKIP][13] ([i915#6252]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-rkl-5/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-rkl-3/igt@[email protected]
* igt@gem_eio@suspend:
- {shard-rkl}: [FAIL][15] ([i915#5115] / [i915#7052]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-rkl-3/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-rkl-1/igt@[email protected]
* igt@gem_exec_fair@basic-pace-solo@rcs0:
- {shard-rkl}: [FAIL][17] ([i915#2842]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-rkl-3/igt@gem_exec_fair@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-rkl-5/igt@gem_exec_fair@[email protected]
* igt@gem_exec_reloc@basic-wc-read-noreloc:
- {shard-rkl}: [SKIP][19] ([i915#3281]) -> [PASS][20] +14 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-rkl-6/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-rkl-5/igt@[email protected]
* igt@gem_exec_schedule@semaphore-power:
- {shard-rkl}: [SKIP][21] ([i915#7276]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-rkl-3/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-rkl-5/igt@[email protected]
* igt@gem_tiled_partial_pwrite_pread@writes:
- {shard-rkl}: [SKIP][23] ([i915#3282]) -> [PASS][24] +4 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-rkl-1/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-rkl-5/igt@[email protected]
* igt@gen9_exec_parse@bb-start-param:
- {shard-rkl}: [SKIP][25] ([i915#2527]) -> [PASS][26] +3 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-rkl-1/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-rkl-5/igt@[email protected]
* igt@i915_pm_dc@dc9-dpms:
- {shard-rkl}: [SKIP][27] ([i915#3361]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-rkl-5/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-rkl-3/igt@[email protected]
* igt@kms_ccs@pipe-b-random-ccs-data-y_tiled_gen12_rc_ccs_cc:
- {shard-rkl}: [SKIP][29] ([i915#1845] / [i915#4098]) -> [PASS][30] +2 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-rkl-2/igt@kms_ccs@pipe-b-random-ccs-data-y_tiled_gen12_rc_ccs_cc.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-rkl-6/igt@kms_ccs@pipe-b-random-ccs-data-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt:
- {shard-rkl}: [SKIP][31] ([i915#1849] / [i915#4098]) -> [PASS][32] +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-rkl-2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-rkl-6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt.html
* igt@perf@gen12-oa-tlb-invalidate:
- {shard-rkl}: [SKIP][33] ([fdo#109289]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-rkl-5/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-rkl-3/igt@[email protected]
* igt@perf@stress-open-close:
- shard-glk: [ABORT][35] ([i915#5213]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-glk8/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-glk9/igt@[email protected]
* igt@perf_pmu@idle@rcs0:
- {shard-rkl}: [FAIL][37] ([i915#4349]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-rkl-1/igt@perf_pmu@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-rkl-5/igt@perf_pmu@[email protected]
* igt@sysfs_heartbeat_interval@nopreempt@bcs0:
- shard-glk: [FAIL][39] -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12707/shard-glk8/igt@sysfs_heartbeat_interval@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/shard-glk9/igt@sysfs_heartbeat_interval@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109303]: https://bugs.freedesktop.org/show_bug.cgi?id=109303
[fdo#109308]: https://bugs.freedesktop.org/show_bug.cgi?id=109308
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#109312]: https://bugs.freedesktop.org/show_bug.cgi?id=109312
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110542]: https://bugs.freedesktop.org/show_bug.cgi?id=110542
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111644]: https://bugs.freedesktop.org/show_bug.cgi?id=111644
[fdo#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1257]: https://gitlab.freedesktop.org/drm/intel/issues/1257
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#1902]: https://gitlab.freedesktop.org/drm/intel/issues/1902
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2434]: https://gitlab.freedesktop.org/drm/intel/issues/2434
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2846]: https://gitlab.freedesktop.org/drm/intel/issues/2846
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3361]: https://gitlab.freedesktop.org/drm/intel/issues/3361
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3528]: https://gitlab.freedesktop.org/drm/intel/issues/3528
[i915#3536]: https://gitlab.freedesktop.org/drm/intel/issues/3536
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558
[i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3936]: https://gitlab.freedesktop.org/drm/intel/issues/3936
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#404]: https://gitlab.freedesktop.org/drm/intel/issues/404
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4281]: https://gitlab.freedesktop.org/drm/intel/issues/4281
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4859]: https://gitlab.freedesktop.org/drm/intel/issues/4859
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5115]: https://gitlab.freedesktop.org/drm/intel/issues/5115
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5213]: https://gitlab.freedesktop.org/drm/intel/issues/5213
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6227]: https://gitlab.freedesktop.org/drm/intel/issues/6227
[i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230
[i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
[i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248
[i915#6252]: https://gitlab.freedesktop.org/drm/intel/issues/6252
[i915#6258]: https://gitlab.freedesktop.org/drm/intel/issues/6258
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
[i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335
[i915#6344]: https://gitlab.freedesktop.org/drm/intel/issues/6344
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944
[i915#6946]: https://gitlab.freedesktop.org/drm/intel/issues/6946
[i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953
[i915#7037]: https://gitlab.freedesktop.org/drm/intel/issues/7037
[i915#7052]: https://gitlab.freedesktop.org/drm/intel/issues/7052
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7128]: https://gitlab.freedesktop.org/drm/intel/issues/7128
[i915#7276]: https://gitlab.freedesktop.org/drm/intel/issues/7276
[i915#7294]: https://gitlab.freedesktop.org/drm/intel/issues/7294
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7651]: https://gitlab.freedesktop.org/drm/intel/issues/7651
[i915#7707]: https://gitlab.freedesktop.org/drm/intel/issues/7707
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7949]: https://gitlab.freedesktop.org/drm/intel/issues/7949
[i915#7957]: https://gitlab.freedesktop.org/drm/intel/issues/7957
[i915#8018]: https://gitlab.freedesktop.org/drm/intel/issues/8018
Build changes
-------------
* Linux: CI_DRM_12707 -> Patchwork_113624v2
CI-20190529: 20190529
CI_DRM_12707: 4553eb97820406ff3cbc51a3348ffabfe3b3110e @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7152: 790b81207a0a6705213ec5ea645bc5e223b2ce1d @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_113624v2: 4553eb97820406ff3cbc51a3348ffabfe3b3110e @ git://anongit.freedesktop.org/gfx-ci/linux
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_113624v2/index.html
Quoted 8 lines · On 07.02.2023 06:07, [email protected] wrote:
From: John Harrison <[email protected]>
Update more print messages to the new scheme.
v2: Also change all errors to %pe rather than %d (MichalW). Few other tweaks.
Signed-off-by John Harrison <[email protected]>
LGTM, series is
Quoted 25 lines
John Harrison (6):
drm/i915/guc: More debug print updates - UC firmware drm/i915/guc: More debug print updates - GSC firmware drm/i915/guc: More debug print updates - GuC reg capture drm/i915/guc: More debug print updates - GuC selftests drm/i915/guc: More debug print updates - GuC SLPC drm/i915/guc: More debug print updates - GuC loggingdrivers/gpu/drm/i915/gt/intel_gt_print.h | 3 + drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.c | 9 +- drivers/gpu/drm/i915/gt/uc/intel_gsc_uc.c | 7 +- .../gpu/drm/i915/gt/uc/intel_guc_capture.c | 51 ++++---- drivers/gpu/drm/i915/gt/uc/intel_guc_log.c | 3 +- drivers/gpu/drm/i915/gt/uc/intel_guc_print.h | 3 + drivers/gpu/drm/i915/gt/uc/intel_guc_rc.c | 8 +- drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c | 61 ++++----- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 42 +++---- drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 116 +++++++++--------- drivers/gpu/drm/i915/gt/uc/selftest_guc.c | 42 ++++--- .../drm/i915/gt/uc/selftest_guc_hangcheck.c | 23 ++-- .../drm/i915/gt/uc/selftest_guc_multi_lrc.c | 11 +- 13 files changed, 174 insertions(+), 205 deletions(-)