Add OAM support for MTL
Subsystems (3)
v7 cover Add OAM support for MTL
The OAM unit captures OA reports specific to the media engines. Add support to program the OAM unit on media tile on MTL.
The OAM unit is selected by passing the class:instance of a media engine to perf parameters. Corresponding UMD changes are posted to the igt-dev repo as part of supporting the GPUvis tool.
v2: Incorporate review feedback (Jani, Ashutosh)
v3: Incorporate review feedback (Jani, Ashutosh)
v4: Incorporate review feedback (Ashutosh)
v5:
- Enforce paired engine-class and engine-instance configuration
- Include fix for Wa_14017512683
v6: Rebase to fix build failure
v7: Incorporate review comments
Test-with: [email protected]
Chris Wilson (1):
drm/i915/perf: Drop wakeref on GuC RC error
Umesh Nerlige Ramappa (9):
drm/i915/perf: Validate OA sseu config outside switch drm/i915/perf: Group engines into respective OA groups drm/i915/perf: Fail modprobe if i915_perf_init fails on OOM drm/i915/perf: Parse 64bit report header formats correctly drm/i915/perf: Handle non-power-of-2 reports drm/i915/perf: Add engine class instance parameters to perf drm/i915/perf: Add support for OA media units drm/i915/perf: Pass i915 object to perf revision helper drm/i915/perf: Wa_14017512683: Disable OAM if media C6 is enabled in
BIOS
Vinay Belgaumkar (1):
drm/i915/mtl: Synchronize i915/BIOS on C6 enabling
drivers/gpu/drm/i915/gt/intel_engine_types.h | 10 + drivers/gpu/drm/i915/gt/intel_rc6.c | 26 +- drivers/gpu/drm/i915/gt/intel_rc6.h | 2 + drivers/gpu/drm/i915/gt/intel_rc6_types.h | 2 + drivers/gpu/drm/i915/gt/intel_sseu.c | 3 +- drivers/gpu/drm/i915/i915_driver.c | 4 +- drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_getparam.c | 2 +- drivers/gpu/drm/i915/i915_pci.c | 1 + drivers/gpu/drm/i915/i915_perf.c | 574 +++++++++++++++---- drivers/gpu/drm/i915/i915_perf.h | 4 +- drivers/gpu/drm/i915/i915_perf_oa_regs.h | 78 +++ drivers/gpu/drm/i915/i915_perf_types.h | 75 ++- drivers/gpu/drm/i915/intel_device_info.h | 1 + include/uapi/drm/i915_drm.h | 23 + 15 files changed, 683 insertions(+), 124 deletions(-)
Signature · 1 line
2.36.1
PATCH v7 1/11 drm/i915/perf: Drop wakeref on GuC RC error
From: Chris Wilson <[email protected]>
If we fail to adjust the GuC run-control on opening the perf stream, make sure we unwind the wakeref just taken.
v2: Retain old goto label names (Ashutosh)
--- drivers/gpu/drm/i915/i915_perf.c | 14 +++++++++----- drivers/gpu/drm/i915/i915_perf_types.h | 6 ++++++ 2 files changed, 15 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/i915_perf.c +9 -5
@@ -1592,9 +1592,7 @@ static void i915_oa_stream_destroy(struct i915_perf_stream *stream)/* * Wa_16011777198:dg2: Unset the override of GUCRC mode to enable rc6. */ -if (intel_uc_uses_guc_rc (>->uc) && - (IS_DG2_GRAPHICS_STEP (gt->i915,G10 ,STEP_A0 ,STEP_C0 ) || -IS_DG2_GRAPHICS_STEP (gt->i915,G11 ,STEP_A0 ,STEP_B0 ))) +if (stream->override_gucrc)drm_WARN_ON (>->i915->drm,intel_guc_slpc_unset_gucrc_mode (>->uc.guc.slpc));
@@ -3305,8 +3303,10 @@ static int i915_oa_stream_init(struct i915_perf_stream *stream,if (ret) {drm_dbg (&stream->perf->i915->drm,"Unable to override gucrc mode\n" ); - goto err_config; + goto err_gucrc; } + + stream->override_gucrc = true; } ret =alloc_oa_buffer (stream);
@@ -3345,11 +3345,15 @@ static int i915_oa_stream_init(struct i915_perf_stream *stream,free_oa_buffer (stream); err_oa_buf_alloc: -free_oa_configs (stream); +if (stream->override_gucrc) +intel_guc_slpc_unset_gucrc_mode (>->uc.guc.slpc); +err_gucrc:intel_uncore_forcewake_put (stream->uncore,FORCEWAKE_ALL );intel_engine_pm_put (stream->engine); +free_oa_configs (stream); + err_config:free_noa_wait (stream);
drivers/gpu/drm/i915/i915_perf_types.h +6 -0
@@ -316,6 +316,12 @@ struct i915_perf_stream {* buffer should be checked for available data. */ u64 poll_oa_period; + +/** +* @override_gucrc: GuC RC has been overridden for the perf stream, +* and we need to restore the default configuration on release. +*/ + bool override_gucrc:1; };/**
Signature · 1 line
2.36.1
Jani Nikula
maintainerRe: [Intel-gfx] [PATCH v7 01/11] drm/i915/perf: Drop wakeref on GuC RC error
Quoted 64 lines · Umesh Nerlige Ramappa
From: Chris Wilson <[email protected]>
If we fail to adjust the GuC run-control on opening the perf stream, make sure we unwind the wakeref just taken.
v2: Retain old goto label names (Ashutosh)
Fixes 01e742746785 ("drm/i915/guc: Support OA when Wa_16011777198 is enabled")Signed-off-by Chris Wilson <[email protected]>Reviewed-by Ashutosh Dixit <[email protected]>--- drivers/gpu/drm/i915/i915_perf.c | 14 +++++++++----- drivers/gpu/drm/i915/i915_perf_types.h | 6 ++++++ 2 files changed, 15 insertions(+), 5 deletions(-)drivers/gpu/drm/i915/i915_perf.c +9
-5@@ -1592,9 +1592,7 @@ static void i915_oa_stream_destroy(struct i915_perf_stream *stream)/* * Wa_16011777198:dg2: Unset the override of GUCRC mode to enable rc6. */ -if (intel_uc_uses_guc_rc (>->uc) && - (IS_DG2_GRAPHICS_STEP (gt->i915,G10 ,STEP_A0 ,STEP_C0 ) || -IS_DG2_GRAPHICS_STEP (gt->i915,G11 ,STEP_A0 ,STEP_B0 ))) +if (stream->override_gucrc)drm_WARN_ON (>->i915->drm,intel_guc_slpc_unset_gucrc_mode (>->uc.guc.slpc));@@ -3305,8 +3303,10 @@ static int i915_oa_stream_init(struct i915_perf_stream *stream,if (ret) {drm_dbg (&stream->perf->i915->drm,"Unable to override gucrc mode\n" ); - goto err_config; + goto err_gucrc; } + + stream->override_gucrc = true; } ret =alloc_oa_buffer (stream);@@ -3345,11 +3345,15 @@ static int i915_oa_stream_init(struct i915_perf_stream *stream,free_oa_buffer (stream); err_oa_buf_alloc: -free_oa_configs (stream); +if (stream->override_gucrc) +intel_guc_slpc_unset_gucrc_mode (>->uc.guc.slpc); +err_gucrc:intel_uncore_forcewake_put (stream->uncore,FORCEWAKE_ALL );intel_engine_pm_put (stream->engine); +free_oa_configs (stream); + err_config:free_noa_wait (stream);drivers/gpu/drm/i915/i915_perf_types.h +0
-0
drivers/gpu/drm/i915/i915_perf_types.h struct i915_perf_stream { · line 324
Quoted 9 lines
drivers/gpu/drm/i915/i915_perf_types.h +6
-0@@ -316,6 +316,12 @@ struct i915_perf_stream {* buffer should be checked for available data. */ u64 poll_oa_period; + +/** +* @override_gucrc: GuC RC has been overridden for the perf stream, +* and we need to restore the default configuration on release. +*/ + bool override_gucrc:1;
What do you gain by making this a bitfield? It's already a big struct, and there already are other bool flags.
BR,
Jani.
Quoted 3 lines
drivers/gpu/drm/i915/i915_perf_types.h +0
-0};/**
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Re: [Intel-gfx] [PATCH v7 01/11] drm/i915/perf: Drop wakeref on GuC RC error
Quoted 69 lines · Jani Nikula
Quoted 68 lines · Umesh Nerlige Ramappa
From: Chris Wilson <[email protected]>
If we fail to adjust the GuC run-control on opening the perf stream, make sure we unwind the wakeref just taken.
v2: Retain old goto label names (Ashutosh)
Fixes 01e742746785 ("drm/i915/guc: Support OA when Wa_16011777198 is enabled")Signed-off-by Chris Wilson <[email protected]>Reviewed-by Ashutosh Dixit <[email protected]>--- drivers/gpu/drm/i915/i915_perf.c | 14 +++++++++----- drivers/gpu/drm/i915/i915_perf_types.h | 6 ++++++ 2 files changed, 15 insertions(+), 5 deletions(-)drivers/gpu/drm/i915/i915_perf.c +9
-5@@ -1592,9 +1592,7 @@ static void i915_oa_stream_destroy(struct i915_perf_stream *stream)/* * Wa_16011777198:dg2: Unset the override of GUCRC mode to enable rc6. */ -if (intel_uc_uses_guc_rc (>->uc) && - (IS_DG2_GRAPHICS_STEP (gt->i915,G10 ,STEP_A0 ,STEP_C0 ) || -IS_DG2_GRAPHICS_STEP (gt->i915,G11 ,STEP_A0 ,STEP_B0 ))) +if (stream->override_gucrc)drm_WARN_ON (>->i915->drm,intel_guc_slpc_unset_gucrc_mode (>->uc.guc.slpc));@@ -3305,8 +3303,10 @@ static int i915_oa_stream_init(struct i915_perf_stream *stream,if (ret) {drm_dbg (&stream->perf->i915->drm,"Unable to override gucrc mode\n" ); - goto err_config; + goto err_gucrc; } + + stream->override_gucrc = true; } ret =alloc_oa_buffer (stream);@@ -3345,11 +3345,15 @@ static int i915_oa_stream_init(struct i915_perf_stream *stream,free_oa_buffer (stream); err_oa_buf_alloc: -free_oa_configs (stream); +if (stream->override_gucrc) +intel_guc_slpc_unset_gucrc_mode (>->uc.guc.slpc); +err_gucrc:intel_uncore_forcewake_put (stream->uncore,FORCEWAKE_ALL );intel_engine_pm_put (stream->engine); +free_oa_configs (stream); + err_config:free_noa_wait (stream);drivers/gpu/drm/i915/i915_perf_types.h +1
-0@@ -316,6 +316,12 @@ struct i915_perf_stream {* buffer should be checked for available data. */ u64 poll_oa_period; +
Quoted 8 lines
drivers/gpu/drm/i915/i915_perf_types.h struct i915_perf_stream { · line 324
Quoted 5 lines
drivers/gpu/drm/i915/i915_perf_types.h +5
-0+/** +* @override_gucrc: GuC RC has been overridden for the perf stream, +* and we need to restore the default configuration on release. +*/ + bool override_gucrc:1;What do you gain by making this a bitfield? It's already a big struct, and there already are other bool flags.
Noticed it now. I guess this is not portable as it's compiler dependent. I would just remove the bitfield. I do see a few occurrences of bitfield bools in i915 though, so any specific guidelines on when to use bool vs bitfields?
Thanks,
Umesh
Quoted 12 lines
BR,
Jani.Quoted 3 lines
drivers/gpu/drm/i915/i915_perf_types.h +0
-0};/** Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Jani Nikula
maintainerRe: [Intel-gfx] [PATCH v7 01/11] drm/i915/perf: Drop wakeref on GuC RC error
Quoted 79 lines · Umesh Nerlige Ramappa
Quoted 69 lines · Jani Nikula
Quoted 68 lines · Umesh Nerlige Ramappa
From: Chris Wilson <[email protected]>
If we fail to adjust the GuC run-control on opening the perf stream, make sure we unwind the wakeref just taken.
v2: Retain old goto label names (Ashutosh)
Fixes 01e742746785 ("drm/i915/guc: Support OA when Wa_16011777198 is enabled")Signed-off-by Chris Wilson <[email protected]>Reviewed-by Ashutosh Dixit <[email protected]>--- drivers/gpu/drm/i915/i915_perf.c | 14 +++++++++----- drivers/gpu/drm/i915/i915_perf_types.h | 6 ++++++ 2 files changed, 15 insertions(+), 5 deletions(-)drivers/gpu/drm/i915/i915_perf.c +9
-5@@ -1592,9 +1592,7 @@ static void i915_oa_stream_destroy(struct i915_perf_stream *stream)/* * Wa_16011777198:dg2: Unset the override of GUCRC mode to enable rc6. */ -if (intel_uc_uses_guc_rc (>->uc) && - (IS_DG2_GRAPHICS_STEP (gt->i915,G10 ,STEP_A0 ,STEP_C0 ) || -IS_DG2_GRAPHICS_STEP (gt->i915,G11 ,STEP_A0 ,STEP_B0 ))) +if (stream->override_gucrc)drm_WARN_ON (>->i915->drm,intel_guc_slpc_unset_gucrc_mode (>->uc.guc.slpc));@@ -3305,8 +3303,10 @@ static int i915_oa_stream_init(struct i915_perf_stream *stream,if (ret) {drm_dbg (&stream->perf->i915->drm,"Unable to override gucrc mode\n" ); - goto err_config; + goto err_gucrc; } + + stream->override_gucrc = true; } ret =alloc_oa_buffer (stream);@@ -3345,11 +3345,15 @@ static int i915_oa_stream_init(struct i915_perf_stream *stream,free_oa_buffer (stream); err_oa_buf_alloc: -free_oa_configs (stream); +if (stream->override_gucrc) +intel_guc_slpc_unset_gucrc_mode (>->uc.guc.slpc); +err_gucrc:intel_uncore_forcewake_put (stream->uncore,FORCEWAKE_ALL );intel_engine_pm_put (stream->engine); +free_oa_configs (stream); + err_config:free_noa_wait (stream);drivers/gpu/drm/i915/i915_perf_types.h +1
-0@@ -316,6 +316,12 @@ struct i915_perf_stream {* buffer should be checked for available data. */ u64 poll_oa_period; +Quoted 8 lines
drivers/gpu/drm/i915/i915_perf_types.h struct i915_perf_stream { · line 324
Quoted 5 lines
drivers/gpu/drm/i915/i915_perf_types.h +5
-0+/** +* @override_gucrc: GuC RC has been overridden for the perf stream, +* and we need to restore the default configuration on release. +*/ + bool override_gucrc:1;What do you gain by making this a bitfield? It's already a big struct, and there already are other bool flags.
Quoted 4 lines
Noticed it now. I guess this is not portable as it's compiler dependent. I would just remove the bitfield. I do see a few occurrences of bitfield bools in i915 though, so any specific guidelines on when to use bool vs bitfields?
Use it when you really need the space saving, but don't mind the added cost for accessing the bit. And then you do need to pay attention to how the struct members are added to not do silly padding.
The VBT code uses bitfields for parsing the binary data, it's implementation dependent behaviour but it works for us. Need to be mindful about it.
BR,
Jani.
Quoted 15 lines
Thanks,
UmeshQuoted 12 lines
BR,
Jani.Quoted 3 lines
drivers/gpu/drm/i915/i915_perf_types.h +0
-0};/** Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
PATCH v7 2/11 drm/i915/mtl: Synchronize i915/BIOS on C6 enabling
In reply to Umesh Nerlige RamappaFrom: Vinay Belgaumkar <[email protected]>
If BIOS enables/disables C6, i915 should do the same. Also, retain this value across driver reloads. This is needed only for MTL as of now due to an existing bug in OA which needs C6 disabled for it to function. BIOS behavior is also different across platforms in terms of how C6 is enabled.
--- drivers/gpu/drm/i915/gt/intel_rc6.c | 26 ++++++++++++++++++++--- drivers/gpu/drm/i915/gt/intel_rc6.h | 2 ++ drivers/gpu/drm/i915/gt/intel_rc6_types.h | 2 ++ 3 files changed, 27 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/gt/intel_rc6.c +23 -3
@@ -420,6 +420,21 @@ static void vlv_rc6_enable(struct intel_rc6 *rc6)GEN7_RC_CTL_TO_MODE |VLV_RC_CTL_CTX_RST_PARALLEL ; } +bool intel_check_bios_c6_setup (struct intel_rc6 *rc6) +{ +if (!rc6->bios_state_captured) { +struct intel_uncore *uncore =rc6_to_uncore (rc6); +intel_wakeref_t wakeref; + +with_intel_runtime_pm (uncore->rpm, wakeref) + rc6->bios_rc_state = intel_uncore_read(uncore, GEN6_RC_STATE); + + rc6->bios_state_captured = true; + } + +return rc6->bios_rc_state &RC_SW_TARGET_STATE_MASK ; +} +static bool bxt_check_bios_rc6_setup (struct intel_rc6 *rc6) {struct intel_uncore *uncore =rc6_to_uncore (rc6);
@@ -503,10 +518,10 @@ static bool rc6_supported(struct intel_rc6 *rc6)return false; } -if (IS_MTL_MEDIA_STEP (gt->i915,STEP_A0 ,STEP_B0 ) && - gt->type ==GT_MEDIA ) { +if (IS_METEORLAKE (gt->i915) && + !intel_check_bios_c6_setup (rc6)) {drm_notice (&i915->drm, -"Media RC6 disabled on A step\n" ); +"C6 disabled by BIOS\n" );return false; }
@@ -707,9 +722,14 @@ void intel_rc6_disable(struct intel_rc6 *rc6)void intel_rc6_fini (struct intel_rc6 *rc6) {struct drm_i915_gem_object *pctx; +struct intel_uncore *uncore =rc6_to_uncore (rc6);intel_rc6_disable (rc6); +/* We want the BIOS C6 state preserved across loads for MTL */ +if (IS_METEORLAKE (rc6_to_i915 (rc6)) && rc6->bios_state_captured) +set (uncore,GEN6_RC_STATE , rc6->bios_rc_state); + pctx =fetch_and_zero (&rc6->pctx);if (pctx)i915_gem_object_put (pctx);
drivers/gpu/drm/i915/gt/intel_rc6.h +2 -0
@@ -27,4 +27,6 @@ u64 intel_rc6_residency_us(struct intel_rc6 *rc6, enum intel_rc6_res_type id);void intel_rc6_print_residency (struct seq_file *m,const char *title,enum intel_rc6_res_type id); +bool intel_check_bios_c6_setup (struct intel_rc6 *rc6); +#endif /* INTEL_RC6_H */
drivers/gpu/drm/i915/gt/intel_rc6_types.h +2 -0
@@ -29,6 +29,7 @@ struct intel_rc6 {u64 cur_residency[INTEL_RC6_RES_MAX ];u32 ctl_enable; +u32 bios_rc_state;struct drm_i915_gem_object *pctx;
@@ -36,6 +37,7 @@ struct intel_rc6 { bool enabled : 1; bool manual : 1; bool wakeref : 1; + bool bios_state_captured : 1; };#endif /* INTEL_RC6_TYPES_H */
Signature · 1 line
2.36.1
PATCH v7 3/11 drm/i915/perf: Validate OA sseu config outside switch
In reply to Umesh Nerlige RamappaOnce OA supports media engine class:instance, the engine can only be validated outside the switch since class and instance parameters are separate entities. Since OA sseu config depends on engine class:instance, validate OA sseu config outside the switch.
v2: (Ashutosh)
- Clarify commit message
- Use drm_dbg instead of DRM_DEBUG
- Reorder stack variables
--- drivers/gpu/drm/i915/i915_perf.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-)
drivers/gpu/drm/i915/i915_perf.c +13 -10
@@ -3940,7 +3940,9 @@ static int read_properties_unlocked(struct i915_perf *perf,u32 n_props, struct perf_open_properties *props) { + struct drm_i915_gem_context_param_sseu user_sseu;u64 __user *uprop = uprops; +bool config_sseu = false;u32 i;int ret;
@@ -4069,8 +4071,6 @@ static int read_properties_unlocked(struct i915_perf *perf, props->hold_preemption = !!value;break ;case DRM_I915_PERF_PROP_GLOBAL_SSEU : { -struct drm_i915_gem_context_param_sseu user_sseu; -if (GRAPHICS_VER_FULL (perf->i915) >=IP_VER (12 ,50 )) { drm_dbg(&perf->i915->drm, "SSEU config not supported on gfx %x\n",
@@ -4085,14 +4085,7 @@ static int read_properties_unlocked(struct i915_perf *perf, "Unable to copy global sseu parameter\n");return -EFAULT ; } - - ret =get_sseu_config (&props->sseu, props->engine, &user_sseu); -if (ret) { -drm_dbg (&perf->i915->drm, -"Invalid SSEU configuration\n" ); -return ret; - } - props->has_sseu = true; + config_sseu = true;break ; }case DRM_I915_PERF_PROP_POLL_OA_PERIOD :
@@ -4112,6 +4105,16 @@ static int read_properties_unlocked(struct i915_perf *perf, uprop +=2 ; } +if (config_sseu) { + ret =get_sseu_config (&props->sseu, props->engine, &user_sseu); +if (ret) { +drm_dbg (&perf->i915->drm, +"Invalid SSEU configuration\n" ); +return ret; + } + props->has_sseu = true; + } +return 0 ; }
Signature · 1 line
2.36.1
PATCH v7 4/11 drm/i915/perf: Group engines into respective OA groups
In reply to Umesh Nerlige RamappaNow that we may have multiple OA units in a single GT as well as on separate GTs, create an engine group that maps to a single OA unit.
v2: (Jani)
- Drop warning on ENOMEM
- Reorder patch in the series
v3: (Ashutosh)
- Remove unused members from perf structs
- Update comments
- Update engine_supports_oa check
- Just return 1 in num_perf_groups_per_gt for now
- Set engine->oa_group to NULL to begin with
v4: Use engine_supports_oa() check in oa_init_reg_state (Ashutosh)
v5: Rebase after dropping engine_supports_oa helper
--- drivers/gpu/drm/i915/gt/intel_engine_types.h | 10 +++ drivers/gpu/drm/i915/gt/intel_sseu.c | 3 +- drivers/gpu/drm/i915/i915_perf.c | 93 ++++++++++++++++++-- drivers/gpu/drm/i915/i915_perf_types.h | 33 ++++++- 4 files changed, 127 insertions(+), 12 deletions(-)
drivers/gpu/drm/i915/gt/intel_engine_types.h +10 -0
@@ -53,6 +53,8 @@ struct intel_gt;struct intel_ring ;struct intel_uncore ;struct intel_breadcrumbs ; +struct intel_engine_cs ; +struct i915_perf_group ;typedef u32 intel_engine_mask_t ;#define ALL_ENGINES ((intel_engine_mask_t)~0ul)
@@ -617,6 +619,14 @@ struct intel_engine_cs { } props, defaults; I915_SELFTEST_DECLARE(struct fault_attr reset_timeout); + +/* +* The perf group maps to one OA unit which controls one OA buffer. All +* reports corresponding to this engine will be reported to this OA +* buffer. An engine will map to a single OA unit, but a single OA unit +* can generate reports for multiple engines. +*/ +struct i915_perf_group *oa_group; }; static inline bool
drivers/gpu/drm/i915/gt/intel_sseu.c +2 -1
@@ -6,6 +6,7 @@#include <linux/string_helpers.h> #include "i915_drv.h" +#include "i915_perf_types.h" #include "intel_engine_regs.h" #include "intel_gt_regs.h" #include "intel_sseu.h"
@@ -677,7 +678,7 @@ u32 intel_sseu_make_rpcs(struct intel_gt *gt,* If i915/perf is active, we want a stable powergating configuration * on the system. Use the configuration pinned by i915/perf. */ -if (gt->perf.exclusive_stream) +if (gt->perf.group && gt->perf.group[PERF_GROUP_OAG ].exclusive_stream) req_sseu = >->perf.sseu; slices =hweight8 (req_sseu->slice_mask);
drivers/gpu/drm/i915/i915_perf.c +86 -7
180 lines not on this page · raw message
drivers/gpu/drm/i915/i915_perf_types.h +29 -4
@@ -17,6 +17,7 @@#include <linux/wait.h> #include <uapi/drm/i915_drm.h> +#include "gt/intel_engine_types.h" #include "gt/intel_sseu.h" #include "i915_reg_defs.h" #include "intel_wakeref.h"
@@ -30,6 +31,13 @@ struct i915_vma;struct intel_context ;struct intel_engine_cs ; +enum { +PERF_GROUP_OAG =0 , + +PERF_GROUP_MAX , +PERF_GROUP_INVALID =U32_MAX , +}; +struct i915_oa_format {u32 format;int size;
@@ -390,6 +398,20 @@ struct i915_oa_ops {u32 (*oa_hw_tail_read)(struct i915_perf_stream *stream); }; +struct i915_perf_group { +/* +* @exclusive_stream: The stream currently using the OA unit. This is +* sometimes accessed outside a syscall associated to its file +* descriptor. +*/ +struct i915_perf_stream *exclusive_stream; + +/* +* @num_engines: The number of engines using this OA unit. +*/ +u32 num_engines; +}; +struct i915_perf_gt {/* * Lock associated with anything below within this structure.
@@ -402,12 +424,15 @@ struct i915_perf_gt {*/ struct intel_sseu sseu; +/** +* @num_perf_groups: number of perf groups per gt. +*/ +u32 num_perf_groups; +/* -* @exclusive_stream: The stream currently using the OA unit. This is -* sometimes accessed outside a syscall associated to its file -* descriptor. +* @group: list of OA groups - one for each OA buffer. */ -struct i915_perf_stream *exclusive_stream; +struct i915_perf_group *group; };struct i915_perf {
Signature · 1 line
2.36.1
PATCH v7 5/11 drm/i915/perf: Fail modprobe if i915_perf_init fails on OOM
In reply to Umesh Nerlige Ramappai915_perf_init can fail due to OOM. Fail driver init if i915_perf_init fails.
v2: (Jani)
- Reorder patch in the series
--- drivers/gpu/drm/i915/i915_driver.c | 4 +++- drivers/gpu/drm/i915/i915_perf.c | 8 ++++++-- drivers/gpu/drm/i915/i915_perf.h | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/i915_driver.c +3 -1
@@ -469,7 +469,9 @@ static int i915_driver_hw_probe(struct drm_i915_private *dev_priv)if (ret)return ret; -i915_perf_init (dev_priv); + ret =i915_perf_init (dev_priv); +if (ret) +return ret; ret =i915_ggtt_probe_hw (dev_priv);if (ret)
drivers/gpu/drm/i915/i915_perf.c +6 -2
@@ -4902,7 +4902,7 @@ static void i915_perf_init_info(struct drm_i915_private *i915)* Note: i915-perf initialization is split into an 'init' and 'register' * phase with the i915_perf_register() exposing state to userspace. */ -void i915_perf_init (struct drm_i915_private *i915) +int i915_perf_init (struct drm_i915_private *i915) {struct i915_perf *perf = &i915->perf;
@@ -5018,12 +5018,16 @@ void i915_perf_init(struct drm_i915_private *i915) perf->i915 = i915; ret =oa_init_engine_groups (perf); -if (ret) +if (ret) {drm_err (&i915->drm,"OA initialization failed %d\n" , ret); +return ret; + }oa_init_supported_formats (perf); } + +return 0 ; }static int destroy_config (int id,void *p,void *data)
drivers/gpu/drm/i915/i915_perf.h +1 -1
@@ -18,7 +18,7 @@ struct i915_oa_config;struct intel_context ;struct intel_engine_cs ; -void i915_perf_init (struct drm_i915_private *i915); +int i915_perf_init (struct drm_i915_private *i915);void i915_perf_fini (struct drm_i915_private *i915);void i915_perf_register (struct drm_i915_private *i915);void i915_perf_unregister (struct drm_i915_private *i915);
Signature · 1 line
2.36.1
PATCH v7 6/11 drm/i915/perf: Parse 64bit report header formats correctly
In reply to Umesh Nerlige RamappaNow that OA formats come in flavor of 64 bit reports, the report header has 64 bit report-id, timestamp, context-id and gpu-ticks fields. When filtering these reports, use the right width for these fields.
Note that upper dword of context id is reserved, so squash lower dword only.
v2: (Ashutosh)
- Drop inline
- Update comment with dword definitions - report id and timestamp
--- drivers/gpu/drm/i915/i915_perf.c | 109 +++++++++++++++++++------ drivers/gpu/drm/i915/i915_perf_types.h | 6 ++ 2 files changed, 90 insertions(+), 25 deletions(-)
drivers/gpu/drm/i915/i915_perf.c +84 -25
@@ -441,6 +441,67 @@ static u32 gen7_oa_hw_tail_read(struct i915_perf_stream *stream)return oastatus1 &GEN7_OASTATUS1_TAIL_MASK ; } +#define oa_report_header_64bit (__s) \ + ((__s)->oa_buffer.format->header == HDR_64_BIT) + +static u64 oa_report_id (struct i915_perf_stream *stream,void *report) +{ +return oa_report_header_64bit (stream) ? *(u64 *)report : *(u32 *)report; +} + +static u64 oa_report_reason (struct i915_perf_stream *stream,void *report) +{ +return (oa_report_id (stream, report) >>OAREPORT_REASON_SHIFT ) & + (GRAPHICS_VER (stream->perf->i915) ==12 ? +OAREPORT_REASON_MASK_EXTENDED : +OAREPORT_REASON_MASK ); +} + +static void oa_report_id_clear (struct i915_perf_stream *stream,u32 *report) +{ +if (oa_report_header_64bit (stream)) + *(u64 *)report =0 ; +else + *report =0 ; +} + +static bool oa_report_ctx_invalid (struct i915_perf_stream *stream,void *report) +{ +return !(oa_report_id (stream, report) & + stream->perf->gen8_valid_ctx_bit) && +GRAPHICS_VER (stream->perf->i915) <=11 ; +} + +static u64 oa_timestamp (struct i915_perf_stream *stream,void *report) +{ +return oa_report_header_64bit (stream) ? + *((u64 *)report +1 ) : + *((u32 *)report +1 ); +} + +static void oa_timestamp_clear (struct i915_perf_stream *stream,u32 *report) +{ +if (oa_report_header_64bit (stream)) + *(u64 *)&report[2 ] =0 ; +else + report[1 ] =0 ; +} + +static u32 oa_context_id (struct i915_perf_stream *stream,u32 *report) +{ +u32 ctx_id =oa_report_header_64bit (stream) ? report[4 ] : report[2 ]; + +return ctx_id & stream->specific_ctx_id_mask; +} + +static void oa_context_id_squash (struct i915_perf_stream *stream,u32 *report) +{ +if (oa_report_header_64bit (stream)) + report[4 ] =INVALID_CTX_ID ; +else + report[2 ] =INVALID_CTX_ID ; +} +/** * oa_buffer_check_unlocked - check for data and update tail ptr state * @stream: i915 stream instance
@@ -509,21 +570,22 @@ static bool oa_buffer_check_unlocked(struct i915_perf_stream *stream) hw_tail -= gtt_offset; tail = hw_tail; -/* Walk the stream backward until we find a report with dword 0 -* & 1 not at 0. Since the circular buffer pointers progress by -* increments of 64 bytes and that reports can be up to 256 -* bytes long, we can't tell whether a report has fully landed -* in memory before the first 2 dwords of the following report -* have effectively landed. +/* Walk the stream backward until we find a report with report +* id and timestmap not at 0. Since the circular buffer pointers +* progress by increments of 64 bytes and that reports can be up +* to 256 bytes long, we can't tell whether a report has fully +* landed in memory before the report id and timestamp of the +* following report have effectively landed. * * This is assuming that the writes of the OA unit land in * memory in the order they were written to. * If not : (╯°□°)╯︵ ┻━┻ */ while (OA_TAKEN (tail, aged_tail) >= report_size) { -u32 *report32 = (void *)(stream->oa_buffer.vaddr + tail); +void *report = stream->oa_buffer.vaddr + tail; -if (report32[0 ] !=0 || report32[1 ] !=0 ) +if (oa_report_id (stream, report) || +oa_timestamp (stream, report))break ; tail = (tail - report_size) & (OA_BUFFER_SIZE -1 );
@@ -702,7 +764,7 @@ static int gen8_append_oa_reports(struct i915_perf_stream *stream,u8 *report = oa_buf_base + head;u32 *report32 = (void *)report;u32 ctx_id; -u32 reason; +u64 reason;/* * All the report sizes factor neatly into the buffer
@@ -725,16 +787,12 @@ static int gen8_append_oa_reports(struct i915_perf_stream *stream,* triggered this specific report (mostly timer * triggered or e.g. due to a context switch). * -* This field is never expected to be zero so we can -* check that the report isn't invalid before copying -* it to userspace... +* In MMIO triggered reports, some platforms do not set the +* reason bit in this field and it is valid to have a reason +* field of zero. */ - reason = ((report32[0 ] >>OAREPORT_REASON_SHIFT ) & - (GRAPHICS_VER (stream->perf->i915) ==12 ? -OAREPORT_REASON_MASK_EXTENDED : -OAREPORT_REASON_MASK )); - - ctx_id = report32[2 ] & stream->specific_ctx_id_mask; + reason =oa_report_reason (stream, report); + ctx_id =oa_context_id (stream, report32);/* * Squash whatever is in the CTX_ID field if it's marked as
@@ -744,9 +802,10 @@ static int gen8_append_oa_reports(struct i915_perf_stream *stream,* Note: that we don't clear the valid_ctx_bit so userspace can * understand that the ID has been squashed by the kernel. */ -if (!(report32[0 ] & stream->perf->gen8_valid_ctx_bit) && -GRAPHICS_VER (stream->perf->i915) <=11 ) - ctx_id = report32[2 ] =INVALID_CTX_ID ; +if (oa_report_ctx_invalid (stream, report)) { + ctx_id =INVALID_CTX_ID ; +oa_context_id_squash (stream, report32); + }/* * NB: For Gen 8 the OA unit no longer supports clock gating
@@ -790,7 +849,7 @@ static int gen8_append_oa_reports(struct i915_perf_stream *stream,*/ if (stream->ctx && stream->specific_ctx_id != ctx_id) { - report32[2 ] =INVALID_CTX_ID ; +oa_context_id_squash (stream, report32); } ret = append_oa_sample(stream, buf, count, offset,
@@ -802,11 +861,11 @@ static int gen8_append_oa_reports(struct i915_perf_stream *stream, }/* -* Clear out the first 2 dword as a mean to detect unlanded +* Clear out the report id and timestamp as a means to detect unlanded * reports. */ - report32[0 ] =0 ; - report32[1 ] =0 ; +oa_report_id_clear (stream, report32); +oa_timestamp_clear (stream, report32); }if (start_offset != *offset) {
drivers/gpu/drm/i915/i915_perf_types.h +6 -0
@@ -38,9 +38,15 @@ enum { PERF_GROUP_INVALID = U32_MAX, }; +enum report_header { +HDR_32_BIT =0 , +HDR_64_BIT , +}; +struct i915_oa_format {u32 format;int size; +enum report_header header; };struct i915_oa_reg {
Signature · 1 line
2.36.1
PATCH v7 7/11 drm/i915/perf: Handle non-power-of-2 reports
In reply to Umesh Nerlige RamappaSome of the newer OA formats are not powers of 2. For those formats, adjust the hw_tail accordingly when checking for new reports.
v2: (Ashutosh)
- Switch to OA_TAKEN for diff calculation
- Use OA_BUFFER_SIZE instead of the vma size
- Update comments
--- drivers/gpu/drm/i915/i915_perf.c | 51 +++++++++++++++++--------------- 1 file changed, 27 insertions(+), 24 deletions(-)
drivers/gpu/drm/i915/i915_perf.c +27 -24
@@ -534,6 +534,7 @@ static bool oa_buffer_check_unlocked(struct i915_perf_stream *stream)bool pollin;u32 hw_tail;u64 now; +u32 partial_report_size;/* We have to consider the (unlikely) possibility that read() errors * could result in an OA buffer reset which might reset the head and
@@ -543,10 +544,15 @@ static bool oa_buffer_check_unlocked(struct i915_perf_stream *stream) hw_tail = stream->perf->ops.oa_hw_tail_read (stream); -/* The tail pointer increases in 64 byte increments, -* not in report_size steps... +/* The tail pointer increases in 64 byte increments, not in report_size +* steps. Also the report size may not be a power of 2. Compute +* potentially partially landed report in the OA buffer */ - hw_tail &= ~(report_size -1 ); + partial_report_size =OA_TAKEN (hw_tail, stream->oa_buffer.tail); + partial_report_size %= report_size; + +/* Subtract partial amount off the tail */ + hw_tail = gtt_offset +OA_TAKEN (hw_tail, partial_report_size); now =ktime_get_mono_fast_ns ();
@@ -669,6 +675,8 @@ static int append_oa_sample(struct i915_perf_stream *stream, {int report_size = stream->oa_buffer.format->size;struct drm_i915_perf_record_header header; +int report_size_partial; +u8 *oa_buf_end; header.type =DRM_I915_PERF_RECORD_SAMPLE ; header.pad =0 ;
@@ -682,8 +690,20 @@ static int append_oa_sample(struct i915_perf_stream *stream,return -EFAULT ; buf +=sizeof (header); -if (copy_to_user (buf, report, report_size)) + oa_buf_end = stream->oa_buffer.vaddr +OA_BUFFER_SIZE ; + report_size_partial = oa_buf_end - report; + +if (report_size_partial < report_size) { +if (copy_to_user (buf, report, report_size_partial)) +return -EFAULT ; + buf += report_size_partial; + +if (copy_to_user (buf, stream->oa_buffer.vaddr, + report_size - report_size_partial)) +return -EFAULT ; + }else if (copy_to_user (buf, report, report_size)) {return -EFAULT ; + } (*offset) += header.size;
@@ -747,12 +767,11 @@ static int gen8_append_oa_reports(struct i915_perf_stream *stream,* An out of bounds or misaligned head or tail pointer implies a driver * bug since we validate + align the tail pointers we read from the * hardware and we are in full control of the head pointer which should -* only be incremented by multiples of the report size (notably also -* all a power of two). +* only be incremented by multiples of the report size. */ if (drm_WARN_ONCE (&uncore->i915->drm, - head >OA_BUFFER_SIZE || head % report_size || - tail >OA_BUFFER_SIZE || tail % report_size, + head >OA_BUFFER_SIZE || + tail >OA_BUFFER_SIZE ,"Inconsistent OA buffer pointers: head = %u, tail = %u\n" , head, tail))return -EIO ;
@@ -766,22 +785,6 @@ static int gen8_append_oa_reports(struct i915_perf_stream *stream,u32 ctx_id;u64 reason; -/* -* All the report sizes factor neatly into the buffer -* size so we never expect to see a report split -* between the beginning and end of the buffer. -* -* Given the initial alignment check a misalignment -* here would imply a driver bug that would result -* in an overrun. -*/ -if (drm_WARN_ON (&uncore->i915->drm, - (OA_BUFFER_SIZE - head) < report_size)) { -drm_err (&uncore->i915->drm, -"Spurious OA head ptr: non-integral report offset\n" ); -break ; - } -/* * The reason field includes flags identifying what * triggered this specific report (mostly timer
Signature · 1 line
2.36.1
PATCH v7 8/11 drm/i915/perf: Add engine class instance parameters to perf
In reply to Umesh Nerlige RamappaOne or more engines map to a specific OA unit. All reports from these engines are captured in the OA buffer managed by this OA unit.
Current i915 OA implementation supports only the OAG unit. OAG primarily caters to render engine, so i915 OA uses render as the default engine in the OA implementation. Since there are more OA units on newer hardware that map to other engines, allow user to pass engine class and instance to select and program specific OA units.
UMD specific changes for GPUvis support:
https://patchwork.freedesktop.org/patch/522827/?series=114023
https://patchwork.freedesktop.org/patch/522822/?series=114023
https://patchwork.freedesktop.org/patch/522826/?series=114023
https://patchwork.freedesktop.org/patch/522828/?series=114023
https://patchwork.freedesktop.org/patch/522816/?series=114023
https://patchwork.freedesktop.org/patch/522825/?series=114023
v2: (Ashutosh)
- Clarify commit message
- Add drm_dbg
- Clarify uapi description
v3: (Ashutosh)
- Remove irrelevant info from the uapi comment
v4: Ensure engine class:instance is passed together (Ashutosh)
v5: Remove unnecessary quote (Ashutosh)
--- drivers/gpu/drm/i915/i915_perf.c | 71 ++++++++++++++++++++------------ include/uapi/drm/i915_drm.h | 19 +++++++++ 2 files changed, 63 insertions(+), 27 deletions(-)
drivers/gpu/drm/i915/i915_perf.c +44 -27
@@ -4012,48 +4012,32 @@ static int read_properties_unlocked(struct i915_perf *perf, {struct drm_i915_gem_context_param_sseu user_sseu;u64 __user *uprop = uprops; +bool config_instance = false; +bool config_class = false;bool config_sseu = false; +u8 class, instance;u32 i;int ret;memset (props,0 ,sizeof (struct perf_open_properties )); props->poll_oa_period =DEFAULT_POLL_PERIOD_NS ; -if (!n_props) { -drm_dbg (&perf->i915->drm, -"No i915 perf properties given\n" ); -return -EINVAL ; - } - -/* At the moment we only support using i915-perf on the RCS. */ - props->engine =intel_engine_lookup_user (perf->i915, -I915_ENGINE_CLASS_RENDER , -0 ); -if (!props->engine) { -drm_dbg (&perf->i915->drm, -"No RENDER-capable engines\n" ); -return -EINVAL ; - } - -if (!engine_supports_oa (props->engine)) { -drm_dbg (&perf->i915->drm, -"Engine not supported by OA %d:%d\n" , -I915_ENGINE_CLASS_RENDER ,0 ); -return -EINVAL ; - } -/* Considering that ID = 0 is reserved and assuming that we don't * (currently) expect any configurations to ever specify duplicate * values for a particular property ID then the last _PROP_MAX value is * one greater than the maximum number of properties we expect to get * from userspace. */ -if (n_props >=DRM_I915_PERF_PROP_MAX ) { +if (!n_props || n_props >=DRM_I915_PERF_PROP_MAX ) {drm_dbg (&perf->i915->drm, -"More i915 perf properties specified than exist\n" ); +"Invalid number of i915 perf properties given\n" );return -EINVAL ; } +/* Defaults when class:instance is not passed */ + class =I915_ENGINE_CLASS_RENDER ; + instance =0 ; +for (i =0 ; i < n_props; i++) {u64 oa_period, oa_freq_hz;u64 id, value;
@@ -4174,7 +4158,15 @@ static int read_properties_unlocked(struct i915_perf *perf, } props->poll_oa_period = value;break ; -case DRM_I915_PERF_PROP_MAX : +case DRM_I915_PERF_PROP_OA_ENGINE_CLASS : + class = (u8 )value; + config_class = true; +break ; +case DRM_I915_PERF_PROP_OA_ENGINE_INSTANCE : + instance = (u8 )value; + config_instance = true; +break ; +default :MISSING_CASE (id);return -EINVAL ; }
@@ -4182,6 +4174,28 @@ static int read_properties_unlocked(struct i915_perf *perf, uprop +=2 ; } +if ((config_class && !config_instance) || + (config_instance && !config_class)) { +drm_dbg (&perf->i915->drm, +"OA engine-class and engine-instance parameters must be passed together\n" ); +return -EINVAL ; + } + + props->engine =intel_engine_lookup_user (perf->i915, class, instance); +if (!props->engine) { +drm_dbg (&perf->i915->drm, +"OA engine class and instance invalid %d:%d\n" , + class, instance); +return -EINVAL ; + } + +if (!engine_supports_oa (props->engine)) { +drm_dbg (&perf->i915->drm, +"Engine not supported by OA %d:%d\n" , + class, instance); +return -EINVAL ; + } +if (config_sseu) { ret =get_sseu_config (&props->sseu, props->engine, &user_sseu);if (ret) {
@@ -5158,8 +5172,11 @@ int i915_perf_ioctl_version(void)* * 5: Add DRM_I915_PERF_PROP_POLL_OA_PERIOD parameter that controls the * interval for the hrtimer used to check for OA data. +* +* 6: Add DRM_I915_PERF_PROP_OA_ENGINE_CLASS and +* DRM_I915_PERF_PROP_OA_ENGINE_INSTANCE */ -return 5 ; +return 6 ; }#if IS_ENABLED (CONFIG_DRM_I915_SELFTEST )
include/uapi/drm/i915_drm.h +19 -0
@@ -2758,6 +2758,25 @@ enum drm_i915_perf_property_id {*/ DRM_I915_PERF_PROP_POLL_OA_PERIOD , +/** +* Multiple engines may be mapped to the same OA unit. The OA unit is +* identified by class:instance of any engine mapped to it. +* +* This parameter specifies the engine class and must be passed along +* with DRM_I915_PERF_PROP_OA_ENGINE_INSTANCE. +* +* This property is available in perf revision 6. +*/ +DRM_I915_PERF_PROP_OA_ENGINE_CLASS , + +/** +* This parameter specifies the engine instance and must be passed along +* with DRM_I915_PERF_PROP_OA_ENGINE_CLASS. +* +* This property is available in perf revision 6. +*/ +DRM_I915_PERF_PROP_OA_ENGINE_INSTANCE , + DRM_I915_PERF_PROP_MAX /* non-ABI */ };
Signature · 1 line
2.36.1
PATCH v7 9/11 drm/i915/perf: Add support for OA media units
In reply to Umesh Nerlige RamappaMTL introduces additional OA units dedicated to media use cases. Add support for programming these OA units by passing the media engine class and instance parameters.
UMD specific changes for GPUvis support:
https://patchwork.freedesktop.org/patch/522827/?series=114023
https://patchwork.freedesktop.org/patch/522822/?series=114023
https://patchwork.freedesktop.org/patch/522826/?series=114023
https://patchwork.freedesktop.org/patch/522828/?series=114023
https://patchwork.freedesktop.org/patch/522816/?series=114023
https://patchwork.freedesktop.org/patch/522825/?series=114023
v2: (Ashutosh)
- check for IP_VER(12, 70) instead of MTL
- remove PERF_GROUP_OAG comment in mtl_oa_base
- remove oa_buffer.group
- use engine->oa_group->type in engine_supports_oa_format
- remove fw_domains and use FORCEWAKE_ALL
- remove MPES/MPEC comment
- s/xehp/mtl/ in b counter validation function name
- remove engine_supports_oa in __oa_engine_group
- remove warn_ON from __oam_engine_group
- refactor oa_init_groups and oa_init_regs
- assign g->type correctly
- use enum oa_type definition
v3: (Ashutosh)
- Drop oa_unit_functional as engine_supports_oa is enough
v4:
- s/DRM_DEBUG/drm_dbg/
--- drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_pci.c | 1 + drivers/gpu/drm/i915/i915_perf.c | 184 ++++++++++++++++++++--- drivers/gpu/drm/i915/i915_perf_oa_regs.h | 78 ++++++++++ drivers/gpu/drm/i915/i915_perf_types.h | 30 ++++ drivers/gpu/drm/i915/intel_device_info.h | 1 + include/uapi/drm/i915_drm.h | 4 + 7 files changed, 278 insertions(+), 22 deletions(-)
drivers/gpu/drm/i915/i915_drv.h +2 -0
@@ -858,6 +858,8 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915, (INTEL_INFO(dev_priv)->has_oa_bpc_reporting)#define HAS_OA_SLICE_CONTRIB_LIMITS (dev_priv) \ (INTEL_INFO(dev_priv)->has_oa_slice_contrib_limits) +#define HAS_OAM (dev_priv) \ + (INTEL_INFO(dev_priv)->has_oam)/* * Set this flag, when platform requires 64K GTT page sizes or larger for
drivers/gpu/drm/i915/i915_pci.c +1 -0
@@ -1028,6 +1028,7 @@ static const struct intel_device_info adl_p_info = { .has_mslice_steering = 1, \ .has_oa_bpc_reporting = 1, \ .has_oa_slice_contrib_limits = 1, \ + .has_oam = 1, \ .has_rc6 = 1, \ .has_reset_engine = 1, \ .has_rps = 1, \
drivers/gpu/drm/i915/i915_perf.c +162 -22
351 lines not on this page · raw message
drivers/gpu/drm/i915/i915_perf_oa_regs.h +78 -0
82 lines not on this page · raw message
drivers/gpu/drm/i915/i915_perf_types.h +30 -0
@@ -20,6 +20,7 @@#include "gt/intel_engine_types.h" #include "gt/intel_sseu.h" #include "i915_reg_defs.h" +#include "intel_uncore.h" #include "intel_wakeref.h" struct drm_i915_private ;
@@ -33,6 +34,7 @@ struct intel_engine_cs;enum {PERF_GROUP_OAG =0 , +PERF_GROUP_OAM_SAMEDIA_0 =0 ,PERF_GROUP_MAX ,PERF_GROUP_INVALID =U32_MAX ,
@@ -43,9 +45,27 @@ enum report_header { HDR_64_BIT, }; +struct i915_perf_regs { +u32 base; +i915_reg_t oa_head_ptr; +i915_reg_t oa_tail_ptr; +i915_reg_t oa_buffer; +i915_reg_t oa_ctx_ctrl; +i915_reg_t oa_ctrl; +i915_reg_t oa_debug; +i915_reg_t oa_status; +u32 oa_ctrl_counter_format_shift; +}; + +enum oa_type { +TYPE_OAG , +TYPE_OAM , +}; +struct i915_oa_format {u32 format;int size; +int type;enum report_header header; };
@@ -416,6 +436,16 @@ struct i915_perf_group {* @num_engines: The number of engines using this OA unit. */ u32 num_engines; + +/* +* @regs: OA buffer register group for programming the OA unit. +*/ +struct i915_perf_regs regs; + +/* +* @type: Type of OA unit - OAM, OAG etc. +*/ +enum oa_type type; };struct i915_perf_gt {
drivers/gpu/drm/i915/intel_device_info.h +1 -0
@@ -167,6 +167,7 @@ enum intel_ppgtt_type {func (has_mslice_steering); \func (has_oa_bpc_reporting); \func (has_oa_slice_contrib_limits); \ +func (has_oam); \func (has_one_eu_per_fuse_bit); \func (has_pxp); \func (has_rc6); \
include/uapi/drm/i915_drm.h +4 -0
@@ -2676,6 +2676,10 @@ enum drm_i915_oa_format { I915_OAR_FORMAT_A32u40_A4u32_B8_C8, I915_OA_FORMAT_A24u40_A14u32_B8_C8, +/* MTL OAM */ + I915_OAM_FORMAT_MPEC8u64_B8_C8, + I915_OAM_FORMAT_MPEC8u32_B8_C8, + I915_OA_FORMAT_MAX /* non-ABI */ };
Signature · 1 line
2.36.1
Re: [Intel-gfx] [PATCH v7 09/11] drm/i915/perf: Add support for OA media units
Quoted 1 line · Umesh Nerlige Ramappa
Hi Umesh,
Quoted 8 lines
drivers/gpu/drm/i915/i915_perf.c +8
-0+static void oa_init_groups (struct intel_gt *gt) +{ +int i, num_groups = gt->perf.num_perf_groups; + +for (i =0 ; i < num_groups; i++) { +struct i915_perf_group *g = >->perf.group[i]; + +/* Fused off engines can result in a group with num_engines == 0 */
drivers/gpu/drm/i915/i915_perf.c static u32 num_perf_groups_per_gt(struct intel_gt *gt) · line 4976
Quoted 10 lines
drivers/gpu/drm/i915/i915_perf.c +10
-0+if (g->num_engines ==0 ) +continue ; + +if (i ==PERF_GROUP_OAG && gt->type !=GT_MEDIA ) { + g->regs =__oag_regs (); + g->type =TYPE_OAG ; + }else if (GRAPHICS_VER_FULL (gt->i915) >=IP_VER (12 ,70 )) { + g->regs =__oam_regs (mtl_oa_base[i]); + g->type =TYPE_OAM ; + }
This if/else statement, rather the whole business of gt->perf.group array with PERF_GROUP_OAG and PERF_GROUP_OAM_SAMEDIA_0 both having the same value 0 is definitely a little klunky. Not too sure but a idr based approach might have been cleaner (so not allocate an array at all but just kmalloc each i915_perf_group entry independently and associate with an idr). It might also have been good to just drop num_perf_groups for now and use a value 1 (that is get rid of any num_perf_groups loops) and introduce num_perf_groups later when we had a platform with num_perf_groups > 1.
Anyway since I said earlier let's keep it, let's do that and merge this first (there is already too much code here) and revisit afterwards and see if we can improve anything.
Rest looks good now:
PATCH v7 10/11 drm/i915/perf: Pass i915 object to perf revision helper
In reply to Umesh Nerlige RamappaIn some cases, perf revision may rely on specific steppings of a platform. To determine the platform, pass i915 object to the perf revision helper.
--- drivers/gpu/drm/i915/i915_getparam.c | 2 +- drivers/gpu/drm/i915/i915_perf.c | 2 +- drivers/gpu/drm/i915/i915_perf.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/i915_getparam.c +1 -1
@@ -173,7 +173,7 @@ int i915_getparam_ioctl(struct drm_device *dev, void *data, value =INTEL_INFO (i915)->has_coherent_ggtt;break ;case I915_PARAM_PERF_REVISION : - value =i915_perf_ioctl_version (); + value =i915_perf_ioctl_version (i915);break ;case I915_PARAM_OA_TIMESTAMP_FREQUENCY : value =i915_perf_oa_timestamp_frequency (i915);
drivers/gpu/drm/i915/i915_perf.c +1 -1
@@ -5289,7 +5289,7 @@ void i915_perf_fini(struct drm_i915_private *i915)* * This version number is used by userspace to detect available features. */ -int i915_perf_ioctl_version (void ) +int i915_perf_ioctl_version (struct drm_i915_private *i915) {/* * 1: Initial version
drivers/gpu/drm/i915/i915_perf.h +1 -1
@@ -22,7 +22,7 @@ int i915_perf_init(struct drm_i915_private *i915);void i915_perf_fini (struct drm_i915_private *i915);void i915_perf_register (struct drm_i915_private *i915);void i915_perf_unregister (struct drm_i915_private *i915); -int i915_perf_ioctl_version (void ); +int i915_perf_ioctl_version (struct drm_i915_private *i915);int i915_perf_sysctl_register (void );void i915_perf_sysctl_unregister (void );
Signature · 1 line
2.36.1
PATCH v7 11/11 drm/i915/perf: Wa_14017512683: Disable OAM if media C6 is enabled in BIOS
In reply to Umesh Nerlige RamappaOAM does not work with media C6 enabled on some steppings of MTL. Disable OAM if we detect that media C6 was enabled in bios.
v2: (Ashutosh)
- Remove drm_notice from the driver load path
- Log a drm_err when opening an OAM stream on affected steppings
--- drivers/gpu/drm/i915/i915_perf.c | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+)
drivers/gpu/drm/i915/i915_perf.c +41 -0
@@ -209,6 +209,7 @@#include "gt/intel_gt_regs.h" #include "gt/intel_lrc.h" #include "gt/intel_lrc_reg.h" +#include "gt/intel_rc6.h" #include "gt/intel_ring.h" #include "gt/uc/intel_guc_slpc.h"
@@ -4216,6 +4217,20 @@ static int read_properties_unlocked(struct i915_perf *perf,return -EINVAL ; } +/* +* Wa_14017512683: mtl[a0..c0): Use of OAM must be preceded with Media +* C6 disable in BIOS. Fail if Media C6 is enabled on steppings where OAM +* does not work as expected. +*/ +if (IS_MTL_MEDIA_STEP (props->engine->i915,STEP_A0 ,STEP_C0 ) && + props->engine->gt->type ==GT_MEDIA && +intel_check_bios_c6_setup (&props->engine->gt->rc6)) { +drm_dbg (&perf->i915->drm, +"OAM requires media C6 to be disabled in BIOS\n" ); +return -EINVAL ; + } + +if (!engine_supports_oa (props->engine)) { drm_dbg(&perf->i915->drm, "Engine not supported by OA %d:%d\n",
@@ -4897,6 +4912,15 @@ static u32 num_perf_groups_per_gt(struct intel_gt *gt)static u32 __oam_engine_group (struct intel_engine_cs *engine) { +/* +* Wa_14017512683: mtl[a0..c0): Use of OAM must be preceded with Media +* C6 disable in BIOS. To disable use of OAM with media engines, set the +* oa_group to PERF_GROUP_INVALID. +*/ +if (IS_MTL_MEDIA_STEP (engine->i915,STEP_A0 ,STEP_C0 ) && +intel_check_bios_c6_setup (&engine->gt->rc6)) +return PERF_GROUP_INVALID ; +if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,70 )) {/* * There's 1 SAMEDIA gt and 1 OAM per SAMEDIA gt. All media slices
@@ -5316,6 +5340,23 @@ int i915_perf_ioctl_version(struct drm_i915_private *i915)* * 7: Add support for video decode and enhancement classes. */ + +/* +* Wa_14017512683: mtl[a0..c0): Use of OAM must be preceded with Media +* C6 disable in BIOS. If Media C6 is enabled in BIOS, return version 6 +* to indicate that OA media is not supported. +*/ +if (IS_MTL_MEDIA_STEP (i915,STEP_A0 ,STEP_C0 )) { +struct intel_gt *gt; +int i; + +for_each_gt (gt, i915, i) { +if (gt->type ==GT_MEDIA && +intel_check_bios_c6_setup (>->rc6)) +return 6 ; + } + } +return 7 ; }
Signature · 1 line
2.36.1
Re: [Intel-gfx] [PATCH v7 11/11] drm/i915/perf: Wa_14017512683: Disable OAM if media C6 is enabled in BIOS
Quoted 1 line · Umesh Nerlige Ramappa
Hi Umesh,
Please read from bottom to top. Mostly nits but let's see what you think.
Quoted 25 lines
OAM does not work with media C6 enabled on some steppings of MTL. Disable OAM if we detect that media C6 was enabled in bios.
v2: (Ashutosh)
- Removedrm_noticefrom the driver load path
- Log adrm_errwhen opening an OAM stream on affected steppingsSigned-off-by Umesh Nerlige Ramappa <[email protected]>--- drivers/gpu/drm/i915/i915_perf.c | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+)drivers/gpu/drm/i915/i915_perf.c +1
-0@@ -209,6 +209,7 @@#include "gt/intel_gt_regs.h" #include "gt/intel_lrc.h" #include "gt/intel_lrc_reg.h" +#include "gt/intel_rc6.h" #include "gt/intel_ring.h" #include "gt/uc/intel_guc_slpc.h"
drivers/gpu/drm/i915/i915_perf.c static int read_properties_unlocked(struct i915_perf *perf, · line 4226
Quoted 10 lines
drivers/gpu/drm/i915/i915_perf.c +7
-0@@ -4216,6 +4217,20 @@ static int read_properties_unlocked(struct i915_perf *perf,return -EINVAL ; } +/* +* Wa_14017512683: mtl[a0..c0): Use of OAM must be preceded with Media +* C6 disable in BIOS. Fail if Media C6 is enabled on steppings where OAM +* does not work as expected. +*/ + if (IS_MTL_MEDIA_STEP(props->engine->i915, STEP_A0, STEP_C0) && + props->engine->gt->type == GT_MEDIA &&
Instead of gt type I think it's better to check perf_group->type. That is why as I said below maybe better to have a valid perf_group even in this case.
drivers/gpu/drm/i915/i915_perf.c static int read_properties_unlocked(struct i915_perf *perf, · line 4231
Quoted 5 lines
drivers/gpu/drm/i915/i915_perf.c +5
-0+ intel_check_bios_c6_setup(&props->engine->gt->rc6)) { +drm_dbg (&perf->i915->drm, +"OAM requires media C6 to be disabled in BIOS\n" ); +return -EINVAL ; + }
So now we can change this check to something like:
if (engine->perf_group->type == OAM && i915_perf->mtl_bios_mc6_enabled)
Quoted 7 lines
drivers/gpu/drm/i915/i915_perf.c +2
-0+ +if (!engine_supports_oa (props->engine)) { drm_dbg(&perf->i915->drm, "Engine not supported by OA %d:%d\n",@@ -4897,6 +4912,15 @@ static u32 num_perf_groups_per_gt(struct intel_gt *gt)
drivers/gpu/drm/i915/i915_perf.c static u32 num_perf_groups_per_gt(struct intel_gt *gt) · line 4922
Quoted 10 lines
drivers/gpu/drm/i915/i915_perf.c +8
-0static u32 __oam_engine_group (struct intel_engine_cs *engine) { +/* +* Wa_14017512683: mtl[a0..c0): Use of OAM must be preceded with Media +* C6 disable in BIOS. To disable use of OAM with media engines, set the +* oa_group to PERF_GROUP_INVALID. +*/ +if (IS_MTL_MEDIA_STEP (engine->i915,STEP_A0 ,STEP_C0 ) && +intel_check_bios_c6_setup (&engine->gt->rc6)) +return PERF_GROUP_INVALID ;
I think we should just remove this. Let the perf group be valid in this case too since we cannot support OA for a different reason. Then we can use the OAM perf group above.
Though if we drop this we have only 2 instances of the checks instead of 3 so maybe ok to not have i915_perf->mtl_bios_mc6_enabled?
Quoted 11 lines
drivers/gpu/drm/i915/i915_perf.c +4
-0+if (GRAPHICS_VER_FULL (engine->i915) >=IP_VER (12 ,70 )) {/* * There's 1 SAMEDIA gt and 1 OAM per SAMEDIA gt. All media slices @@ -5316,6 +5340,23 @@ int i915_perf_ioctl_version(struct drm_i915_private *i915)* * 7: Add support for video decode and enhancement classes. */ + +/* +* Wa_14017512683: mtl[a0..c0): Use of OAM must be preceded with Media
drivers/gpu/drm/i915/i915_perf.c int i915_perf_ioctl_version(struct drm_i915_private *i915) · line 5355
Quoted 10 lines
drivers/gpu/drm/i915/i915_perf.c +10
-0+* C6 disable in BIOS. If Media C6 is enabled in BIOS, return version 6 +* to indicate that OA media is not supported. +*/ +if (IS_MTL_MEDIA_STEP (i915,STEP_A0 ,STEP_C0 )) { +struct intel_gt *gt; +int i; + +for_each_gt (gt, i915, i) { +if (gt->type ==GT_MEDIA && +intel_check_bios_c6_setup (>->rc6))
Rather than repeat this comment and these checks (MTL stepping and intel_check_bios_c6_setup) 3 times, I think it will be simpler to set a variable (say i915_perf->mtl_bios_mc6_enabled) in i915_perf_init() and reuse that in the 3 places.
drivers/gpu/drm/i915/i915_perf.c int i915_perf_ioctl_version(struct drm_i915_private *i915) · line 5361
Quoted 6 lines
drivers/gpu/drm/i915/i915_perf.c +4
-0+return 6 ; + } + } +return 7 ; }
Thanks.
--
Ashutosh
Re: [Intel-gfx] [PATCH v7 11/11] drm/i915/perf: Wa_14017512683: Disable OAM if media C6 is enabled in BIOS
Quoted 55 lines · Ashutosh
Quoted 1 line · Umesh Nerlige Ramappa
Hi Umesh,
Please read from bottom to top. Mostly nits but let's see what you think.
Quoted 25 lines
OAM does not work with media C6 enabled on some steppings of MTL. Disable OAM if we detect that media C6 was enabled in bios.
v2: (Ashutosh)
- Removedrm_noticefrom the driver load path
- Log adrm_errwhen opening an OAM stream on affected steppingsSigned-off-by Umesh Nerlige Ramappa <[email protected]>--- drivers/gpu/drm/i915/i915_perf.c | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+)drivers/gpu/drm/i915/i915_perf.c +1
-0@@ -209,6 +209,7 @@#include "gt/intel_gt_regs.h" #include "gt/intel_lrc.h" #include "gt/intel_lrc_reg.h" +#include "gt/intel_rc6.h" #include "gt/intel_ring.h" #include "gt/uc/intel_guc_slpc.h" drivers/gpu/drm/i915/i915_perf.c static int read_properties_unlocked(struct i915_perf *perf, · line 4226
Quoted 10 lines
drivers/gpu/drm/i915/i915_perf.c +7
-0@@ -4216,6 +4217,20 @@ static int read_properties_unlocked(struct i915_perf *perf,return -EINVAL ; } +/* +* Wa_14017512683: mtl[a0..c0): Use of OAM must be preceded with Media +* C6 disable in BIOS. Fail if Media C6 is enabled on steppings where OAM +* does not work as expected. +*/ + if (IS_MTL_MEDIA_STEP(props->engine->i915, STEP_A0, STEP_C0) && + props->engine->gt->type == GT_MEDIA &&Instead of gt type I think it's better to check
perf_group->type. That is why as I said below maybe better to have a validperf_groupeven in this case.drivers/gpu/drm/i915/i915_perf.c static int read_properties_unlocked(struct i915_perf *perf, · line 4231
Quoted 5 lines
drivers/gpu/drm/i915/i915_perf.c +5
-0+ intel_check_bios_c6_setup(&props->engine->gt->rc6)) { +drm_dbg (&perf->i915->drm, +"OAM requires media C6 to be disabled in BIOS\n" ); +return -EINVAL ; + }So now we can change this check to something like:
Quoted 1 line
if (engine->perf_group->type == OAM && i915_perf->mtl_bios_mc6_enabled)
sure, that will work too.
Quoted 8 lines
Quoted 8 lines
drivers/gpu/drm/i915/i915_perf.c +2
-0+ +if (!engine_supports_oa (props->engine)) { drm_dbg(&perf->i915->drm, "Engine not supported by OA %d:%d\n",@@ -4897,6 +4912,15 @@ static u32 num_perf_groups_per_gt(struct intel_gt *gt)
Quoted 14 lines
drivers/gpu/drm/i915/i915_perf.c static u32 num_perf_groups_per_gt(struct intel_gt *gt) · line 4922
Quoted 10 lines
drivers/gpu/drm/i915/i915_perf.c +8
-0static u32 __oam_engine_group (struct intel_engine_cs *engine) { +/* +* Wa_14017512683: mtl[a0..c0): Use of OAM must be preceded with Media +* C6 disable in BIOS. To disable use of OAM with media engines, set the +* oa_group to PERF_GROUP_INVALID. +*/ +if (IS_MTL_MEDIA_STEP (engine->i915,STEP_A0 ,STEP_C0 ) && +intel_check_bios_c6_setup (&engine->gt->rc6)) +return PERF_GROUP_INVALID ;I think we should just remove this. Let the perf group be valid in this case too since we cannot support OA for a different reason. Then we can use the OAM perf group above.
Sure, I will drop this
Quoted 3 lines
Though if we drop this we have only 2 instances of the checks instead of 3 so maybe ok to not have
i915_perf->mtl_bios_mc6_enabled?
yes, since it's only 2 places, I would prefer to leave it as is.
Thanks,
Umesh
Re: [Intel-gfx] [PATCH v7 11/11] drm/i915/perf: Wa_14017512683: Disable OAM if media C6 is enabled in BIOS
Quoted 57 lines · Umesh Nerlige Ramappa
Quoted 55 lines · Ashutosh
Quoted 1 line · Umesh Nerlige Ramappa
Hi Umesh,
Please read from bottom to top. Mostly nits but let's see what you think.
Quoted 25 lines
OAM does not work with media C6 enabled on some steppings of MTL. Disable OAM if we detect that media C6 was enabled in bios.
v2: (Ashutosh)
- Removedrm_noticefrom the driver load path
- Log adrm_errwhen opening an OAM stream on affected steppingsSigned-off-by Umesh Nerlige Ramappa <[email protected]>--- drivers/gpu/drm/i915/i915_perf.c | 41 ++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+)drivers/gpu/drm/i915/i915_perf.c +1
-0@@ -209,6 +209,7 @@#include "gt/intel_gt_regs.h" #include "gt/intel_lrc.h" #include "gt/intel_lrc_reg.h" +#include "gt/intel_rc6.h" #include "gt/intel_ring.h" #include "gt/uc/intel_guc_slpc.h" drivers/gpu/drm/i915/i915_perf.c static int read_properties_unlocked(struct i915_perf *perf, · line 4226
Quoted 10 lines
drivers/gpu/drm/i915/i915_perf.c +7
-0@@ -4216,6 +4217,20 @@ static int read_properties_unlocked(struct i915_perf *perf,return -EINVAL ; } +/* +* Wa_14017512683: mtl[a0..c0): Use of OAM must be preceded with Media +* C6 disable in BIOS. Fail if Media C6 is enabled on steppings where OAM +* does not work as expected. +*/ + if (IS_MTL_MEDIA_STEP(props->engine->i915, STEP_A0, STEP_C0) && + props->engine->gt->type == GT_MEDIA &&Instead of gt type I think it's better to check
perf_group->type. That is why as I said below maybe better to have a validperf_groupeven in this case.drivers/gpu/drm/i915/i915_perf.c static int read_properties_unlocked(struct i915_perf *perf, · line 4231
Quoted 5 lines
drivers/gpu/drm/i915/i915_perf.c +5
-0+ intel_check_bios_c6_setup(&props->engine->gt->rc6)) { +drm_dbg (&perf->i915->drm, +"OAM requires media C6 to be disabled in BIOS\n" ); +return -EINVAL ; + }So now we can change this check to something like:
Quoted 3 lines
Quoted 1 line
if (engine->perf_group->type == OAM && i915_perf->mtl_bios_mc6_enabled)sure, that will work too.
This will probably also need to be moved after the engine_supports_oa check below.
Quoted 33 lines
Quoted 9 lines
Quoted 9 lines
drivers/gpu/drm/i915/i915_perf.c +2
-0+ +if (!engine_supports_oa (props->engine)) { drm_dbg(&perf->i915->drm, "Engine not supported by OA %d:%d\n",@@ -4897,6 +4912,15 @@ static u32 num_perf_groups_per_gt(struct intel_gt *gt)Quoted 14 lines
drivers/gpu/drm/i915/i915_perf.c static u32 num_perf_groups_per_gt(struct intel_gt *gt) · line 4922
Quoted 10 lines
drivers/gpu/drm/i915/i915_perf.c +8
-0static u32 __oam_engine_group (struct intel_engine_cs *engine) { +/* +* Wa_14017512683: mtl[a0..c0): Use of OAM must be preceded with Media +* C6 disable in BIOS. To disable use of OAM with media engines, set the +* oa_group to PERF_GROUP_INVALID. +*/ +if (IS_MTL_MEDIA_STEP (engine->i915,STEP_A0 ,STEP_C0 ) && +intel_check_bios_c6_setup (&engine->gt->rc6)) +return PERF_GROUP_INVALID ;I think we should just remove this. Let the perf group be valid in this case too since we cannot support OA for a different reason. Then we can use the OAM perf group above.
Sure, I will drop this
Quoted 3 lines
Though if we drop this we have only 2 instances of the checks instead of 3 so maybe ok to not have
i915_perf->mtl_bios_mc6_enabled?yes, since it's only 2 places, I would prefer to leave it as is.
Thanks,
Umesh
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Add OAM support for MTL
In reply to Umesh Nerlige Ramappa== Series Details ==
== Series Details ==
Series: Add OAM support for MTL
URL : https://patchwork.freedesktop.org/series/115330/
State : warning
== Summary ==
Error: dim checkpatch failed93434691b915 drm/i915/perf: Drop wakeref on GuC RC errorc40cc05504d3 drm/i915/mtl: Synchronize i915/BIOS on C6 enabling d194cc9f3edc drm/i915/perf: Validate OA sseu config outside switch b3b5fcc2d234 drm/i915/perf: Group engines into respective OA groups 5836e0c6edcc drm/i915/perf: Fail modprobe if i915_perf_init fails on OOM 153f0bca1480 drm/i915/perf: Parse 64bit report header formats correctly cc070b2eb1bf drm/i915/perf: Handle non-power-of-2 reports79ae4cbb7ada drm/i915/perf: Add engine class instance parameters to perf 2f9c6b4a38c6 drm/i915/perf: Add support for OA media unitsec0848be5f4e drm/i915/perf: Pass i915 object to perf revision helper 08e4b2ac590f drm/i915/perf: Wa_14017512683: Disable OAM if media C6 is enabled in BIOS -:45: CHECK:LINE_SPACING: Please don't use multiple blank lines
#45: FILE: drivers/gpu/drm/i915/i915_perf.c:4233:
+
+
total: 0 errors, 0 warnings, 1 checks, 65 lines checked
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Add OAM support for MTL
In reply to Umesh Nerlige Ramappa== Series Details ==
== Series Details ==
Series: Add OAM support for MTL
URL : https://patchwork.freedesktop.org/series/115330/
State : warning
== Summary ==
Error: git fetch origin failed
Patchwork
CI[Intel-gfx] ✗ Fi.CI.DOCS: warning for Add OAM support for MTL
In reply to Umesh Nerlige Ramappa== Series Details ==
== Series Details ==
Series: Add OAM support for MTL
URL : https://patchwork.freedesktop.org/series/115330/
State : warning
== Summary ==
Error: git fetch origin failed
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for Add OAM support for MTL
In reply to Umesh Nerlige Ramappa== Series Details ==
== Series Details ==
Series: Add OAM support for MTL
URL : https://patchwork.freedesktop.org/series/115330/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12878 -> Patchwork_115330v1
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/index.html
Participating hosts (34 -> 35)
------------------------------
Additional (1): fi-kbl-soraka
Known issues
------------
Here are the changes found in Patchwork_115330v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s3@smem:
- bat-rpls-1: [PASS][1] -> [ABORT][2] ([i915#6687] / [i915#7978])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/bat-rpls-1/igt@gem_exec_suspend@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/bat-rpls-1/igt@gem_exec_suspend@[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-kbl-soraka: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/fi-kbl-soraka/igt@[email protected]
* igt@gem_lmem_swapping@basic:
- fi-kbl-soraka: NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#4613]) +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/fi-kbl-soraka/igt@[email protected]
* igt@i915_selftest@live@gem_contexts:
- fi-kbl-soraka: NOTRUN -> [INCOMPLETE][5] ([i915#7913])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/fi-kbl-soraka/igt@i915_selftest@live@gem_contexts.html
* igt@i915_selftest@live@gt_pm:
- fi-kbl-soraka: NOTRUN -> [DMESG-FAIL][6] ([i915#1886])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html
* igt@kms_chamelium_frames@hdmi-crc-fast:
- fi-kbl-soraka: NOTRUN -> [SKIP][7] ([fdo#109271]) +16 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/fi-kbl-soraka/igt@[email protected]
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- fi-elk-e7500: NOTRUN -> [SKIP][8] ([fdo#109271])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/fi-elk-e7500/igt@[email protected]
- fi-bsw-n3050: NOTRUN -> [SKIP][9] ([fdo#109271])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/fi-bsw-n3050/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence:
- bat-dg2-11: NOTRUN -> [SKIP][10] ([i915#5354]) +2 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/bat-dg2-11/igt@[email protected]
#### Possible fixes ####
* igt@dmabuf@all-tests@dma_fence:
- fi-elk-e7500: [DMESG-FAIL][11] -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/fi-elk-e7500/igt@dmabuf@all-tests@dma_fence.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/fi-elk-e7500/igt@dmabuf@all-tests@dma_fence.html
* igt@dmabuf@all-tests@sanitycheck:
- fi-elk-e7500: [ABORT][13] -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/fi-elk-e7500/igt@dmabuf@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/fi-elk-e7500/igt@dmabuf@[email protected]
* igt@i915_selftest@live@execlists:
- fi-bsw-n3050: [ABORT][15] ([i915#7911] / [i915#7913]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/fi-bsw-n3050/igt@i915_selftest@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/fi-bsw-n3050/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@hangcheck:
- fi-skl-guc: [DMESG-WARN][17] ([i915#8073]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/fi-skl-guc/igt@i915_selftest@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/fi-skl-guc/igt@i915_selftest@[email protected]
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#1886]: https://gitlab.freedesktop.org/drm/intel/issues/1886
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#7911]: https://gitlab.freedesktop.org/drm/intel/issues/7911
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978
[i915#8073]: https://gitlab.freedesktop.org/drm/intel/issues/8073
Build changes
-------------
* IGT: IGT_7204 -> IGTPW_8628
* Linux: CI_DRM_12878 -> Patchwork_115330v1
CI-20190529: 20190529
CI_DRM_12878: 80a77071b23a1ef75b5446cd397dd9048580ec8d @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8628: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8628/index.html
IGT_7204: 0dc71800a0dd867e1fa32ee01c2dbf42b46ec3e2 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_115330v1: 80a77071b23a1ef75b5446cd397dd9048580ec8d @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
23b8f9d970d5 drm/i915/perf: Wa_14017512683: Disable OAM if media C6 is enabled in BIOS 2bfb9c0fb71c drm/i915/perf: Pass i915 object to perf revision helper 3f3adc9a00aa drm/i915/perf: Add support for OA media units10e404869173 drm/i915/perf: Add engine class instance parameters to perf b6919b6c5458 drm/i915/perf: Handle non-power-of-2 reports9a97974c214b drm/i915/perf: Parse 64bit report header formats correctly 057cc9aa3a9d drm/i915/perf: Fail modprobe if i915_perf_init fails on OOM 37fd63424740 drm/i915/perf: Group engines into respective OA groups ac7c9bb05c23 drm/i915/perf: Validate OA sseu config outside switch b4a81d511493 drm/i915/mtl: Synchronize i915/BIOS on C6 enabling d03b6519590a drm/i915/perf: Drop wakeref on GuC RC error
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/index.html
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for Add OAM support for MTL
In reply to Umesh Nerlige Ramappa== Series Details ==
== Series Details ==
Series: Add OAM support for MTL
URL : https://patchwork.freedesktop.org/series/115330/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12878_full -> Patchwork_115330v1_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (7 -> 8)
------------------------------
Additional (1): shard-rkl0
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_115330v1_full:
### IGT changes ###
#### Possible regressions ####
* {igt@perf@gen12-group-exclusive-stream-ctx-handle} (NEW):
- shard-apl: NOTRUN -> [FAIL][1] +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-apl7/igt@[email protected]
- shard-glk: NOTRUN -> [FAIL][2] +1 similar issue
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-glk4/igt@[email protected]
* {igt@perf@global-sseu-config-invalid@0-rcs0} (NEW):
- {shard-tglu}: NOTRUN -> [SKIP][3] +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-tglu-9/igt@perf@[email protected]
* {igt@perf@global-sseu-config@0-rcs0} (NEW):
- {shard-rkl}: NOTRUN -> [SKIP][4] +1 similar issue
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-rkl-5/igt@perf@[email protected]
- {shard-dg1}: NOTRUN -> [SKIP][5]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-dg1-15/igt@perf@[email protected]
New tests
---------
New tests have been introduced between CI_DRM_12878_full and Patchwork_115330v1_full:
### New IGT tests (17) ###
* igt@perf@blocking@0-rcs0:
- Statuses : 3 pass(s)
- Exec time: [0.0] s
* igt@perf@buffer-fill@0-rcs0:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
* igt@perf@enable-disable@0-rcs0:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
* igt@perf@gen12-group-concurrent-oa-buffer-read:
- Statuses : 4 pass(s) 1 skip(s)
- Exec time: [0.0] s
* igt@perf@gen12-group-exclusive-stream-ctx-handle:
- Statuses : 2 fail(s) 2 pass(s) 1 skip(s)
- Exec time: [0.0] s
* igt@perf@gen12-group-exclusive-stream-sample-oa:
- Statuses : 2 fail(s) 2 pass(s) 1 skip(s)
- Exec time: [0.0] s
* igt@perf@gen12-invalid-class-instance:
- Statuses : 4 pass(s) 1 skip(s)
- Exec time: [0.0] s
* igt@perf@gen12-mi-rpc@rcs0:
- Statuses : 3 pass(s)
- Exec time: [0.0] s
* igt@perf@gen12-oa-tlb-invalidate@0-rcs0:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@perf@gen12-unprivileged-single-ctx-counters@rcs0:
- Statuses : 2 pass(s)
- Exec time: [0.0] s
* igt@perf@global-sseu-config-invalid@0-rcs0:
- Statuses : 4 skip(s)
- Exec time: [0.0] s
* igt@perf@global-sseu-config@0-rcs0:
- Statuses : 5 skip(s)
- Exec time: [0.0] s
* igt@perf@non-zero-reason@0-rcs0:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
* igt@perf@oa-exponents@0-rcs0:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
* igt@perf@oa-formats@0-rcs0:
- Statuses : 4 pass(s)
- Exec time: [0.0] s
* igt@perf@polling@0-rcs0:
- Statuses : 3 pass(s)
- Exec time: [0.0] s
* igt@perf@stress-open-close@0-rcs0:
- Statuses : 4 pass(s)
- Exec time: [0.0] s
Known issues
------------
Here are the changes found in Patchwork_115330v1_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_fair@basic-deadline:
- shard-glk: [PASS][6] -> [FAIL][7] ([i915#2846])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-glk4/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-glk6/igt@[email protected]
* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-glk: [PASS][8] -> [FAIL][9] ([i915#2842])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-glk6/igt@gem_exec_fair@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-glk7/igt@gem_exec_fair@[email protected]
* igt@gem_lmem_swapping@heavy-random:
- shard-apl: NOTRUN -> [SKIP][10] ([fdo#109271] / [i915#4613])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-apl6/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-glk: [PASS][11] -> [ABORT][12] ([i915#5566])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-glk3/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-glk9/igt@[email protected]
* igt@i915_pm_dc@dc9-dpms:
- shard-apl: [PASS][13] -> [SKIP][14] ([fdo#109271])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-apl7/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-apl3/igt@[email protected]
* igt@kms_ccs@pipe-b-bad-pixel-format-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][15] ([fdo#109271] / [i915#3886]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-apl4/igt@kms_ccs@pipe-b-bad-pixel-format-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: [PASS][16] -> [FAIL][17] ([i915#4767])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-apl2/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-apl4/igt@[email protected]
* igt@kms_flip@flip-vs-suspend@b-dp1:
- shard-apl: [PASS][18] -> [ABORT][19] ([i915#180])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-apl7/igt@kms_flip@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-apl1/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-mmap-cpu:
- shard-apl: NOTRUN -> [SKIP][20] ([fdo#109271]) +71 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-apl3/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-mmap-cpu.html
* igt@kms_plane_alpha_blend@constant-alpha-max@pipe-c-dp-1:
- shard-apl: NOTRUN -> [FAIL][21] ([i915#4573]) +1 similar issue
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-apl3/igt@kms_plane_alpha_blend@[email protected]
* igt@kms_psr2_su@page_flip-p010:
- shard-apl: NOTRUN -> [SKIP][22] ([fdo#109271] / [i915#658])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-apl1/igt@kms_psr2_su@page_flip-p010.html
* {igt@perf@gen12-group-concurrent-oa-buffer-read} (NEW):
- shard-snb: NOTRUN -> [SKIP][23] ([fdo#109271]) +3 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-snb5/igt@[email protected]
* {igt@perf@global-sseu-config-invalid@0-rcs0} (NEW):
- shard-glk: NOTRUN -> [SKIP][24] ([fdo#109271]) +2 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-glk7/igt@perf@[email protected]
#### Possible fixes ####
* igt@fbdev@unaligned-write:
- {shard-rkl}: [SKIP][25] ([i915#2582]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-rkl-3/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-rkl-6/igt@[email protected]
* igt@gem_ctx_exec@basic-nohangcheck:
- {shard-tglu}: [FAIL][27] ([i915#6268]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-tglu-4/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-tglu-2/igt@[email protected]
* igt@gem_eio@reset-stress:
- {shard-dg1}: [FAIL][29] ([i915#5784]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-dg1-18/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-dg1-14/igt@[email protected]
* igt@gem_exec_fair@basic-deadline:
- {shard-rkl}: [FAIL][31] ([i915#2846]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-rkl-6/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-rkl-4/igt@[email protected]
* igt@gem_exec_fair@basic-none-rrul@rcs0:
- shard-glk: [FAIL][33] ([i915#2842]) -> [PASS][34] +2 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-glk1/igt@gem_exec_fair@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-glk7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- {shard-tglu}: [FAIL][35] ([i915#2842]) -> [PASS][36] +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-tglu-10/igt@gem_exec_fair@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-tglu-10/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-apl: [FAIL][37] ([i915#2842]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-apl7/igt@gem_exec_fair@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-apl2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_reloc@basic-cpu-gtt:
- {shard-rkl}: [SKIP][39] ([i915#3281]) -> [PASS][40] +2 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-rkl-6/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-rkl-5/igt@[email protected]
* igt@gem_exec_reloc@basic-scanout@vcs0:
- {shard-tglu}: [SKIP][41] ([i915#3639]) -> [PASS][42] +4 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-tglu-9/igt@gem_exec_reloc@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-tglu-5/igt@gem_exec_reloc@[email protected]
* igt@gem_mmap_offset@close-race:
- {shard-rkl}: [SKIP][43] ([fdo#109315]) -> [PASS][44] +3 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-rkl-5/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-rkl-3/igt@[email protected]
* igt@gem_pread@uncached:
- {shard-rkl}: [SKIP][45] ([i915#3282]) -> [PASS][46] +1 similar issue
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-rkl-2/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-rkl-5/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-apl: [ABORT][47] ([i915#5566]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-apl1/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-apl3/igt@[email protected]
* igt@gen9_exec_parse@unaligned-access:
- {shard-rkl}: [SKIP][49] ([i915#2527]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-rkl-1/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-rkl-5/igt@[email protected]
* igt@i915_pm_dc@dc6-dpms:
- {shard-rkl}: [SKIP][51] ([i915#3361]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-rkl-5/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-rkl-2/igt@[email protected]
* igt@i915_pm_rpm@dpms-mode-unset-lpsp:
- {shard-tglu}: [SKIP][53] ([i915#1397]) -> [PASS][54] +1 similar issue
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-tglu-9/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-tglu-7/igt@[email protected]
* igt@i915_pm_rpm@drm-resources-equal:
- {shard-tglu}: [SKIP][55] ([i915#3547]) -> [PASS][56] +1 similar issue
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-tglu-10/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-tglu-8/igt@[email protected]
* {igt@i915_power@sanity}:
- {shard-rkl}: [SKIP][57] ([i915#7984]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-rkl-2/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-rkl-5/igt@[email protected]
* igt@kms_atomic@plane-immutable-zpos:
- {shard-rkl}: [SKIP][59] ([i915#1845] / [i915#4098]) -> [PASS][60] +13 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-rkl-5/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-rkl-6/igt@[email protected]
- {shard-dg1}: [FAIL][61] -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-dg1-13/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-dg1-17/igt@[email protected]
* igt@kms_ccs@pipe-c-random-ccs-data-y_tiled_gen12_rc_ccs_cc:
- {shard-tglu}: [SKIP][63] ([i915#1845]) -> [PASS][64] +29 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-tglu-10/igt@kms_ccs@pipe-c-random-ccs-data-y_tiled_gen12_rc_ccs_cc.html
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-tglu-1/igt@kms_ccs@pipe-c-random-ccs-data-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-glk: [FAIL][65] ([i915#2346]) -> [PASS][66] +1 similar issue
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-glk7/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-glk7/igt@[email protected]
* igt@kms_fbcon_fbt@psr:
- {shard-rkl}: [SKIP][67] ([fdo#110189] / [i915#3955]) -> [PASS][68]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-rkl-5/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-rkl-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-pwrite:
- {shard-rkl}: [SKIP][69] ([i915#1849] / [i915#4098]) -> [PASS][70] +6 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-rkl-5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-pwrite.html
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-rkl-6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-pwrite.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-onoff:
- {shard-tglu}: [SKIP][71] ([i915#1849]) -> [PASS][72] +14 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-tglu-10/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-tglu-5/igt@[email protected]
* igt@kms_hdmi_inject@inject-audio:
- {shard-rkl}: [SKIP][73] ([i915#433]) -> [PASS][74]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-rkl-3/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-rkl-3/igt@[email protected]
- {shard-tglu}: [SKIP][75] ([i915#433]) -> [PASS][76]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-tglu-9/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-tglu-4/igt@[email protected]
* igt@kms_psr@sprite_blt:
- {shard-rkl}: [SKIP][77] ([i915#1072]) -> [PASS][78]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-rkl-5/igt@kms_psr@sprite_blt.html
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-rkl-6/igt@kms_psr@sprite_blt.html
* igt@kms_universal_plane@universal-plane-pipe-d-functional:
- {shard-tglu}: [SKIP][79] ([fdo#109274]) -> [PASS][80] +2 similar issues
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-tglu-10/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-tglu-3/igt@[email protected]
* igt@kms_vblank@pipe-d-ts-continuation-modeset-rpm:
- {shard-tglu}: [SKIP][81] ([i915#1845] / [i915#7651]) -> [PASS][82] +27 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-tglu-9/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-tglu-3/igt@[email protected]
* igt@prime_vgem@basic-write:
- {shard-rkl}: [SKIP][83] ([fdo#109295] / [i915#3291] / [i915#3708]) -> [PASS][84]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-rkl-6/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-rkl-5/igt@[email protected]
* igt@vgem_basic@dmabuf-export:
- {shard-rkl}: [SKIP][85] ([i915#2575]) -> [PASS][86] +5 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12878/shard-rkl-5/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/shard-rkl-1/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#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307
[fdo#109308]: https://bugs.freedesktop.org/show_bug.cgi?id=109308
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1722]: https://gitlab.freedesktop.org/drm/intel/issues/1722
[i915#1769]: https://gitlab.freedesktop.org/drm/intel/issues/1769
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2433]: https://gitlab.freedesktop.org/drm/intel/issues/2433
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2846]: https://gitlab.freedesktop.org/drm/intel/issues/2846
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3361]: https://gitlab.freedesktop.org/drm/intel/issues/3361
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3528]: https://gitlab.freedesktop.org/drm/intel/issues/3528
[i915#3536]: https://gitlab.freedesktop.org/drm/intel/issues/3536
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3547]: https://gitlab.freedesktop.org/drm/intel/issues/3547
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3639]: https://gitlab.freedesktop.org/drm/intel/issues/3639
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3936]: https://gitlab.freedesktop.org/drm/intel/issues/3936
[i915#3952]: https://gitlab.freedesktop.org/drm/intel/issues/3952
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#404]: https://gitlab.freedesktop.org/drm/intel/issues/404
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433
[i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4573]: https://gitlab.freedesktop.org/drm/intel/issues/4573
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4767]: https://gitlab.freedesktop.org/drm/intel/issues/4767
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4859]: https://gitlab.freedesktop.org/drm/intel/issues/4859
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4958]: https://gitlab.freedesktop.org/drm/intel/issues/4958
[i915#5122]: https://gitlab.freedesktop.org/drm/intel/issues/5122
[i915#5174]: https://gitlab.freedesktop.org/drm/intel/issues/5174
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5431]: https://gitlab.freedesktop.org/drm/intel/issues/5431
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#5608]: https://gitlab.freedesktop.org/drm/intel/issues/5608
[i915#5775]: https://gitlab.freedesktop.org/drm/intel/issues/5775
[i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230
[i915#6247]: https://gitlab.freedesktop.org/drm/intel/issues/6247
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944
[i915#6946]: https://gitlab.freedesktop.org/drm/intel/issues/6946
[i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7128]: https://gitlab.freedesktop.org/drm/intel/issues/7128
[i915#7294]: https://gitlab.freedesktop.org/drm/intel/issues/7294
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7651]: https://gitlab.freedesktop.org/drm/intel/issues/7651
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7949]: https://gitlab.freedesktop.org/drm/intel/issues/7949
[i915#7957]: https://gitlab.freedesktop.org/drm/intel/issues/7957
[i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975
[i915#7984]: https://gitlab.freedesktop.org/drm/intel/issues/7984
[i915#8018]: https://gitlab.freedesktop.org/drm/intel/issues/8018
[i915#8152]: https://gitlab.freedesktop.org/drm/intel/issues/8152
[i915#8154]: https://gitlab.freedesktop.org/drm/intel/issues/8154
[i915#8211]: https://gitlab.freedesktop.org/drm/intel/issues/8211
[i915#8228]: https://gitlab.freedesktop.org/drm/intel/issues/8228
[i915#8234]: https://gitlab.freedesktop.org/drm/intel/issues/8234
[i915#8282]: https://gitlab.freedesktop.org/drm/intel/issues/8282
Build changes
-------------
* IGT: IGT_7204 -> IGTPW_8628
* Linux: CI_DRM_12878 -> Patchwork_115330v1
CI-20190529: 20190529
CI_DRM_12878: 80a77071b23a1ef75b5446cd397dd9048580ec8d @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8628: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8628/index.html
IGT_7204: 0dc71800a0dd867e1fa32ee01c2dbf42b46ec3e2 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_115330v1: 80a77071b23a1ef75b5446cd397dd9048580ec8d @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115330v1/index.html