Prep work for next GuC release
Subsystems (2)
cover Prep work for next GuC release
From: John Harrison <[email protected]>
The next GuC firmware release includes some significant backwards breaking API changes. One such is that there is no longer an LRC descriptor pool. A bunch of prep work for that change can be done in advance - the descriptor pool was being used for things it shouldn't really have been used for anyway.
John Harrison (8):
drm/i915/guc: Do not conflate lrc_desc with GuC id for registration drm/i915/guc: Add an explicit 'submission_initialized' flag drm/i915/guc: Better name for context id limit drm/i915/guc: Split guc_lrc_desc_pin apart
drm/i915/guc: Move lrc desc setup to where it is needed drm/i915/guc: Rename desc_idx to ctx_id
drm/i915/guc: Drop obsolete H2G definitions
drm/i915/guc: Fix potential invalid pointer dereferences when decoding
G2Hs
drivers/gpu/drm/i915/gt/intel_context.c | 2 +- .../gpu/drm/i915/gt/uc/abi/guc_actions_abi.h | 2 - drivers/gpu/drm/i915/gt/uc/intel_guc.h | 2 + drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h | 4 +- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 183 ++++++++++-------- drivers/gpu/drm/i915/gt/uc/selftest_guc.c | 2 +- 6 files changed, 112 insertions(+), 83 deletions(-)
Signature · 1 line
2.25.1
PATCH 1/8 drm/i915/guc: Do not conflate lrc_desc with GuC id for registration
From: John Harrison <[email protected]>
The LRC descriptor pool is going away. So, stop using it as a check for context registration, use the GuC id instead (being the thing that actually gets registered with the GuC).
Also, rename the set/clear/query helper functions for context id mappings to better reflect their purpose and to differentiate from other registration related helper functions.
--- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 69 ++++++++++--------- 1 file changed, 38 insertions(+), 31 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +38 -31
@@ -514,31 +514,20 @@ static inline bool guc_submission_initialized(struct intel_guc *guc)return !!guc->lrc_desc_pool_vaddr; } -static inline void reset_lrc_desc (struct intel_guc *guc,u32 id) +static inline void _reset_lrc_desc (struct intel_guc *guc,u32 id) { -if (likely (guc_submission_initialized (guc))) { -struct guc_lrc_desc *desc =__get_lrc_desc (guc, id); -unsigned long flags; - -memset (desc,0 ,sizeof (*desc)); +struct guc_lrc_desc *desc =__get_lrc_desc (guc, id); -/* -* xarray API doesn't have xa_erase_irqsave wrapper, so calling -* the lower level functions directly. -*/ -xa_lock_irqsave (&guc->context_lookup, flags); -__xa_erase (&guc->context_lookup, id); -xa_unlock_irqrestore (&guc->context_lookup, flags); - } +memset (desc,0 ,sizeof (*desc)); } -static inline bool lrc_desc_registered (struct intel_guc *guc,u32 id) +static inline bool ctx_id_mapped (struct intel_guc *guc,u32 id) {return __get_context (guc, id); } -static inline void set_lrc_desc_registered (struct intel_guc *guc,u32 id, -struct intel_context *ce) +static inline void set_ctx_id_mapping (struct intel_guc *guc,u32 id, +struct intel_context *ce) {unsigned long flags;
@@ -551,6 +540,24 @@ static inline void set_lrc_desc_registered(struct intel_guc *guc, u32 id,xa_unlock_irqrestore (&guc->context_lookup, flags); } +static inline void clr_ctx_id_mapping (struct intel_guc *guc,u32 id) +{ +unsigned long flags; + +if (unlikely (!guc_submission_initialized (guc))) +return ; + +_reset_lrc_desc (guc, id); + +/* +* xarray API doesn't have xa_erase_irqsave wrapper, so calling +* the lower level functions directly. +*/ +xa_lock_irqsave (&guc->context_lookup, flags); +__xa_erase (&guc->context_lookup, id); +xa_unlock_irqrestore (&guc->context_lookup, flags); +} +static void decr_outstanding_submission_g2h (struct intel_guc *guc) {if (atomic_dec_and_test (&guc->outstanding_submission_g2h))
@@ -795,7 +802,7 @@ static int __guc_wq_item_append(struct i915_request *rq)GEM_BUG_ON (!atomic_read (&ce->guc_id.ref));GEM_BUG_ON (context_guc_id_invalid (ce));GEM_BUG_ON (context_wait_for_deregister_to_register (ce)); -GEM_BUG_ON (!lrc_desc_registered (ce_to_guc (ce), ce->guc_id.id)); +GEM_BUG_ON (!ctx_id_mapped (ce_to_guc (ce), ce->guc_id.id));/* Insert NOOP if this work queue item will wrap the tail pointer. */ if (wqi_size >wq_space_until_wrap (ce)) {
@@ -923,7 +930,7 @@ static int guc_dequeue_one_context(struct intel_guc *guc)if (submit) {struct intel_context *ce =request_to_scheduling_context (last); -if (unlikely (!lrc_desc_registered (guc, ce->guc_id.id) && +if (unlikely (!ctx_id_mapped (guc, ce->guc_id.id) && !intel_context_is_banned (ce))) { ret =guc_lrc_desc_pin (ce, false);if (unlikely (ret == -EPIPE )) {
@@ -1897,7 +1904,7 @@ static bool need_tasklet(struct intel_guc *guc, struct i915_request *rq)return submission_disabled (guc) || guc->stalled_request || !i915_sched_engine_is_empty (sched_engine) || - !lrc_desc_registered (guc, ce->guc_id.id); + !ctx_id_mapped (guc, ce->guc_id.id); }static void guc_submit_request (struct i915_request *rq)
@@ -1954,7 +1961,7 @@ static void __release_guc_id(struct intel_guc *guc, struct intel_context *ce)else ida_simple_remove (&guc->submission_state.guc_ids, ce->guc_id.id); -reset_lrc_desc (guc, ce->guc_id.id); +clr_ctx_id_mapping (guc, ce->guc_id.id);set_context_guc_id_invalid (ce); }if (!list_empty (&ce->guc_id.link))
@@ -2250,10 +2257,10 @@ static int guc_lrc_desc_pin(struct intel_context *ce, bool loop)GEM_BUG_ON (i915_gem_object_is_lmem (guc->ct.vma->obj) !=i915_gem_object_is_lmem (ce->ring->vma->obj)); - context_registered =lrc_desc_registered (guc, desc_idx); + context_registered =ctx_id_mapped (guc, desc_idx); -reset_lrc_desc (guc, desc_idx); -set_lrc_desc_registered (guc, desc_idx, ce); +clr_ctx_id_mapping (guc, desc_idx); +set_ctx_id_mapping (guc, desc_idx, ce); desc =__get_lrc_desc (guc, desc_idx); desc->engine_class =engine_class_to_guc_class (engine->class);
@@ -2324,7 +2331,7 @@ static int guc_lrc_desc_pin(struct intel_context *ce, bool loop) }spin_unlock_irqrestore (&ce->guc_state.lock, flags);if (unlikely (disabled)) { -reset_lrc_desc (guc, desc_idx); +clr_ctx_id_mapping (guc, desc_idx);return 0 ;/* Will get registered later */ }
@@ -2340,9 +2347,9 @@ static int guc_lrc_desc_pin(struct intel_context *ce, bool loop)with_intel_runtime_pm (runtime_pm, wakeref) ret = register_context(ce, loop);if (unlikely (ret == -EBUSY )) { -reset_lrc_desc (guc, desc_idx); +clr_ctx_id_mapping (guc, desc_idx); }else if (unlikely (ret == -ENODEV )) { -reset_lrc_desc (guc, desc_idx); +clr_ctx_id_mapping (guc, desc_idx); ret =0 ;/* Will get registered later */ } }
@@ -2529,7 +2536,7 @@ static bool context_cant_unblock(struct intel_context *ce)return (ce->guc_state.sched_state &SCHED_STATE_NO_UNBLOCK ) ||context_guc_id_invalid (ce) || - !lrc_desc_registered (ce_to_guc (ce), ce->guc_id.id) || + !ctx_id_mapped (ce_to_guc (ce), ce->guc_id.id) || !intel_context_is_pinned (ce); }
@@ -2699,7 +2706,7 @@ static inline void guc_lrc_desc_unpin(struct intel_context *ce)bool disabled;GEM_BUG_ON (!intel_gt_pm_is_awake (gt)); -GEM_BUG_ON (!lrc_desc_registered (guc, ce->guc_id.id)); +GEM_BUG_ON (!ctx_id_mapped (guc, ce->guc_id.id));GEM_BUG_ON (ce !=__get_context (guc, ce->guc_id.id));GEM_BUG_ON (context_enabled (ce));
@@ -2816,7 +2823,7 @@ static void guc_context_destroy(struct kref *kref)*/ spin_lock_irqsave (&guc->submission_state.lock, flags); destroy =submission_disabled (guc) ||context_guc_id_invalid (ce) || - !lrc_desc_registered (guc, ce->guc_id.id); + !ctx_id_mapped (guc, ce->guc_id.id);if (likely (!destroy)) {if (!list_empty (&ce->guc_id.link))list_del_init (&ce->guc_id.link);
@@ -3059,7 +3066,7 @@ static void guc_signal_context_fence(struct intel_context *ce)static bool context_needs_register (struct intel_context *ce,bool new_guc_id) {return (new_guc_id ||test_bit (CONTEXT_LRCA_DIRTY , &ce->flags) || - !lrc_desc_registered (ce_to_guc (ce), ce->guc_id.id)) && + !ctx_id_mapped (ce_to_guc (ce), ce->guc_id.id)) && !submission_disabled (ce_to_guc (ce)); }
Signature · 1 line
2.25.1
Re: [PATCH 1/8] drm/i915/guc: Do not conflate lrc_desc with GuC id for registration
Quoted 11 lines · On 2/17/2022 3:52 PM, [email protected] wrote:
From: John Harrison <[email protected]>
The LRC descriptor pool is going away. So, stop using it as a check for context registration, use the GuC id instead (being the thing that actually gets registered with the GuC).
Also, rename the set/clear/query helper functions for context id mappings to better reflect their purpose and to differentiate from other registration related helper functions.
Signed-off-by John Harrison <[email protected]>
Daniele
Quoted 178 lines
--- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 69 ++++++++++--------- 1 file changed, 38 insertions(+), 31 deletions(-)drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +38
-31@@ -514,31 +514,20 @@ static inline bool guc_submission_initialized(struct intel_guc *guc)return !!guc->lrc_desc_pool_vaddr; } -static inline void reset_lrc_desc (struct intel_guc *guc,u32 id) +static inline void _reset_lrc_desc (struct intel_guc *guc,u32 id) { -if (likely (guc_submission_initialized (guc))) { -struct guc_lrc_desc *desc =__get_lrc_desc (guc, id); -unsigned long flags; - -memset (desc,0 ,sizeof (*desc)); +struct guc_lrc_desc *desc =__get_lrc_desc (guc, id); -/* -* xarray API doesn't have xa_erase_irqsave wrapper, so calling -* the lower level functions directly. -*/ -xa_lock_irqsave (&guc->context_lookup, flags); -__xa_erase (&guc->context_lookup, id); -xa_unlock_irqrestore (&guc->context_lookup, flags); - } +memset (desc,0 ,sizeof (*desc)); } -static inline bool lrc_desc_registered (struct intel_guc *guc,u32 id) +static inline bool ctx_id_mapped (struct intel_guc *guc,u32 id) {return __get_context (guc, id); } -static inline void set_lrc_desc_registered (struct intel_guc *guc,u32 id, -struct intel_context *ce) +static inline void set_ctx_id_mapping (struct intel_guc *guc,u32 id, +struct intel_context *ce) {unsigned long flags;@@ -551,6 +540,24 @@ static inline void set_lrc_desc_registered(struct intel_guc *guc, u32 id,xa_unlock_irqrestore (&guc->context_lookup, flags); } +static inline void clr_ctx_id_mapping (struct intel_guc *guc,u32 id) +{ +unsigned long flags; + +if (unlikely (!guc_submission_initialized (guc))) +return ; + +_reset_lrc_desc (guc, id); + +/* +* xarray API doesn't have xa_erase_irqsave wrapper, so calling +* the lower level functions directly. +*/ +xa_lock_irqsave (&guc->context_lookup, flags); +__xa_erase (&guc->context_lookup, id); +xa_unlock_irqrestore (&guc->context_lookup, flags); +} +static void decr_outstanding_submission_g2h (struct intel_guc *guc) {if (atomic_dec_and_test (&guc->outstanding_submission_g2h))@@ -795,7 +802,7 @@ static int __guc_wq_item_append(struct i915_request *rq)GEM_BUG_ON (!atomic_read (&ce->guc_id.ref));GEM_BUG_ON (context_guc_id_invalid (ce));GEM_BUG_ON (context_wait_for_deregister_to_register (ce)); -GEM_BUG_ON (!lrc_desc_registered (ce_to_guc (ce), ce->guc_id.id)); +GEM_BUG_ON (!ctx_id_mapped (ce_to_guc (ce), ce->guc_id.id));/* Insert NOOP if this work queue item will wrap the tail pointer. */ if (wqi_size >wq_space_until_wrap (ce)) {@@ -923,7 +930,7 @@ static int guc_dequeue_one_context(struct intel_guc *guc)if (submit) {struct intel_context *ce =request_to_scheduling_context (last); -if (unlikely (!lrc_desc_registered (guc, ce->guc_id.id) && +if (unlikely (!ctx_id_mapped (guc, ce->guc_id.id) && !intel_context_is_banned (ce))) { ret =guc_lrc_desc_pin (ce, false);if (unlikely (ret == -EPIPE )) {@@ -1897,7 +1904,7 @@ static bool need_tasklet(struct intel_guc *guc, struct i915_request *rq)return submission_disabled (guc) || guc->stalled_request || !i915_sched_engine_is_empty (sched_engine) || - !lrc_desc_registered (guc, ce->guc_id.id); + !ctx_id_mapped (guc, ce->guc_id.id); }static void guc_submit_request (struct i915_request *rq)@@ -1954,7 +1961,7 @@ static void __release_guc_id(struct intel_guc *guc, struct intel_context *ce)else ida_simple_remove (&guc->submission_state.guc_ids, ce->guc_id.id); -reset_lrc_desc (guc, ce->guc_id.id); +clr_ctx_id_mapping (guc, ce->guc_id.id);set_context_guc_id_invalid (ce); }if (!list_empty (&ce->guc_id.link))@@ -2250,10 +2257,10 @@ static int guc_lrc_desc_pin(struct intel_context *ce, bool loop)GEM_BUG_ON (i915_gem_object_is_lmem (guc->ct.vma->obj) !=i915_gem_object_is_lmem (ce->ring->vma->obj)); - context_registered =lrc_desc_registered (guc, desc_idx); + context_registered =ctx_id_mapped (guc, desc_idx); -reset_lrc_desc (guc, desc_idx); -set_lrc_desc_registered (guc, desc_idx, ce); +clr_ctx_id_mapping (guc, desc_idx); +set_ctx_id_mapping (guc, desc_idx, ce); desc =__get_lrc_desc (guc, desc_idx); desc->engine_class =engine_class_to_guc_class (engine->class);@@ -2324,7 +2331,7 @@ static int guc_lrc_desc_pin(struct intel_context *ce, bool loop) }spin_unlock_irqrestore (&ce->guc_state.lock, flags);if (unlikely (disabled)) { -reset_lrc_desc (guc, desc_idx); +clr_ctx_id_mapping (guc, desc_idx);return 0 ;/* Will get registered later */ }@@ -2340,9 +2347,9 @@ static int guc_lrc_desc_pin(struct intel_context *ce, bool loop)with_intel_runtime_pm (runtime_pm, wakeref) ret = register_context(ce, loop);if (unlikely (ret == -EBUSY )) { -reset_lrc_desc (guc, desc_idx); +clr_ctx_id_mapping (guc, desc_idx); }else if (unlikely (ret == -ENODEV )) { -reset_lrc_desc (guc, desc_idx); +clr_ctx_id_mapping (guc, desc_idx); ret =0 ;/* Will get registered later */ } }@@ -2529,7 +2536,7 @@ static bool context_cant_unblock(struct intel_context *ce)return (ce->guc_state.sched_state &SCHED_STATE_NO_UNBLOCK ) ||context_guc_id_invalid (ce) || - !lrc_desc_registered (ce_to_guc (ce), ce->guc_id.id) || + !ctx_id_mapped (ce_to_guc (ce), ce->guc_id.id) || !intel_context_is_pinned (ce); }@@ -2699,7 +2706,7 @@ static inline void guc_lrc_desc_unpin(struct intel_context *ce)bool disabled;GEM_BUG_ON (!intel_gt_pm_is_awake (gt)); -GEM_BUG_ON (!lrc_desc_registered (guc, ce->guc_id.id)); +GEM_BUG_ON (!ctx_id_mapped (guc, ce->guc_id.id));GEM_BUG_ON (ce !=__get_context (guc, ce->guc_id.id));GEM_BUG_ON (context_enabled (ce));@@ -2816,7 +2823,7 @@ static void guc_context_destroy(struct kref *kref)*/ spin_lock_irqsave (&guc->submission_state.lock, flags); destroy =submission_disabled (guc) ||context_guc_id_invalid (ce) || - !lrc_desc_registered (guc, ce->guc_id.id); + !ctx_id_mapped (guc, ce->guc_id.id);if (likely (!destroy)) {if (!list_empty (&ce->guc_id.link))list_del_init (&ce->guc_id.link);@@ -3059,7 +3066,7 @@ static void guc_signal_context_fence(struct intel_context *ce)static bool context_needs_register (struct intel_context *ce,bool new_guc_id) {return (new_guc_id ||test_bit (CONTEXT_LRCA_DIRTY , &ce->flags) || - !lrc_desc_registered (ce_to_guc (ce), ce->guc_id.id)) && + !ctx_id_mapped (ce_to_guc (ce), ce->guc_id.id)) && !submission_disabled (ce_to_guc (ce)); }
PATCH 2/8 drm/i915/guc: Add an explicit 'submission_initialized' flag
In reply to [email protected]From: John Harrison <[email protected]>
The LRC descriptor pool is going away. So, stop using it as a check for whether submission has been initialised or not.
--- drivers/gpu/drm/i915/gt/uc/intel_guc.h | 2 ++ drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc.h +2 -0
@@ -137,6 +137,8 @@ struct intel_guc {bool submission_supported;/** @submission_selected: tracks whether the user enabled GuC submission */ bool submission_selected; +/** @submission_initialized: tracks whether GuC submission has been initialised */ +bool submission_initialized;/** * @rc_supported: tracks whether we support GuC rc on the current platform */
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +5 -3
@@ -511,7 +511,7 @@ static void guc_lrc_desc_pool_destroy(struct intel_guc *guc)static inline bool guc_submission_initialized (struct intel_guc *guc) { -return !!guc->lrc_desc_pool_vaddr; +return guc->submission_initialized; }static inline void _reset_lrc_desc (struct intel_guc *guc,u32 id)
@@ -1813,7 +1813,7 @@ int intel_guc_submission_init(struct intel_guc *guc)struct intel_gt *gt =guc_to_gt (guc);int ret; -if (guc->lrc_desc_pool) +if (guc->submission_initialized)return 0 ; ret =guc_lrc_desc_pool_create (guc);
@@ -1845,19 +1845,21 @@ int intel_guc_submission_init(struct intel_guc *guc)INIT_DELAYED_WORK (&guc->timestamp.work, guc_timestamp_ping); guc->timestamp.ping_delay = (POLL_TIME_CLKS / gt->clock_frequency +1 ) *HZ ; guc->timestamp.shift =gpm_timestamp_shift (gt); + guc->submission_initialized = true;return 0 ; }void intel_guc_submission_fini (struct intel_guc *guc) { -if (!guc->lrc_desc_pool) +if (!guc->submission_initialized)return ;guc_flush_destroyed_contexts (guc);guc_lrc_desc_pool_destroy (guc);i915_sched_engine_put (guc->sched_engine);bitmap_free (guc->submission_state.guc_ids_bitmap); + guc->submission_initialized = false; } static inline void queue_request(struct i915_sched_engine *sched_engine,
Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH 2/8] drm/i915/guc: Add an explicit 'submission_initialized' flag
Quoted 6 lines · On 2/17/2022 3:52 PM, [email protected] wrote:
From: John Harrison <[email protected]>
The LRC descriptor pool is going away. So, stop using it as a check for whether submission has been initialised or not.
Signed-off-by John Harrison <[email protected]>
grep confirmed those are the only places we use the pool that way, so:
Daniele
Quoted 63 lines
--- drivers/gpu/drm/i915/gt/uc/intel_guc.h | 2 ++ drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/gt/uc/intel_guc.h +2
-0@@ -137,6 +137,8 @@ struct intel_guc {bool submission_supported;/** @submission_selected: tracks whether the user enabled GuC submission */ bool submission_selected; +/** @submission_initialized: tracks whether GuC submission has been initialised */ +bool submission_initialized;/** * @rc_supported: tracks whether we support GuC rc on the current platform */ drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +5
-3@@ -511,7 +511,7 @@ static void guc_lrc_desc_pool_destroy(struct intel_guc *guc)static inline bool guc_submission_initialized (struct intel_guc *guc) { -return !!guc->lrc_desc_pool_vaddr; +return guc->submission_initialized; }static inline void _reset_lrc_desc (struct intel_guc *guc,u32 id)@@ -1813,7 +1813,7 @@ int intel_guc_submission_init(struct intel_guc *guc)struct intel_gt *gt =guc_to_gt (guc);int ret; -if (guc->lrc_desc_pool) +if (guc->submission_initialized)return 0 ; ret =guc_lrc_desc_pool_create (guc);@@ -1845,19 +1845,21 @@ int intel_guc_submission_init(struct intel_guc *guc)INIT_DELAYED_WORK (&guc->timestamp.work, guc_timestamp_ping); guc->timestamp.ping_delay = (POLL_TIME_CLKS / gt->clock_frequency +1 ) *HZ ; guc->timestamp.shift =gpm_timestamp_shift (gt); + guc->submission_initialized = true;return 0 ; }void intel_guc_submission_fini (struct intel_guc *guc) { -if (!guc->lrc_desc_pool) +if (!guc->submission_initialized)return ;guc_flush_destroyed_contexts (guc);guc_lrc_desc_pool_destroy (guc);i915_sched_engine_put (guc->sched_engine);bitmap_free (guc->submission_state.guc_ids_bitmap); + guc->submission_initialized = false; } static inline void queue_request(struct i915_sched_engine *sched_engine,
PATCH 3/8 drm/i915/guc: Better name for context id limit
In reply to [email protected]From: John Harrison <[email protected]>
The LRC descriptor pool is going away. So, stop using it as the limit for how many context ids are available.
While at it, also update a kzalloc(sizeof()*count) to be a kcalloc(count,size).
--- drivers/gpu/drm/i915/gt/intel_context.c | 2 +- drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h | 4 ++-- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 16 ++++++++-------- drivers/gpu/drm/i915/gt/uc/selftest_guc.c | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-)
drivers/gpu/drm/i915/gt/intel_context.c +1 -1
@@ -400,7 +400,7 @@ intel_context_init(struct intel_context *ce, struct intel_engine_cs *engine)INIT_LIST_HEAD (&ce->guc_state.fences);INIT_LIST_HEAD (&ce->guc_state.requests); - ce->guc_id.id =GUC_INVALID_LRC_ID ; + ce->guc_id.id =GUC_INVALID_CONTEXT_ID ;INIT_LIST_HEAD (&ce->guc_id.link);INIT_LIST_HEAD (&ce->destroyed_link);
drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h +2 -2
@@ -32,8 +32,8 @@#define GUC_CLIENT_PRIORITY_NORMAL 3#define GUC_CLIENT_PRIORITY_NUM 4 -#define GUC_MAX_LRC_DESCRIPTORS 65535 -#define GUC_INVALID_LRC_ID GUC_MAX_LRC_DESCRIPTORS +#define GUC_MAX_CONTEXT_ID 65535 +#define GUC_INVALID_CONTEXT_ID GUC_MAX_CONTEXT_ID#define GUC_RENDER_ENGINE 0#define GUC_VIDEO_ENGINE 1
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +8 -8
@@ -354,12 +354,12 @@ request_to_scheduling_context(struct i915_request *rq)static inline bool context_guc_id_invalid (struct intel_context *ce) { -return ce->guc_id.id ==GUC_INVALID_LRC_ID ; +return ce->guc_id.id ==GUC_INVALID_CONTEXT_ID ; }static inline void set_context_guc_id_invalid (struct intel_context *ce) { - ce->guc_id.id =GUC_INVALID_LRC_ID ; + ce->guc_id.id =GUC_INVALID_CONTEXT_ID ; }static inline struct intel_guc *ce_to_guc (struct intel_context *ce)
@@ -474,7 +474,7 @@ static struct guc_lrc_desc *__get_lrc_desc(struct intel_guc *guc, u32 index) {struct guc_lrc_desc *base = guc->lrc_desc_pool_vaddr; -GEM_BUG_ON (index >=GUC_MAX_LRC_DESCRIPTORS ); +GEM_BUG_ON (index >=GUC_MAX_CONTEXT_ID );return &base[index]; }
@@ -483,7 +483,7 @@ static inline struct intel_context *__get_context(struct intel_guc *guc, u32 id) {struct intel_context *ce =xa_load (&guc->context_lookup, id); -GEM_BUG_ON (id >=GUC_MAX_LRC_DESCRIPTORS ); +GEM_BUG_ON (id >=GUC_MAX_CONTEXT_ID );return ce; }
@@ -494,7 +494,7 @@ static int guc_lrc_desc_pool_create(struct intel_guc *guc)int ret; size =PAGE_ALIGN (sizeof (struct guc_lrc_desc ) * -GUC_MAX_LRC_DESCRIPTORS ); +GUC_MAX_CONTEXT_ID ); ret =intel_guc_allocate_and_map_vma (guc, size, &guc->lrc_desc_pool, (void **)&guc->lrc_desc_pool_vaddr);if (ret)
@@ -2441,7 +2441,7 @@ static void __guc_context_sched_disable(struct intel_guc *guc, GUC_CONTEXT_DISABLE }; -GEM_BUG_ON (guc_id ==GUC_INVALID_LRC_ID ); +GEM_BUG_ON (guc_id ==GUC_INVALID_CONTEXT_ID );GEM_BUG_ON (intel_context_is_child (ce));trace_intel_context_sched_disable (ce);
@@ -3840,7 +3840,7 @@ static bool __guc_submission_selected(struct intel_guc *guc)void intel_guc_submission_init_early (struct intel_guc *guc) { - guc->submission_state.num_guc_ids =GUC_MAX_LRC_DESCRIPTORS ; + guc->submission_state.num_guc_ids =GUC_MAX_CONTEXT_ID ; guc->submission_supported =__guc_submission_supported (guc); guc->submission_selected =__guc_submission_selected (guc); }
@@ -3850,7 +3850,7 @@ g2h_context_lookup(struct intel_guc *guc, u32 desc_idx) {struct intel_context *ce; -if (unlikely (desc_idx >=GUC_MAX_LRC_DESCRIPTORS )) { +if (unlikely (desc_idx >=GUC_MAX_CONTEXT_ID )) {drm_err (&guc_to_gt (guc)->i915->drm,"Invalid desc_idx %u" , desc_idx);return NULL ;
drivers/gpu/drm/i915/gt/uc/selftest_guc.c +1 -1
@@ -148,7 +148,7 @@ static int intel_guc_steal_guc_ids(void *arg)struct i915_request *spin_rq =NULL , *rq, *last =NULL ;int number_guc_id_stolen = guc->number_guc_id_stolen; - ce =kzalloc (sizeof (*ce) *GUC_MAX_LRC_DESCRIPTORS ,GFP_KERNEL ); + ce =kcalloc (GUC_MAX_CONTEXT_ID ,sizeof (*ce),GFP_KERNEL );if (!ce) {pr_err ("Context array allocation failed\n" );return -ENOMEM ;
Signature · 1 line
2.25.1
Re: [PATCH 3/8] drm/i915/guc: Better name for context id limit
Quoted 4 lines · On 2/17/2022 3:52 PM, [email protected] wrote:
From: John Harrison <[email protected]>
The LRC descriptor pool is going away. So, stop using it as the limit for how many context ids are available.
I think this could be slightly reworded to make it clear that the numbers are not changing. Maybe add something like "the desc pool is sized based on the maximum numbers of contexts supported by the GuC, so define that limit directly".
Quoted 5 lines
While at it, also update a kzalloc(sizeof()*count) to be a
kcalloc(count,size).Signed-off-by John Harrison <[email protected]>
Daniele
Quoted 121 lines
--- drivers/gpu/drm/i915/gt/intel_context.c | 2 +- drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h | 4 ++-- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 16 ++++++++-------- drivers/gpu/drm/i915/gt/uc/selftest_guc.c | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-)drivers/gpu/drm/i915/gt/intel_context.c +1
-1@@ -400,7 +400,7 @@ intel_context_init(struct intel_context *ce, struct intel_engine_cs *engine)INIT_LIST_HEAD (&ce->guc_state.fences);INIT_LIST_HEAD (&ce->guc_state.requests); - ce->guc_id.id =GUC_INVALID_LRC_ID ; + ce->guc_id.id =GUC_INVALID_CONTEXT_ID ;INIT_LIST_HEAD (&ce->guc_id.link);INIT_LIST_HEAD (&ce->destroyed_link);drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h +2
-2@@ -32,8 +32,8 @@#define GUC_CLIENT_PRIORITY_NORMAL 3#define GUC_CLIENT_PRIORITY_NUM 4 -#define GUC_MAX_LRC_DESCRIPTORS 65535 -#define GUC_INVALID_LRC_ID GUC_MAX_LRC_DESCRIPTORS +#define GUC_MAX_CONTEXT_ID 65535 +#define GUC_INVALID_CONTEXT_ID GUC_MAX_CONTEXT_ID#define GUC_RENDER_ENGINE 0#define GUC_VIDEO_ENGINE 1drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +8
-8@@ -354,12 +354,12 @@ request_to_scheduling_context(struct i915_request *rq)static inline bool context_guc_id_invalid (struct intel_context *ce) { -return ce->guc_id.id ==GUC_INVALID_LRC_ID ; +return ce->guc_id.id ==GUC_INVALID_CONTEXT_ID ; }static inline void set_context_guc_id_invalid (struct intel_context *ce) { - ce->guc_id.id =GUC_INVALID_LRC_ID ; + ce->guc_id.id =GUC_INVALID_CONTEXT_ID ; }static inline struct intel_guc *ce_to_guc (struct intel_context *ce)@@ -474,7 +474,7 @@ static struct guc_lrc_desc *__get_lrc_desc(struct intel_guc *guc, u32 index) {struct guc_lrc_desc *base = guc->lrc_desc_pool_vaddr; -GEM_BUG_ON (index >=GUC_MAX_LRC_DESCRIPTORS ); +GEM_BUG_ON (index >=GUC_MAX_CONTEXT_ID );return &base[index]; }@@ -483,7 +483,7 @@ static inline struct intel_context *__get_context(struct intel_guc *guc, u32 id) {struct intel_context *ce =xa_load (&guc->context_lookup, id); -GEM_BUG_ON (id >=GUC_MAX_LRC_DESCRIPTORS ); +GEM_BUG_ON (id >=GUC_MAX_CONTEXT_ID );return ce; }@@ -494,7 +494,7 @@ static int guc_lrc_desc_pool_create(struct intel_guc *guc)int ret; size =PAGE_ALIGN (sizeof (struct guc_lrc_desc ) * -GUC_MAX_LRC_DESCRIPTORS ); +GUC_MAX_CONTEXT_ID ); ret =intel_guc_allocate_and_map_vma (guc, size, &guc->lrc_desc_pool, (void **)&guc->lrc_desc_pool_vaddr);if (ret)@@ -2441,7 +2441,7 @@ static void __guc_context_sched_disable(struct intel_guc *guc, GUC_CONTEXT_DISABLE }; -GEM_BUG_ON (guc_id ==GUC_INVALID_LRC_ID ); +GEM_BUG_ON (guc_id ==GUC_INVALID_CONTEXT_ID );GEM_BUG_ON (intel_context_is_child (ce));trace_intel_context_sched_disable (ce);@@ -3840,7 +3840,7 @@ static bool __guc_submission_selected(struct intel_guc *guc)void intel_guc_submission_init_early (struct intel_guc *guc) { - guc->submission_state.num_guc_ids =GUC_MAX_LRC_DESCRIPTORS ; + guc->submission_state.num_guc_ids =GUC_MAX_CONTEXT_ID ; guc->submission_supported =__guc_submission_supported (guc); guc->submission_selected =__guc_submission_selected (guc); }@@ -3850,7 +3850,7 @@ g2h_context_lookup(struct intel_guc *guc, u32 desc_idx) {struct intel_context *ce; -if (unlikely (desc_idx >=GUC_MAX_LRC_DESCRIPTORS )) { +if (unlikely (desc_idx >=GUC_MAX_CONTEXT_ID )) {drm_err (&guc_to_gt (guc)->i915->drm,"Invalid desc_idx %u" , desc_idx);return NULL ;drivers/gpu/drm/i915/gt/uc/selftest_guc.c +1
-1@@ -148,7 +148,7 @@ static int intel_guc_steal_guc_ids(void *arg)struct i915_request *spin_rq =NULL , *rq, *last =NULL ;int number_guc_id_stolen = guc->number_guc_id_stolen; - ce =kzalloc (sizeof (*ce) *GUC_MAX_LRC_DESCRIPTORS ,GFP_KERNEL ); + ce =kcalloc (GUC_MAX_CONTEXT_ID ,sizeof (*ce),GFP_KERNEL );if (!ce) {pr_err ("Context array allocation failed\n" );return -ENOMEM ;
PATCH 4/8 drm/i915/guc: Split guc_lrc_desc_pin apart
In reply to [email protected]From: John Harrison <[email protected]>
The LRC descriptor pool is going away. Further, the function that was populating it was also doing a bunch of logic about the context registration sequence. So, split that code apart into separate state setup and try to register functions. Note that some of those 'try to register' code paths actually undo the state setup and leave it to be redone again later (with potentially different values). This is inefficient. The next patch will correct this.
Also, move a comment about ignoring return values to the place where the return values are actually ignored.
--- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 45 ++++++++++++------- 1 file changed, 28 insertions(+), 17 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +28 -17
@@ -634,7 +634,7 @@ int intel_guc_wait_for_idle(struct intel_guc *guc, long timeout) true, timeout); } -static int guc_lrc_desc_pin (struct intel_context *ce,bool loop); +static int try_context_registration (struct intel_context *ce,bool loop);static int __guc_add_request (struct intel_guc *guc,struct i915_request *rq) {
@@ -932,7 +932,7 @@ static int guc_dequeue_one_context(struct intel_guc *guc)if (unlikely (!ctx_id_mapped (guc, ce->guc_id.id) && !intel_context_is_banned (ce))) { - ret =guc_lrc_desc_pin (ce, false); + ret =try_context_registration (ce, false);if (unlikely (ret == -EPIPE )) { goto deadlk; }else if (ret == -EBUSY ) {
@@ -2237,17 +2237,13 @@ static void guc_context_policy_init(struct intel_engine_cs *engine, desc->preemption_timeout = engine->props.preempt_timeout_ms *1000 ; } -static int guc_lrc_desc_pin (struct intel_context *ce,bool loop) +static void prepare_context_registration_info (struct intel_context *ce) {struct intel_engine_cs *engine = ce->engine; -struct intel_runtime_pm *runtime_pm = engine->uncore->rpm;struct intel_guc *guc = &engine->gt->uc.guc;u32 desc_idx = ce->guc_id.id;struct guc_lrc_desc *desc; -bool context_registered; -intel_wakeref_t wakeref;struct intel_context *child; -int ret =0 ;GEM_BUG_ON (!engine->mask);GEM_BUG_ON (!sched_state_is_init (ce));
@@ -2259,8 +2255,6 @@ static int guc_lrc_desc_pin(struct intel_context *ce, bool loop)GEM_BUG_ON (i915_gem_object_is_lmem (guc->ct.vma->obj) !=i915_gem_object_is_lmem (ce->ring->vma->obj)); - context_registered =ctx_id_mapped (guc, desc_idx); -clr_ctx_id_mapping (guc, desc_idx);set_ctx_id_mapping (guc, desc_idx, ce);
@@ -2308,6 +2302,21 @@ static int guc_lrc_desc_pin(struct intel_context *ce, bool loop)clear_children_join_go_memory (ce); } +} + +static int try_context_registration (struct intel_context *ce,bool loop) +{ +struct intel_engine_cs *engine = ce->engine; +struct intel_runtime_pm *runtime_pm = engine->uncore->rpm; +struct intel_guc *guc = &engine->gt->uc.guc; +intel_wakeref_t wakeref; +u32 desc_idx = ce->guc_id.id; +bool context_registered; +int ret =0 ; + + context_registered =ctx_id_mapped (guc, desc_idx); + +prepare_context_registration_info (ce);/* * The context_lookup xarray is used to determine if the hardware
@@ -3145,7 +3154,7 @@ static int guc_request_alloc(struct i915_request *rq)if (unlikely (ret <0 ))return ret;if (context_needs_register (ce, !!ret)) { - ret =guc_lrc_desc_pin (ce, true); + ret =try_context_registration (ce, true);if (unlikely (ret)) {/* unwind */ if (ret == -EPIPE ) {disable_submission (guc);
@@ -3633,9 +3642,17 @@ static void guc_set_default_submission(struct intel_engine_cs *engine)static inline void guc_kernel_context_pin (struct intel_guc *guc,struct intel_context *ce) { +/* +* Note: we purposefully do not check the returns below because +* the registration can only fail if a reset is just starting. +* This is called at the end of reset so presumably another reset +* isn't happening and even it did this code would be run again. +*/ +if (context_guc_id_invalid (ce))pin_guc_id (guc, ce); -guc_lrc_desc_pin (ce, true); + +try_context_registration (ce, true); }static inline void guc_init_lrc_mapping (struct intel_guc *guc)
@@ -3653,13 +3670,7 @@ static inline void guc_init_lrc_mapping(struct intel_guc *guc)* Also, after a reset the of the GuC we want to make sure that the * information shared with GuC is properly reset. The kernel LRCs are * not attached to the gem_context, so they need to be added separately. -* -* Note: we purposefully do not check the return of guc_lrc_desc_pin, -* because that function can only fail if a reset is just starting. This -* is at the end of reset so presumably another reset isn't happening -* and even it did this code would be run again. */ -for_each_engine (engine, gt, id) {struct intel_context *ce;
Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH 4/8] drm/i915/guc: Split guc_lrc_desc_pin apart
Quoted 10 lines · On 2/17/2022 3:52 PM, [email protected] wrote:
From: John Harrison <[email protected]>
The LRC descriptor pool is going away. Further, the function that was populating it was also doing a bunch of logic about the context registration sequence. So, split that code apart into separate state setup and try to register functions. Note that some of those 'try to register' code paths actually undo the state setup and leave it to be redone again later (with potentially different values). This is inefficient. The next patch will correct this.
Quoted 4 lines
Also, move a comment about ignoring return values to the place where the return values are actually ignored.
Signed-off-by John Harrison <[email protected]>
Daniele
Quoted 118 lines
--- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 45 ++++++++++++------- 1 file changed, 28 insertions(+), 17 deletions(-)drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +28
-17@@ -634,7 +634,7 @@ int intel_guc_wait_for_idle(struct intel_guc *guc, long timeout) true, timeout); } -static int guc_lrc_desc_pin (struct intel_context *ce,bool loop); +static int try_context_registration (struct intel_context *ce,bool loop);static int __guc_add_request (struct intel_guc *guc,struct i915_request *rq) {@@ -932,7 +932,7 @@ static int guc_dequeue_one_context(struct intel_guc *guc)if (unlikely (!ctx_id_mapped (guc, ce->guc_id.id) && !intel_context_is_banned (ce))) { - ret =guc_lrc_desc_pin (ce, false); + ret =try_context_registration (ce, false);if (unlikely (ret == -EPIPE )) { goto deadlk; }else if (ret == -EBUSY ) {@@ -2237,17 +2237,13 @@ static void guc_context_policy_init(struct intel_engine_cs *engine, desc->preemption_timeout = engine->props.preempt_timeout_ms *1000 ; } -static int guc_lrc_desc_pin (struct intel_context *ce,bool loop) +static void prepare_context_registration_info (struct intel_context *ce) {struct intel_engine_cs *engine = ce->engine; -struct intel_runtime_pm *runtime_pm = engine->uncore->rpm;struct intel_guc *guc = &engine->gt->uc.guc;u32 desc_idx = ce->guc_id.id;struct guc_lrc_desc *desc; -bool context_registered; -intel_wakeref_t wakeref;struct intel_context *child; -int ret =0 ;GEM_BUG_ON (!engine->mask);GEM_BUG_ON (!sched_state_is_init (ce));@@ -2259,8 +2255,6 @@ static int guc_lrc_desc_pin(struct intel_context *ce, bool loop)GEM_BUG_ON (i915_gem_object_is_lmem (guc->ct.vma->obj) !=i915_gem_object_is_lmem (ce->ring->vma->obj)); - context_registered =ctx_id_mapped (guc, desc_idx); -clr_ctx_id_mapping (guc, desc_idx);set_ctx_id_mapping (guc, desc_idx, ce);@@ -2308,6 +2302,21 @@ static int guc_lrc_desc_pin(struct intel_context *ce, bool loop)clear_children_join_go_memory (ce); } +} + +static int try_context_registration (struct intel_context *ce,bool loop) +{ +struct intel_engine_cs *engine = ce->engine; +struct intel_runtime_pm *runtime_pm = engine->uncore->rpm; +struct intel_guc *guc = &engine->gt->uc.guc; +intel_wakeref_t wakeref; +u32 desc_idx = ce->guc_id.id; +bool context_registered; +int ret =0 ; + + context_registered =ctx_id_mapped (guc, desc_idx); + +prepare_context_registration_info (ce);/* * The context_lookup xarray is used to determine if the hardware @@ -3145,7 +3154,7 @@ static int guc_request_alloc(struct i915_request *rq)if (unlikely (ret <0 ))return ret;if (context_needs_register (ce, !!ret)) { - ret =guc_lrc_desc_pin (ce, true); + ret =try_context_registration (ce, true);if (unlikely (ret)) {/* unwind */ if (ret == -EPIPE ) {disable_submission (guc);@@ -3633,9 +3642,17 @@ static void guc_set_default_submission(struct intel_engine_cs *engine)static inline void guc_kernel_context_pin (struct intel_guc *guc,struct intel_context *ce) { +/* +* Note: we purposefully do not check the returns below because +* the registration can only fail if a reset is just starting. +* This is called at the end of reset so presumably another reset +* isn't happening and even it did this code would be run again. +*/ +if (context_guc_id_invalid (ce))pin_guc_id (guc, ce); -guc_lrc_desc_pin (ce, true); + +try_context_registration (ce, true); }static inline void guc_init_lrc_mapping (struct intel_guc *guc)@@ -3653,13 +3670,7 @@ static inline void guc_init_lrc_mapping(struct intel_guc *guc)* Also, after a reset the of the GuC we want to make sure that the * information shared with GuC is properly reset. The kernel LRCs are * not attached to the gem_context, so they need to be added separately. -* -* Note: we purposefully do not check the return of guc_lrc_desc_pin, -* because that function can only fail if a reset is just starting. This -* is at the end of reset so presumably another reset isn't happening -* and even it did this code would be run again. */ -for_each_engine (engine, gt, id) {struct intel_context *ce;
PATCH 5/8 drm/i915/guc: Move lrc desc setup to where it is needed
In reply to [email protected]From: John Harrison <[email protected]>
The LRC descriptor was being initialised early on in the context registration sequence. It could then be determined that the actual registration needs to be delayed and the descriptor would be wiped out. This is inefficient, so move the setup to later in the process after the point of no return.
--- drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +9 -2
@@ -2153,6 +2153,8 @@ static int __guc_action_register_context(struct intel_guc *guc, 0, loop); } +static void prepare_context_registration_info (struct intel_context *ce); +static int register_context (struct intel_context *ce,bool loop) {struct intel_guc *guc =ce_to_guc (ce);
@@ -2163,6 +2165,8 @@ static int register_context(struct intel_context *ce, bool loop)GEM_BUG_ON (intel_context_is_child (ce));trace_intel_context_register (ce); +prepare_context_registration_info (ce); +if (intel_context_is_parent (ce)) ret =__guc_action_register_multi_lrc (guc, ce, ce->guc_id.id, offset, loop);
@@ -2246,7 +2250,6 @@ static void prepare_context_registration_info(struct intel_context *ce)struct intel_context *child;GEM_BUG_ON (!engine->mask); -GEM_BUG_ON (!sched_state_is_init (ce));/* * Ensure LRC + CT vmas are is same region as write barrier is done
@@ -2314,9 +2317,13 @@ static int try_context_registration(struct intel_context *ce, bool loop)bool context_registered;int ret =0 ; +GEM_BUG_ON (!sched_state_is_init (ce)); + context_registered =ctx_id_mapped (guc, desc_idx); -prepare_context_registration_info (ce); +if (context_registered) +clr_ctx_id_mapping (guc, desc_idx); +set_ctx_id_mapping (guc, desc_idx, ce);/* * The context_lookup xarray is used to determine if the hardware
Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH 5/8] drm/i915/guc: Move lrc desc setup to where it is needed
Quoted 45 lines · On 2/17/2022 3:52 PM, [email protected] wrote:
From: John Harrison <[email protected]>
The LRC descriptor was being initialised early on in the context registration sequence. It could then be determined that the actual registration needs to be delayed and the descriptor would be wiped out. This is inefficient, so move the setup to later in the process after the point of no return.
Signed-off-by John Harrison <[email protected]>--- drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +4
-1@@ -2153,6 +2153,8 @@ static int __guc_action_register_context(struct intel_guc *guc, 0, loop); } +static void prepare_context_registration_info (struct intel_context *ce); +static int register_context (struct intel_context *ce,bool loop) {struct intel_guc *guc =ce_to_guc (ce);@@ -2163,6 +2165,8 @@ static int register_context(struct intel_context *ce, bool loop)GEM_BUG_ON (intel_context_is_child (ce));trace_intel_context_register (ce); +prepare_context_registration_info (ce); +if (intel_context_is_parent (ce)) ret =__guc_action_register_multi_lrc (guc, ce, ce->guc_id.id, offset, loop);@@ -2246,7 +2250,6 @@ static void prepare_context_registration_info(struct intel_context *ce)struct intel_context *child;GEM_BUG_ON (!engine->mask); -GEM_BUG_ON (!sched_state_is_init (ce));/* * Ensure LRC + CT vmas are is same region as write barrier is done @@ -2314,9 +2317,13 @@ static int try_context_registration(struct intel_context *ce, bool loop)bool context_registered;
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static int try_context_registration(struct intel_context *ce, bool loop) · line 2326
Quoted 10 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +5
-1int ret =0 ; +GEM_BUG_ON (!sched_state_is_init (ce)); + context_registered =ctx_id_mapped (guc, desc_idx); -prepare_context_registration_info (ce); +if (context_registered) +clr_ctx_id_mapping (guc, desc_idx); +set_ctx_id_mapping (guc, desc_idx, ce);
I think we can do the clr unconditionally. Also, should we drop the clr/set pair in prepare_context_registration_info? it shouldn't be needed, unless I'm missing a path where we don;t pass through here.
Daniele
Quoted 3 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +0
-0/* * The context_lookup xarray is used to determine if the hardware
Re: [Intel-gfx] [PATCH 5/8] drm/i915/guc: Move lrc desc setup to where it is needed
Quoted 57 lines · Daniele
Quoted 43 lines · On 2/17/2022 3:52 PM, [email protected] wrote:
From: John Harrison <[email protected]>
The LRC descriptor was being initialised early on in the context registration sequence. It could then be determined that the actual registration needs to be delayed and the descriptor would be wiped out. This is inefficient, so move the setup to later in the process after the point of no return.
Signed-off-by John Harrison <[email protected]>---
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c| 11 +++++++++--1 file changed, 9 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +1
-0@@ -2153,6 +2153,8 @@ static int __guc_action_register_context(structintel_guc *guc, 0, loop); } +static void prepare_context_registration_info(struct intel_context *ce); + static int register_context(struct intel_context *ce, bool loop) {struct
intel_guc*guc =ce_to_guc(ce);drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +1
-0@@ -2163,6 +2165,8 @@ static int register_context(struct intel_context *ce, bool loop) GEM_BUG_ON(intel_context_is_child(ce)); trace_intel_context_register(ce); + prepare_context_registration_info(ce); + if (intel_context_is_parent(ce)) ret = __guc_action_register_multi_lrc(guc, ce, ce->guc_id.id,offset, loop);
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +0
-1@@ -2246,7 +2250,6 @@ static void prepare_context_registration_info(struct intel_context *ce) struct intel_context *child; GEM_BUG_ON(!engine->mask); - GEM_BUG_ON(!sched_state_is_init(ce)); /** Ensure LRC + CT vmas are is same region as write barrier is done drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static int try_context_registration(struct · line 2326
Quoted 10 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +4
-0@@ -2314,9 +2317,13 @@ static int try_context_registration(struct intel_context *ce, bool loop) bool context_registered; int ret = 0; + GEM_BUG_ON(!sched_state_is_init(ce)); + context_registered = ctx_id_mapped(guc, desc_idx); - prepare_context_registration_info(ce); + if (context_registered) + clr_ctx_id_mapping(guc, desc_idx); + set_ctx_id_mapping(guc, desc_idx, ce);I think we can do the clr unconditionally. Also, should we drop the clr/set pair in
prepare_context_registration_info? it shouldn't be needed, unless I'm missing a path where we don;t pass through here.
Quoted 1 line
Daniele
I don't believe so.
The point is that the context id might have changed (it got stolen, re-used, etc. - all the state machine code below can cause aborts and retries and such like if something is pending and the register needs to be delayed). So we need to clear out the old mapping and add a new one to be safe. Also, I'm not sure if it is safe to do a xa_store to an already used entry as an update or if you are supposed to clear it first? But that's what the code did before and I'm trying to not change any actual behaviour here.
John.
Quoted 4 lines
Quoted 3 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +0
-0/** The context_lookup xarray is used to determine if the hardware
Re: [Intel-gfx] [PATCH 5/8] drm/i915/guc: Move lrc desc setup to where it is needed
Quoted 58 lines · John Harrison
Quoted 57 lines · Daniele
Quoted 43 lines · On 2/17/2022 3:52 PM, [email protected] wrote:
From: John Harrison <[email protected]>
The LRC descriptor was being initialised early on in the context registration sequence. It could then be determined that the actual registration needs to be delayed and the descriptor would be wiped out. This is inefficient, so move the setup to later in the process after the point of no return.
Signed-off-by John Harrison <[email protected]>---
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c| 11 +++++++++--1 file changed, 9 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +1
-0@@ -2153,6 +2153,8 @@ static int __guc_action_register_context(struct intel_guc *guc, 0, loop); } +static void prepare_context_registration_info(struct intel_context *ce); + static int register_context(struct intel_context *ce, bool loop) {struct
intel_guc*guc =ce_to_guc(ce);drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +1
-0@@ -2163,6 +2165,8 @@ static int register_context(struct intel_context *ce, bool loop) GEM_BUG_ON(intel_context_is_child(ce)); trace_intel_context_register(ce); + prepare_context_registration_info(ce); + if (intel_context_is_parent(ce)) ret = __guc_action_register_multi_lrc(guc, ce, ce->guc_id.id,offset, loop);
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +0
-1@@ -2246,7 +2250,6 @@ static void prepare_context_registration_info(struct intel_context *ce) struct intel_context *child; GEM_BUG_ON(!engine->mask); - GEM_BUG_ON(!sched_state_is_init(ce)); /** Ensure LRC + CT vmas are is same region as write barrier is done drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static int try_context_registration(struct · line 2326
Quoted 10 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +4
-0@@ -2314,9 +2317,13 @@ static int try_context_registration(struct intel_context *ce, bool loop) bool context_registered; int ret = 0; + GEM_BUG_ON(!sched_state_is_init(ce)); + context_registered = ctx_id_mapped(guc, desc_idx); - prepare_context_registration_info(ce); + if (context_registered) + clr_ctx_id_mapping(guc, desc_idx); + set_ctx_id_mapping(guc, desc_idx, ce);I think we can do the clr unconditionally. Also, should we drop the clr/set pair in
prepare_context_registration_info? it shouldn't be needed, unless I'm missing a path where we don;t pass through here.
Quoted 4 lines
Quoted 1 line
Daniele
I don't believe so.
The point is that the context id might have changed (it got stolen, re-used, etc. - all the state machine code below can cause aborts and retries and such like if something is pending and the register needs to be delayed). So we need to clear out the old mapping and add a new one to be safe. Also, I'm not sure if it is safe to do a
xa_storeto an already used entry as an update or if you are supposed to clear it first? But that's what the code did before and I'm trying to not change any actual behaviour here.
I was comparing with previous behavior. before this patch, we only do the setting of the ctx_id here (inside prepare_context_registration_info) and you're not changing any of the abort/retry behavior, so if it was enough before it should be enough now.
Regarding the xa ops, we did an unconditional clear before, so it should be ok to just do the same and have the clear and set back to back without checking if the context ID was already in use or not.
Daniele
Quoted 8 lines
John.
Quoted 4 lines
Quoted 3 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +0
-0/** The context_lookup xarray is used to determine if the hardware
Re: [Intel-gfx] [PATCH 5/8] drm/i915/guc: Move lrc desc setup to where it is needed
Quoted 59 lines · Daniele
Quoted 58 lines · John Harrison
Quoted 57 lines · Daniele
Quoted 43 lines · On 2/17/2022 3:52 PM, [email protected] wrote:
From: John Harrison <[email protected]>
The LRC descriptor was being initialised early on in the context registration sequence. It could then be determined that the actual registration needs to be delayed and the descriptor would be wiped out. This is inefficient, so move the setup to later in the process after the point of no return.
Signed-off-by John Harrison <[email protected]>---
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c| 11 +++++++++--1 file changed, 9 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +1
-0@@ -2153,6 +2153,8 @@ static int __guc_action_register_context(struct intel_guc *guc, 0, loop); } +static void prepare_context_registration_info(struct intel_context *ce); + static int register_context(struct intel_context *ce, bool loop) {struct
intel_guc*guc =ce_to_guc(ce);drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +1
-0@@ -2163,6 +2165,8 @@ static int register_context(struct intel_context *ce, bool loop) GEM_BUG_ON(intel_context_is_child(ce)); trace_intel_context_register(ce); + prepare_context_registration_info(ce); + if (intel_context_is_parent(ce)) ret = __guc_action_register_multi_lrc(guc, ce, ce->guc_id.id,offset, loop);
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +0
-1@@ -2246,7 +2250,6 @@ static void prepare_context_registration_info(struct intel_context *ce) struct intel_context *child; GEM_BUG_ON(!engine->mask); - GEM_BUG_ON(!sched_state_is_init(ce)); /** Ensure LRC + CT vmas are is same region as write barrier is done drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c static int try_context_registration(struct · line 2326
Quoted 10 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +4
-0@@ -2314,9 +2317,13 @@ static int try_context_registration(struct intel_context *ce, bool loop) bool context_registered; int ret = 0; + GEM_BUG_ON(!sched_state_is_init(ce)); + context_registered = ctx_id_mapped(guc, desc_idx); - prepare_context_registration_info(ce); + if (context_registered) + clr_ctx_id_mapping(guc, desc_idx); + set_ctx_id_mapping(guc, desc_idx, ce);I think we can do the clr unconditionally. Also, should we drop the clr/set pair in
prepare_context_registration_info? it shouldn't be needed, unless I'm missing a path where we don;t pass through here.
Quoted 6 lines
Quoted 4 lines
Quoted 1 line
Daniele
I don't believe so.
The point is that the context id might have changed (it got stolen, re-used, etc. - all the state machine code below can cause aborts and retries and such like if something is pending and the register needs to be delayed). So we need to clear out the old mapping and add a new one to be safe. Also, I'm not sure if it is safe to do a
xa_storeto an already used entry as an update or if you are supposed to clear it first? But that's what the code did before and I'm trying to not change any actual behaviour here.I was comparing with previous behavior. before this patch, we only do the setting of the
ctx_idhere (insideprepare_context_registration_info) and you're not changing any of the abort/retry behavior, so if it was enough before it should be enough now.
Hmm, I think I must have confused myself with the intermediate steps along the way. Yes, it looks like the clr/set in prepare is redundant by the end.
Quoted 2 lines
Regarding the xa ops, we did an unconditional clear before, so it should be ok to just do the same and have the clear and set back to back without checking if the context ID was already in use or not.
Actually, I was thinking you meant to drop the clr completely rather than just drop the condition. Yeah, that sounds fine.
Will post an update.
John.
Quoted 12 lines
Daniele
Quoted 8 lines
John.
Quoted 4 lines
Quoted 3 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +0
-0/** The context_lookup xarray is used to determine if the hardware
PATCH 6/8 drm/i915/guc: Rename desc_idx to ctx_id
In reply to [email protected]From: John Harrison <[email protected]>
The LRC descriptor pool is going away. So, stop naming context ids as descriptor pool indecies.
While at it, add a bunch of missing line feeds to some error messages.
--- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +28 -28
@@ -2245,7 +2245,7 @@ static void prepare_context_registration_info(struct intel_context *ce) {struct intel_engine_cs *engine = ce->engine;struct intel_guc *guc = &engine->gt->uc.guc; -u32 desc_idx = ce->guc_id.id; +u32 ctx_id = ce->guc_id.id;struct guc_lrc_desc *desc;struct intel_context *child;
@@ -2258,10 +2258,10 @@ static void prepare_context_registration_info(struct intel_context *ce)GEM_BUG_ON (i915_gem_object_is_lmem (guc->ct.vma->obj) !=i915_gem_object_is_lmem (ce->ring->vma->obj)); -clr_ctx_id_mapping (guc, desc_idx); -set_ctx_id_mapping (guc, desc_idx, ce); +clr_ctx_id_mapping (guc, ctx_id); +set_ctx_id_mapping (guc, ctx_id, ce); - desc =__get_lrc_desc (guc, desc_idx); + desc =__get_lrc_desc (guc, ctx_id); desc->engine_class =engine_class_to_guc_class (engine->class); desc->engine_submit_mask = engine->logical_mask; desc->hw_context_desc = ce->lrc.lrca;
@@ -2313,17 +2313,17 @@ static int try_context_registration(struct intel_context *ce, bool loop)struct intel_runtime_pm *runtime_pm = engine->uncore->rpm;struct intel_guc *guc = &engine->gt->uc.guc;intel_wakeref_t wakeref; -u32 desc_idx = ce->guc_id.id; +u32 ctx_id = ce->guc_id.id;bool context_registered;int ret =0 ;GEM_BUG_ON (!sched_state_is_init (ce)); - context_registered =ctx_id_mapped (guc, desc_idx); + context_registered =ctx_id_mapped (guc, ctx_id);if (context_registered) -clr_ctx_id_mapping (guc, desc_idx); -set_ctx_id_mapping (guc, desc_idx, ce); +clr_ctx_id_mapping (guc, ctx_id); +set_ctx_id_mapping (guc, ctx_id, ce);/* * The context_lookup xarray is used to determine if the hardware
@@ -2349,7 +2349,7 @@ static int try_context_registration(struct intel_context *ce, bool loop) }spin_unlock_irqrestore (&ce->guc_state.lock, flags);if (unlikely (disabled)) { -clr_ctx_id_mapping (guc, desc_idx); +clr_ctx_id_mapping (guc, ctx_id);return 0 ;/* Will get registered later */ }
@@ -2365,9 +2365,9 @@ static int try_context_registration(struct intel_context *ce, bool loop)with_intel_runtime_pm (runtime_pm, wakeref) ret = register_context(ce, loop);if (unlikely (ret == -EBUSY )) { -clr_ctx_id_mapping (guc, desc_idx); +clr_ctx_id_mapping (guc, ctx_id); }else if (unlikely (ret == -ENODEV )) { -clr_ctx_id_mapping (guc, desc_idx); +clr_ctx_id_mapping (guc, ctx_id); ret =0 ;/* Will get registered later */ } }
@@ -3864,26 +3864,26 @@ void intel_guc_submission_init_early(struct intel_guc *guc) }static inline struct intel_context * -g2h_context_lookup (struct intel_guc *guc,u32 desc_idx) +g2h_context_lookup (struct intel_guc *guc,u32 ctx_id) {struct intel_context *ce; -if (unlikely (desc_idx >=GUC_MAX_CONTEXT_ID )) { +if (unlikely (ctx_id >=GUC_MAX_CONTEXT_ID )) {drm_err (&guc_to_gt (guc)->i915->drm, -"Invalid desc_idx %u" , desc_idx); +"Invalid ctx_id %u\n" , ctx_id);return NULL ; } - ce =__get_context (guc, desc_idx); + ce =__get_context (guc, ctx_id);if (unlikely (!ce)) {drm_err (&guc_to_gt (guc)->i915->drm, -"Context is NULL, desc_idx %u" , desc_idx); +"Context is NULL, ctx_id %u\n" , ctx_id);return NULL ; }if (unlikely (intel_context_is_child (ce))) {drm_err (&guc_to_gt (guc)->i915->drm, -"Context is child, desc_idx %u" , desc_idx); +"Context is child, ctx_id %u\n" , ctx_id);return NULL ; }
@@ -3895,14 +3895,14 @@ int intel_guc_deregister_done_process_msg(struct intel_guc *guc, u32 len) {struct intel_context *ce; -u32 desc_idx = msg[0 ]; +u32 ctx_id = msg[0 ];if (unlikely (len <1 )) { -drm_err (&guc_to_gt (guc)->i915->drm,"Invalid length %u" , len); +drm_err (&guc_to_gt (guc)->i915->drm,"Invalid length %u\n" , len);return -EPROTO ; } - ce =g2h_context_lookup (guc, desc_idx); + ce =g2h_context_lookup (guc, ctx_id);if (unlikely (!ce))return -EPROTO ;
@@ -3946,14 +3946,14 @@ int intel_guc_sched_done_process_msg(struct intel_guc *guc, {struct intel_context *ce;unsigned long flags; -u32 desc_idx = msg[0 ]; +u32 ctx_id = msg[0 ];if (unlikely (len <2 )) { -drm_err (&guc_to_gt (guc)->i915->drm,"Invalid length %u" , len); +drm_err (&guc_to_gt (guc)->i915->drm,"Invalid length %u\n" , len);return -EPROTO ; } - ce =g2h_context_lookup (guc, desc_idx); + ce =g2h_context_lookup (guc, ctx_id);if (unlikely (!ce))return -EPROTO ;
@@ -3961,8 +3961,8 @@ int intel_guc_sched_done_process_msg(struct intel_guc *guc, (!context_pending_enable(ce) && !context_pending_disable(ce)))) {drm_err (&guc_to_gt (guc)->i915->drm, -"Bad context sched_state 0x%x, desc_idx %u" , - ce->guc_state.sched_state, desc_idx); +"Bad context sched_state 0x%x, ctx_id %u\n" , + ce->guc_state.sched_state, ctx_id);return -EPROTO ; }
@@ -4061,14 +4061,14 @@ int intel_guc_context_reset_process_msg(struct intel_guc *guc, {struct intel_context *ce;unsigned long flags; -int desc_idx; +int ctx_id;if (unlikely (len !=1 )) {drm_err (&guc_to_gt (guc)->i915->drm,"Invalid length %u" , len);return -EPROTO ; } - desc_idx = msg[0 ]; + ctx_id = msg[0 ];/* * The context lookup uses the xarray but lookups only require an RCU lock
@@ -4077,7 +4077,7 @@ int intel_guc_context_reset_process_msg(struct intel_guc *guc,* asynchronously until the reset is done. */ xa_lock_irqsave (&guc->context_lookup, flags); - ce =g2h_context_lookup (guc, desc_idx); + ce =g2h_context_lookup (guc, ctx_id);if (ce)intel_context_get (ce);xa_unlock_irqrestore (&guc->context_lookup, flags);
Signature · 1 line
2.25.1
Re: [PATCH 6/8] drm/i915/guc: Rename desc_idx to ctx_id
Quoted 8 lines · On 2/17/2022 3:52 PM, [email protected] wrote:
From: John Harrison <[email protected]>
The LRC descriptor pool is going away. So, stop naming context ids as descriptor pool indecies.
While at it, add a bunch of missing line feeds to some error messages.
Signed-off-by John Harrison <[email protected]>
Daniele
Quoted 180 lines
--- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 56 +++++++++---------- 1 file changed, 28 insertions(+), 28 deletions(-)drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +28
-28@@ -2245,7 +2245,7 @@ static void prepare_context_registration_info(struct intel_context *ce) {struct intel_engine_cs *engine = ce->engine;struct intel_guc *guc = &engine->gt->uc.guc; -u32 desc_idx = ce->guc_id.id; +u32 ctx_id = ce->guc_id.id;struct guc_lrc_desc *desc;struct intel_context *child;@@ -2258,10 +2258,10 @@ static void prepare_context_registration_info(struct intel_context *ce)GEM_BUG_ON (i915_gem_object_is_lmem (guc->ct.vma->obj) !=i915_gem_object_is_lmem (ce->ring->vma->obj)); -clr_ctx_id_mapping (guc, desc_idx); -set_ctx_id_mapping (guc, desc_idx, ce); +clr_ctx_id_mapping (guc, ctx_id); +set_ctx_id_mapping (guc, ctx_id, ce); - desc =__get_lrc_desc (guc, desc_idx); + desc =__get_lrc_desc (guc, ctx_id); desc->engine_class =engine_class_to_guc_class (engine->class); desc->engine_submit_mask = engine->logical_mask; desc->hw_context_desc = ce->lrc.lrca;@@ -2313,17 +2313,17 @@ static int try_context_registration(struct intel_context *ce, bool loop)struct intel_runtime_pm *runtime_pm = engine->uncore->rpm;struct intel_guc *guc = &engine->gt->uc.guc;intel_wakeref_t wakeref; -u32 desc_idx = ce->guc_id.id; +u32 ctx_id = ce->guc_id.id;bool context_registered;int ret =0 ;GEM_BUG_ON (!sched_state_is_init (ce)); - context_registered =ctx_id_mapped (guc, desc_idx); + context_registered =ctx_id_mapped (guc, ctx_id);if (context_registered) -clr_ctx_id_mapping (guc, desc_idx); -set_ctx_id_mapping (guc, desc_idx, ce); +clr_ctx_id_mapping (guc, ctx_id); +set_ctx_id_mapping (guc, ctx_id, ce);/* * The context_lookup xarray is used to determine if the hardware @@ -2349,7 +2349,7 @@ static int try_context_registration(struct intel_context *ce, bool loop) }spin_unlock_irqrestore (&ce->guc_state.lock, flags);if (unlikely (disabled)) { -clr_ctx_id_mapping (guc, desc_idx); +clr_ctx_id_mapping (guc, ctx_id);return 0 ;/* Will get registered later */ }@@ -2365,9 +2365,9 @@ static int try_context_registration(struct intel_context *ce, bool loop)with_intel_runtime_pm (runtime_pm, wakeref) ret = register_context(ce, loop);if (unlikely (ret == -EBUSY )) { -clr_ctx_id_mapping (guc, desc_idx); +clr_ctx_id_mapping (guc, ctx_id); }else if (unlikely (ret == -ENODEV )) { -clr_ctx_id_mapping (guc, desc_idx); +clr_ctx_id_mapping (guc, ctx_id); ret =0 ;/* Will get registered later */ } }@@ -3864,26 +3864,26 @@ void intel_guc_submission_init_early(struct intel_guc *guc) }static inline struct intel_context * -g2h_context_lookup (struct intel_guc *guc,u32 desc_idx) +g2h_context_lookup (struct intel_guc *guc,u32 ctx_id) {struct intel_context *ce; -if (unlikely (desc_idx >=GUC_MAX_CONTEXT_ID )) { +if (unlikely (ctx_id >=GUC_MAX_CONTEXT_ID )) {drm_err (&guc_to_gt (guc)->i915->drm, -"Invalid desc_idx %u" , desc_idx); +"Invalid ctx_id %u\n" , ctx_id);return NULL ; } - ce =__get_context (guc, desc_idx); + ce =__get_context (guc, ctx_id);if (unlikely (!ce)) {drm_err (&guc_to_gt (guc)->i915->drm, -"Context is NULL, desc_idx %u" , desc_idx); +"Context is NULL, ctx_id %u\n" , ctx_id);return NULL ; }if (unlikely (intel_context_is_child (ce))) {drm_err (&guc_to_gt (guc)->i915->drm, -"Context is child, desc_idx %u" , desc_idx); +"Context is child, ctx_id %u\n" , ctx_id);return NULL ; }@@ -3895,14 +3895,14 @@ int intel_guc_deregister_done_process_msg(struct intel_guc *guc, u32 len) {struct intel_context *ce; -u32 desc_idx = msg[0 ]; +u32 ctx_id = msg[0 ];if (unlikely (len <1 )) { -drm_err (&guc_to_gt (guc)->i915->drm,"Invalid length %u" , len); +drm_err (&guc_to_gt (guc)->i915->drm,"Invalid length %u\n" , len);return -EPROTO ; } - ce =g2h_context_lookup (guc, desc_idx); + ce =g2h_context_lookup (guc, ctx_id);if (unlikely (!ce))return -EPROTO ;@@ -3946,14 +3946,14 @@ int intel_guc_sched_done_process_msg(struct intel_guc *guc, {struct intel_context *ce;unsigned long flags; -u32 desc_idx = msg[0 ]; +u32 ctx_id = msg[0 ];if (unlikely (len <2 )) { -drm_err (&guc_to_gt (guc)->i915->drm,"Invalid length %u" , len); +drm_err (&guc_to_gt (guc)->i915->drm,"Invalid length %u\n" , len);return -EPROTO ; } - ce =g2h_context_lookup (guc, desc_idx); + ce =g2h_context_lookup (guc, ctx_id);if (unlikely (!ce))return -EPROTO ;@@ -3961,8 +3961,8 @@ int intel_guc_sched_done_process_msg(struct intel_guc *guc, (!context_pending_enable(ce) && !context_pending_disable(ce)))) {drm_err (&guc_to_gt (guc)->i915->drm, -"Bad context sched_state 0x%x, desc_idx %u" , - ce->guc_state.sched_state, desc_idx); +"Bad context sched_state 0x%x, ctx_id %u\n" , + ce->guc_state.sched_state, ctx_id);return -EPROTO ; }@@ -4061,14 +4061,14 @@ int intel_guc_context_reset_process_msg(struct intel_guc *guc, {struct intel_context *ce;unsigned long flags; -int desc_idx; +int ctx_id;if (unlikely (len !=1 )) {drm_err (&guc_to_gt (guc)->i915->drm,"Invalid length %u" , len);return -EPROTO ; } - desc_idx = msg[0 ]; + ctx_id = msg[0 ];/* * The context lookup uses the xarray but lookups only require an RCU lock @@ -4077,7 +4077,7 @@ int intel_guc_context_reset_process_msg(struct intel_guc *guc,* asynchronously until the reset is done. */ xa_lock_irqsave (&guc->context_lookup, flags); - ce =g2h_context_lookup (guc, desc_idx); + ce =g2h_context_lookup (guc, ctx_id);if (ce)intel_context_get (ce);xa_unlock_irqrestore (&guc->context_lookup, flags);
PATCH 7/8 drm/i915/guc: Drop obsolete H2G definitions
In reply to [email protected]From: John Harrison <[email protected]>
The CTB registration process changed significantly a while back using a single KLV based H2G. So drop the original and now obsolete H2G definitions.
--- drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h +0 -2
@@ -131,8 +131,6 @@ enum intel_guc_action {INTEL_GUC_ACTION_AUTHENTICATE_HUC =0x4000 ,INTEL_GUC_ACTION_REGISTER_CONTEXT =0x4502 ,INTEL_GUC_ACTION_DEREGISTER_CONTEXT =0x4503 , -INTEL_GUC_ACTION_REGISTER_COMMAND_TRANSPORT_BUFFER =0x4505 , -INTEL_GUC_ACTION_DEREGISTER_COMMAND_TRANSPORT_BUFFER =0x4506 ,INTEL_GUC_ACTION_DEREGISTER_CONTEXT_DONE =0x4600 ,INTEL_GUC_ACTION_REGISTER_CONTEXT_MULTI_LRC =0x4601 , INTEL_GUC_ACTION_CLIENT_SOFT_RESET = 0x5507,
Signature · 1 line
2.25.1
Re: [PATCH 7/8] drm/i915/guc: Drop obsolete H2G definitions
Quoted 5 lines · On 2/17/2022 3:52 PM, [email protected] wrote:
From: John Harrison <[email protected]>
The CTB registration process changed significantly a while back using a single KLV based H2G. So drop the original and now obsolete H2G definitions.
The GuC specs has those defines marked as deprecated since v63 and they're being removed entirely in v70, so:
Daniele
Quoted 18 lines
Signed-off-by John Harrison <[email protected]>--- drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h | 2 -- 1 file changed, 2 deletions(-)drivers/gpu/drm/i915/gt/uc/abi/guc_actions_abi.h +0
-2@@ -131,8 +131,6 @@ enum intel_guc_action {INTEL_GUC_ACTION_AUTHENTICATE_HUC =0x4000 ,INTEL_GUC_ACTION_REGISTER_CONTEXT =0x4502 ,INTEL_GUC_ACTION_DEREGISTER_CONTEXT =0x4503 , -INTEL_GUC_ACTION_REGISTER_COMMAND_TRANSPORT_BUFFER =0x4505 , -INTEL_GUC_ACTION_DEREGISTER_COMMAND_TRANSPORT_BUFFER =0x4506 ,INTEL_GUC_ACTION_DEREGISTER_CONTEXT_DONE =0x4600 ,INTEL_GUC_ACTION_REGISTER_CONTEXT_MULTI_LRC =0x4601 , INTEL_GUC_ACTION_CLIENT_SOFT_RESET = 0x5507,
PATCH 8/8 drm/i915/guc: Fix potential invalid pointer dereferences when decoding G2Hs
In reply to [email protected]From: John Harrison <[email protected]>
Some G2H handlers were reading the context id field from the payload before checking the payload met the minimum length required.
--- drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +4 -2
@@ -3895,12 +3895,13 @@ int intel_guc_deregister_done_process_msg(struct intel_guc *guc, u32 len) {struct intel_context *ce; -u32 ctx_id = msg[0 ]; +u32 ctx_id;if (unlikely (len <1 )) {drm_err (&guc_to_gt (guc)->i915->drm,"Invalid length %u\n" , len);return -EPROTO ; } + ctx_id = msg[0 ]; ce =g2h_context_lookup (guc, ctx_id);if (unlikely (!ce))
@@ -3946,12 +3947,13 @@ int intel_guc_sched_done_process_msg(struct intel_guc *guc, {struct intel_context *ce;unsigned long flags; -u32 ctx_id = msg[0 ]; +u32 ctx_id;if (unlikely (len <2 )) {drm_err (&guc_to_gt (guc)->i915->drm,"Invalid length %u\n" , len);return -EPROTO ; } + ctx_id = msg[0 ]; ce =g2h_context_lookup (guc, ctx_id);if (unlikely (!ce))
Signature · 1 line
2.25.1
Re: [PATCH 8/8] drm/i915/guc: Fix potential invalid pointer dereferences when decoding G2Hs
Quoted 6 lines · On 2/17/2022 3:52 PM, [email protected] wrote:
From: John Harrison <[email protected]>
Some G2H handlers were reading the context id field from the payload before checking the payload met the minimum length required.
Signed-off-by John Harrison <[email protected]>
While double-checking the other msg handler I noticed that we don't do any checks on len for intel_guc_log_handle_flush_event(). Not really relevant for this patch, just wondering out loud if we should add a check to make sure the message is not corrupted.
Daniele
Quoted 38 lines
--- drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +4
-2@@ -3895,12 +3895,13 @@ int intel_guc_deregister_done_process_msg(struct intel_guc *guc, u32 len) {struct intel_context *ce; -u32 ctx_id = msg[0 ]; +u32 ctx_id;if (unlikely (len <1 )) {drm_err (&guc_to_gt (guc)->i915->drm,"Invalid length %u\n" , len);return -EPROTO ; } + ctx_id = msg[0 ]; ce =g2h_context_lookup (guc, ctx_id);if (unlikely (!ce))@@ -3946,12 +3947,13 @@ int intel_guc_sched_done_process_msg(struct intel_guc *guc, {struct intel_context *ce;unsigned long flags; -u32 ctx_id = msg[0 ]; +u32 ctx_id;if (unlikely (len <2 )) {drm_err (&guc_to_gt (guc)->i915->drm,"Invalid length %u\n" , len);return -EPROTO ; } + ctx_id = msg[0 ]; ce =g2h_context_lookup (guc, ctx_id);if (unlikely (!ce))
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Prep work for next GuC release (rev2)
In reply to [email protected]== Series Details ==
== Series Details ==
Series: Prep work for next GuC release (rev2)
URL : https://patchwork.freedesktop.org/series/99805/
State : warning
== Summary ==
$ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for Prep work for next GuC release (rev2)
In reply to [email protected]== Series Details ==
== Series Details ==
Series: Prep work for next GuC release (rev2)
URL : https://patchwork.freedesktop.org/series/99805/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_11244 -> Patchwork_22325
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/index.html
Participating hosts (44 -> 41)
------------------------------
Additional (1): fi-kbl-8809g
Missing (4): fi-bsw-cyan bat-jsl-2 shard-tglu fi-pnv-d510
Known issues
------------
Here are the changes found in Patchwork_22325 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s0@smem:
- fi-kbl-8809g: NOTRUN -> [DMESG-WARN][1] ([i915#4962]) +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-kbl-8809g/igt@gem_exec_suspend@[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-skl-6600u: NOTRUN -> [SKIP][2] ([fdo#109271] / [i915#2190])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-skl-6600u/igt@[email protected]
- fi-kbl-8809g: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-kbl-8809g/igt@[email protected]
* igt@gem_lmem_swapping@random-engines:
- fi-kbl-8809g: NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#4613]) +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-kbl-8809g/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- fi-skl-6600u: NOTRUN -> [SKIP][5] ([fdo#109271] / [i915#4613]) +3 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-skl-6600u/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [PASS][6] -> [INCOMPLETE][7] ([i915#4785])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/fi-hsw-4770/igt@i915_selftest@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-hsw-4770/igt@i915_selftest@[email protected]
* igt@kms_chamelium@hdmi-edid-read:
- fi-kbl-8809g: NOTRUN -> [SKIP][8] ([fdo#109271] / [fdo#111827]) +8 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-kbl-8809g/igt@[email protected]
* igt@kms_chamelium@vga-edid-read:
- fi-skl-6600u: NOTRUN -> [SKIP][9] ([fdo#109271] / [fdo#111827]) +8 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-skl-6600u/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-skl-6600u: NOTRUN -> [SKIP][10] ([fdo#109271]) +2 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-skl-6600u/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-cml-u2: [PASS][11] -> [DMESG-WARN][12] ([i915#4269])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/fi-cml-u2/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-cml-u2/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-b:
- fi-cfl-8109u: [PASS][13] -> [DMESG-WARN][14] ([i915#295]) +12 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/fi-cfl-8109u/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-cfl-8109u/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-skl-6600u: NOTRUN -> [SKIP][15] ([fdo#109271] / [i915#533])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-skl-6600u/igt@[email protected]
- fi-kbl-8809g: NOTRUN -> [SKIP][16] ([fdo#109271] / [i915#533])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-kbl-8809g/igt@[email protected]
* igt@kms_psr@cursor_plane_move:
- fi-kbl-8809g: NOTRUN -> [SKIP][17] ([fdo#109271]) +54 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-kbl-8809g/igt@kms_psr@cursor_plane_move.html
* igt@kms_psr@primary_page_flip:
- fi-skl-6600u: NOTRUN -> [FAIL][18] ([i915#4547])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-skl-6600u/igt@kms_psr@primary_page_flip.html
* igt@runner@aborted:
- fi-skl-6600u: NOTRUN -> [FAIL][19] ([i915#4312])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-skl-6600u/igt@[email protected]
- fi-hsw-4770: NOTRUN -> [FAIL][20] ([fdo#109271] / [i915#1436] / [i915#4312])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-hsw-4770/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s3@smem:
- fi-skl-6600u: [INCOMPLETE][21] ([i915#4547]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/fi-skl-6600u/igt@gem_exec_suspend@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-skl-6600u/igt@gem_exec_suspend@[email protected]
* igt@i915_selftest@live@hangcheck:
- bat-dg1-5: [DMESG-FAIL][23] ([i915#4494] / [i915#4957]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/bat-dg1-5/igt@i915_selftest@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/bat-dg1-5/igt@i915_selftest@[email protected]
- {fi-jsl-1}: [INCOMPLETE][25] -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/fi-jsl-1/igt@i915_selftest@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/fi-jsl-1/igt@i915_selftest@[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#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#295]: https://gitlab.freedesktop.org/drm/intel/issues/295
[i915#4269]: https://gitlab.freedesktop.org/drm/intel/issues/4269
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4494]: https://gitlab.freedesktop.org/drm/intel/issues/4494
[i915#4547]: https://gitlab.freedesktop.org/drm/intel/issues/4547
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4785]: https://gitlab.freedesktop.org/drm/intel/issues/4785
[i915#4898]: https://gitlab.freedesktop.org/drm/intel/issues/4898
[i915#4957]: https://gitlab.freedesktop.org/drm/intel/issues/4957
[i915#4962]: https://gitlab.freedesktop.org/drm/intel/issues/4962
[i915#5127]: https://gitlab.freedesktop.org/drm/intel/issues/5127
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
Build changes
-------------
* Linux: CI_DRM_11244 -> Patchwork_22325
CI-20190529: 20190529
CI_DRM_11244: 6bde77454434bcd6c80f64fc638ffd0c8e1d5b07 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6347: 37ea4c86f97c0e05fcb6b04cff72ec927930536e @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_22325: 2d593585c07e0e995329c6942e01b490b6a5b5b1 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
2d593585c07e drm/i915/guc: Fix potential invalid pointer dereferences when decoding G2Hs 303ed845d2a3 drm/i915/guc: Drop obsolete H2G definitions25386abdde0e drm/i915/guc: Rename desc_idx to ctx_ideb98f8b3a558 drm/i915/guc: Move lrc desc setup to where it is needed 756f20e63ef9 drm/i915/guc: Split guc_lrc_desc_pin apart77998afcdc07 drm/i915/guc: Better name for context id limitd997d3ac6a96 drm/i915/guc: Add an explicit 'submission_initialized' flag 95db676affe8 drm/i915/guc: Do not conflate lrc_desc with GuC id for registration
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/index.html
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for Prep work for next GuC release (rev2)
In reply to [email protected]== Series Details ==
== Series Details ==
Series: Prep work for next GuC release (rev2)
URL : https://patchwork.freedesktop.org/series/99805/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_11244_full -> Patchwork_22325_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_22325_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_22325_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (11 -> 11)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_22325_full:
### IGT changes ###
#### Possible regressions ####
* igt@prime_self_import@export-vs-gem_close-race:
- shard-snb: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-snb7/igt@prime_self_import@export-vs-gem_close-race.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-snb2/igt@prime_self_import@export-vs-gem_close-race.html
Known issues
------------
Here are the changes found in Patchwork_22325_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_create@create-massive:
- shard-kbl: NOTRUN -> [DMESG-WARN][3] ([i915#4991])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-kbl4/igt@[email protected]
- shard-apl: NOTRUN -> [DMESG-WARN][4] ([i915#4991])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl7/igt@[email protected]
* igt@gem_exec_balancer@parallel-bb-first:
- shard-kbl: NOTRUN -> [DMESG-WARN][5] ([i915#5076])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-kbl3/igt@[email protected]
* igt@gem_exec_capture@pi@vecs0:
- shard-skl: NOTRUN -> [INCOMPLETE][6] ([i915#4547])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl9/igt@gem_exec_capture@[email protected]
* igt@gem_exec_fair@basic-deadline:
- shard-skl: NOTRUN -> [FAIL][7] ([i915#2846])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl4/igt@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-iclb: [PASS][8] -> [FAIL][9] ([i915#2849])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-iclb8/igt@gem_exec_fair@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb8/igt@gem_exec_fair@[email protected]
* igt@gem_lmem_swapping@heavy-verify-random:
- shard-skl: NOTRUN -> [SKIP][10] ([fdo#109271] / [i915#4613]) +3 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl2/igt@[email protected]
* igt@gem_pwrite@basic-exhaustion:
- shard-skl: NOTRUN -> [WARN][11] ([i915#2658])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl4/igt@[email protected]
* igt@gem_userptr_blits@dmabuf-sync:
- shard-skl: NOTRUN -> [SKIP][12] ([fdo#109271] / [i915#3323])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl2/igt@[email protected]
* igt@gen9_exec_parse@allowed-all:
- shard-iclb: NOTRUN -> [SKIP][13] ([i915#2856])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb8/igt@[email protected]
- shard-glk: [PASS][14] -> [DMESG-WARN][15] ([i915#1436] / [i915#716])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-glk7/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-glk2/igt@[email protected]
* igt@i915_module_load@reload-with-fault-injection:
- shard-skl: NOTRUN -> [DMESG-WARN][16] ([i915#1982])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl3/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- shard-snb: [PASS][17] -> [INCOMPLETE][18] ([i915#3921])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-snb5/igt@i915_selftest@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-snb2/igt@i915_selftest@[email protected]
* igt@i915_suspend@forcewake:
- shard-kbl: [PASS][19] -> [INCOMPLETE][20] ([i915#636])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-kbl1/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-kbl4/igt@[email protected]
* igt@kms_big_fb@linear-32bpp-rotate-270:
- shard-iclb: NOTRUN -> [SKIP][21] ([fdo#110725] / [fdo#111614])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb8/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-async-flip:
- shard-skl: NOTRUN -> [FAIL][22] ([i915#3743]) +2 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl4/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-async-flip.html
* igt@kms_big_fb@yf-tiled-16bpp-rotate-270:
- shard-tglb: NOTRUN -> [SKIP][23] ([fdo#111615])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-tglb7/igt@[email protected]
* igt@kms_big_fb@yf-tiled-8bpp-rotate-90:
- shard-iclb: NOTRUN -> [SKIP][24] ([fdo#110723])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb8/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-apl: NOTRUN -> [SKIP][25] ([fdo#109271] / [i915#3777])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl7/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip:
- shard-skl: NOTRUN -> [SKIP][26] ([fdo#109271] / [i915#3777]) +4 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl4/igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html
* igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_mc_ccs:
- shard-iclb: NOTRUN -> [SKIP][27] ([fdo#109278] / [i915#3886]) +2 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb8/igt@kms_ccs@pipe-a-bad-aux-stride-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs:
- shard-kbl: NOTRUN -> [SKIP][28] ([fdo#109271] / [i915#3886])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-kbl4/igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-ccs-on-another-bo-y_tiled_gen12_mc_ccs:
- shard-skl: NOTRUN -> [SKIP][29] ([fdo#109271] / [i915#3886]) +12 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl3/igt@kms_ccs@pipe-b-ccs-on-another-bo-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][30] ([fdo#109271] / [i915#3886]) +3 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl7/igt@kms_ccs@pipe-c-bad-rotation-90-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-d-crc-primary-basic-y_tiled_ccs:
- shard-iclb: NOTRUN -> [SKIP][31] ([fdo#109278]) +2 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb8/igt@kms_ccs@pipe-d-crc-primary-basic-y_tiled_ccs.html
* igt@kms_ccs@pipe-d-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][32] ([fdo#109271]) +22 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-kbl4/igt@kms_ccs@pipe-d-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_chamelium@dp-crc-multiple:
- shard-apl: NOTRUN -> [SKIP][33] ([fdo#109271] / [fdo#111827]) +4 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl7/igt@[email protected]
* igt@kms_color_chamelium@pipe-b-ctm-blue-to-red:
- shard-kbl: NOTRUN -> [SKIP][34] ([fdo#109271] / [fdo#111827]) +1 similar issue
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-kbl3/igt@[email protected]
* igt@kms_color_chamelium@pipe-d-ctm-0-25:
- shard-skl: NOTRUN -> [SKIP][35] ([fdo#109271] / [fdo#111827]) +14 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl4/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-suspend:
- shard-kbl: NOTRUN -> [DMESG-WARN][36] ([i915#180])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-kbl7/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-32x10-onscreen:
- shard-tglb: NOTRUN -> [SKIP][37] ([i915#3359])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-tglb7/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-legacy:
- shard-skl: NOTRUN -> [FAIL][38] ([i915#2346])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl2/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: [PASS][39] -> [INCOMPLETE][40] ([i915#180] / [i915#1982])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-apl1/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl2/igt@[email protected]
* igt@kms_flip@plain-flip-ts-check-interruptible@b-edp1:
- shard-skl: [PASS][41] -> [FAIL][42] ([i915#2122])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-skl7/igt@kms_flip@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl7/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling:
- shard-iclb: [PASS][43] -> [SKIP][44] ([i915#3701])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-iclb1/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb2/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-onoff:
- shard-iclb: NOTRUN -> [SKIP][45] ([fdo#109280]) +2 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-msflip-blt:
- shard-skl: NOTRUN -> [SKIP][46] ([fdo#109271]) +206 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl4/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-msflip-blt.html
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-mmap-gtt:
- shard-tglb: NOTRUN -> [SKIP][47] ([fdo#109280] / [fdo#111825])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-tglb7/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-mmap-gtt.html
* igt@kms_frontbuffer_tracking@psr-rgb565-draw-render:
- shard-apl: NOTRUN -> [SKIP][48] ([fdo#109271]) +40 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl7/igt@[email protected]
* igt@kms_hdr@bpc-switch-suspend:
- shard-kbl: [PASS][49] -> [DMESG-WARN][50] ([i915#180]) +3 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-kbl4/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-kbl7/igt@[email protected]
* igt@kms_pipe_crc_basic@read-crc-pipe-d-frame-sequence:
- shard-skl: NOTRUN -> [SKIP][51] ([fdo#109271] / [i915#533])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl4/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min:
- shard-skl: [PASS][52] -> [FAIL][53] ([fdo#108145] / [i915#265]) +1 similar issue
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-skl1/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl9/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
- shard-skl: NOTRUN -> [FAIL][54] ([fdo#108145] / [i915#265]) +3 similar issues
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl4/igt@[email protected]
* igt@kms_psr2_sf@cursor-plane-update-sf:
- shard-skl: NOTRUN -> [SKIP][55] ([fdo#109271] / [i915#658])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl2/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-continuous-sf:
- shard-apl: NOTRUN -> [SKIP][56] ([fdo#109271] / [i915#658])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl7/igt@[email protected]
* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [PASS][57] -> [SKIP][58] ([fdo#109441]) +2 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb4/igt@kms_psr@psr2_primary_mmap_cpu.html
* igt@kms_psr@psr2_sprite_render:
- shard-iclb: NOTRUN -> [SKIP][59] ([fdo#109441])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb8/igt@kms_psr@psr2_sprite_render.html
* igt@kms_vblank@pipe-b-ts-continuation-suspend:
- shard-apl: [PASS][60] -> [DMESG-WARN][61] ([i915#180]) +1 similar issue
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-apl7/igt@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl1/igt@[email protected]
* igt@kms_vrr@flip-dpms:
- shard-iclb: NOTRUN -> [SKIP][62] ([fdo#109502])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb8/igt@[email protected]
* igt@kms_writeback@writeback-fb-id:
- shard-apl: NOTRUN -> [SKIP][63] ([fdo#109271] / [i915#2437])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl7/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][64] ([fdo#109271] / [i915#2437])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-kbl4/igt@[email protected]
* igt@kms_writeback@writeback-pixel-formats:
- shard-skl: NOTRUN -> [SKIP][65] ([fdo#109271] / [i915#2437])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl4/igt@[email protected]
* igt@perf@polling-parameterized:
- shard-apl: [PASS][66] -> [FAIL][67] ([i915#1542])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-apl1/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl2/igt@[email protected]
* igt@perf_pmu@module-unload:
- shard-skl: NOTRUN -> [FAIL][68] ([i915#5136])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl2/igt@[email protected]
* igt@syncobj_timeline@invalid-transfer-non-existent-point:
- shard-skl: NOTRUN -> [DMESG-WARN][69] ([i915#5098])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl9/igt@[email protected]
* igt@sysfs_clients@create:
- shard-skl: NOTRUN -> [SKIP][70] ([fdo#109271] / [i915#2994]) +3 similar issues
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl2/igt@[email protected]
* igt@sysfs_clients@split-10:
- shard-iclb: NOTRUN -> [SKIP][71] ([i915#2994])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb8/igt@[email protected]
#### Possible fixes ####
* igt@feature_discovery@psr2:
- shard-iclb: [SKIP][72] ([i915#658]) -> [PASS][73]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-iclb8/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb2/igt@[email protected]
* igt@gem_exec_capture@pi@bcs0:
- shard-iclb: [INCOMPLETE][74] ([i915#3371]) -> [PASS][75]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-iclb6/igt@gem_exec_capture@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb8/igt@gem_exec_capture@[email protected]
* igt@gem_exec_capture@pi@rcs0:
- shard-skl: [INCOMPLETE][76] ([i915#4547]) -> [PASS][77]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-skl1/igt@gem_exec_capture@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl9/igt@gem_exec_capture@[email protected]
* igt@gem_exec_whisper@basic-normal-all:
- shard-glk: [DMESG-WARN][78] ([i915#118]) -> [PASS][79]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-glk3/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-glk1/igt@[email protected]
* igt@i915_pm_dc@dc6-dpms:
- shard-iclb: [FAIL][80] ([i915#454]) -> [PASS][81]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-iclb3/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb5/igt@[email protected]
* igt@i915_pm_dc@dc9-dpms:
- {shard-tglu}: [SKIP][82] ([i915#4281]) -> [PASS][83]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-tglu-8/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-tglu-2/igt@[email protected]
* igt@kms_cursor_legacy@cursor-vs-flip-atomic:
- shard-iclb: [FAIL][84] -> [PASS][85]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-iclb7/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb7/igt@[email protected]
* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@bc-hdmi-a1-hdmi-a2:
- shard-glk: [FAIL][86] ([i915#79]) -> [PASS][87] +1 similar issue
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-glk7/igt@kms_flip@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-glk2/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: [DMESG-WARN][88] ([i915#180]) -> [PASS][89] +5 similar issues
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-kbl7/igt@kms_flip@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-kbl6/igt@kms_flip@[email protected]
- shard-apl: [DMESG-WARN][90] ([i915#180]) -> [PASS][91] +1 similar issue
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-apl4/igt@kms_flip@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl7/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-ts-check-interruptible@c-edp1:
- shard-skl: [FAIL][92] ([i915#2122]) -> [PASS][93]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-skl7/igt@kms_flip@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl7/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling:
- shard-glk: [FAIL][94] ([i915#4911]) -> [PASS][95]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-glk8/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling.html
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-glk9/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling.html
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min:
- shard-skl: [FAIL][96] ([fdo#108145] / [i915#265]) -> [PASS][97]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-skl10/igt@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl1/igt@[email protected]
* igt@kms_setmode@basic:
- shard-apl: [FAIL][98] ([i915#31]) -> [PASS][99]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-apl2/igt@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl8/igt@[email protected]
* igt@kms_vblank@pipe-a-ts-continuation-modeset-hang:
- shard-glk: [TIMEOUT][100] ([i915#5140]) -> [PASS][101]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-glk1/igt@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-glk4/igt@[email protected]
* igt@sysfs_heartbeat_interval@mixed@bcs0:
- shard-skl: [WARN][102] ([i915#4055]) -> [PASS][103]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-skl2/igt@sysfs_heartbeat_interval@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl3/igt@sysfs_heartbeat_interval@[email protected]
* igt@sysfs_heartbeat_interval@mixed@vcs0:
- shard-skl: [FAIL][104] ([i915#1731]) -> [PASS][105]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-skl2/igt@sysfs_heartbeat_interval@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl3/igt@sysfs_heartbeat_interval@[email protected]
#### Warnings ####
* igt@gem_exec_balancer@parallel-ordering:
- shard-iclb: [SKIP][106] ([i915#4525]) -> [DMESG-FAIL][107] ([i915#5076])
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-iclb8/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb2/igt@[email protected]
* igt@gem_exec_fair@basic-none-rrul@rcs0:
- shard-iclb: [FAIL][108] ([i915#2852]) -> [FAIL][109] ([i915#2842])
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-iclb7/igt@gem_exec_fair@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb7/igt@gem_exec_fair@[email protected]
* igt@i915_pm_rc6_residency@rc6-idle:
- shard-iclb: [WARN][110] ([i915#1804] / [i915#2684]) -> [WARN][111] ([i915#2684])
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-iclb4/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb1/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-128x128-offscreen:
- shard-glk: [DMESG-FAIL][112] ([i915#118] / [i915#1888]) -> [DMESG-WARN][113] ([i915#118] / [i915#1888])
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-glk1/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-glk4/igt@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area:
- shard-iclb: [SKIP][114] ([fdo#111068] / [i915#658]) -> [SKIP][115] ([i915#2920]) +1 similar issue
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-iclb6/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-iclb2/igt@[email protected]
* igt@runner@aborted:
- shard-apl: ([FAIL][116], [FAIL][117], [FAIL][118], [FAIL][119], [FAIL][120], [FAIL][121]) ([i915#180] / [i915#2426] / [i915#3002] / [i915#4312]) -> ([FAIL][122], [FAIL][123], [FAIL][124], [FAIL][125], [FAIL][126], [FAIL][127], [FAIL][128], [FAIL][129]) ([i915#180] / [i915#1814] / [i915#2426] / [i915#3002] / [i915#4312])
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-apl8/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-apl1/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-apl4/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-apl8/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-apl2/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-apl2/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl1/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl3/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl2/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl4/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl2/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl7/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl2/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-apl1/igt@[email protected]
- shard-skl: ([FAIL][130], [FAIL][131], [FAIL][132], [FAIL][133], [FAIL][134], [FAIL][135]) ([i915#1436] / [i915#2029] / [i915#2426] / [i915#3002] / [i915#4312]) -> ([FAIL][136], [FAIL][137], [FAIL][138], [FAIL][139], [FAIL][140], [FAIL][141]) ([i915#1436] / [i915#2426] / [i915#3002] / [i915#4312])
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-skl7/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-skl2/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-skl2/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-skl1/igt@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-skl4/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11244/shard-skl1/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl1/igt@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl9/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl9/igt@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl9/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl3/igt@[email protected]
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/shard-skl1/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109502]: https://bugs.freedesktop.org/show_bug.cgi?id=109502
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#110725]: https://bugs.freedesktop.org/show_bug.cgi?id=110725
[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#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#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22325/index.html