i915: freq caps and perf_limit_reasons changes for MTL
Subsystems (2)
cover i915: freq caps and perf_limit_reasons changes for MTL
This series includes freq caps and perf_limit_reasons changes for MTL. The series depends on:
https://patchwork.freedesktop.org/series/107908/
We have included 4 patches from from the above series as part of this series in order for this series to compile. These are the first 4 patches authored by Matt Roper. Please do not review these first 4 patches. Only patches 5 through 8 need review.
Ashutosh Dixit (3):
drm/i915/gt: Fix perf limit reasons bit positions drm/i915/mtl: PERF_LIMIT_REASONS changes for MTL drm/i915/rps: Freq caps for MTL
Matt Roper (4):
drm/i915: Prepare more multi-GT initialization drm/i915: Rename and expose common GT early init routine drm/i915/uncore: Add GSI offset to uncore drm/i915/xelpmp: Expose media as another GT
Tilak Tangudu (1):
drm/i915/debugfs: Add perf_limit_reasons in debugfs
drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt.c | 77 ++++++++++++++++++- drivers/gpu/drm/i915/gt/intel_gt.h | 3 +- drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c | 31 ++++++++ drivers/gpu/drm/i915/gt/intel_gt_regs.h | 8 ++ drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 6 +- drivers/gpu/drm/i915/gt/intel_gt_types.h | 17 ++++ drivers/gpu/drm/i915/gt/intel_rps.c | 46 ++++++++--- drivers/gpu/drm/i915/gt/intel_sa_media.c | 39 ++++++++++ drivers/gpu/drm/i915/gt/intel_sa_media.h | 15 ++++ drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_pci.c | 14 ++++ drivers/gpu/drm/i915/i915_reg.h | 27 +++++-- drivers/gpu/drm/i915/intel_device_info.h | 3 + drivers/gpu/drm/i915/intel_uncore.c | 10 ++- drivers/gpu/drm/i915/intel_uncore.h | 22 +++++- .../gpu/drm/i915/selftests/mock_gem_device.c | 1 + 18 files changed, 294 insertions(+), 30 deletions(-) create mode 100644 drivers/gpu/drm/i915/gt/intel_sa_media.c create mode 100644 drivers/gpu/drm/i915/gt/intel_sa_media.h
Signature · 1 line
2.34.1
PATCH 1/8 drm/i915: Prepare more multi-GT initialization
From: Matt Roper <[email protected]>
DO NOT REVIEW, FOR COMPILING ONLY
We're going to introduce an additional intel_gt for MTL's media unit soon. Let's provide a bit more multi-GT initialization framework in preparation for that. The initialization will pull the list of GTs for a platform from the device info structure. Although necessary for the immediate MTL media enabling, this same framework will also be used farther down the road when we enable remote tiles on xehpsdv and pvc.
v2:
- Re-add missing test for !HAS_EXTRA_GT_LIST in intel_gt_probe_all().
v3:
- Move intel_gt_definition struct to intel_gt_types.h. (Jani)
- Drop gtdef->setup(). For now we'll just use a switch() based on GT type since we don't have too many different handlers for the forseeable future. (Jani)
--- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt.c | 59 ++++++++++++++++++- drivers/gpu/drm/i915/gt/intel_gt.h | 1 - drivers/gpu/drm/i915/gt/intel_gt_types.h | 15 +++++ drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/intel_device_info.h | 3 + .../gpu/drm/i915/selftests/mock_gem_device.c | 1 + 7 files changed, 80 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/gt/intel_engine_cs.c +1 -1
@@ -736,7 +736,7 @@ static intel_engine_mask_t init_engine_mask(struct intel_gt *gt)u16 vdbox_mask;u16 vebox_mask; - info->engine_mask =RUNTIME_INFO (i915)->platform_engine_mask; +GEM_BUG_ON (!info->engine_mask);if (GRAPHICS_VER (i915) <11 )return info->engine_mask;
drivers/gpu/drm/i915/gt/intel_gt.c +58 -1
80 lines not on this page · raw message
drivers/gpu/drm/i915/gt/intel_gt.h +0 -1
@@ -54,7 +54,6 @@ void intel_gt_driver_register(struct intel_gt *gt);void intel_gt_driver_unregister (struct intel_gt *gt);void intel_gt_driver_remove (struct intel_gt *gt);void intel_gt_driver_release (struct intel_gt *gt); -void intel_gt_driver_late_release_all (struct drm_i915_private *i915);int intel_gt_wait_for_idle (struct intel_gt *gt,long timeout);
drivers/gpu/drm/i915/gt/intel_gt_types.h +15 -0
@@ -81,8 +81,16 @@ struct gt_defaults {u32 max_freq; }; +enum intel_gt_type { +GT_PRIMARY , +GT_TILE , +}; +struct intel_gt {struct drm_i915_private *i915; +const char *name; +enum intel_gt_type type; +struct intel_uncore *uncore;struct i915_ggtt *ggtt;
@@ -262,6 +270,13 @@ struct intel_gt {struct kobject *sysfs_defaults; }; +struct intel_gt_definition { +enum intel_gt_type type; +char *name; +u32 mapping_base; +intel_engine_mask_t engine_mask; +}; +enum intel_gt_scratch_field {/* 8 bytes */ INTEL_GT_SCRATCH_FIELD_DEFAULT =0 ,
drivers/gpu/drm/i915/i915_drv.h +2 -0
@@ -918,6 +918,8 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,#define HAS_REGION (i915, i) (RUNTIME_INFO(i915)->memory_regions & (i))#define HAS_LMEM (i915) HAS_REGION(i915, REGION_LMEM) +#define HAS_EXTRA_GT_LIST (dev_priv) (INTEL_INFO(dev_priv)->extra_gt_list) +/* * Platform has the dedicated compression control state for each lmem surfaces * stored in lmem to support the 3D and media compression formats.
drivers/gpu/drm/i915/intel_device_info.h +3 -0
@@ -37,6 +37,7 @@struct drm_printer ;struct drm_i915_private ; +struct intel_gt_definition ;/* Keep in gen based order, and chronological order within a gen */ enum intel_platform {
@@ -252,6 +253,8 @@ struct intel_device_info {unsigned int dma_mask_size;/* available DMA address bits */ +const struct intel_gt_definition *extra_gt_list; +u8 gt;/* GT number, 0 if undefined */ #define DEFINE_FLAG (name) u8 name:1
drivers/gpu/drm/i915/selftests/mock_gem_device.c +1 -0
@@ -115,6 +115,7 @@ static struct dev_pm_domain pm_domain = {static void mock_gt_probe (struct drm_i915_private *i915) { i915->gt[0 ] = &i915->gt0; + i915->gt[0 ]->name ="Mock GT" ; }struct drm_i915_private *mock_gem_device (void )
Signature · 1 line
2.34.1
PATCH 4/8 drm/i915/xelpmp: Expose media as another GT
In reply to Ashutosh DixitFrom: Matt Roper <[email protected]>
DO NOT REVIEW, FOR COMPILING ONLY
Xe_LPM+ platforms have "standalone media." I.e., the media unit is designed as an additional GT with its own engine list, GuC, forcewake, etc. Let's allow platforms to include media GTs in their device info.
v2:
- Simplify GSI register handling and split it out to a separate patch for ease of review. (Daniele)
--- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_gt.c | 6 ++++ drivers/gpu/drm/i915/gt/intel_gt_regs.h | 8 +++++ drivers/gpu/drm/i915/gt/intel_gt_types.h | 1 + drivers/gpu/drm/i915/gt/intel_sa_media.c | 39 ++++++++++++++++++++++++ drivers/gpu/drm/i915/gt/intel_sa_media.h | 15 +++++++++ drivers/gpu/drm/i915/i915_pci.c | 14 +++++++++ 7 files changed, 84 insertions(+) create mode 100644 drivers/gpu/drm/i915/gt/intel_sa_media.c create mode 100644 drivers/gpu/drm/i915/gt/intel_sa_media.h
drivers/gpu/drm/i915/Makefile +1 -0
@@ -123,6 +123,7 @@ gt-y += \ gt/intel_ring.o \ gt/intel_ring_submission.o \ gt/intel_rps.o \ + gt/intel_sa_media.o \ gt/intel_sseu.o \ gt/intel_sseu_debugfs.o \ gt/intel_timeline.o \
drivers/gpu/drm/i915/gt/intel_gt.c +6 -0
@@ -31,6 +31,7 @@#include "intel_rc6.h" #include "intel_renderstate.h" #include "intel_rps.h" +#include "intel_sa_media.h" #include "intel_gt_sysfs.h" #include "intel_uncore.h" #include "shmem_utils.h"
@@ -884,6 +885,11 @@ int intel_gt_probe_all(struct drm_i915_private *i915) ret =intel_gt_tile_setup (gt, phys_addr + gtdef->mapping_base);break ; +case GT_MEDIA : + ret =intel_sa_mediagt_setup (gt, phys_addr + gtdef->mapping_base, + gtdef->gsi_offset); +break ; +case GT_PRIMARY :/* Primary GT should not appear in extra GT list */ default :
drivers/gpu/drm/i915/gt/intel_gt_regs.h +8 -0
@@ -1578,4 +1578,12 @@#define GEN12_SFC_DONE (n) _MMIO(0x1cc000 + (n) * 0x1000) +/* +* Standalone Media's non-engine GT registers are located at their regular GT +* offsets plus 0x380000. This extra offset is stored inside the intel_uncore +* structure so that the existing code can be used for both GTs without +* modification. +*/ +#define MTL_MEDIA_GSI_BASE 0x380000 +#endif /* __INTEL_GT_REGS__ */
drivers/gpu/drm/i915/gt/intel_gt_types.h +1 -0
@@ -84,6 +84,7 @@ struct gt_defaults {enum intel_gt_type {GT_PRIMARY ,GT_TILE , +GT_MEDIA , };struct intel_gt {
drivers/gpu/drm/i915/gt/intel_sa_media.c new file +39 -0
@@ -0,0 +1,39 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright © 2021 Intel Corporation +*/ + +#include <drm/drm_managed.h> + +#include "i915_drv.h" +#include "gt/intel_gt.h" +#include "gt/intel_sa_media.h" + +int intel_sa_mediagt_setup (struct intel_gt *gt,phys_addr_t phys_addr, +u32 gsi_offset) +{ +struct drm_i915_private *i915 = gt->i915; +struct intel_uncore *uncore; + + uncore =drmm_kzalloc (&i915->drm,sizeof (*uncore),GFP_KERNEL ); +if (!uncore) +return -ENOMEM ; + + uncore->gsi_offset = gsi_offset; + +intel_gt_common_init_early (gt); +intel_uncore_init_early (uncore, gt); + +/* +* Standalone media shares the general MMIO space with the primary +* GT. We'll re-use the primary GT's mapping. +*/ + uncore->regs = i915->uncore.regs; +if (drm_WARN_ON (&i915->drm, uncore->regs ==NULL )) +return -EIO ; + + gt->uncore = uncore; + gt->phys_addr = phys_addr; + +return 0 ; +}
drivers/gpu/drm/i915/gt/intel_sa_media.h new file +15 -0
@@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2021 Intel Corporation +*/ +#ifndef __INTEL_SA_MEDIA__ +#define __INTEL_SA_MEDIA__ + +#include <linux/types.h> + +struct intel_gt ; + +int intel_sa_mediagt_setup (struct intel_gt *gt,phys_addr_t phys_addr, +u32 gsi_offset); + +#endif /* __INTEL_SA_MEDIA_H__ */
drivers/gpu/drm/i915/i915_pci.c +14 -0
@@ -26,6 +26,9 @@#include <drm/drm_drv.h> #include <drm/i915_pciids.h> +#include "gt/intel_gt_regs.h" +#include "gt/intel_sa_media.h" +#include "i915_driver.h" #include "i915_drv.h" #include "i915_pci.h"
@@ -1115,6 +1118,16 @@ static const struct intel_device_info pvc_info = { .display.has_cdclk_crawl = 1, \ .__runtime.fbc_mask = BIT(INTEL_FBC_A) | BIT(INTEL_FBC_B) +static const struct intel_gt_definition xelpmp_extra_gt[] = { + { + .type =GT_MEDIA , + .name ="Standalone Media GT" , + .gsi_offset =MTL_MEDIA_GSI_BASE , + .engine_mask =BIT (VECS0 ) |BIT (VCS0 ) |BIT (VCS2 ), + }, + {} +}; +__maybe_unused static const struct intel_device_info mtl_info = {XE_HP_FEATURES ,
@@ -1128,6 +1141,7 @@ static const struct intel_device_info mtl_info = { .media.ver = 13,PLATFORM (INTEL_METEORLAKE ), .display.has_modular_fia = 1, + .extra_gt_list = xelpmp_extra_gt, .has_flat_ccs = 0, .has_snoop = 1, .__runtime.memory_regions = REGION_SMEM | REGION_STOLEN_LMEM,
Signature · 1 line
2.34.1
PATCH 2/8 drm/i915: Rename and expose common GT early init routine
In reply to Ashutosh DixitFrom: Matt Roper <[email protected]>
DO NOT REVIEW, FOR COMPILING ONLY
The common early GT init is needed for initialization of all GT types (root/primary, remote tile, standalone media). Since standalone media (coming in a future patch) will be implemented in a separate file, rename and expose the function for use.
--- drivers/gpu/drm/i915/gt/intel_gt.c | 6 +++--- drivers/gpu/drm/i915/gt/intel_gt.h | 1 + 2 files changed, 4 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/gt/intel_gt.c +3 -3
@@ -35,7 +35,7 @@#include "intel_uncore.h" #include "shmem_utils.h" -static void __intel_gt_init_early (struct intel_gt *gt) +void intel_gt_common_init_early (struct intel_gt *gt) {spin_lock_init (>->irq_lock);
@@ -65,7 +65,7 @@ void intel_root_gt_init_early(struct drm_i915_private *i915) gt->i915 = i915; gt->uncore = &i915->uncore; -__intel_gt_init_early (gt); +intel_gt_common_init_early (gt); }static int intel_gt_probe_lmem (struct intel_gt *gt)
@@ -797,7 +797,7 @@ static int intel_gt_tile_setup(struct intel_gt *gt, phys_addr_t phys_addr) gt->uncore = uncore; gt->uncore->debug = mmio_debug; -__intel_gt_init_early (gt); +intel_gt_common_init_early (gt); }intel_uncore_init_early (gt->uncore, gt);
drivers/gpu/drm/i915/gt/intel_gt.h +1 -0
@@ -44,6 +44,7 @@ static inline struct intel_gt *gsc_to_gt(struct intel_gsc *gsc) return container_of(gsc, struct intel_gt, gsc); } +void intel_gt_common_init_early (struct intel_gt *gt);void intel_root_gt_init_early (struct drm_i915_private *i915);int intel_gt_assign_ggtt (struct intel_gt *gt);int intel_gt_init_mmio (struct intel_gt *gt);
Signature · 1 line
2.34.1
PATCH 3/8 drm/i915/uncore: Add GSI offset to uncore
In reply to Ashutosh DixitFrom: Matt Roper <[email protected]>
DO NOT REVIEW, FOR COMPILING ONLY
GT non-engine registers (referred to as "GSI" registers by the spec) have the same relative offsets on standalone media as they do on the primary GT, just with an additional "GSI offset" added to their MMIO address. If we store this GSI offset in the standalone media's intel_uncore structure, it can be automatically applied to all GSI reg reads/writes that happen on that GT, allowing us to re-use our existing GT code with minimal changes.
Forcewake and shadowed register tables for the media GT (which will be added in a future patch) are listed as final addresses that already include the GSI offset, so we also need to add the GSI offset before doing lookups of registers in one of those tables.
--- drivers/gpu/drm/i915/gt/intel_gt_types.h | 1 + drivers/gpu/drm/i915/intel_uncore.c | 10 ++++++++-- drivers/gpu/drm/i915/intel_uncore.h | 22 ++++++++++++++++++++-- 3 files changed, 29 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/gt/intel_gt_types.h +1 -0
@@ -274,6 +274,7 @@ struct intel_gt_definition {enum intel_gt_type type;char *name;u32 mapping_base; +u32 gsi_offset;intel_engine_mask_t engine_mask; };
drivers/gpu/drm/i915/intel_uncore.c +8 -2
@@ -918,6 +918,9 @@ find_fw_domain(struct intel_uncore *uncore, u32 offset) {const struct intel_forcewake_range *entry; +if (IS_GSI_REG (offset)) + offset += uncore->gsi_offset; + entry = BSEARCH(offset, uncore->fw_domains_table, uncore->fw_domains_table_entries,
@@ -1133,6 +1136,9 @@ static bool is_shadowed(struct intel_uncore *uncore, u32 offset)if (drm_WARN_ON (&uncore->i915->drm, !uncore->shadowed_reg_table))return false; +if (IS_GSI_REG (offset)) + offset += uncore->gsi_offset; + return BSEARCH(offset, uncore->shadowed_reg_table, uncore->shadowed_reg_table_entries,
@@ -1985,8 +1991,8 @@ static int __fw_domain_init(struct intel_uncore *uncore, d->uncore = uncore; d->wake_count =0 ; - d->reg_set = uncore->regs +i915_mmio_reg_offset (reg_set); - d->reg_ack = uncore->regs +i915_mmio_reg_offset (reg_ack); + d->reg_set = uncore->regs +i915_mmio_reg_offset (reg_set) + uncore->gsi_offset; + d->reg_ack = uncore->regs +i915_mmio_reg_offset (reg_ack) + uncore->gsi_offset; d->id = domain_id;
drivers/gpu/drm/i915/intel_uncore.h +20 -2
@@ -135,6 +135,16 @@ struct intel_uncore {spinlock_t lock;/** lock is also taken in irq contexts. */ +/* +* Do we need to apply an additional offset to reach the beginning +* of the basic non-engine GT registers (referred to as "GSI" on +* newer platforms, or "GT block" on older platforms)? If so, we'll +* track that here and apply it transparently to registers in the +* appropriate range to maintain compatibility with our existing +* register definitions and GT code. +*/ +u32 gsi_offset; +unsigned int flags;#define UNCORE_HAS_FORCEWAKE BIT(0)#define UNCORE_HAS_FPGA_DBG_UNCLAIMED BIT(1)
@@ -294,19 +304,27 @@ intel_wait_for_register_fw(struct intel_uncore *uncore, 2, timeout_ms, NULL); } +#define IS_GSI_REG (reg) ((reg) < 0x40000) +/* register access functions */ #define __raw_read (x__, s__) \ static inline u##x__ __raw_uncore_read##x__(const struct intel_uncore *uncore, \ i915_reg_t reg) \ { \ - return read##s__(uncore->regs + i915_mmio_reg_offset(reg)); \ + u32 offset = i915_mmio_reg_offset(reg); \ + if (IS_GSI_REG(offset)) \ + offset += uncore->gsi_offset; \ + return read##s__(uncore->regs + offset); \ }#define __raw_write (x__, s__) \ static inline void __raw_uncore_write##x__(const struct intel_uncore *uncore, \ i915_reg_t reg, u##x__ val) \ { \ - write##s__(val, uncore->regs + i915_mmio_reg_offset(reg)); \ + u32 offset = i915_mmio_reg_offset(reg); \ + if (IS_GSI_REG(offset)) \ + offset += uncore->gsi_offset; \ + write##s__(val, uncore->regs + offset); \ } __raw_read(8, b)__raw_read (16 , w)
Signature · 1 line
2.34.1
PATCH 5/8 drm/i915/gt: Fix perf limit reasons bit positions
In reply to Ashutosh DixitPerf limit reasons bit positions were off by one.
--- drivers/gpu/drm/i915/i915_reg.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/i915_reg.h +8 -8
@@ -1794,14 +1794,14 @@#define GT0_PERF_LIMIT_REASONS _MMIO(0x1381a8)#define GT0_PERF_LIMIT_REASONS_MASK 0xde3 -#define PROCHOT_MASK REG_BIT(1) -#define THERMAL_LIMIT_MASK REG_BIT(2) -#define RATL_MASK REG_BIT(6) -#define VR_THERMALERT_MASK REG_BIT(7) -#define VR_TDC_MASK REG_BIT(8) -#define POWER_LIMIT_4_MASK REG_BIT(9) -#define POWER_LIMIT_1_MASK REG_BIT(11) -#define POWER_LIMIT_2_MASK REG_BIT(12) +#define PROCHOT_MASK REG_BIT(0) +#define THERMAL_LIMIT_MASK REG_BIT(1) +#define RATL_MASK REG_BIT(5) +#define VR_THERMALERT_MASK REG_BIT(6) +#define VR_TDC_MASK REG_BIT(7) +#define POWER_LIMIT_4_MASK REG_BIT(8) +#define POWER_LIMIT_1_MASK REG_BIT(10) +#define POWER_LIMIT_2_MASK REG_BIT(11)#define CHV_CLK_CTL1 _MMIO(0x101100)#define VLV_CLK_CTL2 _MMIO(0x101104)
Signature · 1 line
2.34.1
PATCH 6/8 drm/i915/debugfs: Add perf_limit_reasons in debugfs
In reply to Ashutosh DixitFrom: Tilak Tangudu <[email protected]>
Add perf_limit_reasons in debugfs. The upper 16 perf_limit_reasons RW "log" bits are identical to the lower 16 RO "status" bits except that the "log" bits remain set until cleared, thereby ensuring the throttling occurrence is not missed. The clear fop clears the upper 16 "log" bits, the get fop gets all 32 "log" and "status" bits.
v2: Expand commit message and clarify "log" and "status" bits in
comment (Rodrigo)
--- drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c | 31 +++++++++++++++++++ drivers/gpu/drm/i915/i915_reg.h | 1 + 2 files changed, 32 insertions(+)
drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c +31 -0
@@ -655,6 +655,36 @@ static bool rps_eval(void *data)DEFINE_INTEL_GT_DEBUGFS_ATTRIBUTE (rps_boost); +static int perf_limit_reasons_get (void *data,u64 *val) +{ +struct intel_gt *gt = data; +intel_wakeref_t wakeref; + +with_intel_runtime_pm (gt->uncore->rpm, wakeref) + *val =intel_uncore_read (gt->uncore,GT0_PERF_LIMIT_REASONS ); + +return 0 ; +} + +static int perf_limit_reasons_clear (void *data,u64 val) +{ +struct intel_gt *gt = data; +intel_wakeref_t wakeref; + +/* +* Clear the upper 16 "log" bits, the lower 16 "status" bits are +* read-only. The upper 16 "log" bits are identical to the lower 16 +* "status" bits except that the "log" bits remain set until cleared. +*/ + with_intel_runtime_pm(gt->uncore->rpm, wakeref) +intel_uncore_rmw (gt->uncore,GT0_PERF_LIMIT_REASONS , +GT0_PERF_LIMIT_REASONS_LOG_MASK ,0 ); + +return 0 ; +} +DEFINE_SIMPLE_ATTRIBUTE (perf_limit_reasons_fops, perf_limit_reasons_get, + perf_limit_reasons_clear,"%llu\n" ); +void intel_gt_pm_debugfs_register (struct intel_gt *gt,struct dentry *root) {static const struct intel_gt_debugfs_file files[] = {
@@ -664,6 +694,7 @@ void intel_gt_pm_debugfs_register(struct intel_gt *gt, struct dentry *root) { "forcewake_user", &forcewake_user_fops, NULL}, { "llc", &llc_fops, llc_eval }, { "rps_boost", &rps_boost_fops, rps_eval }, + { "perf_limit_reasons", &perf_limit_reasons_fops, NULL }, };intel_gt_debugfs_register_files (root, files,ARRAY_SIZE (files), gt);
drivers/gpu/drm/i915/i915_reg.h +1 -0
@@ -1802,6 +1802,7 @@#define POWER_LIMIT_4_MASK REG_BIT(8)#define POWER_LIMIT_1_MASK REG_BIT(10)#define POWER_LIMIT_2_MASK REG_BIT(11) +#define GT0_PERF_LIMIT_REASONS_LOG_MASK REG_GENMASK(31, 16)#define CHV_CLK_CTL1 _MMIO(0x101100)#define VLV_CLK_CTL2 _MMIO(0x101104)
Signature · 1 line
2.34.1
PATCH 7/8 drm/i915/mtl: PERF_LIMIT_REASONS changes for MTL
In reply to Ashutosh DixitPERF_LIMIT_REASONS register for MTL media gt is different now.
v2: Avoid static inline for intel_gt_perf_limit_reasons_reg() (Jani)
--- drivers/gpu/drm/i915/gt/intel_gt.c | 6 ++++++ drivers/gpu/drm/i915/gt/intel_gt.h | 1 + drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c | 4 ++-- drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 6 +++--- drivers/gpu/drm/i915/i915_reg.h | 1 + 5 files changed, 13 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/gt/intel_gt.c +6 -0
@@ -224,6 +224,12 @@ static void gen6_clear_engine_error_register(struct intel_engine_cs *engine)GEN6_RING_FAULT_REG_POSTING_READ (engine); } +i915_reg_t intel_gt_perf_limit_reasons_reg (struct intel_gt *gt) +{ +return gt->type ==GT_MEDIA ? +MTL_MEDIA_PERF_LIMIT_REASONS :GT0_PERF_LIMIT_REASONS ; +} +void intel_gt_clear_error_registers (struct intel_gt *gt,intel_engine_mask_t engine_mask)
drivers/gpu/drm/i915/gt/intel_gt.h +1 -0
@@ -60,6 +60,7 @@ void intel_gt_driver_late_release_all(struct drm_i915_private *i915);int intel_gt_wait_for_idle (struct intel_gt *gt,long timeout);void intel_gt_check_and_clear_faults (struct intel_gt *gt); +i915_reg_t intel_gt_perf_limit_reasons_reg (struct intel_gt *gt);void intel_gt_clear_error_registers (struct intel_gt *gt,intel_engine_mask_t engine_mask);
drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c +2 -2
@@ -661,7 +661,7 @@ static int perf_limit_reasons_get(void *data, u64 *val)intel_wakeref_t wakeref;with_intel_runtime_pm (gt->uncore->rpm, wakeref) - *val =intel_uncore_read (gt->uncore,GT0_PERF_LIMIT_REASONS ); + *val =intel_uncore_read (gt->uncore,intel_gt_perf_limit_reasons_reg (gt));return 0 ; }
@@ -677,7 +677,7 @@ static int perf_limit_reasons_clear(void *data, u64 val)* "status" bits except that the "log" bits remain set until cleared. */ with_intel_runtime_pm(gt->uncore->rpm, wakeref) -intel_uncore_rmw (gt->uncore,GT0_PERF_LIMIT_REASONS , +intel_uncore_rmw (gt->uncore,intel_gt_perf_limit_reasons_reg (gt),GT0_PERF_LIMIT_REASONS_LOG_MASK ,0 );return 0 ;
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c +3 -3
@@ -510,7 +510,7 @@ struct intel_gt_bool_throttle_attr {struct attribute attr;ssize_t (*show)(struct device *dev,struct device_attribute *attr,char *buf); -i915_reg_t reg32; +i915_reg_t (*reg32)(struct intel_gt *gt);u32 mask; };
@@ -521,7 +521,7 @@ static ssize_t throttle_reason_bool_show(struct device *dev,struct intel_gt *gt =intel_gt_sysfs_get_drvdata (dev, attr->attr.name);struct intel_gt_bool_throttle_attr *t_attr = (struct intel_gt_bool_throttle_attr *) attr; -bool val =rps_read_mask_mmio (>->rps, t_attr->reg32, t_attr->mask); +bool val =rps_read_mask_mmio (>->rps, t_attr->reg32 (gt), t_attr->mask);return sysfs_emit (buff,"%u\n" , val); }
@@ -530,7 +530,7 @@ static ssize_t throttle_reason_bool_show(struct device *dev, struct intel_gt_bool_throttle_attr attr_##sysfs_func__ = { \ .attr = { .name =__stringify (sysfs_func__), .mode =0444 }, \ .show = throttle_reason_bool_show, \ - .reg32 =GT0_PERF_LIMIT_REASONS , \ + .reg32 = intel_gt_perf_limit_reasons_reg, \ .mask = mask__, \ }
drivers/gpu/drm/i915/i915_reg.h +1 -0
@@ -1803,6 +1803,7 @@#define POWER_LIMIT_1_MASK REG_BIT(10)#define POWER_LIMIT_2_MASK REG_BIT(11)#define GT0_PERF_LIMIT_REASONS_LOG_MASK REG_GENMASK(31, 16) +#define MTL_MEDIA_PERF_LIMIT_REASONS _MMIO(0x138030)#define CHV_CLK_CTL1 _MMIO(0x101100)#define VLV_CLK_CTL2 _MMIO(0x101104)
Signature · 1 line
2.34.1
PATCH 8/8 drm/i915/rps: Freq caps for MTL
In reply to Ashutosh DixitFor MTL, when reading from HW, RP0, RP1 (actuall RPe) and RPn freq use an entirely different set of registers with different fields, bitwidths and units.
v2: Move MTL check into a separate function (Jani)
--- drivers/gpu/drm/i915/gt/intel_rps.c | 46 +++++++++++++++++++++++------ drivers/gpu/drm/i915/i915_reg.h | 9 ++++++ 2 files changed, 46 insertions(+), 9 deletions(-)
drivers/gpu/drm/i915/gt/intel_rps.c +37 -9
@@ -1085,15 +1085,25 @@ static u32 intel_rps_read_state_cap(struct intel_rps *rps)return intel_uncore_read (uncore,GEN6_RP_STATE_CAP ); } -/** -* gen6_rps_get_freq_caps - Get freq caps exposed by HW -* @rps: the intel_rps structure -* @caps: returned freq caps -* -* Returned "caps" frequencies should be converted to MHz using -* intel_gpu_freq() -*/ -void gen6_rps_get_freq_caps (struct intel_rps *rps,struct intel_rps_freq_caps *caps) +static void +mtl_get_freq_caps (struct intel_rps *rps,struct intel_rps_freq_caps *caps) +{ +struct intel_uncore *uncore =rps_to_uncore (rps); +u32 rp_state_cap =rps_to_gt (rps)->type ==GT_MEDIA ? +intel_uncore_read (uncore,MTL_MEDIAP_STATE_CAP ) : +intel_uncore_read (uncore,MTL_RP_STATE_CAP ); +u32 rpe =rps_to_gt (rps)->type ==GT_MEDIA ? +intel_uncore_read (uncore,MTL_MPE_FREQUENCY ) : +intel_uncore_read (uncore,MTL_GT_RPE_FREQUENCY ); + +/* MTL values are in units of 16.67 MHz */ + caps->rp0_freq =REG_FIELD_GET (MTL_RP0_CAP_MASK , rp_state_cap); + caps->min_freq =REG_FIELD_GET (MTL_RPN_CAP_MASK , rp_state_cap); + caps->rp1_freq =REG_FIELD_GET (MTL_RPE_MASK , rpe); +} + +static void +__gen6_rps_get_freq_caps (struct intel_rps *rps,struct intel_rps_freq_caps *caps) {struct drm_i915_private *i915 =rps_to_i915 (rps);u32 rp_state_cap;
@@ -1128,6 +1138,24 @@ void gen6_rps_get_freq_caps(struct intel_rps *rps, struct intel_rps_freq_caps *c } } +/** +* gen6_rps_get_freq_caps - Get freq caps exposed by HW +* @rps: the intel_rps structure +* @caps: returned freq caps +* +* Returned "caps" frequencies should be converted to MHz using +* intel_gpu_freq() +*/ +void gen6_rps_get_freq_caps (struct intel_rps *rps,struct intel_rps_freq_caps *caps) +{ +struct drm_i915_private *i915 =rps_to_i915 (rps); + +if (IS_METEORLAKE (i915)) +return mtl_get_freq_caps (rps, caps); +else +return __gen6_rps_get_freq_caps (rps, caps); +} +static void gen6_rps_init (struct intel_rps *rps) {struct drm_i915_private *i915 =rps_to_i915 (rps);
drivers/gpu/drm/i915/i915_reg.h +9 -0
@@ -1792,6 +1792,15 @@#define XEHPSDV_RP_STATE_CAP _MMIO(0x250014)#define PVC_RP_STATE_CAP _MMIO(0x281014) +#define MTL_RP_STATE_CAP _MMIO(0x138000) +#define MTL_MEDIAP_STATE_CAP _MMIO(0x138020) +#define MTL_RP0_CAP_MASK REG_GENMASK(8, 0) +#define MTL_RPN_CAP_MASK REG_GENMASK(24, 16) + +#define MTL_GT_RPE_FREQUENCY _MMIO(0x13800c) +#define MTL_MPE_FREQUENCY _MMIO(0x13802c) +#define MTL_RPE_MASK REG_GENMASK(8, 0) +#define GT0_PERF_LIMIT_REASONS _MMIO(0x1381a8)#define GT0_PERF_LIMIT_REASONS_MASK 0xde3#define PROCHOT_MASK REG_BIT(0)
Signature · 1 line
2.34.1
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for i915: freq caps and perf_limit_reasons changes for MTL (rev2)
In reply to Ashutosh Dixit== Series Details ==
== Series Details ==
Series: i915: freq caps and perf_limit_reasons changes for MTL (rev2)
URL : https://patchwork.freedesktop.org/series/108091/
State : warning
== Summary ==
Error: dim checkpatch failed7c1612061058 drm/i915: Prepare more multi-GT initialization
-:22: WARNING:TYPO_SPELLING: 'forseeable' may be misspelled - perhaps 'foreseeable'? #22:
forseeable future. (Jani)
^^^^^^^^^^
-:77: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "gtdef->name" #77: FILE: drivers/gpu/drm/i915/gt/intel_gt.c:859:
+ gtdef->name != NULL;
total: 0 errors, 1 warnings, 1 checks, 154 lines checked48b942c1a84c drm/i915: Rename and expose common GT early init routine 823b9373f852 drm/i915/uncore: Add GSI offset to uncorecefd9dfae66a drm/i915/xelpmp: Expose media as another GT
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:87: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #87:
new file mode 100644
-:123: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!uncore->regs" #123: FILE: drivers/gpu/drm/i915/gt/intel_sa_media.c:32:
+ if (drm_WARN_ON(&i915->drm, uncore->regs == NULL))
total: 0 errors, 1 warnings, 1 checks, 130 lines checked a155005ece00 drm/i915/gt: Fix perf limit reasons bit positions bd6797adb94f drm/i915/debugfs: Add perf_limit_reasons in debugfs -:33: CHECK:SPACING: spaces preferred around that '*' (ctx:ExV) #33: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c:664:
+ *val = intel_uncore_read(gt->uncore, GT0_PERF_LIMIT_REASONS);
^
total: 0 errors, 0 warnings, 1 checks, 50 lines checked a6302c2a5d25 drm/i915/mtl: PERF_LIMIT_REASONS changes for MTL -:52: CHECK:SPACING: spaces preferred around that '*' (ctx:ExV) #52: FILE: drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c:664:
+ *val = intel_uncore_read(gt->uncore, intel_gt_perf_limit_reasons_reg(gt));
^
total: 0 errors, 0 warnings, 1 checks, 66 lines checked 8c2310e08f2a drm/i915/rps: Freq caps for MTL
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for i915: freq caps and perf_limit_reasons changes for MTL (rev2)
In reply to Ashutosh Dixit== Series Details ==
== Series Details ==
Series: i915: freq caps and perf_limit_reasons changes for MTL (rev2)
URL : https://patchwork.freedesktop.org/series/108091/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for i915: freq caps and perf_limit_reasons changes for MTL (rev2)
In reply to Ashutosh Dixit== Series Details ==
== Series Details ==
Series: i915: freq caps and perf_limit_reasons changes for MTL (rev2)
URL : https://patchwork.freedesktop.org/series/108091/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12091 -> Patchwork_108091v2
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/index.html
Participating hosts (39 -> 37)
------------------------------
Missing (2): fi-hsw-4770 fi-bdw-samus
Known issues
------------
Here are the changes found in Patchwork_108091v2 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live@execlists:
- fi-bsw-nick: [PASS][1] -> [INCOMPLETE][2] ([i915#5847])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/fi-bsw-nick/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/fi-bsw-nick/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@gem:
- fi-pnv-d510: NOTRUN -> [DMESG-FAIL][3] ([i915#4528])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/fi-pnv-d510/igt@i915_selftest@[email protected]
* igt@kms_chamelium@common-hpd-after-suspend:
- fi-skl-6600u: NOTRUN -> [SKIP][4] ([fdo#109271] / [fdo#111827])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/fi-skl-6600u/igt@[email protected]
* igt@runner@aborted:
- fi-bdw-5557u: NOTRUN -> [FAIL][5] ([i915#4312])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/fi-bdw-5557u/igt@[email protected]
- fi-bsw-nick: NOTRUN -> [FAIL][6] ([fdo#109271] / [i915#4312])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/fi-bsw-nick/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s0@smem:
- fi-skl-6600u: [INCOMPLETE][7] -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/fi-skl-6600u/igt@gem_exec_suspend@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/fi-skl-6600u/igt@gem_exec_suspend@[email protected]
* igt@i915_selftest@live@requests:
- fi-pnv-d510: [DMESG-FAIL][9] ([i915#4528]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/fi-pnv-d510/igt@i915_selftest@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/fi-pnv-d510/igt@i915_selftest@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions:
- fi-bsw-kefka: [FAIL][11] ([i915#6298]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/fi-bsw-kefka/igt@kms_cursor_legacy@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/fi-bsw-kefka/igt@kms_cursor_legacy@[email protected]
#### Warnings ####
* igt@i915_suspend@basic-s3-without-i915:
- fi-rkl-11600: [FAIL][13] ([fdo#103375]) -> [INCOMPLETE][14] ([i915#5982])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/fi-rkl-11600/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/fi-rkl-11600/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#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4528]: https://gitlab.freedesktop.org/drm/intel/issues/4528
[i915#5847]: https://gitlab.freedesktop.org/drm/intel/issues/5847
[i915#5982]: https://gitlab.freedesktop.org/drm/intel/issues/5982
[i915#6298]: https://gitlab.freedesktop.org/drm/intel/issues/6298
[i915#6730]: https://gitlab.freedesktop.org/drm/intel/issues/6730
Build changes
-------------
* Linux: CI_DRM_12091 -> Patchwork_108091v2
CI-20190529: 20190529
CI_DRM_12091: 09caa2a40c9e377e8386ffbc48c26884cc4b00bc @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6648: 3c9079c0b97445fbfc903b9c5a1d69707b80af80 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_108091v2: 09caa2a40c9e377e8386ffbc48c26884cc4b00bc @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
ee9832e06705 drm/i915/rps: Freq caps for MTLdee0456abeec drm/i915/mtl: PERF_LIMIT_REASONS changes for MTL a510dc1dd847 drm/i915/debugfs: Add perf_limit_reasons in debugfs 8fb60b33dbc8 drm/i915/gt: Fix perf limit reasons bit positions 29af6d99c3bf drm/i915/xelpmp: Expose media as another GT 4096aecf1afc drm/i915/uncore: Add GSI offset to uncore 981e014b9736 drm/i915: Rename and expose common GT early init routine cca058d377e6 drm/i915: Prepare more multi-GT initialization
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/index.html
Re: [Intel-gfx] [PATCH 5/8] drm/i915/gt: Fix perf limit reasons bit positions
In reply to Ashutosh DixitHi,
Quoted 7 lines · Ashutosh Dixit
Perf limit reasons bit positions were off by one.
Fixes fa68bff7cf27 ("drm/i915/gt: Add sysfs throttle frequency interfaces")Cc [email protected] # v5.18+Cc Sujaritha Sundaresan <[email protected]>Cc Andi Shyti <[email protected]>Signed-off-by Ashutosh Dixit <[email protected]>
Thanks Ashutosh!
Quoted 18 lines
--- drivers/gpu/drm/i915/i915_reg.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)drivers/gpu/drm/i915/i915_reg.h +0
-6@@ -1794,14 +1794,14 @@#define GT0_PERF_LIMIT_REASONS _MMIO(0x1381a8)#define GT0_PERF_LIMIT_REASONS_MASK 0xde3 -#define PROCHOT_MASK REG_BIT(1) -#define THERMAL_LIMIT_MASK REG_BIT(2) -#define RATL_MASK REG_BIT(6) -#define VR_THERMALERT_MASK REG_BIT(7) -#define VR_TDC_MASK REG_BIT(8) -#define POWER_LIMIT_4_MASK REG_BIT(9)
drivers/gpu/drm/i915/i915_reg.h line 1804
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +8
-2-#define POWER_LIMIT_1_MASK REG_BIT(11) -#define POWER_LIMIT_2_MASK REG_BIT(12) +#define PROCHOT_MASK REG_BIT(0) +#define THERMAL_LIMIT_MASK REG_BIT(1) +#define RATL_MASK REG_BIT(5) +#define VR_THERMALERT_MASK REG_BIT(6) +#define VR_TDC_MASK REG_BIT(7) +#define POWER_LIMIT_4_MASK REG_BIT(8) +#define POWER_LIMIT_1_MASK REG_BIT(10) +#define POWER_LIMIT_2_MASK REG_BIT(11)
Sujaritha, could you please check and r-b this one?
Thanks,
Andi
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for i915: freq caps and perf_limit_reasons changes for MTL (rev2)
In reply to Ashutosh Dixit== Series Details ==
== Series Details ==
Series: i915: freq caps and perf_limit_reasons changes for MTL (rev2)
URL : https://patchwork.freedesktop.org/series/108091/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12091_full -> Patchwork_108091v2_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (10 -> 10)
------------------------------
Additional (1): shard-tglu
Missing (1): shard-kbl
New tests
---------
New tests have been introduced between CI_DRM_12091_full and Patchwork_108091v2_full:
### New IGT tests (146) ###
* igt@feature_discovery@chamelium:
- Statuses : 5 skip(s)
- Exec time: [0.0, 0.00] s
* igt@feature_discovery@display:
- Statuses : 6 pass(s)
- Exec time: [0.0] s
* igt@feature_discovery@display-2x:
- Statuses : 1 pass(s) 4 skip(s)
- Exec time: [0.0] s
* igt@feature_discovery@display-3x:
- Statuses : 5 skip(s)
- Exec time: [0.0] s
* igt@feature_discovery@display-4x:
- Statuses : 6 skip(s)
- Exec time: [0.0] s
* igt@feature_discovery@psr1:
- Statuses : 2 pass(s) 4 skip(s)
- Exec time: [0.0] s
* igt@feature_discovery@psr2:
- Statuses : 1 pass(s) 4 skip(s)
- Exec time: [0.0] s
* igt@gem_exec_fence@invalid-timeline-fence-array:
- Statuses : 5 pass(s)
- Exec time: [0.00, 0.01] s
* igt@gem_exec_fence@syncobj-backward-timeline-chain-engines:
- Statuses : 5 pass(s) 1 skip(s)
- Exec time: [0.0, 0.14] s
* igt@gem_exec_fence@syncobj-stationary-timeline-chain-engines:
- Statuses : 5 pass(s) 1 skip(s)
- Exec time: [0.0, 0.18] s
* igt@gem_exec_fence@syncobj-timeline-chain-engines:
- Statuses : 5 pass(s) 1 skip(s)
- Exec time: [0.0, 0.14] s
* igt@gem_exec_fence@syncobj-timeline-export:
- Statuses : 5 pass(s)
- Exec time: [0.00, 0.01] s
* igt@gem_exec_fence@syncobj-timeline-invalid-flags:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@gem_exec_fence@syncobj-timeline-invalid-wait:
- Statuses : 5 pass(s)
- Exec time: [0.00, 0.01] s
* igt@gem_exec_fence@syncobj-timeline-multiple-ext-nodes:
- Statuses : 4 pass(s)
- Exec time: [0.00] s
* igt@gem_exec_fence@syncobj-timeline-repeat:
- Statuses : 6 pass(s)
- Exec time: [0.26, 1.49] s
* igt@gem_exec_fence@syncobj-timeline-signal:
- Statuses : 6 pass(s)
- Exec time: [0.00, 0.02] s
* igt@gem_exec_fence@syncobj-timeline-unused-fence:
- Statuses : 5 pass(s)
- Exec time: [0.00, 0.01] s
* igt@gem_exec_fence@syncobj-timeline-wait:
- Statuses : 6 pass(s)
- Exec time: [0.02, 0.04] s
* igt@gem_mmap_offset@blt-coherency:
- Statuses : 5 pass(s)
- Exec time: [0.01, 0.03] s
* igt@i915_selftest@live@slpc:
- Statuses : 6 pass(s)
- Exec time: [0.50, 1.57] s
* igt@kms_writeback@writeback-check-output:
- Statuses : 6 skip(s)
- Exec time: [0.0] s
* igt@kms_writeback@writeback-fb-id:
- Statuses : 6 skip(s)
- Exec time: [0.0] s
* igt@kms_writeback@writeback-invalid-parameters:
- Statuses : 5 skip(s)
- Exec time: [0.0] s
* igt@kms_writeback@writeback-pixel-formats:
- Statuses : 6 skip(s)
- Exec time: [0.0] s
* igt@syncobj_timeline@32bits-limit:
- Statuses : 6 pass(s)
- Exec time: [0.00, 0.01] s
* igt@syncobj_timeline@device-signal-unordered:
- Statuses : 5 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@device-submit-unordered:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@etime-multi-wait-all-for-submit-available-unsubmitted:
- Statuses : 5 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-multi-wait-all-for-submit-available-unsubmitted-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-multi-wait-all-for-submit-available-unsubmitted-submitted:
- Statuses : 6 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-multi-wait-all-for-submit-submitted:
- Statuses : 5 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-multi-wait-all-for-submit-submitted-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-multi-wait-all-for-submit-unsubmitted:
- Statuses : 5 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-multi-wait-all-for-submit-unsubmitted-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-multi-wait-all-for-submit-unsubmitted-submitted:
- Statuses : 5 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-multi-wait-all-for-submit-unsubmitted-submitted-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-multi-wait-all-submitted:
- Statuses : 3 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-multi-wait-all-submitted-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-multi-wait-for-submit-available-unsubmitted:
- Statuses : 6 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-multi-wait-for-submit-submitted:
- Statuses : 5 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-multi-wait-for-submit-unsubmitted:
- Statuses : 5 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-multi-wait-for-submit-unsubmitted-submitted:
- Statuses : 5 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-multi-wait-submitted:
- Statuses : 6 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-single-wait-all-for-submit-available-unsubmitted:
- Statuses : 5 pass(s)
- Exec time: [0.10] s
* igt@syncobj_timeline@etime-single-wait-all-for-submit-submitted:
- Statuses : 6 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-single-wait-all-for-submit-unsubmitted:
- Statuses : 6 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-single-wait-all-submitted:
- Statuses : 5 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-single-wait-for-submit-available-unsubmitted:
- Statuses : 5 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-single-wait-for-submit-submitted:
- Statuses : 5 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-single-wait-for-submit-unsubmitted:
- Statuses : 6 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@etime-single-wait-submitted:
- Statuses : 5 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@host-signal-ordered:
- Statuses : 5 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@host-signal-points:
- Statuses : 5 pass(s)
- Exec time: [0.01, 0.02] s
* igt@syncobj_timeline@invalid-multi-wait-all-available-unsubmitted:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-multi-wait-all-available-unsubmitted-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-multi-wait-all-available-unsubmitted-submitted:
- Statuses : 5 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@invalid-multi-wait-all-available-unsubmitted-submitted-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-multi-wait-all-unsubmitted:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-multi-wait-all-unsubmitted-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-multi-wait-all-unsubmitted-submitted:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-multi-wait-all-unsubmitted-submitted-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-multi-wait-available-unsubmitted:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-multi-wait-available-unsubmitted-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-multi-wait-available-unsubmitted-submitted:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-multi-wait-available-unsubmitted-submitted-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-multi-wait-unsubmitted:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-multi-wait-unsubmitted-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@invalid-multi-wait-unsubmitted-submitted:
- Statuses : 3 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@invalid-multi-wait-unsubmitted-submitted-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-query-bad-pad:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
* igt@syncobj_timeline@invalid-query-illegal-handle:
- Statuses : 6 pass(s)
- Exec time: [0.0] s
* igt@syncobj_timeline@invalid-query-one-illegal-handle:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-query-zero-handles:
- Statuses : 6 pass(s)
- Exec time: [0.0] s
* igt@syncobj_timeline@invalid-signal-bad-pad:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
* igt@syncobj_timeline@invalid-signal-illegal-handle:
- Statuses : 6 pass(s)
- Exec time: [0.0] s
* igt@syncobj_timeline@invalid-signal-illegal-point:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
* igt@syncobj_timeline@invalid-signal-one-illegal-handle:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-signal-zero-handles:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
* igt@syncobj_timeline@invalid-single-wait-all-available-unsubmitted:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
* igt@syncobj_timeline@invalid-single-wait-all-unsubmitted:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
* igt@syncobj_timeline@invalid-single-wait-available-unsubmitted:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-single-wait-unsubmitted:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-transfer-bad-pad:
- Statuses : 6 pass(s)
- Exec time: [0.0] s
* igt@syncobj_timeline@invalid-transfer-illegal-handle:
- Statuses : 6 pass(s)
- Exec time: [0.0] s
* igt@syncobj_timeline@invalid-transfer-non-existent-point:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@invalid-wait-bad-flags:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
* igt@syncobj_timeline@invalid-wait-illegal-handle:
- Statuses : 6 pass(s)
- Exec time: [0.0] s
* igt@syncobj_timeline@invalid-wait-zero-handles:
- Statuses : 5 pass(s)
- Exec time: [0.0] s
* igt@syncobj_timeline@multi-wait-all-available-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@multi-wait-all-available-submitted:
- Statuses : 5 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@multi-wait-all-available-submitted-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@multi-wait-all-for-submit-available-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@multi-wait-all-for-submit-available-submitted:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@multi-wait-all-for-submit-available-submitted-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@multi-wait-all-for-submit-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@multi-wait-all-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@multi-wait-available-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.00, 0.01] s
* igt@syncobj_timeline@multi-wait-available-submitted:
- Statuses : 5 pass(s)
- Exec time: [0.00, 0.01] s
* igt@syncobj_timeline@multi-wait-available-submitted-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@multi-wait-for-submit-available-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@multi-wait-for-submit-available-submitted:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@multi-wait-for-submit-available-submitted-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@multi-wait-for-submit-available-unsubmitted-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@multi-wait-for-submit-available-unsubmitted-submitted:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@multi-wait-for-submit-available-unsubmitted-submitted-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@multi-wait-for-submit-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.00, 0.01] s
* igt@syncobj_timeline@multi-wait-for-submit-submitted-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@multi-wait-for-submit-unsubmitted-signaled:
- Statuses : 3 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@multi-wait-for-submit-unsubmitted-submitted-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@multi-wait-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.00, 0.01] s
* igt@syncobj_timeline@multi-wait-submitted-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@reset-during-wait-for-submit:
- Statuses : 6 pass(s)
- Exec time: [0.10] s
* igt@syncobj_timeline@reset-multiple-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@reset-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@reset-unsignaled:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@signal:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@signal-array:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@signal-point-0:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@single-wait-all-available-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@single-wait-all-available-submitted:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@single-wait-all-for-submit-available-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@single-wait-all-for-submit-available-submitted:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@single-wait-all-for-submit-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@single-wait-all-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@single-wait-available-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@single-wait-available-submitted:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@single-wait-for-submit-available-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@single-wait-for-submit-available-submitted:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@single-wait-for-submit-signaled:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@single-wait-signaled:
- Statuses : 5 pass(s)
- Exec time: [0.0, 0.00] s
* igt@syncobj_timeline@transfer-timeline-point:
- Statuses : 5 pass(s)
- Exec time: [0.00] s
* igt@syncobj_timeline@wait-all-complex:
- Statuses : 6 pass(s)
- Exec time: [0.21, 0.22] s
* igt@syncobj_timeline@wait-all-delayed-signal:
- Statuses : 3 pass(s)
- Exec time: [0.10] s
* igt@syncobj_timeline@wait-all-for-submit-complex:
- Statuses : 5 pass(s)
- Exec time: [0.21, 0.22] s
* igt@syncobj_timeline@wait-all-for-submit-delayed-submit:
- Statuses : 5 pass(s)
- Exec time: [0.10] s
* igt@syncobj_timeline@wait-all-for-submit-snapshot:
- Statuses : 5 pass(s)
- Exec time: [0.08, 0.09] s
* igt@syncobj_timeline@wait-all-interrupted:
- Statuses : 5 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@wait-all-snapshot:
- Statuses : 5 pass(s)
- Exec time: [0.08, 0.09] s
* igt@syncobj_timeline@wait-any-complex:
- Statuses : 5 pass(s)
- Exec time: [0.06, 0.07] s
* igt@syncobj_timeline@wait-any-interrupted:
- Statuses : 6 pass(s)
- Exec time: [0.10, 0.11] s
* igt@syncobj_timeline@wait-any-snapshot:
- Statuses : 5 pass(s)
- Exec time: [0.08] s
* igt@syncobj_timeline@wait-delayed-signal:
- Statuses : 6 pass(s)
- Exec time: [0.10] s
* igt@syncobj_timeline@wait-for-submit-complex:
- Statuses : 6 pass(s)
- Exec time: [0.06] s
* igt@syncobj_timeline@wait-for-submit-delayed-submit:
- Statuses : 6 pass(s)
- Exec time: [0.10] s
* igt@syncobj_timeline@wait-for-submit-snapshot:
- Statuses : 6 pass(s)
- Exec time: [0.08] s
Known issues
------------
Here are the changes found in Patchwork_108091v2_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@feature_discovery@display-4x (NEW):
- {shard-tglu}: NOTRUN -> [SKIP][1] ([i915#1839])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-tglu-4/igt@[email protected]
* igt@feature_discovery@psr1 (NEW):
- {shard-tglu}: NOTRUN -> [SKIP][2] ([i915#658])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-tglu-2/igt@[email protected]
* igt@gem_ctx_exec@basic-nohangcheck:
- shard-tglb: [PASS][3] -> [FAIL][4] ([i915#6268])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-tglb5/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-tglb5/igt@[email protected]
* igt@gem_ctx_shared@detached-shared-gtt:
- shard-snb: NOTRUN -> [SKIP][5] ([fdo#109271]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-snb7/igt@[email protected]
* igt@gem_eio@kms:
- shard-tglb: [PASS][6] -> [FAIL][7] ([i915#5784])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-tglb7/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-tglb2/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-tglb: [PASS][8] -> [TIMEOUT][9] ([i915#3063])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-tglb5/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-tglb3/igt@[email protected]
* igt@gem_exec_balancer@parallel-keep-in-fence:
- shard-iclb: [PASS][10] -> [SKIP][11] ([i915#4525]) +2 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-iclb2/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-iclb3/igt@[email protected]
* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-apl: [PASS][12] -> [FAIL][13] ([i915#2842]) +1 similar issue
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-apl1/igt@gem_exec_fair@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-apl6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vcs0:
- shard-glk: [PASS][14] -> [FAIL][15] ([i915#2842]) +1 similar issue
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-glk5/igt@gem_exec_fair@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-glk7/igt@gem_exec_fair@[email protected]
* igt@gem_huc_copy@huc-copy:
- shard-tglb: [PASS][16] -> [SKIP][17] ([i915#2190])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-tglb2/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-tglb6/igt@[email protected]
* igt@gem_lmem_swapping@heavy-verify-random:
- shard-apl: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#4613]) +1 similar issue
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-apl1/igt@[email protected]
* igt@gem_softpin@evict-single-offset:
- shard-apl: NOTRUN -> [FAIL][19] ([i915#4171])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-apl6/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [PASS][20] -> [FAIL][21] ([i915#454])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-iclb5/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-iclb6/igt@[email protected]
* igt@kms_async_flips@alternate-sync-async-flip@pipe-a-edp-1:
- shard-tglb: [PASS][22] -> [FAIL][23] ([i915#2521])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-tglb1/igt@kms_async_flips@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-tglb2/igt@kms_async_flips@[email protected]
* igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][24] ([fdo#109271] / [i915#3886]) +1 similar issue
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-apl1/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-c-ccs-on-another-bo-y_tiled_ccs:
- shard-apl: NOTRUN -> [SKIP][25] ([fdo#109271]) +65 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-apl6/igt@kms_ccs@pipe-c-ccs-on-another-bo-y_tiled_ccs.html
* igt@kms_chamelium@vga-hpd-without-ddc:
- shard-apl: NOTRUN -> [SKIP][26] ([fdo#109271] / [fdo#111827]) +4 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-apl6/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions-varying-size:
- shard-glk: [PASS][27] -> [FAIL][28] ([i915#2346]) +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-glk3/igt@kms_cursor_legacy@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-glk6/igt@kms_cursor_legacy@[email protected]
* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@bc-hdmi-a1-hdmi-a2:
- shard-glk: [PASS][29] -> [FAIL][30] ([i915#79]) +1 similar issue
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-glk1/igt@kms_flip@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-glk1/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-apl: [PASS][31] -> [DMESG-WARN][32] ([i915#180]) +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-apl3/igt@kms_flip@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-apl8/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-ts-check@a-hdmi-a1:
- shard-glk: [PASS][33] -> [FAIL][34] ([i915#2122])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-glk9/igt@kms_flip@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-glk2/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-downscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][35] ([i915#6375])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-iclb2/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-downscaling@pipe-a-default-mode.html
* igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-upscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][36] ([i915#2672]) +2 similar issues
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-iclb2/igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-upscaling@pipe-a-default-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-linear-to-16bpp-linear-downscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][37] ([i915#3555])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-iclb2/igt@kms_flip_scaled_crc@flip-64bpp-linear-to-16bpp-linear-downscaling@pipe-a-default-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][38] ([i915#2672] / [i915#3555]) +1 similar issue
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-iclb2/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-default-mode.html
* igt@kms_plane_scaling@plane-downscale-with-pixel-format-factor-0-5@pipe-b-edp-1:
- shard-iclb: [PASS][39] -> [SKIP][40] ([i915#5176]) +4 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-iclb8/igt@kms_plane_scaling@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-iclb2/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@planes-downscale-factor-0-5@pipe-a-edp-1:
- shard-iclb: [PASS][41] -> [SKIP][42] ([i915#5235]) +2 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-iclb4/igt@kms_plane_scaling@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-iclb2/igt@kms_plane_scaling@[email protected]
* igt@kms_psr2_sf@cursor-plane-update-sf:
- shard-apl: NOTRUN -> [SKIP][43] ([fdo#109271] / [i915#658]) +1 similar issue
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-apl6/igt@[email protected]
* igt@kms_psr@psr2_cursor_blt:
- shard-iclb: [PASS][44] -> [SKIP][45] ([fdo#109441]) +3 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-iclb2/igt@kms_psr@psr2_cursor_blt.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-iclb3/igt@kms_psr@psr2_cursor_blt.html
* igt@kms_psr_stress_test@flip-primary-invalidate-overlay:
- shard-tglb: [PASS][46] -> [SKIP][47] ([i915#5519])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-tglb3/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-tglb1/igt@[email protected]
* igt@kms_writeback@writeback-fb-id (NEW):
- {shard-tglu}: NOTRUN -> [SKIP][48] ([i915#2437]) +2 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-tglu-4/igt@[email protected]
* igt@nouveau_crc@pipe-b-ctx-flip-detection:
- shard-tglb: NOTRUN -> [SKIP][49] ([i915#2530])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-tglb7/igt@[email protected]
* igt@sysfs_clients@pidname:
- shard-apl: NOTRUN -> [SKIP][50] ([fdo#109271] / [i915#2994])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-apl6/igt@[email protected]
#### Possible fixes ####
* igt@gem_eio@in-flight-suspend:
- shard-apl: [DMESG-WARN][51] ([i915#180]) -> [PASS][52] +2 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-apl3/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-apl1/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-iclb: [TIMEOUT][53] ([i915#3070]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-iclb6/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-iclb6/igt@[email protected]
* igt@i915_module_load@reload-with-fault-injection:
- shard-tglb: [INCOMPLETE][55] -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-tglb1/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-tglb7/igt@[email protected]
* igt@i915_pm_dc@dc6-dpms:
- shard-iclb: [FAIL][57] ([i915#454]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-iclb3/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-iclb6/igt@[email protected]
* igt@i915_pm_sseu@full-enable:
- shard-glk: [FAIL][59] -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-glk7/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-glk7/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- shard-snb: [INCOMPLETE][61] ([i915#3921]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-snb4/igt@i915_selftest@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-snb7/igt@i915_selftest@[email protected]
* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@ab-hdmi-a1-hdmi-a2:
- shard-glk: [FAIL][63] ([i915#79]) -> [PASS][64]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-glk1/igt@kms_flip@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-glk1/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@a-dp1:
- shard-apl: [FAIL][65] ([i915#79]) -> [PASS][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-apl4/igt@kms_flip@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-apl7/igt@kms_flip@[email protected]
* igt@kms_psr@psr2_sprite_mmap_gtt:
- shard-iclb: [SKIP][67] ([fdo#109441]) -> [PASS][68] +1 similar issue
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-iclb4/igt@kms_psr@psr2_sprite_mmap_gtt.html
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_gtt.html
#### Warnings ####
* igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-fully-sf:
- shard-iclb: [SKIP][69] ([i915#2920]) -> [SKIP][70] ([i915#658])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-iclb2/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-iclb8/igt@[email protected]
* igt@kms_psr2_sf@plane-move-sf-dmg-area:
- shard-iclb: [SKIP][71] ([fdo#111068] / [i915#658]) -> [SKIP][72] ([i915#2920])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-iclb4/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-iclb2/igt@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-big-fb:
- shard-iclb: [SKIP][73] ([i915#658]) -> [SKIP][74] ([i915#2920]) +1 similar issue
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-iclb4/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-iclb2/igt@[email protected]
* igt@runner@aborted:
- shard-apl: ([FAIL][75], [FAIL][76], [FAIL][77], [FAIL][78], [FAIL][79]) ([fdo#109271] / [i915#180] / [i915#3002] / [i915#4312] / [i915#5257] / [i915#6599]) -> ([FAIL][80], [FAIL][81], [FAIL][82], [FAIL][83]) ([i915#180] / [i915#3002] / [i915#4312] / [i915#5257] / [i915#6599])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-apl8/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-apl6/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-apl3/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-apl1/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12091/shard-apl7/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-apl8/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-apl8/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-apl4/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108091v2/shard-apl2/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#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#109312]: https://bugs.freedesktop.org/show_bug.cgi?id=109312
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111644]: https://bugs.freedesktop.org/show_bug.cgi?id=111644
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1063]: https://gitlab.freedesktop.org/drm/intel/issues/1063
[i915#1155]: https://gitlab.freedesktop.org/drm/intel/issues/1155
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2521]: https://gitlab.freedesktop.org/drm/intel/issues/2521
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2530]: https://gitlab.freedesktop.org/drm/intel/issues/2530
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#2994]: https://gitlab.freedesktop.org/drm/intel/issues/2994
[i915#3002]: https://gitlab.freedesktop.org/drm/intel/issues/3002
[i915#3063]: https://gitlab.freedesktop.org/drm/intel/issues/3063
[i915#3070]: https://gitlab.freedesktop.org/drm/intel/issues/3070
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3528]: https://gitlab.freedesktop.org/drm/intel/issues/3528
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3825]: https://gitlab.freedesktop.org/drm/intel/issues/3825
[i915#3828]: https://gitlab.freedesktop.org/drm/intel/issues/3828
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3921]: https://gitlab.freedesktop.org/drm/intel/issues/3921
[i915#3966]: https://gitlab.freedesktop.org/drm/intel/issues/3966
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4171]: https://gitlab.freedesktop.org/drm/intel/issues/4171
[i915#426]: https://gitlab.freedesktop.org/drm/intel/issues/426
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4991]: https://gitlab.freedesktop.org/drm/intel/issues/4991
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5257]: https://gitlab.freedesktop.org/drm/intel/issues/5257
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#5519]: https://gitlab.freedesktop.org/drm/intel/issues/5519
[i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6117]: https://gitlab.freedesktop.org/drm/intel/issues/6117
[i915#6227]: https://gitlab.freedesktop.org/drm/intel/issues/6227
[i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
[i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335
[i915#6375]: https://gitlab.freedesktop.org/drm/intel/issues/6375
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6599]: https://gitlab.freedesktop.org/drm/intel/issues/6599
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
Build changes
-------------
* Linux: CI_DRM_12091 -> Patchwork_108091v2
CI-20190529: 20190529
CI_DRM_12091: 09caa2a40c9e377e8386ffbc48c26884cc4b00bc @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6648: 3c9079c0b97445fbfc903b9c5a1d69707b80af80 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_108091v2: 09caa2a40c9e377e8386ffbc48c26884cc4b00bc @ 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_108091v2/index.html
Sundaresan, Sujaritha
Reviewed-byRe: [Intel-gfx] [PATCH 5/8] drm/i915/gt: Fix perf limit reasons bit positions
In reply to Andi ShytiQuoted 42 lines · Andi Shyti
Hi,
Quoted 7 lines · Ashutosh Dixit
Perf limit reasons bit positions were off by one.
Fixes fa68bff7cf27 ("drm/i915/gt: Add sysfs throttle frequency interfaces")Cc [email protected] # v5.18+Cc Sujaritha Sundaresan <[email protected]>Cc Andi Shyti <[email protected]>Signed-off-by Ashutosh Dixit <[email protected]>Thanks Ashutosh!
Quoted 18 lines
--- drivers/gpu/drm/i915/i915_reg.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)drivers/gpu/drm/i915/i915_reg.h +0
-6@@ -1794,14 +1794,14 @@#define GT0_PERF_LIMIT_REASONS _MMIO(0x1381a8)#define GT0_PERF_LIMIT_REASONS_MASK 0xde3 -#define PROCHOT_MASK REG_BIT(1) -#define THERMAL_LIMIT_MASK REG_BIT(2) -#define RATL_MASK REG_BIT(6) -#define VR_THERMALERT_MASK REG_BIT(7) -#define VR_TDC_MASK REG_BIT(8) -#define POWER_LIMIT_4_MASK REG_BIT(9)drivers/gpu/drm/i915/i915_reg.h line 1804
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +8
-2-#define POWER_LIMIT_1_MASK REG_BIT(11) -#define POWER_LIMIT_2_MASK REG_BIT(12) +#define PROCHOT_MASK REG_BIT(0) +#define THERMAL_LIMIT_MASK REG_BIT(1) +#define RATL_MASK REG_BIT(5) +#define VR_THERMALERT_MASK REG_BIT(6) +#define VR_TDC_MASK REG_BIT(7) +#define POWER_LIMIT_4_MASK REG_BIT(8) +#define POWER_LIMIT_1_MASK REG_BIT(10) +#define POWER_LIMIT_2_MASK REG_BIT(11)Sujaritha, could you please check and r-b this one?
Quoted 2 lines
Thanks,
Andi
Looks good. I've checked the reg bits.
Andi Shyti
Acked-byRe: [Intel-gfx] [PATCH 5/8] drm/i915/gt: Fix perf limit reasons bit positions
Quoted 43 lines · Sujaritha
Quoted 41 lines · Andi Shyti
Hi,
Quoted 7 lines · Ashutosh Dixit
Perf limit reasons bit positions were off by one.
Fixes fa68bff7cf27 ("drm/i915/gt: Add sysfs throttle frequency interfaces")Cc [email protected] # v5.18+Cc Sujaritha Sundaresan <[email protected]>Cc Andi Shyti <[email protected]>Signed-off-by Ashutosh Dixit <[email protected]>Thanks Ashutosh!
Quoted 17 lines
--- drivers/gpu/drm/i915/i915_reg.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)drivers/gpu/drm/i915/i915_reg.h +0
-6@@ -1794,14 +1794,14 @@#define GT0_PERF_LIMIT_REASONS _MMIO(0x1381a8)#define GT0_PERF_LIMIT_REASONS_MASK 0xde3 -#define PROCHOT_MASK REG_BIT(1) -#define THERMAL_LIMIT_MASK REG_BIT(2) -#define RATL_MASK REG_BIT(6) -#define VR_THERMALERT_MASK REG_BIT(7) -#define VR_TDC_MASK REG_BIT(8) -#define POWER_LIMIT_4_MASK REG_BIT(9)drivers/gpu/drm/i915/i915_reg.h line 1803
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +8
-2-#define POWER_LIMIT_1_MASK REG_BIT(11) -#define POWER_LIMIT_2_MASK REG_BIT(12) +#define PROCHOT_MASK REG_BIT(0) +#define THERMAL_LIMIT_MASK REG_BIT(1) +#define RATL_MASK REG_BIT(5) +#define VR_THERMALERT_MASK REG_BIT(6) +#define VR_TDC_MASK REG_BIT(7) +#define POWER_LIMIT_4_MASK REG_BIT(8) +#define POWER_LIMIT_1_MASK REG_BIT(10) +#define POWER_LIMIT_2_MASK REG_BIT(11)Sujaritha, could you please check and r-b this one?
Quoted 6 lines
Quoted 2 lines
Thanks,
AndiLooks good. I've checked the reg bits.
Reviewed-by Sujaritha Sundaresan <[email protected]>
Thanks! then:
Andi
Re: [Intel-gfx] [PATCH 5/8] drm/i915/gt: Fix perf limit reasons bit positions
In reply to Sundaresan, SujarithaQuoted 43 lines · Sujaritha
Quoted 41 lines · Andi Shyti
Hi,
Quoted 7 lines · Ashutosh Dixit
Perf limit reasons bit positions were off by one.
Fixes fa68bff7cf27 ("drm/i915/gt: Add sysfs throttle frequency interfaces")Cc [email protected] # v5.18+Cc Sujaritha Sundaresan <[email protected]>Cc Andi Shyti <[email protected]>Signed-off-by Ashutosh Dixit <[email protected]>Thanks Ashutosh!
Quoted 17 lines
--- drivers/gpu/drm/i915/i915_reg.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)drivers/gpu/drm/i915/i915_reg.h +0
-6@@ -1794,14 +1794,14 @@#define GT0_PERF_LIMIT_REASONS _MMIO(0x1381a8)#define GT0_PERF_LIMIT_REASONS_MASK 0xde3 -#define PROCHOT_MASK REG_BIT(1) -#define THERMAL_LIMIT_MASK REG_BIT(2) -#define RATL_MASK REG_BIT(6) -#define VR_THERMALERT_MASK REG_BIT(7) -#define VR_TDC_MASK REG_BIT(8) -#define POWER_LIMIT_4_MASK REG_BIT(9)drivers/gpu/drm/i915/i915_reg.h line 1803
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +8
-2-#define POWER_LIMIT_1_MASK REG_BIT(11) -#define POWER_LIMIT_2_MASK REG_BIT(12) +#define PROCHOT_MASK REG_BIT(0) +#define THERMAL_LIMIT_MASK REG_BIT(1) +#define RATL_MASK REG_BIT(5) +#define VR_THERMALERT_MASK REG_BIT(6) +#define VR_TDC_MASK REG_BIT(7) +#define POWER_LIMIT_4_MASK REG_BIT(8) +#define POWER_LIMIT_1_MASK REG_BIT(10) +#define POWER_LIMIT_2_MASK REG_BIT(11)Sujaritha, could you please check and r-b this one?
Quoted 6 lines
Quoted 2 lines
Thanks,
AndiLooks good. I've checked the reg bits.
Reviewed-by Sujaritha Sundaresan <[email protected]>
^
I will fix it so no need to resend but just FYI Patchwork doesn't like the extra space above so doesn't register the R-b...
Re: [Intel-gfx] [PATCH 6/8] drm/i915/debugfs: Add perf_limit_reasons in debugfs
In reply to Ashutosh DixitQuoted 73 lines · Ashutosh Dixit
From: Tilak Tangudu <[email protected]>
Add
perf_limit_reasonsin debugfs. The upper 16perf_limit_reasonsRW "log" bits are identical to the lower 16 RO "status" bits except that the "log" bits remain set until cleared, thereby ensuring the throttling occurrence is not missed. The clear fop clears the upper 16 "log" bits, the get fop gets all 32 "log" and "status" bits.v2: Expand commit message and clarify "log" and "status" bits in
comment (Rodrigo)Cc Rodrigo Vivi <[email protected]>Signed-off-by Ashutosh Dixit <[email protected]>Signed-off-by Tilak Tangudu <[email protected]>--- drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c | 31 +++++++++++++++++++ drivers/gpu/drm/i915/i915_reg.h | 1 + 2 files changed, 32 insertions(+)drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c +31
-0@@ -655,6 +655,36 @@ static bool rps_eval(void *data)DEFINE_INTEL_GT_DEBUGFS_ATTRIBUTE (rps_boost); +static int perf_limit_reasons_get (void *data,u64 *val) +{ +struct intel_gt *gt = data; +intel_wakeref_t wakeref; + +with_intel_runtime_pm (gt->uncore->rpm, wakeref) + *val =intel_uncore_read (gt->uncore,GT0_PERF_LIMIT_REASONS ); + +return 0 ; +} + +static int perf_limit_reasons_clear (void *data,u64 val) +{ +struct intel_gt *gt = data; +intel_wakeref_t wakeref; + +/* +* Clear the upper 16 "log" bits, the lower 16 "status" bits are +* read-only. The upper 16 "log" bits are identical to the lower 16 +* "status" bits except that the "log" bits remain set until cleared. +*/ + with_intel_runtime_pm(gt->uncore->rpm, wakeref) +intel_uncore_rmw (gt->uncore,GT0_PERF_LIMIT_REASONS , +GT0_PERF_LIMIT_REASONS_LOG_MASK ,0 ); + +return 0 ; +} +DEFINE_SIMPLE_ATTRIBUTE (perf_limit_reasons_fops, perf_limit_reasons_get, + perf_limit_reasons_clear,"%llu\n" ); +void intel_gt_pm_debugfs_register (struct intel_gt *gt,struct dentry *root) {static const struct intel_gt_debugfs_file files[] = {@@ -664,6 +694,7 @@ void intel_gt_pm_debugfs_register(struct intel_gt *gt, struct dentry *root) { "forcewake_user", &forcewake_user_fops, NULL}, { "llc", &llc_fops, llc_eval }, { "rps_boost", &rps_boost_fops, rps_eval }, + { "perf_limit_reasons", &perf_limit_reasons_fops, NULL }, };intel_gt_debugfs_register_files (root, files,ARRAY_SIZE (files), gt);drivers/gpu/drm/i915/i915_reg.h +0
-0
drivers/gpu/drm/i915/i915_reg.h line 1806
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +1
-0@@ -1802,6 +1802,7 @@#define POWER_LIMIT_4_MASK REG_BIT(8)#define POWER_LIMIT_1_MASK REG_BIT(10)#define POWER_LIMIT_2_MASK REG_BIT(11) +#define GT0_PERF_LIMIT_REASONS_LOG_MASK REG_GENMASK(31, 16)
I'm kind of confused here because I saw the other bits in the patch 5.
but, anyway, thanks for improving the commit msg.
Quoted 5 lines
drivers/gpu/drm/i915/i915_reg.h +0
-0#define CHV_CLK_CTL1 _MMIO(0x101100)#define VLV_CLK_CTL2 _MMIO(0x101104)Signature · 1 line
2.34.1
Re: [Intel-gfx] [PATCH 7/8] drm/i915/mtl: PERF_LIMIT_REASONS changes for MTL
In reply to Ashutosh DixitQuoted 7 lines · Ashutosh Dixit
PERF_LIMIT_REASONSregister for MTL media gt is different now.v2: Avoid static inline for
intel_gt_perf_limit_reasons_reg()(Jani)Cc Jani Nikula <[email protected]>Cc Badal Nilawar <[email protected]>Signed-off-by Ashutosh Dixit <[email protected]>
Quoted 105 lines
--- drivers/gpu/drm/i915/gt/intel_gt.c | 6 ++++++ drivers/gpu/drm/i915/gt/intel_gt.h | 1 + drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c | 4 ++-- drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 6 +++--- drivers/gpu/drm/i915/i915_reg.h | 1 + 5 files changed, 13 insertions(+), 5 deletions(-)drivers/gpu/drm/i915/gt/intel_gt.c +6
-0@@ -224,6 +224,12 @@ static void gen6_clear_engine_error_register(struct intel_engine_cs *engine)GEN6_RING_FAULT_REG_POSTING_READ (engine); } +i915_reg_t intel_gt_perf_limit_reasons_reg (struct intel_gt *gt) +{ +return gt->type ==GT_MEDIA ? +MTL_MEDIA_PERF_LIMIT_REASONS :GT0_PERF_LIMIT_REASONS ; +} +void intel_gt_clear_error_registers (struct intel_gt *gt,intel_engine_mask_t engine_mask)drivers/gpu/drm/i915/gt/intel_gt.h +1
-0@@ -60,6 +60,7 @@ void intel_gt_driver_late_release_all(struct drm_i915_private *i915);int intel_gt_wait_for_idle (struct intel_gt *gt,long timeout);void intel_gt_check_and_clear_faults (struct intel_gt *gt); +i915_reg_t intel_gt_perf_limit_reasons_reg (struct intel_gt *gt);void intel_gt_clear_error_registers (struct intel_gt *gt,intel_engine_mask_t engine_mask);drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c +2
-2@@ -661,7 +661,7 @@ static int perf_limit_reasons_get(void *data, u64 *val)intel_wakeref_t wakeref;with_intel_runtime_pm (gt->uncore->rpm, wakeref) - *val =intel_uncore_read (gt->uncore,GT0_PERF_LIMIT_REASONS ); + *val =intel_uncore_read (gt->uncore,intel_gt_perf_limit_reasons_reg (gt));return 0 ; }@@ -677,7 +677,7 @@ static int perf_limit_reasons_clear(void *data, u64 val)* "status" bits except that the "log" bits remain set until cleared. */ with_intel_runtime_pm(gt->uncore->rpm, wakeref) -intel_uncore_rmw (gt->uncore,GT0_PERF_LIMIT_REASONS , +intel_uncore_rmw (gt->uncore,intel_gt_perf_limit_reasons_reg (gt),GT0_PERF_LIMIT_REASONS_LOG_MASK ,0 );return 0 ;drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c +3
-3@@ -510,7 +510,7 @@ struct intel_gt_bool_throttle_attr {struct attribute attr;ssize_t (*show)(struct device *dev,struct device_attribute *attr,char *buf); -i915_reg_t reg32; +i915_reg_t (*reg32)(struct intel_gt *gt);u32 mask; };@@ -521,7 +521,7 @@ static ssize_t throttle_reason_bool_show(struct device *dev,struct intel_gt *gt =intel_gt_sysfs_get_drvdata (dev, attr->attr.name);struct intel_gt_bool_throttle_attr *t_attr = (struct intel_gt_bool_throttle_attr *) attr; -bool val =rps_read_mask_mmio (>->rps, t_attr->reg32, t_attr->mask); +bool val =rps_read_mask_mmio (>->rps, t_attr->reg32 (gt), t_attr->mask);return sysfs_emit (buff,"%u\n" , val); }@@ -530,7 +530,7 @@ static ssize_t throttle_reason_bool_show(struct device *dev, struct intel_gt_bool_throttle_attr attr_##sysfs_func__ = { \ .attr = { .name =__stringify (sysfs_func__), .mode =0444 }, \ .show = throttle_reason_bool_show, \ - .reg32 =GT0_PERF_LIMIT_REASONS , \ + .reg32 = intel_gt_perf_limit_reasons_reg, \ .mask = mask__, \ }drivers/gpu/drm/i915/i915_reg.h +1
-0@@ -1803,6 +1803,7 @@#define POWER_LIMIT_1_MASK REG_BIT(10)#define POWER_LIMIT_2_MASK REG_BIT(11)#define GT0_PERF_LIMIT_REASONS_LOG_MASK REG_GENMASK(31, 16) +#define MTL_MEDIA_PERF_LIMIT_REASONS _MMIO(0x138030)#define CHV_CLK_CTL1 _MMIO(0x101100)#define VLV_CLK_CTL2 _MMIO(0x101104)Signature · 1 line
2.34.1
Re: [Intel-gfx] [PATCH 8/8] drm/i915/rps: Freq caps for MTL
In reply to Ashutosh DixitQuoted 9 lines · Ashutosh Dixit
For MTL, when reading from HW, RP0, RP1 (actuall RPe) and RPn freq use an entirely different set of registers with different fields, bitwidths and units.
v2: Move MTL check into a separate function (Jani)
Cc Jani Nikula <[email protected]>Cc Badal Nilawar <[email protected]>Signed-off-by Ashutosh Dixit <[email protected]>
Quoted 92 lines
--- drivers/gpu/drm/i915/gt/intel_rps.c | 46 +++++++++++++++++++++++------ drivers/gpu/drm/i915/i915_reg.h | 9 ++++++ 2 files changed, 46 insertions(+), 9 deletions(-)drivers/gpu/drm/i915/gt/intel_rps.c +37
-9@@ -1085,15 +1085,25 @@ static u32 intel_rps_read_state_cap(struct intel_rps *rps)return intel_uncore_read (uncore,GEN6_RP_STATE_CAP ); } -/** -* gen6_rps_get_freq_caps - Get freq caps exposed by HW -* @rps: the intel_rps structure -* @caps: returned freq caps -* -* Returned "caps" frequencies should be converted to MHz using -* intel_gpu_freq() -*/ -void gen6_rps_get_freq_caps (struct intel_rps *rps,struct intel_rps_freq_caps *caps) +static void +mtl_get_freq_caps (struct intel_rps *rps,struct intel_rps_freq_caps *caps) +{ +struct intel_uncore *uncore =rps_to_uncore (rps); +u32 rp_state_cap =rps_to_gt (rps)->type ==GT_MEDIA ? +intel_uncore_read (uncore,MTL_MEDIAP_STATE_CAP ) : +intel_uncore_read (uncore,MTL_RP_STATE_CAP ); +u32 rpe =rps_to_gt (rps)->type ==GT_MEDIA ? +intel_uncore_read (uncore,MTL_MPE_FREQUENCY ) : +intel_uncore_read (uncore,MTL_GT_RPE_FREQUENCY ); + +/* MTL values are in units of 16.67 MHz */ + caps->rp0_freq =REG_FIELD_GET (MTL_RP0_CAP_MASK , rp_state_cap); + caps->min_freq =REG_FIELD_GET (MTL_RPN_CAP_MASK , rp_state_cap); + caps->rp1_freq =REG_FIELD_GET (MTL_RPE_MASK , rpe); +} + +static void +__gen6_rps_get_freq_caps (struct intel_rps *rps,struct intel_rps_freq_caps *caps) {struct drm_i915_private *i915 =rps_to_i915 (rps);u32 rp_state_cap;@@ -1128,6 +1138,24 @@ void gen6_rps_get_freq_caps(struct intel_rps *rps, struct intel_rps_freq_caps *c } } +/** +* gen6_rps_get_freq_caps - Get freq caps exposed by HW +* @rps: the intel_rps structure +* @caps: returned freq caps +* +* Returned "caps" frequencies should be converted to MHz using +* intel_gpu_freq() +*/ +void gen6_rps_get_freq_caps (struct intel_rps *rps,struct intel_rps_freq_caps *caps) +{ +struct drm_i915_private *i915 =rps_to_i915 (rps); + +if (IS_METEORLAKE (i915)) +return mtl_get_freq_caps (rps, caps); +else +return __gen6_rps_get_freq_caps (rps, caps); +} +static void gen6_rps_init (struct intel_rps *rps) {struct drm_i915_private *i915 =rps_to_i915 (rps);drivers/gpu/drm/i915/i915_reg.h +9
-0@@ -1792,6 +1792,15 @@#define XEHPSDV_RP_STATE_CAP _MMIO(0x250014)#define PVC_RP_STATE_CAP _MMIO(0x281014) +#define MTL_RP_STATE_CAP _MMIO(0x138000) +#define MTL_MEDIAP_STATE_CAP _MMIO(0x138020) +#define MTL_RP0_CAP_MASK REG_GENMASK(8, 0) +#define MTL_RPN_CAP_MASK REG_GENMASK(24, 16) + +#define MTL_GT_RPE_FREQUENCY _MMIO(0x13800c) +#define MTL_MPE_FREQUENCY _MMIO(0x13802c) +#define MTL_RPE_MASK REG_GENMASK(8, 0) +#define GT0_PERF_LIMIT_REASONS _MMIO(0x1381a8)#define GT0_PERF_LIMIT_REASONS_MASK 0xde3#define PROCHOT_MASK REG_BIT(0)Signature · 1 line
2.34.1
Re: [Intel-gfx] [PATCH 6/8] drm/i915/debugfs: Add perf_limit_reasons in debugfs
In reply to Rodrigo ViviQuoted 15 lines · Rodrigo Vivi
drivers/gpu/drm/i915/i915_reg.h line 1806
Quoted 11 lines · Ashutosh Dixit
From: Tilak Tangudu <[email protected]>
drivers/gpu/drm/i915/i915_reg.h +1
-0@@ -1802,6 +1802,7 @@#define POWER_LIMIT_4_MASK REG_BIT(8)#define POWER_LIMIT_1_MASK REG_BIT(10)#define POWER_LIMIT_2_MASK REG_BIT(11) +#define GT0_PERF_LIMIT_REASONS_LOG_MASK REG_GENMASK(31, 16)I'm kind of confused here because I saw the other bits in the patch 5.
Sorry Rodrigo, patch 5 is a bug-fix patch which should probably be merged to -fixes independent of this series, I have posted it independently too:
https://patchwork.freedesktop.org/series/108277/
I was debating including patch 5 as part of this series but then it was touching the same code so I ended up including it. Sorry for the confusion.
Quoted 3 lines
but, anyway, thanks for improving the commit msg.
Reviewed-by Rodrigo Vivi <[email protected]>
Thanks.
--
Ashutosh
Re: [Intel-gfx] [PATCH 6/8] drm/i915/debugfs: Add perf_limit_reasons in debugfs
On Fri, 2022-09-09 at 08:38 -0700, Dixit, Ashutosh wrote:
On Fri, 09 Sep 2022 03:13:05 -0700, Rodrigo Vivi wrote:
On Wed, Sep 07, 2022 at 10:22:49PM -0700, Ashutosh Dixit wrote:
From: Tilak Tangudu <[email protected]<mailto:[email protected]>>
drivers/gpu/drm/i915/i915_reg.h +1 -0
@@ -1802,6 +1802,7 @@#define POWER_LIMIT_4_MASK REG_BIT(8)#define POWER_LIMIT_1_MASK REG_BIT(10)#define POWER_LIMIT_2_MASK REG_BIT(11) +#define GT0_PERF_LIMIT_REASONS_LOG_MASK REG_GENMASK(31, 16)
I'm kind of confused here because I saw the other bits in the patch 5.
Sorry Rodrigo, patch 5 is a bug-fix patch which should probably be merged to -fixes independent of this series, I have posted it independently too:
https://patchwork.freedesktop.org/series/108277/
yeap, better to merge this one first.
I hope https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108277v2/shard-apl4/igt@[email protected]
is not related to this patch. should we trigger a retest?
I was debating including patch 5 as part of this series but then it was touching the same code so I ended up including it. Sorry for the confusion.
no worries. it makes sense now.
Thanks for the patience
but, anyway, thanks for improving the commit msg.
Thanks.
--
Ashutosh
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BUILD: failure for i915: freq caps and perf_limit_reasons changes for MTL (rev3)
In reply to Ashutosh Dixit== Series Details ==
== Series Details ==
Series: i915: freq caps and perf_limit_reasons changes for MTL (rev3)
URL : https://patchwork.freedesktop.org/series/108091/
State : failure
== Summary ==
Error: patch https://patchwork.freedesktop.org/api/1.0/series/108091/revisions/3/mbox/ not applied
Applying: drm/i915: Prepare more multi-GT initialization
Applying: drm/i915: Rename and expose common GT early init routine
Applying: drm/i915/uncore: Add GSI offset to uncore
Applying: drm/i915/xelpmp: Expose media as another GT
Applying: drm/i915/gt: Fix perf limit reasons bit positions
Applying: drm/i915/debugfs: Add perf_limit_reasons in debugfs
error: corrupt patch at line 12
error: could not build fake ancestor
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0006 drm/i915/debugfs: Add perf_limit_reasons in debugfs
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".