Clean up some GuC related failure paths
Subsystems (2)
cover Clean up some GuC related failure paths
From: John Harrison <[email protected]>
Improve failure code handling during GuC intialisation.
John Harrison (2):
drm/i915/guc: Improve clean up of busyness stats worker drm/i915/guc: Fix missing return code checks in submission init
.../gpu/drm/i915/gt/uc/intel_guc_submission.c | 113 +++++++++++++----- .../gpu/drm/i915/gt/uc/intel_guc_submission.h | 2 +- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 7 +- 3 files changed, 89 insertions(+), 33 deletions(-)
Signature · 1 line
2.39.0
PATCH 1/2 drm/i915/guc: Improve clean up of busyness stats worker
From: John Harrison <[email protected]>
The stats worker thread management was mis-matched between enable/disable call sites. Fix those up. Also, abstract the cancel code into a helper function rather than replicating in multiple places.
--- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +14 -8
@@ -1435,19 +1435,25 @@ static void guc_init_engine_stats(struct intel_guc *guc) {struct intel_gt *gt =guc_to_gt (guc);intel_wakeref_t wakeref; +int ret;mod_delayed_work (system_highpri_wq, &guc->timestamp.work, guc->timestamp.ping_delay); - with_intel_runtime_pm(>->i915->runtime_pm, wakeref) { -int ret =guc_action_enable_usage_stats (guc); +with_intel_runtime_pm (>->i915->runtime_pm, wakeref) + ret = guc_action_enable_usage_stats(guc); -if (ret) -drm_err (>->i915->drm, -"Failed to enable usage stats: %d!\n" , ret); +if (ret) { +cancel_delayed_work_sync (&guc->timestamp.work); +drm_err (>->i915->drm,"Failed to enable usage stats: %d!\n" , ret); } } +static void guc_park_engine_stats (struct intel_guc *guc) +{ +cancel_delayed_work_sync (&guc->timestamp.work); +} +void intel_guc_busyness_park (struct intel_gt *gt) {struct intel_guc *guc = >->uc.guc;
@@ -1460,7 +1466,7 @@ void intel_guc_busyness_park(struct intel_gt *gt)* and causes an unclaimed register access warning. Cancel the worker * synchronously here. */ -cancel_delayed_work_sync (&guc->timestamp.work); +guc_park_engine_stats (guc);/* * Before parking, we should sample engine busyness stats if we need to.
@@ -4409,11 +4415,11 @@ void intel_guc_submission_enable(struct intel_guc *guc)guc_init_global_schedule_policy (guc); } +/* Note: By the time we're here, GuC may have already been reset */ void intel_guc_submission_disable (struct intel_guc *guc) {struct intel_gt *gt =guc_to_gt (guc); - -/* Note: By the time we're here, GuC may have already been reset */ +guc_park_engine_stats (guc);/* Disable and route to host */ if (GRAPHICS_VER (gt->i915) >=12 )
Signature · 1 line
2.39.0
Re: [Intel-gfx] [PATCH 1/2] drm/i915/guc: Improve clean up of busyness stats worker
Quoted 24 lines · On 1/11/2023 5:54 PM, [email protected] wrote:
From: John Harrison <[email protected]>
The stats worker thread management was mis-matched between enable/disable call sites. Fix those up. Also, abstract the cancel code into a helper function rather than replicating in multiple places.
Signed-off-by John Harrison <[email protected]>--- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 22 ++++++++++++------- 1 file changed, 14 insertions(+), 8 deletions(-)drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +1
-0@@ -1435,19 +1435,25 @@ static void guc_init_engine_stats(struct intel_guc *guc) {struct intel_gt *gt =guc_to_gt (guc);intel_wakeref_t wakeref; +int ret;mod_delayed_work (system_highpri_wq, &guc->timestamp.work, guc->timestamp.ping_delay);
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static void guc_init_engine_stats(struct intel_guc *guc) · line 1447
Quoted 10 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +4
-5- with_intel_runtime_pm(>->i915->runtime_pm, wakeref) { -int ret =guc_action_enable_usage_stats (guc); +with_intel_runtime_pm (>->i915->runtime_pm, wakeref) + ret = guc_action_enable_usage_stats(guc); -if (ret) -drm_err (>->i915->drm, -"Failed to enable usage stats: %d!\n" , ret); +if (ret) { +cancel_delayed_work_sync (&guc->timestamp.work);
Wouldn't it be easier to just call mod_delayed_work after the H2G if ret==0, instead of having it before and cancelling if we get a failure?
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static void guc_init_engine_stats(struct intel_guc *guc) · line 1456
Quoted 9 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +6
-0+drm_err (>->i915->drm,"Failed to enable usage stats: %d!\n" , ret); } } +static void guc_park_engine_stats (struct intel_guc *guc) +{ +cancel_delayed_work_sync (&guc->timestamp.work); +} +
Now you're asymmetric with the park/unpark, because on the park side you have this wrapper, while on the unpark side you directly call mod_delayed_work.
Daniele
Quoted 26 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +3
-3void intel_guc_busyness_park (struct intel_gt *gt) {struct intel_guc *guc = >->uc.guc;@@ -1460,7 +1466,7 @@ void intel_guc_busyness_park(struct intel_gt *gt)* and causes an unclaimed register access warning. Cancel the worker * synchronously here. */ -cancel_delayed_work_sync (&guc->timestamp.work); +guc_park_engine_stats (guc);/* * Before parking, we should sample engine busyness stats if we need to. @@ -4409,11 +4415,11 @@ void intel_guc_submission_enable(struct intel_guc *guc)guc_init_global_schedule_policy (guc); } +/* Note: By the time we're here, GuC may have already been reset */ void intel_guc_submission_disable (struct intel_guc *guc) {struct intel_gt *gt =guc_to_gt (guc); - -/* Note: By the time we're here, GuC may have already been reset */ +guc_park_engine_stats (guc);/* Disable and route to host */ if (GRAPHICS_VER (gt->i915) >=12 )
Re: [Intel-gfx] [PATCH 1/2] drm/i915/guc: Improve clean up of busyness stats worker
Quoted 36 lines · Daniele
Quoted 22 lines · On 1/11/2023 5:54 PM, [email protected] wrote:
From: John Harrison <[email protected]>
The stats worker thread management was mis-matched between enable/disable call sites. Fix those up. Also, abstract the cancel code into a helper function rather than replicating in multiple places.
Signed-off-by John Harrison <[email protected]>---
.../gpu/drm/i915/gt/uc/intel_guc_submission.c| 22 ++++++++++++-------1 file changed, 14 insertions(+), 8 deletions(-)drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +1
-0@@ -1435,19 +1435,25 @@ static void guc_init_engine_stats(struct intel_guc *guc) { struct intel_gt *gt = guc_to_gt(guc); intel_wakeref_t wakeref; + int ret; mod_delayed_work(system_highpri_wq, &guc->timestamp.work,drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static void guc_init_engine_stats(struct · line 1447
Quoted 10 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +4
-3guc->timestamp.ping_delay); - with_intel_runtime_pm(>->i915->runtime_pm, wakeref) { - int ret = guc_action_enable_usage_stats(guc); + with_intel_runtime_pm(>->i915->runtime_pm, wakeref) + ret = guc_action_enable_usage_stats(guc); - if (ret) - drm_err(>->i915->drm, - "Failed to enable usage stats: %d!\n", ret); + if (ret) { + cancel_delayed_work_sync(&guc->timestamp.work);Wouldn't it be easier to just call
mod_delayed_workafter the H2G if ret==0, instead of having it before and cancelling if we get a failure?
Quoted 11 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static void guc_init_engine_stats(struct intel_guc *guc) · line 1456
Quoted 9 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +5
-0+ drm_err(>->i915->drm, "Failed to enable usage stats: %d!\n", ret); } } +static void guc_park_engine_stats(struct intel_guc *guc) +{ + cancel_delayed_work_sync(&guc->timestamp.work); +} +Now you're asymmetric with the park/unpark, because on the park side you have this wrapper, while on the unpark side you directly call
mod_delayed_work.
The point is that submission disable needs to also cancel the worker. But calling the actual busyness park function seems excessive - no need to do all the updating if we are about to reset the GuC or unload the driver.
Thinking about it more, calling this park_engine_stats is actually wrong given that engine stats and busyness are the same thing, so basically we would have two functions with the same name where one is a subset of the other. Is it simpler (and safe?) to just call the full busyness unpark from submission_disable? Or is it better to have a cancel/enable_busyness_worker() pair for all instances of turning the worker on or off?
John.
Quoted 28 lines
Daniele
Quoted 24 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +1
-1void intel_guc_busyness_park(struct intel_gt *gt) { struct intel_guc *guc = >->uc.guc;@@ -1460,7 +1466,7 @@ void intel_guc_busyness_park(struct intel_gt *gt)* and causes an unclaimed register access warning. Cancel the worker * synchronously here. */ - cancel_delayed_work_sync(&guc->timestamp.work); + guc_park_engine_stats(guc); /** Before parking, we should sample engine busyness stats if we need to. @@ -4409,11 +4415,11 @@ void intel_guc_submission_enable(struct intel_guc *guc) guc_init_global_schedule_policy(guc); }+/* Note: By the time we're here, GuC may have already been reset */ void
intel_guc_submission_disable(struct intel_guc *guc)
{
structintel_gt*gt =guc_to_gt(guc);
-
- /* Note: By the time we're here, GuC may have already been reset */ +guc_park_engine_stats(guc);
/* Disable and route to host */
if (GRAPHICS_VER(gt->i915)>= 12)
PATCH 2/2 drm/i915/guc: Fix missing return code checks in submission init
In reply to [email protected]From: John Harrison <[email protected]>
The CI results for the 'fast request' patch set (enables error return codes for fire-and-forget H2G messages) hit an issue with the KMD sending context submission requests on an invalid context. That was caused by a fault injection probe failing the context creation of a kernel context. However, there was no return code checking on any of the kernel context registration paths. So the driver kept going and tried to use the kernel context for the record defaults process.
This would not cause any actual problems. The invalid requests would be rejected by GuC and ultimately the start up sequence would correctly wedge due to the context creation failure. But fixing the issue correctly rather ignoring it means we won't get CI complaining when the fast request patch lands and enables the extra error checking.
So fix it by checking for errors and aborting as appropriate when creating kernel contexts. While at it, clean up some other submission init related failure cleanup paths. Also, rename guc_init_lrc_mapping to guc_init_submission as the former name hasn't been valid in a long time.
--- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 91 ++++++++++++++----- .../gpu/drm/i915/gt/uc/intel_guc_submission.h | 2 +- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 7 +- 3 files changed, 75 insertions(+), 25 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +69 -22
@@ -1431,7 +1431,7 @@ static int guc_action_enable_usage_stats(struct intel_guc *guc)return intel_guc_send (guc, action,ARRAY_SIZE (action)); } -static void guc_init_engine_stats (struct intel_guc *guc) +static int guc_init_engine_stats (struct intel_guc *guc) {struct intel_gt *gt =guc_to_gt (guc);intel_wakeref_t wakeref;
@@ -1447,6 +1447,8 @@ static void guc_init_engine_stats(struct intel_guc *guc)cancel_delayed_work_sync (&guc->timestamp.work);drm_err (>->i915->drm,"Failed to enable usage stats: %d!\n" , ret); } + +return ret; }static void guc_park_engine_stats (struct intel_guc *guc)
@@ -4108,9 +4110,11 @@ static void guc_set_default_submission(struct intel_engine_cs *engine) engine->submit_request = guc_submit_request; } -static inline void guc_kernel_context_pin (struct intel_guc *guc, -struct intel_context *ce) +static inline int guc_kernel_context_pin (struct intel_guc *guc, +struct intel_context *ce) { +int ret; +/* * Note: we purposefully do not check the returns below because * the registration can only fail if a reset is just starting.
@@ -4118,16 +4122,24 @@ static inline void guc_kernel_context_pin(struct intel_guc *guc,* isn't happening and even it did this code would be run again. */ -if (context_guc_id_invalid (ce)) -pin_guc_id (guc, ce); +if (context_guc_id_invalid (ce)) { +int ret =pin_guc_id (guc, ce); + +if (ret <0 ) +return ret; + }if (!test_bit (CONTEXT_GUC_INIT , &ce->flags))guc_context_init (ce); -try_context_registration (ce, true); + ret =try_context_registration (ce, true); +if (ret) +unpin_guc_id (guc, ce); + +return ret; } -static inline void guc_init_lrc_mapping (struct intel_guc *guc) +static inline int guc_init_submission (struct intel_guc *guc) {struct intel_gt *gt =guc_to_gt (guc);struct intel_engine_cs *engine;
@@ -4154,9 +4166,17 @@ static inline void guc_init_lrc_mapping(struct intel_guc *guc)struct intel_context *ce;list_for_each_entry (ce, &engine->pinned_contexts_list, - pinned_contexts_link) -guc_kernel_context_pin (guc, ce); + pinned_contexts_link) { +int ret =guc_kernel_context_pin (guc, ce); + +if (ret) { +/* No point in trying to clean up as i915 will wedge on failure */ +return ret; + } + } } + +return 0 ; }static void guc_release (struct intel_engine_cs *engine)
@@ -4400,30 +4420,57 @@ static int guc_init_global_schedule_policy(struct intel_guc *guc)return ret; } -void intel_guc_submission_enable (struct intel_guc *guc) +static void guc_route_semaphores (struct intel_guc *guc,bool to_guc) {struct intel_gt *gt =guc_to_gt (guc); +u32 val; -/* Enable and route to GuC */ -if (GRAPHICS_VER (gt->i915) >=12 ) -intel_uncore_write (gt->uncore,GEN12_GUC_SEM_INTR_ENABLES , -GUC_SEM_INTR_ROUTE_TO_GUC | -GUC_SEM_INTR_ENABLE_ALL ); +if (GRAPHICS_VER (gt->i915) <12 ) +return ; -guc_init_lrc_mapping (guc); -guc_init_engine_stats (guc); -guc_init_global_schedule_policy (guc); +if (to_guc) + val =GUC_SEM_INTR_ROUTE_TO_GUC |GUC_SEM_INTR_ENABLE_ALL ; +else + val =0 ; + +intel_uncore_write (gt->uncore,GEN12_GUC_SEM_INTR_ENABLES , val); +} + +int intel_guc_submission_enable (struct intel_guc *guc) +{ +int ret; + +/* Semaphore interrupt enable and route to GuC */ +guc_route_semaphores (guc, true); + + ret =guc_init_submission (guc); +if (ret) + goto fail_sem; + + ret =guc_init_engine_stats (guc); +if (ret) + goto fail_sem; + + ret =guc_init_global_schedule_policy (guc); +if (ret) + goto fail_stats; + +return 0 ; + +fail_stats: +guc_park_engine_stats (guc); +fail_sem: +guc_route_semaphores (guc, false); +return ret; }/* Note: By the time we're here, GuC may have already been reset */ void intel_guc_submission_disable (struct intel_guc *guc) { -struct intel_gt *gt =guc_to_gt (guc);guc_park_engine_stats (guc); -/* Disable and route to host */ -if (GRAPHICS_VER (gt->i915) >=12 ) -intel_uncore_write (gt->uncore,GEN12_GUC_SEM_INTR_ENABLES ,0x0 ); +/* Semaphore interrupt disable and route to host */ +guc_route_semaphores (guc, false); }static bool __guc_submission_supported (struct intel_guc *guc)
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.h +1 -1
@@ -15,7 +15,7 @@ struct intel_engine_cs;void intel_guc_submission_init_early (struct intel_guc *guc);int intel_guc_submission_init (struct intel_guc *guc); -void intel_guc_submission_enable (struct intel_guc *guc); +int intel_guc_submission_enable (struct intel_guc *guc);void intel_guc_submission_disable (struct intel_guc *guc);void intel_guc_submission_fini (struct intel_guc *guc);int intel_guc_preempt_work_create (struct intel_guc *guc);
drivers/gpu/drm/i915/gt/uc/intel_uc.c +5 -2
@@ -537,8 +537,11 @@ static int __uc_init_hw(struct intel_uc *uc)else intel_huc_auth (huc); -if (intel_uc_uses_guc_submission (uc)) -intel_guc_submission_enable (guc); +if (intel_uc_uses_guc_submission (uc)) { + ret =intel_guc_submission_enable (guc); +if (ret) + goto err_log_capture; + }if (intel_uc_uses_guc_slpc (uc)) { ret =intel_guc_slpc_enable (&guc->slpc);
Signature · 1 line
2.39.0
Re: [PATCH 2/2] drm/i915/guc: Fix missing return code checks in submission init
Quoted 66 lines · On 1/11/2023 5:54 PM, [email protected] wrote:
From: John Harrison <[email protected]>
The CI results for the 'fast request' patch set (enables error return codes for fire-and-forget H2G messages) hit an issue with the KMD sending context submission requests on an invalid context. That was caused by a fault injection probe failing the context creation of a kernel context. However, there was no return code checking on any of the kernel context registration paths. So the driver kept going and tried to use the kernel context for the record defaults process.
This would not cause any actual problems. The invalid requests would be rejected by GuC and ultimately the start up sequence would correctly wedge due to the context creation failure. But fixing the issue correctly rather ignoring it means we won't get CI complaining when the fast request patch lands and enables the extra error checking.
So fix it by checking for errors and aborting as appropriate when creating kernel contexts. While at it, clean up some other submission init related failure cleanup paths. Also, rename
guc_init_lrc_mappingtoguc_init_submissionas the former name hasn't been valid in a long time.Signed-off-by John Harrison <[email protected]>--- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 91 ++++++++++++++----- .../gpu/drm/i915/gt/uc/intel_guc_submission.h | 2 +- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 7 +- 3 files changed, 75 insertions(+), 25 deletions(-)drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +7
-3@@ -1431,7 +1431,7 @@ static int guc_action_enable_usage_stats(struct intel_guc *guc)return intel_guc_send (guc, action,ARRAY_SIZE (action)); } -static void guc_init_engine_stats (struct intel_guc *guc) +static int guc_init_engine_stats (struct intel_guc *guc) {struct intel_gt *gt =guc_to_gt (guc);intel_wakeref_t wakeref;@@ -1447,6 +1447,8 @@ static void guc_init_engine_stats(struct intel_guc *guc)cancel_delayed_work_sync (&guc->timestamp.work);drm_err (>->i915->drm,"Failed to enable usage stats: %d!\n" , ret); } + +return ret; }static void guc_park_engine_stats (struct intel_guc *guc)@@ -4108,9 +4110,11 @@ static void guc_set_default_submission(struct intel_engine_cs *engine) engine->submit_request = guc_submit_request; } -static inline void guc_kernel_context_pin (struct intel_guc *guc, -struct intel_context *ce) +static inline int guc_kernel_context_pin (struct intel_guc *guc, +struct intel_context *ce) { +int ret; +/* * Note: we purposefully do not check the returns below because * the registration can only fail if a reset is just starting.
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static inline void guc_kernel_context_pin(struct intel_guc *guc, · line 4126
Quoted 7 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +2
-2@@ -4118,16 +4122,24 @@ static inline void guc_kernel_context_pin(struct intel_guc *guc,* isn't happening and even it did this code would be run again. */ -if (context_guc_id_invalid (ce)) -pin_guc_id (guc, ce); +if (context_guc_id_invalid (ce)) { +int ret =pin_guc_id (guc, ce);
Why do you need a local ret variable inside this if statement, when you already have a function-level one? or is it just a cut & paste error?
Quoted 83 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +45
-13+ +if (ret <0 ) +return ret; + }if (!test_bit (CONTEXT_GUC_INIT , &ce->flags))guc_context_init (ce); -try_context_registration (ce, true); + ret =try_context_registration (ce, true); +if (ret) +unpin_guc_id (guc, ce); + +return ret; } -static inline void guc_init_lrc_mapping (struct intel_guc *guc) +static inline int guc_init_submission (struct intel_guc *guc) {struct intel_gt *gt =guc_to_gt (guc);struct intel_engine_cs *engine;@@ -4154,9 +4166,17 @@ static inline void guc_init_lrc_mapping(struct intel_guc *guc)struct intel_context *ce;list_for_each_entry (ce, &engine->pinned_contexts_list, - pinned_contexts_link) -guc_kernel_context_pin (guc, ce); + pinned_contexts_link) { +int ret =guc_kernel_context_pin (guc, ce); + +if (ret) { +/* No point in trying to clean up as i915 will wedge on failure */ +return ret; + } + } } + +return 0 ; }static void guc_release (struct intel_engine_cs *engine)@@ -4400,30 +4420,57 @@ static int guc_init_global_schedule_policy(struct intel_guc *guc)return ret; } -void intel_guc_submission_enable (struct intel_guc *guc) +static void guc_route_semaphores (struct intel_guc *guc,bool to_guc) {struct intel_gt *gt =guc_to_gt (guc); +u32 val; -/* Enable and route to GuC */ -if (GRAPHICS_VER (gt->i915) >=12 ) -intel_uncore_write (gt->uncore,GEN12_GUC_SEM_INTR_ENABLES , -GUC_SEM_INTR_ROUTE_TO_GUC | -GUC_SEM_INTR_ENABLE_ALL ); +if (GRAPHICS_VER (gt->i915) <12 ) +return ; -guc_init_lrc_mapping (guc); -guc_init_engine_stats (guc); -guc_init_global_schedule_policy (guc); +if (to_guc) + val =GUC_SEM_INTR_ROUTE_TO_GUC |GUC_SEM_INTR_ENABLE_ALL ; +else + val =0 ; + +intel_uncore_write (gt->uncore,GEN12_GUC_SEM_INTR_ENABLES , val); +} + +int intel_guc_submission_enable (struct intel_guc *guc) +{ +int ret; + +/* Semaphore interrupt enable and route to GuC */ +guc_route_semaphores (guc, true); + + ret =guc_init_submission (guc); +if (ret) + goto fail_sem; + + ret =guc_init_engine_stats (guc); +if (ret)
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static int guc_init_global_schedule_policy(struct intel_guc *guc) · line 4461
Quoted 10 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +10
-0+ goto fail_sem; + + ret =guc_init_global_schedule_policy (guc); +if (ret) + goto fail_stats; + +return 0 ; + +fail_stats: +guc_park_engine_stats (guc);
personal preference: I'd prefer an extra guc_fini_engine_stats wrapper just so that we're balanced with the naming, but not a blocker.
Daniele
Quoted 50 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +5
-4+fail_sem: +guc_route_semaphores (guc, false); +return ret; }/* Note: By the time we're here, GuC may have already been reset */ void intel_guc_submission_disable (struct intel_guc *guc) { -struct intel_gt *gt =guc_to_gt (guc);guc_park_engine_stats (guc); -/* Disable and route to host */ -if (GRAPHICS_VER (gt->i915) >=12 ) -intel_uncore_write (gt->uncore,GEN12_GUC_SEM_INTR_ENABLES ,0x0 ); +/* Semaphore interrupt disable and route to host */ +guc_route_semaphores (guc, false); }static bool __guc_submission_supported (struct intel_guc *guc)drivers/gpu/drm/i915/gt/uc/intel_guc_submission.h +1
-1@@ -15,7 +15,7 @@ struct intel_engine_cs;void intel_guc_submission_init_early (struct intel_guc *guc);int intel_guc_submission_init (struct intel_guc *guc); -void intel_guc_submission_enable (struct intel_guc *guc); +int intel_guc_submission_enable (struct intel_guc *guc);void intel_guc_submission_disable (struct intel_guc *guc);void intel_guc_submission_fini (struct intel_guc *guc);int intel_guc_preempt_work_create (struct intel_guc *guc);drivers/gpu/drm/i915/gt/uc/intel_uc.c +5
-2@@ -537,8 +537,11 @@ static int __uc_init_hw(struct intel_uc *uc)else intel_huc_auth (huc); -if (intel_uc_uses_guc_submission (uc)) -intel_guc_submission_enable (guc); +if (intel_uc_uses_guc_submission (uc)) { + ret =intel_guc_submission_enable (guc); +if (ret) + goto err_log_capture; + }if (intel_uc_uses_guc_slpc (uc)) { ret =intel_guc_slpc_enable (&guc->slpc);
Re: [PATCH 2/2] drm/i915/guc: Fix missing return code checks in submission init
Quoted 68 lines · Daniele
Quoted 67 lines · On 1/11/2023 5:54 PM, [email protected] wrote:
From: John Harrison <[email protected]>
The CI results for the 'fast request' patch set (enables error return codes for fire-and-forget H2G messages) hit an issue with the KMD sending context submission requests on an invalid context. That was caused by a fault injection probe failing the context creation of a kernel context. However, there was no return code checking on any of the kernel context registration paths. So the driver kept going and tried to use the kernel context for the record defaults process.
This would not cause any actual problems. The invalid requests would be rejected by GuC and ultimately the start up sequence would correctly wedge due to the context creation failure. But fixing the issue correctly rather ignoring it means we won't get CI complaining when the fast request patch lands and enables the extra error checking.
So fix it by checking for errors and aborting as appropriate when creating kernel contexts. While at it, clean up some other submission init related failure cleanup paths. Also, rename
guc_init_lrc_mappingtoguc_init_submissionas the former name hasn't been valid in a long time.Signed-off-by John Harrison <[email protected]>---
.../gpu/drm/i915/gt/uc/intel_guc_submission.c| 91 ++++++++++++++-----.../gpu/drm/i915/gt/uc/intel_guc_submission.h| 2 +- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 7 +-3 files changed, 75 insertions(+), 25 deletions(-)drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +1
-0@@ -1431,7 +1431,7 @@ static int guc_action_enable_usage_stats(struct intel_guc *guc) return intel_guc_send(guc, action, ARRAY_SIZE(action)); } -static void guc_init_engine_stats(struct intel_guc *guc) +static int guc_init_engine_stats(struct intel_guc *guc) { struct intel_gt *gt = guc_to_gt(guc);
intel_wakeref_twakeref;drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +6
-1@@ -1447,6 +1447,8 @@ static void guc_init_engine_stats(struct intel_guc *guc) cancel_delayed_work_sync(&guc->timestamp.work); drm_err(>->i915->drm, "Failed to enable usage stats: %d!\n", ret); } + + return ret; } static void guc_park_engine_stats(struct intel_guc *guc)@@ -4108,9 +4110,11 @@ static void guc_set_default_submission(struct intel_engine_cs *engine) engine->submit_request = guc_submit_request; } -static inline void guc_kernel_context_pin(struct intel_guc *guc, - struct intel_context *ce) +static inline int guc_kernel_context_pin(struct intel_guc *guc, + struct intel_context *ce) { + int ret; + /* * Note: we purposefully do not check the returns below because* the registration can only fail if a reset is just starting.
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +0
-0@@ -4118,16 +4122,24 @@ static inline void guc_kernel_context_pin(struct intel_guc *guc,
Quoted 8 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static inline void guc_kernel_context_pin(struct intel_guc *guc, · line 4126
Quoted 6 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +2
-1* isn't happening and even it did this code would be run again. */ - if (context_guc_id_invalid(ce)) - pin_guc_id(guc, ce); + if (context_guc_id_invalid(ce)) { + int ret = pin_guc_id(guc, ce);Why do you need a local ret variable inside this if statement, when you already have a function-level one? or is it just a cut & paste error?
Yeah, copy/paste thing.
Quoted 83 lines
Quoted 83 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +15
-2+ + if (ret < 0) + return ret; + } if (!test_bit(CONTEXT_GUC_INIT, &ce->flags)) guc_context_init(ce); - try_context_registration(ce, true); + ret = try_context_registration(ce, true); + if (ret) + unpin_guc_id(guc, ce); + + return ret; } -static inline void guc_init_lrc_mapping(struct intel_guc *guc) +static inline int guc_init_submission(struct intel_guc *guc) { struct intel_gt *gt = guc_to_gt(guc); struct intel_engine_cs *engine;@@ -4154,9 +4166,17 @@ static inline void guc_init_lrc_mapping(struct intel_guc *guc) struct intel_context *ce; list_for_each_entry(ce, &engine->pinned_contexts_list, - pinned_contexts_link) - guc_kernel_context_pin(guc, ce); + pinned_contexts_link) { + int ret = guc_kernel_context_pin(guc, ce); + + if (ret) { + /* No point in trying to clean up as i915 will wedgeon failure */
+ return ret;
+ }
+ }
}
+
+ return 0;
}
static voidguc_release(struct intel_engine_cs *engine)drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +2
-0@@ -4400,30 +4420,57 @@ static int guc_init_global_schedule_policy(struct intel_guc *guc) return ret; } -void intel_guc_submission_enable(struct intel_guc *guc) +static void guc_route_semaphores(struct intel_guc *guc, bool to_guc) { struct intel_gt *gt = guc_to_gt(guc); + u32 val;- /* Enable and route to GuC */
- if (GRAPHICS_VER(gt->i915)>= 12)
- intel_uncore_write(gt->uncore,GEN12_GUC_SEM_INTR_ENABLES, -GUC_SEM_INTR_ROUTE_TO_GUC|
-GUC_SEM_INTR_ENABLE_ALL);
+ if (GRAPHICS_VER(gt->i915)< 12)
+ return;
-guc_init_lrc_mapping(guc);
-guc_init_engine_stats(guc);
-guc_init_global_schedule_policy(guc);
+ if (to_guc)
+ val =GUC_SEM_INTR_ROUTE_TO_GUC|GUC_SEM_INTR_ENABLE_ALL; + else
+ val = 0;drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +21
-0+ + intel_uncore_write(gt->uncore, GEN12_GUC_SEM_INTR_ENABLES, val); +} + +int intel_guc_submission_enable (struct intel_guc *guc) +{ + int ret; + + /* Semaphore interrupt enable and route to GuC */ + guc_route_semaphores(guc, true); + + ret = guc_init_submission(guc); + if (ret) + goto fail_sem; + + ret = guc_init_engine_stats(guc); + if (ret) + goto fail_sem; + + ret = guc_init_global_schedule_policy(guc); + if (ret)
Quoted 8 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static int guc_init_global_schedule_policy(struct intel_guc *guc) · line 4461
Quoted 6 lines
+ goto
fail_stats;drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +5
-0+ + return 0; + +fail_stats: + guc_park_engine_stats(guc);personal preference: I'd prefer an extra
guc_fini_engine_statswrapper just so that we're balanced with the naming, but not a blocker.
As per comment on previous patch, I'm thinking I'll rename guc_park_engine_stats() to guc_cancel_busyness_worker() (and add a matching enable). And I agree on the naming here. But adding yet another wrapper would mean having this:
guc_fini_engine_stats() {
guc_cancel_busyness_worker() {
cancel_delayed_work_sync();
}
}
Which seems excessive. A wrapper around a wrapper around a one line piece of code. I guess the compiler will optimise it all out and it leaves room for future expansion if other things need to happen in the middle layers in the future.
John.
Quoted 49 lines
Daniele
Quoted 45 lines
+fail_sem:
+guc_route_semaphores(guc, false);
+ return ret;
}
/* Note: By the time we're here, GuC may have already been reset */ voidintel_guc_submission_disable(struct intel_guc *guc)
{
- structintel_gt*gt =guc_to_gt(guc);guc_park_engine_stats(guc);
- /* Disable and route to host */
- if (GRAPHICS_VER(gt->i915)>= 12)
-intel_uncore_write(gt->uncore, GEN12_GUC_SEM_INTR_ENABLES, 0x0);
+ /* Semaphore interrupt disable and route to host */
+guc_route_semaphores(guc, false);
}
static bool__guc_submission_supported(struct intel_guc *guc)drivers/gpu/drm/i915/gt/uc/intel_guc_submission.h +1
-1@@ -15,7 +15,7 @@ struct intel_engine_cs; void intel_guc_submission_init_early(struct intel_guc *guc); int intel_guc_submission_init(struct intel_guc *guc); -void intel_guc_submission_enable (struct intel_guc *guc); +int intel_guc_submission_enable (struct intel_guc *guc); void intel_guc_submission_disable(struct intel_guc *guc); void intel_guc_submission_fini(struct intel_guc *guc); int intel_guc_preempt_work_create(struct intel_guc *guc);drivers/gpu/drm/i915/gt/uc/intel_uc.c +0
-0@@ -537,8 +537,11 @@ static int __uc_init_hw(struct intel_uc *uc)else
intel_huc_auth(huc);
- if (intel_uc_uses_guc_submission(uc)) -intel_guc_submission_enable(guc); + if (intel_uc_uses_guc_submission(uc)) { + ret =intel_guc_submission_enable(guc); + if (ret)
+ gotoerr_log_capture;
+ }
if (intel_uc_uses_guc_slpc(uc)) { ret =intel_guc_slpc_enable(&guc->slpc);
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Clean up some GuC related failure paths
In reply to [email protected]== Series Details ==
== Series Details ==
Series: Clean up some GuC related failure paths
URL : https://patchwork.freedesktop.org/series/112708/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for Clean up some GuC related failure paths
In reply to [email protected]== Series Details ==
== Series Details ==
Series: Clean up some GuC related failure paths
URL : https://patchwork.freedesktop.org/series/112708/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12574 -> Patchwork_112708v1
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/index.html
Participating hosts (35 -> 34)
------------------------------
Missing (1): fi-snb-2520m
Known issues
------------
Here are the changes found in Patchwork_112708v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_gttfill@basic:
- fi-pnv-d510: [PASS][1] -> [FAIL][2] ([i915#7229])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/fi-pnv-d510/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/fi-pnv-d510/igt@[email protected]
#### Possible fixes ####
* igt@i915_pm_rpm@module-reload:
- bat-dg1-5: [SKIP][3] -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/bat-dg1-5/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/bat-dg1-5/igt@[email protected]
[i915#7229]: https://gitlab.freedesktop.org/drm/intel/issues/7229
Build changes
-------------
* Linux: CI_DRM_12574 -> Patchwork_112708v1
CI-20190529: 20190529
CI_DRM_12574: bf7f7c53ac622a3f6d6738d062e59dd21ce28bd7 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7116: 79eb8984acd309108be713a8831e60667db67e21 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_112708v1: bf7f7c53ac622a3f6d6738d062e59dd21ce28bd7 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
6aa0e5127b05 drm/i915/guc: Fix missing return code checks in submission init 882f4daee3b3 drm/i915/guc: Improve clean up of busyness stats worker
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/index.html
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for Clean up some GuC related failure paths
In reply to [email protected]== Series Details ==
== Series Details ==
Series: Clean up some GuC related failure paths
URL : https://patchwork.freedesktop.org/series/112708/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12574_full -> Patchwork_112708v1_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/index.html
Participating hosts (13 -> 9)
------------------------------
Missing (4): shard-rkl0 pig-kbl-iris pig-glk-j5005 pig-skl-6260u
Known issues
------------
Here are the changes found in Patchwork_112708v1_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_fair@basic-none@vcs0:
- shard-glk: [PASS][1] -> [FAIL][2] ([i915#2842])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-glk7/igt@gem_exec_fair@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-glk1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-glk: NOTRUN -> [FAIL][3] ([i915#2842])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-glk6/igt@gem_exec_fair@[email protected]
* igt@gem_lmem_swapping@heavy-verify-random-ccs:
- shard-glk: NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#4613]) +2 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-glk2/igt@[email protected]
* igt@gem_pread@exhaustion:
- shard-glk: NOTRUN -> [WARN][5] ([i915#2658])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-glk6/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-glk: [PASS][6] -> [DMESG-WARN][7] ([i915#5566] / [i915#716])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-glk9/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-glk1/igt@[email protected]
* igt@i915_pm_dc@dc3co-vpb-simulation:
- shard-glk: NOTRUN -> [SKIP][8] ([fdo#109271] / [i915#658])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-glk2/igt@[email protected]
* igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc:
- shard-glk: NOTRUN -> [SKIP][9] ([fdo#109271] / [i915#3886]) +4 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-glk2/igt@kms_ccs@pipe-c-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_chamelium_color@ctm-blue-to-red:
- shard-glk: NOTRUN -> [SKIP][10] ([fdo#109271]) +55 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-glk6/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-hdmi-a2:
- shard-glk: [PASS][11] -> [FAIL][12] ([i915#79])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-glk5/igt@kms_flip@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-glk9/igt@kms_flip@[email protected]
* igt@runner@aborted:
- shard-glk: NOTRUN -> [FAIL][13] ([i915#4312])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-glk1/igt@[email protected]
#### Possible fixes ####
* igt@drm_fdinfo@idle@rcs0:
- {shard-rkl}: [FAIL][14] ([i915#7742]) -> [PASS][15] +1 similar issue
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-rkl-4/igt@drm_fdinfo@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-rkl-3/igt@drm_fdinfo@[email protected]
* igt@drm_read@empty-block:
- {shard-rkl}: [SKIP][16] ([i915#4098]) -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-rkl-3/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-rkl-6/igt@[email protected]
* igt@gem_ctx_persistence@hang:
- {shard-rkl}: [SKIP][18] ([i915#6252]) -> [PASS][19] +1 similar issue
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-rkl-5/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-rkl-3/igt@[email protected]
* igt@gem_exec_fair@basic-pace@vcs0:
- shard-glk: [FAIL][20] ([i915#2842]) -> [PASS][21]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-glk3/igt@gem_exec_fair@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-glk2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_reloc@basic-gtt-cpu:
- {shard-rkl}: [SKIP][22] ([i915#3281]) -> [PASS][23] +7 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-rkl-3/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-rkl-5/igt@[email protected]
* igt@gem_pread@bench:
- {shard-rkl}: [SKIP][24] ([i915#3282]) -> [PASS][25] +1 similar issue
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-rkl-2/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-rkl-5/igt@[email protected]
* igt@gen9_exec_parse@batch-invalid-length:
- {shard-rkl}: [SKIP][26] ([i915#2527]) -> [PASS][27] +3 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-rkl-3/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-rkl-5/igt@[email protected]
* igt@i915_pm_dc@dc6-dpms:
- {shard-rkl}: [SKIP][28] ([i915#3361]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-rkl-5/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-rkl-4/igt@[email protected]
* igt@i915_pm_rc6_residency@rc6-idle@vcs0:
- {shard-dg1}: [FAIL][30] ([i915#3591]) -> [PASS][31]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-dg1-19/igt@i915_pm_rc6_residency@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-dg1-17/igt@i915_pm_rc6_residency@[email protected]
* igt@i915_pm_rpm@dpms-non-lpsp:
- {shard-dg1}: [SKIP][32] ([i915#1397]) -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-dg1-14/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-dg1-15/igt@[email protected]
* igt@i915_pm_rpm@i2c:
- {shard-rkl}: [SKIP][34] ([fdo#109308]) -> [PASS][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-rkl-1/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-rkl-6/igt@[email protected]
* igt@kms_big_fb@linear-32bpp-rotate-0:
- {shard-rkl}: [SKIP][36] ([i915#1845] / [i915#4098]) -> [PASS][37] +17 similar issues
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-rkl-3/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-rkl-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-onoff:
- {shard-rkl}: [SKIP][38] ([i915#1849] / [i915#4098]) -> [PASS][39] +13 similar issues
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-rkl-3/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-rkl-6/igt@[email protected]
* igt@kms_plane@plane-position-hole-dpms@pipe-b-planes:
- {shard-rkl}: [SKIP][40] ([i915#1849]) -> [PASS][41] +1 similar issue
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-rkl-5/igt@kms_plane@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-rkl-6/igt@kms_plane@[email protected]
* igt@kms_psr@cursor_render:
- {shard-rkl}: [SKIP][42] ([i915#1072]) -> [PASS][43] +2 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-rkl-1/igt@kms_psr@cursor_render.html
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-rkl-6/igt@kms_psr@cursor_render.html
* igt@perf_pmu@idle@rcs0:
- {shard-rkl}: [FAIL][44] ([i915#4349]) -> [PASS][45]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-rkl-2/igt@perf_pmu@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-rkl-5/igt@perf_pmu@[email protected]
* igt@prime_vgem@basic-read:
- {shard-rkl}: [SKIP][46] ([fdo#109295] / [i915#3291] / [i915#3708]) -> [PASS][47]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-rkl-2/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-rkl-5/igt@[email protected]
* igt@syncobj_timeline@reset-during-wait-for-submit:
- {shard-dg1}: [DMESG-WARN][48] ([i915#1982]) -> [PASS][49]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-dg1-13/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-dg1-13/igt@[email protected]
* igt@sysfs_heartbeat_interval@precise@rcs0:
- {shard-dg1}: [FAIL][50] ([i915#1755]) -> [PASS][51]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12574/shard-dg1-18/igt@sysfs_heartbeat_interval@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/shard-dg1-14/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#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109302]: https://bugs.freedesktop.org/show_bug.cgi?id=109302
[fdo#109303]: https://bugs.freedesktop.org/show_bug.cgi?id=109303
[fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307
[fdo#109308]: https://bugs.freedesktop.org/show_bug.cgi?id=109308
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#109314]: https://bugs.freedesktop.org/show_bug.cgi?id=109314
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[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#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1755]: https://gitlab.freedesktop.org/drm/intel/issues/1755
[i915#1769]: https://gitlab.freedesktop.org/drm/intel/issues/1769
[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#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2434]: https://gitlab.freedesktop.org/drm/intel/issues/2434
[i915#2436]: https://gitlab.freedesktop.org/drm/intel/issues/2436
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2532]: https://gitlab.freedesktop.org/drm/intel/issues/2532
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[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#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#2994]: https://gitlab.freedesktop.org/drm/intel/issues/2994
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3361]: https://gitlab.freedesktop.org/drm/intel/issues/3361
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[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#3826]: https://gitlab.freedesktop.org/drm/intel/issues/3826
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[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#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#426]: https://gitlab.freedesktop.org/drm/intel/issues/426
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4767]: https://gitlab.freedesktop.org/drm/intel/issues/4767
[i915#4877]: https://gitlab.freedesktop.org/drm/intel/issues/4877
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[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#5327]: https://gitlab.freedesktop.org/drm/intel/issues/5327
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#5723]: https://gitlab.freedesktop.org/drm/intel/issues/5723
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[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#6259]: https://gitlab.freedesktop.org/drm/intel/issues/6259
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
[i915#6334]: https://gitlab.freedesktop.org/drm/intel/issues/6334
[i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335
[i915#6344]: https://gitlab.freedesktop.org/drm/intel/issues/6344
[i915#6412]: https://gitlab.freedesktop.org/drm/intel/issues/6412
[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#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#7037]: https://gitlab.freedesktop.org/drm/intel/issues/7037
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
[i915#7276]: https://gitlab.freedesktop.org/drm/intel/issues/7276
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7582]: https://gitlab.freedesktop.org/drm/intel/issues/7582
[i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697
[i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701
[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#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
Build changes
-------------
* Linux: CI_DRM_12574 -> Patchwork_112708v1
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_12574: bf7f7c53ac622a3f6d6738d062e59dd21ce28bd7 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7116: 79eb8984acd309108be713a8831e60667db67e21 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_112708v1: bf7f7c53ac622a3f6d6738d062e59dd21ce28bd7 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_112708v1/index.html