i915: CAGF and RC6 changes for MTL
Subsystems (2)
cover i915: CAGF and RC6 changes for MTL
This series includes the code changes to get CAGF, RC State and C6 Residency of MTL. The series depends on:
https://patchwork.freedesktop.org/series/107908/
We have included 3 patches from from the above series as part of this series in order for this series to compile. These are the first 3 patches authored by Matt Roper. Please do not review these first 3 patches. Only patch 4 and 6 needs review.
v2: Included "Use GEN12 RPSTAT register" patch
Badal Nilawar (2):
drm/i915/mtl: Modify CAGF functions for MTL drm/i915/mtl: Add C6 residency support for MTL SAMedia
Don Hiatt (1):
drm/i915: Use GEN12 RPSTAT register
Matt Roper (3):
drm/i915: Prepare more multi-GT initialization drm/i915: Rename and expose common GT early init routine drm/i915/xelpmp: Expose media as another GT
drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt.c | 70 +++++++++++++++---- drivers/gpu/drm/i915/gt/intel_gt.h | 2 +- drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c | 58 ++++++++++++++- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 31 ++++++++ drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 9 ++- drivers/gpu/drm/i915/gt/intel_gt_types.h | 3 + drivers/gpu/drm/i915/gt/intel_rc6.c | 5 +- drivers/gpu/drm/i915/gt/intel_rps.c | 22 +++++- drivers/gpu/drm/i915/gt/intel_rps.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/gt/selftest_rc6.c | 9 ++- drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_pci.c | 15 ++++ drivers/gpu/drm/i915/i915_pmu.c | 11 ++- drivers/gpu/drm/i915/intel_device_info.h | 19 +++++ drivers/gpu/drm/i915/intel_uncore.c | 16 ++++- drivers/gpu/drm/i915/intel_uncore.h | 20 +++++- .../gpu/drm/i915/selftests/mock_gem_device.c | 1 + 21 files changed, 325 insertions(+), 26 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.25.1
PATCH 1/6 drm/i915: Prepare more multi-GT initialization
From: Matt Roper <[email protected]>
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().
--- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt.c | 54 ++++++++++++++++--- drivers/gpu/drm/i915/gt/intel_gt.h | 1 - drivers/gpu/drm/i915/gt/intel_gt_types.h | 3 ++ drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/intel_device_info.h | 16 ++++++ .../gpu/drm/i915/selftests/mock_gem_device.c | 1 + 7 files changed, 70 insertions(+), 9 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 +47 -7
81 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 +3 -0
@@ -83,6 +83,9 @@ struct gt_defaults {struct intel_gt {struct drm_i915_private *i915; +const char *name; +enum intel_gt_type type; +struct intel_uncore *uncore;struct i915_ggtt *ggtt;
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 +16 -0
@@ -245,6 +245,20 @@ struct intel_runtime_info { }; }; +enum intel_gt_type { +GT_PRIMARY , +GT_TILE , +}; + +struct intel_gt_definition { +enum intel_gt_type type; +char *name; +int (*setup)(struct intel_gt *gt, +phys_addr_t phys_addr); +u32 mapping_base; +intel_engine_mask_t engine_mask; +}; +struct intel_device_info {struct ip_version media;
@@ -252,6 +266,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.25.1
PATCH 2/6 drm/i915: Rename and expose common GT early init routine
In reply to Badal NilawarFrom: Matt Roper <[email protected]>
The common early GT init is needed for initialization of all GT types (root/primary, remote tile, standalone media). Since standalone media (coming in the next 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.25.1
PATCH 3/6 drm/i915/xelpmp: Expose media as another GT
In reply to Badal NilawarFrom: Matt Roper <[email protected]>
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.
--- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_gt.c | 12 ++++++-- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 8 +++++ 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 | 15 +++++++++ drivers/gpu/drm/i915/intel_device_info.h | 5 ++- drivers/gpu/drm/i915/intel_uncore.c | 16 ++++++++-- drivers/gpu/drm/i915/intel_uncore.h | 20 ++++++++++-- 9 files changed, 123 insertions(+), 8 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
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 +9 -3
@@ -776,10 +776,15 @@ void intel_gt_driver_late_release_all(struct drm_i915_private *i915) } } -static int intel_gt_tile_setup (struct intel_gt *gt,phys_addr_t phys_addr) +static int intel_gt_tile_setup (struct intel_gt *gt, +phys_addr_t phys_addr, +u32 gsi_offset) {int ret; +/* GSI offset is only applicable for media GTs */ +drm_WARN_ON (>->i915->drm, gsi_offset); +if (!gt_is_root (gt)) {struct intel_uncore_mmio_debug *mmio_debug;struct intel_uncore *uncore;
@@ -840,7 +845,7 @@ int intel_gt_probe_all(struct drm_i915_private *i915) gt->info.engine_mask =RUNTIME_INFO (i915)->platform_engine_mask;drm_dbg (&i915->drm,"Setting up %s\n" , gt->name); - ret =intel_gt_tile_setup (gt, phys_addr); + ret =intel_gt_tile_setup (gt, phys_addr,0 );if (ret)return ret;
@@ -873,7 +878,8 @@ int intel_gt_probe_all(struct drm_i915_private *i915) goto err; } - ret = gtdef->setup (gt, phys_addr + gtdef->mapping_base); + ret = gtdef->setup (gt, phys_addr + gtdef->mapping_base, + gtdef->gsi_offset);if (ret) goto err;
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_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 +15 -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,17 @@ 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" , + .setup = intel_sa_mediagt_setup, + .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 +1142,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,
drivers/gpu/drm/i915/intel_device_info.h +4 -1
@@ -248,14 +248,17 @@ struct intel_runtime_info {enum intel_gt_type {GT_PRIMARY ,GT_TILE , +GT_MEDIA , };struct intel_gt_definition {enum intel_gt_type type;char *name;int (*setup)(struct intel_gt *gt, -phys_addr_t phys_addr); +phys_addr_t phys_addr, +u32 gsi_offset);u32 mapping_base; +u32 gsi_offset;intel_engine_mask_t engine_mask; };
drivers/gpu/drm/i915/intel_uncore.c +14 -2
@@ -1771,10 +1771,15 @@ __gen2_read(64)#undef GEN2_READ_FOOTER#undef GEN2_READ_HEADER +#define IS_GSI_REG (reg) ((reg) < 0x40000) +#define GEN6_READ_HEADER (x) \ - u32 offset = i915_mmio_reg_offset(reg); \ + u32 offset; \ unsigned long irqflags; \ u##x val = 0; \ + if (IS_GSI_REG(reg.reg)) \ + reg.reg += uncore->gsi_offset; \ + offset = i915_mmio_reg_offset(reg); \ assert_rpm_wakelock_held(uncore->rpm); \ spin_lock_irqsave(&uncore->lock, irqflags); \ unclaimed_reg_debug(uncore, reg, true, true)
@@ -1876,8 +1881,11 @@ __gen2_write(32)#undef GEN2_WRITE_HEADER#define GEN6_WRITE_HEADER \ - u32 offset = i915_mmio_reg_offset(reg); \ + u32 offset; \ unsigned long irqflags; \ + if (IS_GSI_REG(reg.reg)) \ + reg.reg += uncore->gsi_offset; \ + offset = i915_mmio_reg_offset(reg); \ trace_i915_reg_rw(true, reg, val, sizeof(val), trace); \ assert_rpm_wakelock_held(uncore->rpm); \ spin_lock_irqsave(&uncore->lock, irqflags); \
@@ -2256,6 +2264,10 @@ int intel_uncore_setup_mmio(struct intel_uncore *uncore, phys_addr_t phys_addr)void intel_uncore_cleanup_mmio (struct intel_uncore *uncore) { +/* The media GT re-uses the primary GT's register mapping */ +if (uncore->gt->type ==GT_MEDIA ) +return ; +iounmap (uncore->regs); }
drivers/gpu/drm/i915/intel_uncore.h +18 -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)
@@ -299,14 +309,20 @@ intel_wait_for_register_fw(struct intel_uncore *uncore, 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 (offset < 0x40000) \ + 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 (offset < 0x40000) \ + offset += uncore->gsi_offset; \ + write##s__(val, uncore->regs + offset); \ } __raw_read(8, b)__raw_read (16 , w)
Signature · 1 line
2.25.1
PATCH 4/6 drm/i915: Use GEN12 RPSTAT register
In reply to Badal NilawarFrom: Don Hiatt <[email protected]>
On GEN12, use the correct GEN12 RPSTAT register mask/shift.
HSD: 1409538411
--- drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 5 +++++ drivers/gpu/drm/i915/gt/intel_rps.c | 17 ++++++++++++++++- drivers/gpu/drm/i915/gt/intel_rps.h | 1 + drivers/gpu/drm/i915/i915_pmu.c | 3 +-- 5 files changed, 24 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c +1 -1
@@ -380,7 +380,7 @@ void intel_gt_pm_frequency_dump(struct intel_gt *gt, struct drm_printer *p) rpinclimit =intel_uncore_read (uncore,GEN6_RP_UP_THRESHOLD ); rpdeclimit =intel_uncore_read (uncore,GEN6_RP_DOWN_THRESHOLD ); - rpstat =intel_uncore_read (uncore,GEN6_RPSTAT1 ); + rpstat =intel_rps_read_rpstat (rps); rpcurupei =intel_uncore_read (uncore,GEN6_RP_CUR_UP_EI ) &GEN6_CURICONT_MASK ; rpcurup =intel_uncore_read (uncore,GEN6_RP_CUR_UP ) &GEN6_CURBSYTAVG_MASK ; rpprevup =intel_uncore_read (uncore,GEN6_RP_PREV_UP ) &GEN6_CURBSYTAVG_MASK ;
drivers/gpu/drm/i915/gt/intel_gt_regs.h +5 -0
@@ -1510,6 +1510,11 @@#define VLV_RENDER_C0_COUNT _MMIO(0x138118)#define VLV_MEDIA_C0_COUNT _MMIO(0x13811c) +#define GEN12_RPSTAT1 _MMIO(0x1381b4) +#define GEN12_CAGF_SHIFT 11 +#define GEN12_CAGF_MASK REG_GENMASK(19, 11) +#define GEN12_VOLTAGE_MASK REG_GENMASK(10, 0) +#define GEN11_GT_INTR_DW (x) _MMIO(0x190018 + ((x) * 4))#define GEN11_CSME (31)#define GEN11_GUNIT (28)
drivers/gpu/drm/i915/gt/intel_rps.c +16 -1
@@ -2040,6 +2040,19 @@ void intel_rps_sanitize(struct intel_rps *rps)rps_disable_interrupts (rps); } +u32 intel_rps_read_rpstat (struct intel_rps *rps) +{ +struct drm_i915_private *i915 =rps_to_i915 (rps); +u32 rpstat; + +if (GRAPHICS_VER (i915) >=12 ) + rpstat =intel_uncore_read (rps_to_gt (rps)->uncore,GEN12_RPSTAT1 ); +else + rpstat =intel_uncore_read (rps_to_gt (rps)->uncore,GEN6_RPSTAT1 ); + +return rpstat; +} +u32 intel_rps_get_cagf (struct intel_rps *rps,u32 rpstat) {struct drm_i915_private *i915 =rps_to_i915 (rps);
@@ -2047,6 +2060,8 @@ u32 intel_rps_get_cagf(struct intel_rps *rps, u32 rpstat)if (IS_VALLEYVIEW (i915) ||IS_CHERRYVIEW (i915)) cagf = (rpstat >>8 ) &0xff ; +else if (GRAPHICS_VER (i915) >=12 ) + cagf = (rpstat &GEN12_CAGF_MASK ) >>GEN12_CAGF_SHIFT ;else if (GRAPHICS_VER (i915) >=9 ) cagf = (rpstat &GEN9_CAGF_MASK ) >>GEN9_CAGF_SHIFT ;else if (IS_HASWELL (i915) ||IS_BROADWELL (i915))
@@ -2071,7 +2086,7 @@ static u32 read_cagf(struct intel_rps *rps) freq =vlv_punit_read (i915,PUNIT_REG_GPU_FREQ_STS );vlv_punit_put (i915); }else if (GRAPHICS_VER (i915) >=6 ) { - freq =intel_uncore_read (uncore,GEN6_RPSTAT1 ); + freq =intel_rps_read_rpstat (rps); }else { freq =intel_uncore_read (uncore,MEMSTAT_ILK ); }
drivers/gpu/drm/i915/gt/intel_rps.h +1 -0
@@ -47,6 +47,7 @@ u32 intel_rps_get_rp1_frequency(struct intel_rps *rps);u32 intel_rps_get_rpn_frequency (struct intel_rps *rps);u32 intel_rps_read_punit_req (struct intel_rps *rps);u32 intel_rps_read_punit_req_frequency (struct intel_rps *rps); +u32 intel_rps_read_rpstat (struct intel_rps *rps);void gen6_rps_get_freq_caps (struct intel_rps *rps,struct intel_rps_freq_caps *caps);void intel_rps_raise_unslice (struct intel_rps *rps);void intel_rps_lower_unslice (struct intel_rps *rps);
drivers/gpu/drm/i915/i915_pmu.c +1 -2
@@ -371,7 +371,6 @@ static void frequency_sample(struct intel_gt *gt, unsigned int period_ns) { struct drm_i915_private *i915 = gt->i915; -struct intel_uncore *uncore = gt->uncore;struct i915_pmu *pmu = &i915->pmu;struct intel_rps *rps = >->rps;
@@ -394,7 +393,7 @@ frequency_sample(struct intel_gt *gt, unsigned int period_ns)* case we assume the system is running at the intended * frequency. Fortunately, the read should rarely fail! */ - val =intel_uncore_read_fw (uncore,GEN6_RPSTAT1 ); + val =intel_rps_read_rpstat (rps);if (val) val =intel_rps_get_cagf (rps, val);else
Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH 4/6] drm/i915: Use GEN12 RPSTAT register
Quoted 6 lines · Badal Nilawar
From: Don Hiatt <[email protected]>
On GEN12, use the correct GEN12 RPSTAT register mask/shift.
HSD: 1409538411
I think let's remove this.
Quoted 30 lines
Cc Don Hiatt <[email protected]>Cc Andi Shyti <[email protected]>Signed-off-by Don Hiatt <[email protected]>Signed-off-by Badal Nilawar <[email protected]>--- drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 5 +++++ drivers/gpu/drm/i915/gt/intel_rps.c | 17 ++++++++++++++++- drivers/gpu/drm/i915/gt/intel_rps.h | 1 + drivers/gpu/drm/i915/i915_pmu.c | 3 +-- 5 files changed, 24 insertions(+), 4 deletions(-)drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c +1
-1@@ -380,7 +380,7 @@ void intel_gt_pm_frequency_dump(struct intel_gt *gt, struct drm_printer *p) rpinclimit =intel_uncore_read (uncore,GEN6_RP_UP_THRESHOLD ); rpdeclimit =intel_uncore_read (uncore,GEN6_RP_DOWN_THRESHOLD ); - rpstat =intel_uncore_read (uncore,GEN6_RPSTAT1 ); + rpstat =intel_rps_read_rpstat (rps); rpcurupei =intel_uncore_read (uncore,GEN6_RP_CUR_UP_EI ) &GEN6_CURICONT_MASK ; rpcurup =intel_uncore_read (uncore,GEN6_RP_CUR_UP ) &GEN6_CURBSYTAVG_MASK ; rpprevup =intel_uncore_read (uncore,GEN6_RP_PREV_UP ) &GEN6_CURBSYTAVG_MASK ;drivers/gpu/drm/i915/gt/intel_gt_regs.h +0
-0
drivers/gpu/drm/i915/gt/intel_gt_regs.h line 1516
Quoted 7 lines
drivers/gpu/drm/i915/gt/intel_gt_regs.h +4
-0@@ -1510,6 +1510,11 @@#define VLV_RENDER_C0_COUNT _MMIO(0x138118)#define VLV_MEDIA_C0_COUNT _MMIO(0x13811c) +#define GEN12_RPSTAT1 _MMIO(0x1381b4) +#define GEN12_CAGF_SHIFT 11 +#define GEN12_CAGF_MASK REG_GENMASK(19, 11) +#define GEN12_VOLTAGE_MASK REG_GENMASK(10, 0)
Let's remove GEN12_VOLTAGE_MASK, looks like it's not being used.
Quoted 11 lines
drivers/gpu/drm/i915/gt/intel_gt_regs.h +1
-0+#define GEN11_GT_INTR_DW (x) _MMIO(0x190018 + ((x) * 4))#define GEN11_CSME (31)#define GEN11_GUNIT (28)drivers/gpu/drm/i915/gt/intel_rps.c +0
-0@@ -2040,6 +2040,19 @@ void intel_rps_sanitize(struct intel_rps *rps)rps_disable_interrupts (rps); }
drivers/gpu/drm/i915/gt/intel_rps.c void intel_rps_sanitize(struct intel_rps *rps) · line 2051
Quoted 10 lines
drivers/gpu/drm/i915/gt/intel_rps.c +9
-0+u32 intel_rps_read_rpstat (struct intel_rps *rps) +{ +struct drm_i915_private *i915 =rps_to_i915 (rps); +u32 rpstat; + +if (GRAPHICS_VER (i915) >=12 ) + rpstat =intel_uncore_read (rps_to_gt (rps)->uncore,GEN12_RPSTAT1 ); +else + rpstat =intel_uncore_read (rps_to_gt (rps)->uncore,GEN6_RPSTAT1 );
Probably nit but how about something like this:
i915_reg_t rpstat; if (GRAPHICS_VER(i915) >= 12) rpstat = GEN12_RPSTAT1; else rpstat = GEN6_RPSTAT1; return intel_uncore_read(rps_to_gt(rps)->uncore, rpstat);
Quoted 50 lines
drivers/gpu/drm/i915/gt/intel_rps.c +7
-1+ +return rpstat; +} +u32 intel_rps_get_cagf (struct intel_rps *rps,u32 rpstat) {struct drm_i915_private *i915 =rps_to_i915 (rps);@@ -2047,6 +2060,8 @@ u32 intel_rps_get_cagf(struct intel_rps *rps, u32 rpstat)if (IS_VALLEYVIEW (i915) ||IS_CHERRYVIEW (i915)) cagf = (rpstat >>8 ) &0xff ; +else if (GRAPHICS_VER (i915) >=12 ) + cagf = (rpstat &GEN12_CAGF_MASK ) >>GEN12_CAGF_SHIFT ;else if (GRAPHICS_VER (i915) >=9 ) cagf = (rpstat &GEN9_CAGF_MASK ) >>GEN9_CAGF_SHIFT ;else if (IS_HASWELL (i915) ||IS_BROADWELL (i915))@@ -2071,7 +2086,7 @@ static u32 read_cagf(struct intel_rps *rps) freq =vlv_punit_read (i915,PUNIT_REG_GPU_FREQ_STS );vlv_punit_put (i915); }else if (GRAPHICS_VER (i915) >=6 ) { - freq =intel_uncore_read (uncore,GEN6_RPSTAT1 ); + freq =intel_rps_read_rpstat (rps); }else { freq =intel_uncore_read (uncore,MEMSTAT_ILK ); }drivers/gpu/drm/i915/gt/intel_rps.h +1
-0@@ -47,6 +47,7 @@ u32 intel_rps_get_rp1_frequency(struct intel_rps *rps);u32 intel_rps_get_rpn_frequency (struct intel_rps *rps);u32 intel_rps_read_punit_req (struct intel_rps *rps);u32 intel_rps_read_punit_req_frequency (struct intel_rps *rps); +u32 intel_rps_read_rpstat (struct intel_rps *rps);void gen6_rps_get_freq_caps (struct intel_rps *rps,struct intel_rps_freq_caps *caps);void intel_rps_raise_unslice (struct intel_rps *rps);void intel_rps_lower_unslice (struct intel_rps *rps);drivers/gpu/drm/i915/i915_pmu.c +0
-1@@ -371,7 +371,6 @@ static void frequency_sample(struct intel_gt *gt, unsigned int period_ns) { struct drm_i915_private *i915 = gt->i915; -struct intel_uncore *uncore = gt->uncore;struct i915_pmu *pmu = &i915->pmu;struct intel_rps *rps = >->rps;
drivers/gpu/drm/i915/i915_pmu.c frequency_sample(struct intel_gt *gt, unsigned int period_ns) · line 396
Quoted 5 lines
drivers/gpu/drm/i915/i915_pmu.c +1
-1@@ -394,7 +393,7 @@ frequency_sample(struct intel_gt *gt, unsigned int period_ns)* case we assume the system is running at the intended * frequency. Fortunately, the read should rarely fail! */ - val =intel_uncore_read_fw (uncore,GEN6_RPSTAT1 ); + val =intel_rps_read_rpstat (rps);
Hmm, we got rid of _fw which the comment above refers to. Maybe we need a fw flag to intel_rps_read_rpstat?
Quoted 6 lines
drivers/gpu/drm/i915/i915_pmu.c +0
-1if (val) val =intel_rps_get_cagf (rps, val);else --2.25.1
Re: [Intel-gfx] [PATCH 4/6] drm/i915: Use GEN12 RPSTAT register
Quoted 9 lines · Ashutosh
Quoted 6 lines · Badal Nilawar
From: Don Hiatt <[email protected]>
On GEN12, use the correct GEN12 RPSTAT register mask/shift.
HSD: 1409538411
I think let's remove this.
Sure.
Quoted 34 lines
Quoted 34 lines
Cc Don Hiatt <[email protected]>Cc Andi Shyti <[email protected]>Signed-off-by Don Hiatt <[email protected]>Signed-off-by Badal Nilawar <[email protected]>--- drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 5 +++++ drivers/gpu/drm/i915/gt/intel_rps.c | 17 ++++++++++++++++- drivers/gpu/drm/i915/gt/intel_rps.h | 1 + drivers/gpu/drm/i915/i915_pmu.c | 3 +-- 5 files changed, 24 insertions(+), 4 deletions(-)drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c +1
-1@@ -380,7 +380,7 @@ void intel_gt_pm_frequency_dump(struct intel_gt *gt, struct drm_printer *p) rpinclimit =intel_uncore_read (uncore,GEN6_RP_UP_THRESHOLD ); rpdeclimit =intel_uncore_read (uncore,GEN6_RP_DOWN_THRESHOLD ); - rpstat =intel_uncore_read (uncore,GEN6_RPSTAT1 ); + rpstat =intel_rps_read_rpstat (rps); rpcurupei =intel_uncore_read (uncore,GEN6_RP_CUR_UP_EI ) &GEN6_CURICONT_MASK ; rpcurup =intel_uncore_read (uncore,GEN6_RP_CUR_UP ) &GEN6_CURBSYTAVG_MASK ; rpprevup =intel_uncore_read (uncore,GEN6_RP_PREV_UP ) &GEN6_CURBSYTAVG_MASK ;drivers/gpu/drm/i915/gt/intel_gt_regs.h +0
-0@@ -1510,6 +1510,11 @@#define VLV_RENDER_C0_COUNT _MMIO(0x138118)#define VLV_MEDIA_C0_COUNT _MMIO(0x13811c)
Quoted 6 lines
drivers/gpu/drm/i915/gt/intel_gt_regs.h line 1516
Quoted 4 lines
drivers/gpu/drm/i915/gt/intel_gt_regs.h +4
-0+#define GEN12_RPSTAT1 _MMIO(0x1381b4) +#define GEN12_CAGF_SHIFT 11 +#define GEN12_CAGF_MASK REG_GENMASK(19, 11) +#define GEN12_VOLTAGE_MASK REG_GENMASK(10, 0)Let's remove
GEN12_VOLTAGE_MASK, looks like it's not being used.
Yes, not used. I will remove this.
Quoted 25 lines
Quoted 12 lines
drivers/gpu/drm/i915/gt/intel_gt_regs.h +1
-0+#define GEN11_GT_INTR_DW (x) _MMIO(0x190018 + ((x) * 4))#define GEN11_CSME (31)#define GEN11_GUNIT (28)drivers/gpu/drm/i915/gt/intel_rps.c +0
-0@@ -2040,6 +2040,19 @@ void intel_rps_sanitize(struct intel_rps *rps)rps_disable_interrupts (rps); }drivers/gpu/drm/i915/gt/intel_rps.c void intel_rps_sanitize(struct intel_rps *rps) · line 2051
Quoted 10 lines
drivers/gpu/drm/i915/gt/intel_rps.c +9
-0+u32 intel_rps_read_rpstat (struct intel_rps *rps) +{ +struct drm_i915_private *i915 =rps_to_i915 (rps); +u32 rpstat; + +if (GRAPHICS_VER (i915) >=12 ) + rpstat =intel_uncore_read (rps_to_gt (rps)->uncore,GEN12_RPSTAT1 ); +else + rpstat =intel_uncore_read (rps_to_gt (rps)->uncore,GEN6_RPSTAT1 );Probably nit but how about something like this:
Quoted 8 lines
i915_reg_t rpstat; if (GRAPHICS_VER(i915) >= 12) rpstat = GEN12_RPSTAT1; else rpstat = GEN6_RPSTAT1; return intel_uncore_read(rps_to_gt(rps)->uncore, rpstat);
Ok
Quoted 49 lines
Quoted 49 lines
drivers/gpu/drm/i915/gt/intel_rps.c +7
-1+ +return rpstat; +} +u32 intel_rps_get_cagf (struct intel_rps *rps,u32 rpstat) {struct drm_i915_private *i915 =rps_to_i915 (rps);@@ -2047,6 +2060,8 @@ u32 intel_rps_get_cagf(struct intel_rps *rps, u32 rpstat)if (IS_VALLEYVIEW (i915) ||IS_CHERRYVIEW (i915)) cagf = (rpstat >>8 ) &0xff ; +else if (GRAPHICS_VER (i915) >=12 ) + cagf = (rpstat &GEN12_CAGF_MASK ) >>GEN12_CAGF_SHIFT ;else if (GRAPHICS_VER (i915) >=9 ) cagf = (rpstat &GEN9_CAGF_MASK ) >>GEN9_CAGF_SHIFT ;else if (IS_HASWELL (i915) ||IS_BROADWELL (i915))@@ -2071,7 +2086,7 @@ static u32 read_cagf(struct intel_rps *rps) freq =vlv_punit_read (i915,PUNIT_REG_GPU_FREQ_STS );vlv_punit_put (i915); }else if (GRAPHICS_VER (i915) >=6 ) { - freq =intel_uncore_read (uncore,GEN6_RPSTAT1 ); + freq =intel_rps_read_rpstat (rps); }else { freq =intel_uncore_read (uncore,MEMSTAT_ILK ); }drivers/gpu/drm/i915/gt/intel_rps.h +1
-0@@ -47,6 +47,7 @@ u32 intel_rps_get_rp1_frequency(struct intel_rps *rps);u32 intel_rps_get_rpn_frequency (struct intel_rps *rps);u32 intel_rps_read_punit_req (struct intel_rps *rps);u32 intel_rps_read_punit_req_frequency (struct intel_rps *rps); +u32 intel_rps_read_rpstat (struct intel_rps *rps);void gen6_rps_get_freq_caps (struct intel_rps *rps,struct intel_rps_freq_caps *caps);void intel_rps_raise_unslice (struct intel_rps *rps);void intel_rps_lower_unslice (struct intel_rps *rps);drivers/gpu/drm/i915/i915_pmu.c +0
-1@@ -371,7 +371,6 @@ static void frequency_sample(struct intel_gt *gt, unsigned int period_ns) { struct drm_i915_private *i915 = gt->i915; -struct intel_uncore *uncore = gt->uncore;struct i915_pmu *pmu = &i915->pmu;struct intel_rps *rps = >->rps;
Quoted 9 lines
drivers/gpu/drm/i915/i915_pmu.c frequency_sample(struct intel_gt *gt, unsigned int period_ns) · line 396
Quoted 6 lines
drivers/gpu/drm/i915/i915_pmu.c +1
-1@@ -394,7 +393,7 @@ frequency_sample(struct intel_gt *gt, unsigned int period_ns)* case we assume the system is running at the intended * frequency. Fortunately, the read should rarely fail! */ - val =intel_uncore_read_fw (uncore,GEN6_RPSTAT1 ); + val =intel_rps_read_rpstat (rps);Hmm, we got rid of
_fwwhich the comment above refers to. Maybe we need a fw flag tointel_rps_read_rpstat?
Above function before reading rpstat it checks if gt is awake. So when gt is awake shouldn't matter if we read GEN6_RPSTAT1 with forcewake.In that case we can remove above comment. Let me know your thoughts on this.
Regards,
Badal Nilawar
Quoted 7 lines
Quoted 7 lines
drivers/gpu/drm/i915/i915_pmu.c +0
-1if (val) val =intel_rps_get_cagf (rps, val);else --2.25.1
Re: [Intel-gfx] [PATCH 4/6] drm/i915: Use GEN12 RPSTAT register
Quoted 23 lines · Badal
Quoted 13 lines
Quoted 13 lines
drivers/gpu/drm/i915/i915_pmu.c +0
-1@@ -371,7 +371,6 @@ static void frequency_sample(struct intel_gt *gt, unsigned int period_ns) { struct drm_i915_private *i915 = gt->i915; -struct intel_uncore *uncore = gt->uncore;struct i915_pmu *pmu = &i915->pmu;struct intel_rps *rps = >->rps;Quoted 9 lines
drivers/gpu/drm/i915/i915_pmu.c frequency_sample(struct intel_gt *gt, unsigned int period_ns) · line 396
Quoted 6 lines
drivers/gpu/drm/i915/i915_pmu.c +1
-1@@ -394,7 +393,7 @@ frequency_sample(struct intel_gt *gt, unsigned int period_ns)* case we assume the system is running at the intended * frequency. Fortunately, the read should rarely fail! */ - val =intel_uncore_read_fw (uncore,GEN6_RPSTAT1 ); + val =intel_rps_read_rpstat (rps);Hmm, we got rid of
_fwwhich the comment above refers to. Maybe we need a fw flag tointel_rps_read_rpstat?
Quoted 1 line
Above function before reading rpstat it checks if gt is awake.
Ok, so you are referring to intel_gt_pm_get_if_awake check in frequency_sample.
Quoted 3 lines
So when gt is awake shouldn't matter if we read
GEN6_RPSTAT1with forcewake.In that case we can remove above comment. Let me know your thoughts on this.
I am not entirely sure about this. For example in c1c82d267ae8 intel_uncore_read_fw was introduced with the same intel_gt_pm_get_if_awake check. So this would mean even if gt is awake not taking forcewake makes a difference. The same code pattern was retained in b66ecd0438bf. Maybe it's because there are no locks?
Under the circumstances I think we could do one of two things:
1. If we want to drop _fw, we should do it as a separate patch with its own justification so it can be reviewed separately.
2. Otherwise as I mentioned we should retain the _fw and add a fw flag to intel_rps_read_rpstat.
Thanks.
--
Ashutosh
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
drivers/gpu/drm/i915/i915_pmu.c +0
-1if (val) val =intel_rps_get_cagf (rps, val);else --2.25.1
Re: [Intel-gfx] [PATCH 4/6] drm/i915: Use GEN12 RPSTAT register
Quoted 32 lines · Ashutosh
Quoted 23 lines · Badal
Quoted 13 lines
Quoted 13 lines
drivers/gpu/drm/i915/i915_pmu.c +0
-1@@ -371,7 +371,6 @@ static void frequency_sample(struct intel_gt *gt, unsigned int period_ns) { struct drm_i915_private *i915 = gt->i915; -struct intel_uncore *uncore = gt->uncore;struct i915_pmu *pmu = &i915->pmu;struct intel_rps *rps = >->rps;Quoted 9 lines
drivers/gpu/drm/i915/i915_pmu.c frequency_sample(struct intel_gt *gt, unsigned int period_ns) · line 396
Quoted 6 lines
drivers/gpu/drm/i915/i915_pmu.c +1
-1@@ -394,7 +393,7 @@ frequency_sample(struct intel_gt *gt, unsigned int period_ns)* case we assume the system is running at the intended * frequency. Fortunately, the read should rarely fail! */ - val =intel_uncore_read_fw (uncore,GEN6_RPSTAT1 ); + val =intel_rps_read_rpstat (rps);Hmm, we got rid of
_fwwhich the comment above refers to. Maybe we need a fw flag tointel_rps_read_rpstat?Quoted 1 line
Above function before reading rpstat it checks if gt is awake.
Ok, so you are referring to
intel_gt_pm_get_if_awakecheck infrequency_sample.Quoted 3 lines
So when gt is awake shouldn't matter if we read
GEN6_RPSTAT1with forcewake.In that case we can remove above comment. Let me know your thoughts on this.
Quoted 5 lines
I am not entirely sure about this. For example in
c1c82d267ae8intel_uncore_read_fwwas introduced with the sameintel_gt_pm_get_if_awakecheck. So this would mean even if gt is awake not taking forcewake makes a difference. The same code pattern was retained inb66ecd0438bf. Maybe it's because there are no locks?
Its about power. As c1c82d267ae8 ("drm/i915/pmu: Cheat when reading the actual frequency to avoid fw") explains the _fw variant is to avoid preventing RC6, and so increased GPU power draw, just because someone has PMU open. (Because of the 200Hz sampling timer that is needed for PMU frequency reporting.)
Quoted 5 lines
Under the circumstances I think we could do one of two things:
1. If we want to drop_fw, we should do it as a separate patch with its own justification so it can be reviewed separately.
2. Otherwise as I mentioned we should retain the_fwand add a fw flag tointel_rps_read_rpstat.
Agreed. Or instead of the flag, the usual pattern of having intel_rps_read_rpstat_fw and make intel_rps_read_rpsstat get the forcewake.
Also, may I ask, this patch is in the MTL enablement series but the commit message and patch content seem like it is fixing a wider Gen12 issue? What is the extent of incorrect behaviour without it? Should it be tagged for stable for first Tigerlake supporting kernel?
Regards,
Tvrtko
Re: [Intel-gfx] [PATCH 4/6] drm/i915: Use GEN12 RPSTAT register
Quoted 49 lines · Tvrtko Ursulin
Quoted 33 lines · Ashutosh
Quoted 24 lines · Badal
Quoted 13 lines
Quoted 13 lines
drivers/gpu/drm/i915/i915_pmu.c +0
-1@@ -371,7 +371,6 @@ static void frequency_sample(struct intel_gt *gt, unsigned int period_ns) { struct drm_i915_private *i915 = gt->i915; - struct intel_uncore *uncore = gt->uncore; struct i915_pmu *pmu = &i915->pmu; struct intel_rps *rps = >->rps;Quoted 10 lines
drivers/gpu/drm/i915/i915_pmu.c frequency_sample(struct intel_gt *gt, unsigned · line 397
Quoted 7 lines
drivers/gpu/drm/i915/i915_pmu.c +1
-1@@ -394,7 +393,7 @@ frequency_sample(struct intel_gt *gt, unsignedint period_ns) * case we assume the system is running at the intended * frequency. Fortunately, the read should rarely fail! */ - val = intel_uncore_read_fw(uncore, GEN6_RPSTAT1); + val = intel_rps_read_rpstat(rps);Hmm, we got rid of
_fwwhich the comment above refers to. Maybe we need a fw flag tointel_rps_read_rpstat?Quoted 1 line
Above function before reading rpstat it checks if gt is awake.
Ok, so you are referring to
intel_gt_pm_get_if_awakecheck infrequency_sample.Quoted 3 lines
So when gt is awake shouldn't matter if we read
GEN6_RPSTAT1with forcewake.In that case we can remove above comment. Let me know your thoughts on this.Quoted 5 lines
I am not entirely sure about this. For example in
c1c82d267ae8intel_uncore_read_fwwas introduced with the sameintel_gt_pm_get_if_awakecheck. So this would mean even if gt is awake not taking forcewake makes a difference. The same code pattern was retained inb66ecd0438bf. Maybe it's because there are no locks?Its about power. As
c1c82d267ae8("drm/i915/pmu: Cheat when reading the actual frequency to avoid fw") explains the_fwvariant is to avoid preventing RC6, and so increased GPU power draw, just because someone has PMU open. (Because of the 200Hz sampling timer that is needed for PMU frequency reporting.)Quoted 5 lines
Under the circumstances I think we could do one of two things:
1. If we want to drop_fw, we should do it as a separate patch with its own justification so it can be reviewed separately.
2. Otherwise as I mentioned we should retain the_fwand add a fw flag tointel_rps_read_rpstat.
Quoted 3 lines
Agreed. Or instead of the flag, the usual pattern of having
intel_rps_read_rpstat_fwand makeintel_rps_read_rpsstatget the forcewake.Also, may I ask, this patch is in the MTL enablement series but the commit message and patch content seem like it is fixing a wider Gen12 issue? What is the extent of incorrect behaviour without it? Should it be tagged for stable for first Tigerlake supporting kernel?
GEN6_RPSTAT1(0xa01c) and GEN12_RPSTAT1(0x1381b4) both are supported by gen12 and above. The difference between two is GEN6_RPSTAT1 falls under RENDER forcewake domain and GEN12_RPSTAT1 does not require forcewake to access. GEN12_RPSTAT1 is punit register and when GT is in RC6 it will give frequency as 0.
Reason for clubbing this patch with MTL series is due to common function intel_rps_read_rpstat. I think I should send this patch in separate series.
Regards,
Badal
Quoted 4 lines
Regards,
Tvrtko
Re: [Intel-gfx] [PATCH 4/6] drm/i915: Use GEN12 RPSTAT register
Quoted 71 lines · Badal
Quoted 60 lines · Tvrtko Ursulin
Quoted 36 lines · Ashutosh
Quoted 26 lines · Badal
Quoted 14 lines
Quoted 14 lines
drivers/gpu/drm/i915/i915_pmu.c +0
-1@@ -371,7 +371,6 @@ static void frequency_sample(struct intel_gt *gt, unsigned int period_ns) { struct drm_i915_private *i915 = gt->i915; - struct intel_uncore *uncore = gt->uncore; struct i915_pmu *pmu = &i915->pmu; struct intel_rps *rps = >->rps;Quoted 11 lines
drivers/gpu/drm/i915/i915_pmu.c frequency_sample(struct intel_gt *gt, unsigned · line 397
Quoted 7 lines
drivers/gpu/drm/i915/i915_pmu.c +1
-1@@ -394,7 +393,7 @@ frequency_sample(struct intel_gt *gt, unsignedint period_ns) * case we assume the system is running at the intended * frequency. Fortunately, the read should rarely fail! */ - val = intel_uncore_read_fw(uncore, GEN6_RPSTAT1); + val = intel_rps_read_rpstat(rps);Hmm, we got rid of
_fwwhich the comment above refers to. Maybe we need a
fw flag tointel_rps_read_rpstat?Quoted 1 line
Above function before reading rpstat it checks if gt is awake.
Ok, so you are referring to
intel_gt_pm_get_if_awakecheck infrequency_sample.Quoted 3 lines
So when gt is awake shouldn't matter if we read
GEN6_RPSTAT1with forcewake.In that case we can remove above comment. Let me know your thoughts on this.Quoted 8 lines
I am not entirely sure about this. For example in
c1c82d267ae8intel_uncore_read_fwwas introduced with the sameintel_gt_pm_get_if_awake
check. So this would mean even if gt is awake not taking forcewake makes a
difference. The same code pattern was retained inb66ecd0438bf. Maybe it's
because there are no locks?Its about power. As
c1c82d267ae8("drm/i915/pmu: Cheat when reading the actual frequency to avoid fw") explains the_fwvariant is to avoid preventing RC6, and so increased GPU power draw, just because someone has PMU open. (Because of the 200Hz sampling timer that is needed for PMU frequency reporting.)Quoted 6 lines
Under the circumstances I think we could do one of two things:
1. If we want to drop_fw, we should do it as a separate patch with its own
justification so it can be reviewed separately.
2. Otherwise as I mentioned we should retain the_fwand add a fw flag tointel_rps_read_rpstat.Quoted 8 lines
Agreed. Or instead of the flag, the usual pattern of having
intel_rps_read_rpstat_fwand makeintel_rps_read_rpsstatget the forcewake.Also, may I ask, this patch is in the MTL enablement series but the commit message and patch content seem like it is fixing a wider Gen12 issue? What is the extent of incorrect behaviour without it? Should it be tagged for stable for first Tigerlake supporting kernel?
Quoted 5 lines
GEN6_RPSTAT1(0xa01c)andGEN12_RPSTAT1(0x1381b4)both are supported by gen12 and above. The difference between two isGEN6_RPSTAT1falls under RENDER forcewake domain andGEN12_RPSTAT1does not require forcewake to access.GEN12_RPSTAT1is punit register and when GT is in RC6 it will give frequency as 0.
Correct, so no changes needed for stable kernels. But going forward Badal is proposing (which I sort of agree with but may need some discussion) that we change i915 behavior to return 0 freq (instead of cur_freq or RPn) when GT is idle or in RC6 (so we don't take forcewake to read freq when GT is in RC6).
Quoted 2 lines
Reason for clubbing this patch with MTL series is due to common function
intel_rps_read_rpstat. I think I should send this patch in separate series.
Agree!
Thanks.
--
Ashutosh
Re: [Intel-gfx] [PATCH 4/6] drm/i915: Use GEN12 RPSTAT register
Quoted 78 lines · Ashutosh
Quoted 71 lines · Badal
Quoted 60 lines · Tvrtko Ursulin
Quoted 36 lines · Ashutosh
Quoted 26 lines · Badal
Quoted 14 lines
Quoted 14 lines
drivers/gpu/drm/i915/i915_pmu.c +0
-1@@ -371,7 +371,6 @@ static void frequency_sample(struct intel_gt *gt, unsigned int period_ns) { struct drm_i915_private *i915 = gt->i915; - struct intel_uncore *uncore = gt->uncore; struct i915_pmu *pmu = &i915->pmu; struct intel_rps *rps = >->rps;Quoted 11 lines
drivers/gpu/drm/i915/i915_pmu.c frequency_sample(struct intel_gt *gt, unsigned · line 397
Quoted 7 lines
drivers/gpu/drm/i915/i915_pmu.c +1
-1@@ -394,7 +393,7 @@ frequency_sample(struct intel_gt *gt, unsignedint period_ns) * case we assume the system is running at the intended * frequency. Fortunately, the read should rarely fail! */ - val = intel_uncore_read_fw(uncore, GEN6_RPSTAT1); + val = intel_rps_read_rpstat(rps);Hmm, we got rid of
_fwwhich the comment above refers to. Maybe we need a
fw flag tointel_rps_read_rpstat?Quoted 1 line
Above function before reading rpstat it checks if gt is awake.
Ok, so you are referring to
intel_gt_pm_get_if_awakecheck infrequency_sample.Quoted 3 lines
So when gt is awake shouldn't matter if we read
GEN6_RPSTAT1with forcewake.In that case we can remove above comment. Let me know your thoughts on this.Quoted 8 lines
I am not entirely sure about this. For example in
c1c82d267ae8intel_uncore_read_fwwas introduced with the sameintel_gt_pm_get_if_awake
check. So this would mean even if gt is awake not taking forcewake makes a
difference. The same code pattern was retained inb66ecd0438bf. Maybe it's
because there are no locks?Its about power. As
c1c82d267ae8("drm/i915/pmu: Cheat when reading the actual frequency to avoid fw") explains the_fwvariant is to avoid preventing RC6, and so increased GPU power draw, just because someone has PMU open. (Because of the 200Hz sampling timer that is needed for PMU frequency reporting.)Quoted 6 lines
Under the circumstances I think we could do one of two things:
1. If we want to drop_fw, we should do it as a separate patch with its own
justification so it can be reviewed separately.
2. Otherwise as I mentioned we should retain the_fwand add a fw flag tointel_rps_read_rpstat.Quoted 8 lines
Agreed. Or instead of the flag, the usual pattern of having
intel_rps_read_rpstat_fwand makeintel_rps_read_rpsstatget the forcewake.Also, may I ask, this patch is in the MTL enablement series but the commit message and patch content seem like it is fixing a wider Gen12 issue? What is the extent of incorrect behaviour without it? Should it be tagged for stable for first Tigerlake supporting kernel?
Quoted 5 lines
GEN6_RPSTAT1(0xa01c)andGEN12_RPSTAT1(0x1381b4)both are supported by gen12 and above. The difference between two isGEN6_RPSTAT1falls under RENDER forcewake domain andGEN12_RPSTAT1does not require forcewake to access.GEN12_RPSTAT1is punit register and when GT is in RC6 it will give frequency as 0.
Quoted 5 lines
Correct, so no changes needed for stable kernels. But going forward Badal is proposing (which I sort of agree with but may need some discussion) that we change i915 behavior to return 0 freq (instead of
cur_freqor RPn) when GT is idle or in RC6 (so we don't take forcewake to read freq when GT is in RC6).
We already report zero when GT is idle (as considered by software tracking) so I guess the only part you'd like to change is drop the else branch in:
val = intel_uncore_read_fw(uncore, GEN6_RPSTAT1); if (val) val = intel_rps_get_cagf(rps, val); else val = rps->cur_freq;
?
What would be pros and cons?
Regards,
Tvrtko
PATCH 5/6 drm/i915/mtl: Modify CAGF functions for MTL
In reply to Badal NilawarUpdated the CAGF functions to get actual resolved frequency of 3D and SAMedia
Bspec: 66300
--- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 8 ++++++++ drivers/gpu/drm/i915/gt/intel_rps.c | 7 ++++++- 2 files changed, 14 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/gt/intel_gt_regs.h +8 -0
@@ -1515,6 +1515,14 @@#define GEN12_CAGF_MASK REG_GENMASK(19, 11)#define GEN12_VOLTAGE_MASK REG_GENMASK(10, 0) +/* +* MTL: Workpoint reg to get Core C state and act freq of 3D, SAMedia/ +* 3D - 0x0C60 , SAMedia - 0x380C60 +* Intel uncore handler redirects transactions for SAMedia to MTL_MEDIA_GSI_BASE +*/ +#define MTL_MIRROR_TARGET_WP1 _MMIO(0x0C60) +#define MTL_CAGF_MASK REG_GENMASK(8, 0) +#define GEN11_GT_INTR_DW (x) _MMIO(0x190018 + ((x) * 4))#define GEN11_CSME (31)#define GEN11_GUNIT (28)
drivers/gpu/drm/i915/gt/intel_rps.c +6 -1
@@ -2045,7 +2045,10 @@ u32 intel_rps_read_rpstat(struct intel_rps *rps)struct drm_i915_private *i915 =rps_to_i915 (rps);u32 rpstat; -if (GRAPHICS_VER (i915) >=12 ) +if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,70 )) + rpstat =intel_uncore_read (rps_to_gt (rps)->uncore, +MTL_MIRROR_TARGET_WP1 ); +else if (GRAPHICS_VER (i915) >=12 ) rpstat =intel_uncore_read (rps_to_gt (rps)->uncore,GEN12_RPSTAT1 );else rpstat =intel_uncore_read (rps_to_gt (rps)->uncore,GEN6_RPSTAT1 );
@@ -2060,6 +2063,8 @@ u32 intel_rps_get_cagf(struct intel_rps *rps, u32 rpstat)if (IS_VALLEYVIEW (i915) ||IS_CHERRYVIEW (i915)) cagf = (rpstat >>8 ) &0xff ; +else if (GRAPHICS_VER_FULL (i915) >=IP_VER (12 ,70 )) + cagf = rpstat &MTL_CAGF_MASK ;else if (GRAPHICS_VER (i915) >=12 ) cagf = (rpstat &GEN12_CAGF_MASK ) >>GEN12_CAGF_SHIFT ;else if (GRAPHICS_VER (i915) >=9 )
Signature · 1 line
2.25.1
PATCH 6/6 drm/i915/mtl: Add C6 residency support for MTL SAMedia
In reply to Badal NilawarFor MTL SAMedia updated relevant functions and places in the code to get Media C6 residency.
--- drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c | 56 +++++++++++++++++++ drivers/gpu/drm/i915/gt/intel_gt_regs.h | 10 ++++ drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 9 ++- drivers/gpu/drm/i915/gt/intel_rc6.c | 5 +- drivers/gpu/drm/i915/gt/selftest_rc6.c | 9 ++- drivers/gpu/drm/i915/i915_pmu.c | 8 ++- 6 files changed, 93 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c +56 -0
@@ -269,6 +269,60 @@ static int ilk_drpc(struct seq_file *m)return 0 ; } +static int mtl_drpc (struct seq_file *m) +{ +struct intel_gt *gt = m->private; +struct intel_uncore *uncore = gt->uncore; +u32 gt_core_status, rcctl1; +u32 mtl_powergate_enable =0 , mtl_powergate_status =0 ; +i915_reg_t reg; + + gt_core_status =intel_uncore_read (uncore,MTL_MIRROR_TARGET_WP1 ); + + rcctl1 =intel_uncore_read (uncore,GEN6_RC_CONTROL ); + mtl_powergate_enable =intel_uncore_read (uncore,GEN9_PG_ENABLE ); + mtl_powergate_status =intel_uncore_read (uncore, +GEN9_PWRGT_DOMAIN_STATUS ); + +seq_printf (m,"RC6 Enabled: %s\n" , +str_yes_no (rcctl1 &GEN6_RC_CTL_RC6_ENABLE )); +if (gt->type ==GT_MEDIA ) { +seq_printf (m,"Media Well Gating Enabled: %s\n" , +str_yes_no (mtl_powergate_enable &GEN9_MEDIA_PG_ENABLE )); + }else { +seq_printf (m,"Render Well Gating Enabled: %s\n" , +str_yes_no (mtl_powergate_enable &GEN9_RENDER_PG_ENABLE )); + } + +seq_puts (m,"Current RC state: " ); + +switch ((gt_core_status &MTL_CC_MASK ) >>MTL_CC_SHIFT ) { +case MTL_CC0 : +seq_puts (m,"on\n" ); +break ; +case MTL_CC6 : +seq_puts (m,"RC6\n" ); +break ; +default : +seq_puts (m,"Unknown\n" ); +break ; + } + +if (gt->type ==GT_MEDIA ) +seq_printf (m,"Media Power Well: %s\n" , + (mtl_powergate_status & +GEN9_PWRGT_MEDIA_STATUS_MASK ) ?"Up" :"Down" ); +else +seq_printf (m,"Render Power Well: %s\n" , + (mtl_powergate_status & +GEN9_PWRGT_RENDER_STATUS_MASK ) ?"Up" :"Down" ); + + reg = (gt->type ==GT_MEDIA ) ?MTL_MEDIA_MC6 :GEN6_GT_GFX_RC6 ; +print_rc6_res (m,"RC6 residency since boot:" , reg); + +return fw_domains_show (m,NULL ); +} +static int drpc_show (struct seq_file *m,void *unused) {struct intel_gt *gt = m->private;
@@ -279,6 +333,8 @@ static int drpc_show(struct seq_file *m, void *unused) with_intel_runtime_pm(gt->uncore->rpm, wakeref) {if (IS_VALLEYVIEW (i915) ||IS_CHERRYVIEW (i915)) err =vlv_drpc (m); +else if (MEDIA_VER (i915) >=13 ) + err =mtl_drpc (m);else if (GRAPHICS_VER (i915) >=6 ) err =gen6_drpc (m);else
drivers/gpu/drm/i915/gt/intel_gt_regs.h +10 -0
@@ -1522,6 +1522,16 @@*/ #define MTL_MIRROR_TARGET_WP1 _MMIO(0x0C60)#define MTL_CAGF_MASK REG_GENMASK(8, 0) +#define MTL_CC0 0x0 +#define MTL_CC6 0x3 +#define MTL_CC_SHIFT 9 +#define MTL_CC_MASK (0xf << MTL_CC_SHIFT) + +/* +* MTL: This register contains the total MC6 residency time that SAMedia was +* since boot +*/ +#define MTL_MEDIA_MC6 _MMIO(0x138048)#define GEN11_GT_INTR_DW (x) _MMIO(0x190018 + ((x) * 4))#define GEN11_CSME (31)
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c +8 -1
@@ -138,7 +138,14 @@ static ssize_t rc6_residency_ms_show(struct device *dev,static u32 __rc6p_residency_ms_show (struct intel_gt *gt) { -return get_residency (gt, GEN6_GT_GFX_RC6p); +i915_reg_t reg; + +if (gt->type ==GT_MEDIA ) + reg =MTL_MEDIA_MC6 ; +else + reg =GEN6_GT_GFX_RC6 ; + +return get_residency (gt, reg); } static ssize_t rc6p_residency_ms_show(struct device *dev,
drivers/gpu/drm/i915/gt/intel_rc6.c +4 -1
@@ -745,6 +745,7 @@ u64 intel_rc6_residency_ns(struct intel_rc6 *rc6, const i915_reg_t reg)unsigned long flags;unsigned int i;u32 mul, div; +i915_reg_t base;if (!rc6->supported)return 0 ;
@@ -756,8 +757,10 @@ u64 intel_rc6_residency_ns(struct intel_rc6 *rc6, const i915_reg_t reg)* other so we can use the relative address, compared to the smallest * one as the index into driver storage. */ + base = (rc6_to_gt (rc6)->type ==GT_MEDIA ) ? +MTL_MEDIA_MC6 :GEN6_GT_GFX_RC6_LOCKED ; i = (i915_mmio_reg_offset (reg) - -i915_mmio_reg_offset (GEN6_GT_GFX_RC6_LOCKED )) /sizeof (u32); +i915_mmio_reg_offset (base)) /sizeof (u32);if (drm_WARN_ON_ONCE (&i915->drm, i >=ARRAY_SIZE (rc6->cur_residency)))return 0 ;
drivers/gpu/drm/i915/gt/selftest_rc6.c +8 -1
@@ -15,11 +15,18 @@static u64 rc6_residency (struct intel_rc6 *rc6) { +struct intel_gt *gt =rc6_to_gt (rc6); +i915_reg_t reg;u64 result;/* XXX VLV_GT_MEDIA_RC6? */ - result =intel_rc6_residency_ns (rc6,GEN6_GT_GFX_RC6 ); +if (gt->type ==GT_MEDIA ) + reg =MTL_MEDIA_MC6 ; +else + reg =GEN6_GT_GFX_RC6 ; + + result =intel_rc6_residency_ns (rc6, reg);if (HAS_RC6p (rc6_to_i915 (rc6))) result +=intel_rc6_residency_ns (rc6, GEN6_GT_GFX_RC6p);if (HAS_RC6pp (rc6_to_i915 (rc6)))
drivers/gpu/drm/i915/i915_pmu.c +7 -1
@@ -146,9 +146,15 @@ static bool pmu_needs_timer(struct i915_pmu *pmu, bool gpu_active)static u64 __get_rc6 (struct intel_gt *gt) {struct drm_i915_private *i915 = gt->i915; +i915_reg_t reg;u64 val; - val =intel_rc6_residency_ns (>->rc6,GEN6_GT_GFX_RC6 ); +if (gt->type ==GT_MEDIA ) + reg =MTL_MEDIA_MC6 ; +else + reg =GEN6_GT_GFX_RC6 ; + + val =intel_rc6_residency_ns (>->rc6, reg);if (HAS_RC6p (i915)) val +=intel_rc6_residency_ns (>->rc6, GEN6_GT_GFX_RC6p);
Signature · 1 line
2.25.1
Re: [Intel-gfx] [PATCH 6/6] drm/i915/mtl: Add C6 residency support for MTL SAMedia
Quoted 23 lines · Badal Nilawar
For MTL SAMedia updated relevant functions and places in the code to get Media C6 residency.
Cc Vinay Belgaumkar <[email protected]>Cc Ashutosh Dixit <[email protected]>Cc Chris Wilson <[email protected]>Signed-off-by Badal Nilawar <[email protected]>--- drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c | 56 +++++++++++++++++++ drivers/gpu/drm/i915/gt/intel_gt_regs.h | 10 ++++ drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 9 ++- drivers/gpu/drm/i915/gt/intel_rc6.c | 5 +- drivers/gpu/drm/i915/gt/selftest_rc6.c | 9 ++- drivers/gpu/drm/i915/i915_pmu.c | 8 ++- 6 files changed, 93 insertions(+), 4 deletions(-)drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c +0
-0@@ -269,6 +269,60 @@ static int ilk_drpc(struct seq_file *m)return 0 ;
drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c static int ilk_drpc(struct seq_file *m) · line 279
Quoted 10 lines
drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c +8
-0} +static int mtl_drpc (struct seq_file *m) +{ +struct intel_gt *gt = m->private; +struct intel_uncore *uncore = gt->uncore; +u32 gt_core_status, rcctl1; +u32 mtl_powergate_enable =0 , mtl_powergate_status =0 ; +i915_reg_t reg; +
Comparing with gen6_drpc do we need to add this here:
mt_fwake_req = intel_uncore_read_fw(uncore, FORCEWAKE_MT);
And show it later as in gen6_drpc?
Quoted 50 lines
drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c +46
-0+ gt_core_status =intel_uncore_read (uncore,MTL_MIRROR_TARGET_WP1 ); + + rcctl1 =intel_uncore_read (uncore,GEN6_RC_CONTROL ); + mtl_powergate_enable =intel_uncore_read (uncore,GEN9_PG_ENABLE ); + mtl_powergate_status =intel_uncore_read (uncore, +GEN9_PWRGT_DOMAIN_STATUS ); + +seq_printf (m,"RC6 Enabled: %s\n" , +str_yes_no (rcctl1 &GEN6_RC_CTL_RC6_ENABLE )); +if (gt->type ==GT_MEDIA ) { +seq_printf (m,"Media Well Gating Enabled: %s\n" , +str_yes_no (mtl_powergate_enable &GEN9_MEDIA_PG_ENABLE )); + }else { +seq_printf (m,"Render Well Gating Enabled: %s\n" , +str_yes_no (mtl_powergate_enable &GEN9_RENDER_PG_ENABLE )); + } + +seq_puts (m,"Current RC state: " ); + +switch ((gt_core_status &MTL_CC_MASK ) >>MTL_CC_SHIFT ) { +case MTL_CC0 : +seq_puts (m,"on\n" ); +break ; +case MTL_CC6 : +seq_puts (m,"RC6\n" ); +break ; +default : +seq_puts (m,"Unknown\n" ); +break ; + } + +if (gt->type ==GT_MEDIA ) +seq_printf (m,"Media Power Well: %s\n" , + (mtl_powergate_status & +GEN9_PWRGT_MEDIA_STATUS_MASK ) ?"Up" :"Down" ); +else +seq_printf (m,"Render Power Well: %s\n" , + (mtl_powergate_status & +GEN9_PWRGT_RENDER_STATUS_MASK ) ?"Up" :"Down" ); + + reg = (gt->type ==GT_MEDIA ) ?MTL_MEDIA_MC6 :GEN6_GT_GFX_RC6 ; +print_rc6_res (m,"RC6 residency since boot:" , reg); + +return fw_domains_show (m,NULL ); +} +static int drpc_show (struct seq_file *m,void *unused) {struct intel_gt *gt = m->private;
drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c static int drpc_show(struct seq_file *m, void *unused) · line 336
Quoted 4 lines
drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c +1
-0@@ -279,6 +333,8 @@ static int drpc_show(struct seq_file *m, void *unused) with_intel_runtime_pm(gt->uncore->rpm, wakeref) {if (IS_VALLEYVIEW (i915) ||IS_CHERRYVIEW (i915)) err =vlv_drpc (m); +else if (MEDIA_VER (i915) >=13 )
Why a MEDIA_VER check here? Should we use 'if (GRAPHICS_VER_FULL(i915) >= IP_VER(12, 70))' or 'IS_METEORLAKE'?
Quoted 9 lines
drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c +1
-0+ err =mtl_drpc (m); else if (GRAPHICS_VER(i915) >= 6) err =gen6_drpc (m); elsedrivers/gpu/drm/i915/gt/intel_gt_regs.h +0
-0
drivers/gpu/drm/i915/gt/intel_gt_regs.h line 1528
Quoted 7 lines
drivers/gpu/drm/i915/gt/intel_gt_regs.h +4
-0@@ -1522,6 +1522,16 @@*/ #define MTL_MIRROR_TARGET_WP1 _MMIO(0x0C60)#define MTL_CAGF_MASK REG_GENMASK(8, 0) +#define MTL_CC0 0x0 +#define MTL_CC6 0x3 +#define MTL_CC_SHIFT 9 +#define MTL_CC_MASK (0xf << MTL_CC_SHIFT)
Let's remove MTL_CC_SHIFT and do
#define MTL_CC_MASK REG_GENMASK(12, 9)
Above where we are using these just use REG_FIELD_GET(MTL_CC_MASK, gt_core_status).
Quoted 16 lines
drivers/gpu/drm/i915/gt/intel_gt_regs.h +6
-0+ +/* +* MTL: This register contains the total MC6 residency time that SAMedia was +* since boot +*/ +#define MTL_MEDIA_MC6 _MMIO(0x138048)#define GEN11_GT_INTR_DW (x) _MMIO(0x190018 + ((x) * 4))#define GEN11_CSME (31)drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c +0
-0@@ -138,7 +138,14 @@ static ssize_t rc6_residency_ms_show(struct device *dev,static u32 __rc6p_residency_ms_show (struct intel_gt *gt)
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c static ssize_t rc6_residency_ms_show(struct device *dev, · line 148
Quoted 10 lines
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c +8
-1{ -return get_residency (gt, GEN6_GT_GFX_RC6p); +i915_reg_t reg; + +if (gt->type ==GT_MEDIA ) + reg =MTL_MEDIA_MC6 ; +else + reg =GEN6_GT_GFX_RC6 ; + +return get_residency (gt, reg);
This is not right, did you mean to make this change to __rc6_residency_ms_show?
Quoted 75 lines
drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c +0
-0} static ssize_t rc6p_residency_ms_show(struct device *dev,drivers/gpu/drm/i915/gt/intel_rc6.c +4
-1@@ -745,6 +745,7 @@ u64 intel_rc6_residency_ns(struct intel_rc6 *rc6, const i915_reg_t reg)unsigned long flags;unsigned int i;u32 mul, div; +i915_reg_t base;if (!rc6->supported)return 0 ;@@ -756,8 +757,10 @@ u64 intel_rc6_residency_ns(struct intel_rc6 *rc6, const i915_reg_t reg)* other so we can use the relative address, compared to the smallest * one as the index into driver storage. */ + base = (rc6_to_gt (rc6)->type ==GT_MEDIA ) ? +MTL_MEDIA_MC6 :GEN6_GT_GFX_RC6_LOCKED ; i = (i915_mmio_reg_offset (reg) - -i915_mmio_reg_offset (GEN6_GT_GFX_RC6_LOCKED )) /sizeof (u32); +i915_mmio_reg_offset (base)) /sizeof (u32);if (drm_WARN_ON_ONCE (&i915->drm, i >=ARRAY_SIZE (rc6->cur_residency)))return 0 ;drivers/gpu/drm/i915/gt/selftest_rc6.c +8
-1@@ -15,11 +15,18 @@static u64 rc6_residency (struct intel_rc6 *rc6) { +struct intel_gt *gt =rc6_to_gt (rc6); +i915_reg_t reg;u64 result;/* XXX VLV_GT_MEDIA_RC6? */ - result =intel_rc6_residency_ns (rc6,GEN6_GT_GFX_RC6 ); +if (gt->type ==GT_MEDIA ) + reg =MTL_MEDIA_MC6 ; +else + reg =GEN6_GT_GFX_RC6 ; + + result =intel_rc6_residency_ns (rc6, reg);if (HAS_RC6p (rc6_to_i915 (rc6))) result +=intel_rc6_residency_ns (rc6, GEN6_GT_GFX_RC6p);if (HAS_RC6pp (rc6_to_i915 (rc6)))drivers/gpu/drm/i915/i915_pmu.c +7
-2@@ -146,9 +146,15 @@ static bool pmu_needs_timer(struct i915_pmu *pmu, bool gpu_active)static u64 __get_rc6 (struct intel_gt *gt) {struct drm_i915_private *i915 = gt->i915; +i915_reg_t reg;u64 val; - val =intel_rc6_residency_ns (>->rc6,GEN6_GT_GFX_RC6 ); +if (gt->type ==GT_MEDIA ) + reg =MTL_MEDIA_MC6 ; +else + reg =GEN6_GT_GFX_RC6 ; + + val =intel_rc6_residency_ns (>->rc6, reg);if (HAS_RC6p (i915)) val +=intel_rc6_residency_ns (>->rc6, GEN6_GT_GFX_RC6p); --2.25.1
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for i915: CAGF and RC6 changes for MTL (rev3)
In reply to Badal Nilawar== Series Details ==
== Series Details ==
Series: i915: CAGF and RC6 changes for MTL (rev3)
URL : https://patchwork.freedesktop.org/series/108156/
State : warning
== Summary ==
Error: dim checkpatch failedfe6011b91b65 drm/i915: Prepare more multi-GT initialization
-:79: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "gtdef->setup" #79: FILE: drivers/gpu/drm/i915/gt/intel_gt.c:853:
+ gtdef->setup != NULL;
total: 0 errors, 0 warnings, 1 checks, 148 lines checkedd5f7643cf88d drm/i915: Rename and expose common GT early init routine ab6b4b22253c 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'
-:83: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #83:
new file mode 100644
-:119: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!uncore->regs" #119: 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, 233 lines checked 2343a96e7807 drm/i915: Use GEN12 RPSTAT register b74e84ff6b00 drm/i915/mtl: Modify CAGF functions for MTL d993f6987b09 drm/i915/mtl: Add C6 residency support for MTL SAMedia
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for i915: CAGF and RC6 changes for MTL (rev3)
In reply to Badal Nilawar== Series Details ==
== Series Details ==
Series: i915: CAGF and RC6 changes for MTL (rev3)
URL : https://patchwork.freedesktop.org/series/108156/
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: CAGF and RC6 changes for MTL (rev3)
In reply to Badal Nilawar== Series Details ==
== Series Details ==
Series: i915: CAGF and RC6 changes for MTL (rev3)
URL : https://patchwork.freedesktop.org/series/108156/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12102 -> Patchwork_108156v3
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/index.html
Participating hosts (40 -> 39)
------------------------------
Missing (1): fi-bdw-samus
Known issues
------------
Here are the changes found in Patchwork_108156v3 that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@kms_busy@basic@flip:
- fi-glk-dsi: [DMESG-WARN][1] -> [PASS][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/fi-glk-dsi/igt@kms_busy@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/fi-glk-dsi/igt@kms_busy@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size:
- fi-bsw-kefka: [FAIL][3] ([i915#6298]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/fi-bsw-kefka/igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/fi-bsw-kefka/igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions-varying-size.html
[i915#6298]: https://gitlab.freedesktop.org/drm/intel/issues/6298
Build changes
-------------
* Linux: CI_DRM_12102 -> Patchwork_108156v3
CI-20190529: 20190529
CI_DRM_12102: 6085ea6ed71fd1317b644b898d22371bf715f450 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6649: 7d91a6952dadaa9001b662ed60c08ccb8364929d @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_108156v3: 6085ea6ed71fd1317b644b898d22371bf715f450 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
cbf664ead393 drm/i915/mtl: Add C6 residency support for MTL SAMedia a9ae6a14a279 drm/i915/mtl: Modify CAGF functions for MTL 776fb460f689 drm/i915: Use GEN12 RPSTAT register c3a738c0d899 drm/i915/xelpmp: Expose media as another GT e13422c54e46 drm/i915: Rename and expose common GT early init routine ebfdf4bea986 drm/i915: Prepare more multi-GT initialization
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/index.html
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for i915: CAGF and RC6 changes for MTL (rev3)
In reply to Badal Nilawar== Series Details ==
== Series Details ==
Series: i915: CAGF and RC6 changes for MTL (rev3)
URL : https://patchwork.freedesktop.org/series/108156/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_12102_full -> Patchwork_108156v3_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_108156v3_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_108156v3_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (9 -> 11)
------------------------------
Additional (2): shard-rkl shard-tglu
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_108156v3_full:
### IGT changes ###
#### Possible regressions ####
* igt@i915_pm_rps@waitboost:
- shard-tglb: [PASS][1] -> [FAIL][2] +2 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-tglb6/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-tglb1/igt@[email protected]
* igt@kms_atomic_transition@plane-all-transition-nonblocking-fencing@pipe-b-vga-1:
- shard-snb: [PASS][3] -> [INCOMPLETE][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-snb2/igt@kms_atomic_transition@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-snb6/igt@kms_atomic_transition@[email protected]
Known issues
------------
Here are the changes found in Patchwork_108156v3_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_eio@unwedge-stress:
- shard-iclb: [PASS][5] -> [TIMEOUT][6] ([i915#3070])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-iclb2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-iclb1/igt@[email protected]
- shard-tglb: [PASS][7] -> [FAIL][8] ([i915#5784])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-tglb7/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-tglb2/igt@[email protected]
* igt@gem_exec_balancer@parallel-out-fence:
- shard-iclb: [PASS][9] -> [SKIP][10] ([i915#4525])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-iclb1/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-iclb8/igt@[email protected]
* igt@gem_exec_fair@basic-deadline:
- shard-apl: NOTRUN -> [FAIL][11] ([i915#2846])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl6/igt@[email protected]
- shard-glk: [PASS][12] -> [FAIL][13] ([i915#2846])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-glk8/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-glk8/igt@[email protected]
* igt@gem_lmem_swapping@heavy-verify-random-ccs:
- shard-apl: NOTRUN -> [SKIP][14] ([fdo#109271] / [i915#4613])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl4/igt@[email protected]
* igt@gen9_exec_parse@allowed-all:
- shard-glk: [PASS][15] -> [DMESG-WARN][16] ([i915#5566] / [i915#716])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-glk7/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-glk3/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-apl: [PASS][17] -> [DMESG-WARN][18] ([i915#5566] / [i915#716])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-apl8/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl2/igt@[email protected]
* igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][19] ([fdo#109271] / [i915#3886]) +4 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl4/igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-d-bad-pixel-format-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][20] ([fdo#109271]) +85 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl6/igt@kms_ccs@pipe-d-bad-pixel-format-y_tiled_gen12_mc_ccs.html
* igt@kms_chamelium@vga-frame-dump:
- shard-apl: NOTRUN -> [SKIP][21] ([fdo#109271] / [fdo#111827]) +2 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl4/igt@[email protected]
* igt@kms_content_protection@uevent:
- shard-apl: NOTRUN -> [FAIL][22] ([i915#2105])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl4/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy:
- shard-glk: [PASS][23] -> [FAIL][24] ([i915#72])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-glk1/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-glk9/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions:
- shard-apl: [PASS][25] -> [FAIL][26] ([i915#2346])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-apl4/igt@kms_cursor_legacy@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl6/igt@kms_cursor_legacy@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-downscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][27] ([i915#2672] / [i915#3555]) +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-iclb2/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-downscaling@pipe-a-default-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][28] ([i915#2672]) +10 similar issues
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-iclb3/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling@pipe-a-default-mode.html
* igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats@pipe-b-edp-1:
- shard-iclb: [PASS][29] -> [SKIP][30] ([i915#5176]) +1 similar issue
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-iclb6/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats@pipe-b-edp-1.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-iclb3/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats@pipe-b-edp-1.html
* igt@kms_psr2_sf@cursor-plane-update-sf:
- shard-apl: NOTRUN -> [SKIP][31] ([fdo#109271] / [i915#658])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl6/igt@[email protected]
* igt@kms_psr@psr2_cursor_blt:
- shard-iclb: [PASS][32] -> [SKIP][33] ([fdo#109441]) +1 similar issue
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-iclb2/igt@kms_psr@psr2_cursor_blt.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-iclb4/igt@kms_psr@psr2_cursor_blt.html
* igt@perf_pmu@rc6-suspend:
- shard-apl: [PASS][34] -> [DMESG-WARN][35] ([i915#180]) +3 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-apl6/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl6/igt@[email protected]
* igt@sysfs_clients@recycle-many:
- shard-apl: NOTRUN -> [SKIP][36] ([fdo#109271] / [i915#2994])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl4/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_balancer@parallel-bb-first:
- shard-iclb: [SKIP][37] ([i915#4525]) -> [PASS][38] +2 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-iclb5/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-iclb2/igt@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-tglb: [FAIL][39] ([i915#2842]) -> [PASS][40] +1 similar issue
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-tglb2/igt@gem_exec_fair@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-tglb5/igt@gem_exec_fair@[email protected]
* igt@gem_huc_copy@huc-copy:
- shard-tglb: [SKIP][41] ([i915#2190]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-tglb6/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-tglb1/igt@[email protected]
* igt@i915_pm_dc@dc6-dpms:
- shard-iclb: [FAIL][43] ([i915#454]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-iclb3/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-iclb7/igt@[email protected]
* igt@i915_pm_rps@engine-order:
- shard-apl: [FAIL][45] -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-apl6/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl6/igt@[email protected]
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-apl: [DMESG-WARN][47] ([i915#180]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-apl1/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl4/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: [INCOMPLETE][49] ([i915#180] / [i915#1982] / [i915#4939] / [i915#6598]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-apl2/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl6/igt@[email protected]
* igt@kms_plane_scaling@plane-downscale-with-pixel-format-factor-0-5@pipe-b-edp-1:
- shard-iclb: [SKIP][51] ([i915#5176]) -> [PASS][52] +2 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-iclb2/igt@kms_plane_scaling@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-iclb1/igt@kms_plane_scaling@[email protected]
* igt@kms_psr2_su@page_flip-xrgb8888:
- shard-iclb: [SKIP][53] ([fdo#109642] / [fdo#111068] / [i915#658]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-iclb5/igt@kms_psr2_su@page_flip-xrgb8888.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-iclb2/igt@kms_psr2_su@page_flip-xrgb8888.html
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [SKIP][55] ([fdo#109441]) -> [PASS][56] +1 similar issue
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-iclb6/igt@kms_psr@psr2_sprite_plane_move.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
#### Warnings ####
* igt@gem_exec_balancer@parallel-ordering:
- shard-iclb: [SKIP][57] ([i915#4525]) -> [FAIL][58] ([i915#6117])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-iclb6/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-iclb2/igt@[email protected]
* igt@kms_psr2_sf@cursor-plane-move-continuous-sf:
- shard-iclb: [SKIP][59] ([i915#2920]) -> [SKIP][60] ([i915#658])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-iclb2/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-iclb4/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-sf:
- shard-iclb: [SKIP][61] ([i915#658]) -> [SKIP][62] ([i915#2920]) +1 similar issue
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-iclb6/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-iclb2/igt@[email protected]
* igt@kms_psr2_su@page_flip-p010:
- shard-iclb: [FAIL][63] ([i915#5939]) -> [SKIP][64] ([fdo#109642] / [fdo#111068] / [i915#658])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-iclb2/igt@kms_psr2_su@page_flip-p010.html
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-iclb1/igt@kms_psr2_su@page_flip-p010.html
* igt@runner@aborted:
- shard-apl: ([FAIL][65], [FAIL][66], [FAIL][67], [FAIL][68]) ([i915#180] / [i915#3002] / [i915#4312] / [i915#5257] / [i915#6599]) -> ([FAIL][69], [FAIL][70], [FAIL][71], [FAIL][72], [FAIL][73]) ([fdo#109271] / [i915#180] / [i915#4312] / [i915#5257] / [i915#6599])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-apl1/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-apl2/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-apl8/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12102/shard-apl3/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl2/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl6/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl2/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl2/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_108156v3/shard-apl3/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#109314]: https://bugs.freedesktop.org/show_bug.cgi?id=109314
[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#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1063]: https://gitlab.freedesktop.org/drm/intel/issues/1063
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[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#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#1902]: https://gitlab.freedesktop.org/drm/intel/issues/1902
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2105]: https://gitlab.freedesktop.org/drm/intel/issues/2105
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2410]: https://gitlab.freedesktop.org/drm/intel/issues/2410
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[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#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284
[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#2994]: https://gitlab.freedesktop.org/drm/intel/issues/2994
[i915#3002]: https://gitlab.freedesktop.org/drm/intel/issues/3002
[i915#3070]: https://gitlab.freedesktop.org/drm/intel/issues/3070
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3323]: https://gitlab.freedesktop.org/drm/intel/issues/3323
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3376]: https://gitlab.freedesktop.org/drm/intel/issues/3376
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3828]: https://gitlab.freedesktop.org/drm/intel/issues/3828
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#404]: https://gitlab.freedesktop.org/drm/intel/issues/404
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[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#4939]: https://gitlab.freedesktop.org/drm/intel/issues/4939
[i915#4991]: https://gitlab.freedesktop.org/drm/intel/issues/4991
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5257]: https://gitlab.freedesktop.org/drm/intel/issues/5257
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5327]: https://gitlab.freedesktop.org/drm/intel/issues/5327
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
[i915#5939]: https://gitlab.freedesktop.org/drm/intel/issues/5939
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6117]: https://gitlab.freedesktop.org/drm/intel/issues/6117
[i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
[i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6598]: https://gitlab.freedesktop.org/drm/intel/issues/6598
[i915#6599]: https://gitlab.freedesktop.org/drm/intel/issues/6599
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
[i915#72]: https://gitlab.freedesktop.org/drm/intel/issues/72
Build changes
-------------
* Linux: CI_DRM_12102 -> Patchwork_108156v3
CI-20190529: 20190529
CI_DRM_12102: 6085ea6ed71fd1317b644b898d22371bf715f450 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6649: 7d91a6952dadaa9001b662ed60c08ccb8364929d @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_108156v3: 6085ea6ed71fd1317b644b898d22371bf715f450 @ 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_108156v3/index.html
Hi Badal,
you haven't Cc'ed anyone here... Please do CC the people interested in the patches and dri-devel mailing list.
If you don't mind, could you please resend the series either as a V2, if you are going to change something, or as a RESEND, if you will not change anything?
Thanks,
Andi
Quoted 53 lines · Badal Nilawar
This series includes the code changes to get CAGF, RC State and C6 Residency of MTL. The series depends on:
https://patchwork.freedesktop.org/series/107908/
We have included 3 patches from from the above series as part of this series in order for this series to compile. These are the first 3 patches authored by Matt Roper. Please do not review these first 3 patches. Only patch 4 and 6 needs review.
v2: Included "Use GEN12 RPSTAT register" patch
Cc Ashutosh Dixit <[email protected]>Badal Nilawar (2):
drm/i915/mtl: Modify CAGF functions for MTL drm/i915/mtl: Add C6 residency support for MTL SAMediaDon Hiatt (1):
drm/i915: Use GEN12 RPSTAT registerMatt Roper (3):
drm/i915: Prepare more multi-GT initialization drm/i915: Rename and expose common GT early init routine drm/i915/xelpmp: Expose media as another GTdrivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt.c | 70 +++++++++++++++---- drivers/gpu/drm/i915/gt/intel_gt.h | 2 +- drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c | 58 ++++++++++++++- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 31 ++++++++ drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 9 ++- drivers/gpu/drm/i915/gt/intel_gt_types.h | 3 + drivers/gpu/drm/i915/gt/intel_rc6.c | 5 +- drivers/gpu/drm/i915/gt/intel_rps.c | 22 +++++- drivers/gpu/drm/i915/gt/intel_rps.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/gt/selftest_rc6.c | 9 ++- drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_pci.c | 15 ++++ drivers/gpu/drm/i915/i915_pmu.c | 11 ++- drivers/gpu/drm/i915/intel_device_info.h | 19 +++++ drivers/gpu/drm/i915/intel_uncore.c | 16 ++++- drivers/gpu/drm/i915/intel_uncore.h | 20 +++++- .../gpu/drm/i915/selftests/mock_gem_device.c | 1 + 21 files changed, 325 insertions(+), 26 deletions(-) create mode 100644 drivers/gpu/drm/i915/gt/intel_sa_media.c create mode 100644 drivers/gpu/drm/i915/gt/intel_sa_media.hSignature · 1 line
2.25.1
Jani Nikula
maintainerQuoted 8 lines · Andi Shyti
Hi Badal,
you haven't Cc'ed anyone here... Please do CC the people interested in the patches and dri-devel mailing list.
If you don't mind, could you please resend the series either as a V2, if you are going to change something, or as a RESEND, if you will not change anything?
Anyway some of the patches have been merged already so a rebase is in order.
BR,
Jani.
Quoted 58 lines
Thanks,
AndiQuoted 53 lines · Badal Nilawar
This series includes the code changes to get CAGF, RC State and C6 Residency of MTL. The series depends on:
https://patchwork.freedesktop.org/series/107908/
We have included 3 patches from from the above series as part of this series in order for this series to compile. These are the first 3 patches authored by Matt Roper. Please do not review these first 3 patches. Only patch 4 and 6 needs review.
v2: Included "Use GEN12 RPSTAT register" patch
Cc Ashutosh Dixit <[email protected]>Badal Nilawar (2):
drm/i915/mtl: Modify CAGF functions for MTL drm/i915/mtl: Add C6 residency support for MTL SAMediaDon Hiatt (1):
drm/i915: Use GEN12 RPSTAT registerMatt Roper (3):
drm/i915: Prepare more multi-GT initialization drm/i915: Rename and expose common GT early init routine drm/i915/xelpmp: Expose media as another GTdrivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt.c | 70 +++++++++++++++---- drivers/gpu/drm/i915/gt/intel_gt.h | 2 +- drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c | 58 ++++++++++++++- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 31 ++++++++ drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 9 ++- drivers/gpu/drm/i915/gt/intel_gt_types.h | 3 + drivers/gpu/drm/i915/gt/intel_rc6.c | 5 +- drivers/gpu/drm/i915/gt/intel_rps.c | 22 +++++- drivers/gpu/drm/i915/gt/intel_rps.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/gt/selftest_rc6.c | 9 ++- drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_pci.c | 15 ++++ drivers/gpu/drm/i915/i915_pmu.c | 11 ++- drivers/gpu/drm/i915/intel_device_info.h | 19 +++++ drivers/gpu/drm/i915/intel_uncore.c | 16 ++++- drivers/gpu/drm/i915/intel_uncore.h | 20 +++++- .../gpu/drm/i915/selftests/mock_gem_device.c | 1 + 21 files changed, 325 insertions(+), 26 deletions(-) create mode 100644 drivers/gpu/drm/i915/gt/intel_sa_media.c create mode 100644 drivers/gpu/drm/i915/gt/intel_sa_media.hSignature · 1 line
2.25.1
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
I added Cc: in individual patches. So I thought it will pick automatically. But anyway I have to fix some of the comments. So I will fix those and resend the series. I will Cc relevant people.
Regards,
Badal
Quoted 75 lines · Jani Nikula
Quoted 8 lines · Andi Shyti
Hi Badal,
you haven't Cc'ed anyone here... Please do CC the people interested in the patches and dri-devel mailing list.
If you don't mind, could you please resend the series either as a V2, if you are going to change something, or as a RESEND, if you will not change anything?
Anyway some of the patches have been merged already so a rebase is in order.
BR,
Jani.Quoted 58 lines
Thanks,
AndiQuoted 53 lines · Badal Nilawar
This series includes the code changes to get CAGF, RC State and C6 Residency of MTL. The series depends on:
https://patchwork.freedesktop.org/series/107908/
We have included 3 patches from from the above series as part of this series in order for this series to compile. These are the first 3 patches authored by Matt Roper. Please do not review these first 3 patches. Only patch 4 and 6 needs review.
v2: Included "Use GEN12 RPSTAT register" patch
Cc Ashutosh Dixit <[email protected]>Badal Nilawar (2):
drm/i915/mtl: Modify CAGF functions for MTL drm/i915/mtl: Add C6 residency support for MTL SAMediaDon Hiatt (1):
drm/i915: Use GEN12 RPSTAT registerMatt Roper (3):
drm/i915: Prepare more multi-GT initialization drm/i915: Rename and expose common GT early init routine drm/i915/xelpmp: Expose media as another GTdrivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt.c | 70 +++++++++++++++---- drivers/gpu/drm/i915/gt/intel_gt.h | 2 +- drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c | 58 ++++++++++++++- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 31 ++++++++ drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 9 ++- drivers/gpu/drm/i915/gt/intel_gt_types.h | 3 + drivers/gpu/drm/i915/gt/intel_rc6.c | 5 +- drivers/gpu/drm/i915/gt/intel_rps.c | 22 +++++- drivers/gpu/drm/i915/gt/intel_rps.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/gt/selftest_rc6.c | 9 ++- drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_pci.c | 15 ++++ drivers/gpu/drm/i915/i915_pmu.c | 11 ++- drivers/gpu/drm/i915/intel_device_info.h | 19 +++++ drivers/gpu/drm/i915/intel_uncore.c | 16 ++++- drivers/gpu/drm/i915/intel_uncore.h | 20 +++++- .../gpu/drm/i915/selftests/mock_gem_device.c | 1 + 21 files changed, 325 insertions(+), 26 deletions(-)create mode 100644
drivers/gpu/drm/i915/gt/intel_sa_media.ccreate mode 100644drivers/gpu/drm/i915/gt/intel_sa_media.hSignature · 1 line
2.25.1
Hi Badal,
Quoted 3 lines · Badal
I added Cc: in individual patches. So I thought it will pick automatically. But anyway I have to fix some of the comments. So I will fix those and resend the series. I will Cc relevant people.
yes... it depends on your git-send-email command. I think no one has received the e-mail other than the mailing list.
If you have the '--suppress-cc=all' flag then you need to explicitly add the --to/--cc recipients (this is how I do it in order avoid sending patches to unwanted people).
If you don't have the '--suppress-cc=all' then git-send-email figures out by itself whom to send the patch by checking the commit tags.
In both the cases, though, before sending the patches individually, git-send-email displays the people that have been added to the 'cc' list.
Please make sure not to forget the dri-devel mailing list (<[email protected]>) and to check if the patches are actually sent to everyone.
Thanks,
Andi
Quoted 79 lines
Regards,
BadalQuoted 75 lines · Jani Nikula
Quoted 8 lines · Andi Shyti
Hi Badal,
you haven't Cc'ed anyone here... Please do CC the people interested in the patches and dri-devel mailing list.
If you don't mind, could you please resend the series either as a V2, if you are going to change something, or as a RESEND, if you will not change anything?
Anyway some of the patches have been merged already so a rebase is in order.
BR,
Jani.Quoted 58 lines
Thanks,
AndiQuoted 53 lines · Badal Nilawar
This series includes the code changes to get CAGF, RC State and C6 Residency of MTL. The series depends on:
https://patchwork.freedesktop.org/series/107908/
We have included 3 patches from from the above series as part of this series in order for this series to compile. These are the first 3 patches authored by Matt Roper. Please do not review these first 3 patches. Only patch 4 and 6 needs review.
v2: Included "Use GEN12 RPSTAT register" patch
Cc Ashutosh Dixit <[email protected]>Badal Nilawar (2):
drm/i915/mtl: Modify CAGF functions for MTL drm/i915/mtl: Add C6 residency support for MTL SAMediaDon Hiatt (1):
drm/i915: Use GEN12 RPSTAT registerMatt Roper (3):
drm/i915: Prepare more multi-GT initialization drm/i915: Rename and expose common GT early init routine drm/i915/xelpmp: Expose media as another GTdrivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt.c | 70 +++++++++++++++---- drivers/gpu/drm/i915/gt/intel_gt.h | 2 +- drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c | 58 ++++++++++++++- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 31 ++++++++ drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 9 ++- drivers/gpu/drm/i915/gt/intel_gt_types.h | 3 + drivers/gpu/drm/i915/gt/intel_rc6.c | 5 +- drivers/gpu/drm/i915/gt/intel_rps.c | 22 +++++- drivers/gpu/drm/i915/gt/intel_rps.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/gt/selftest_rc6.c | 9 ++- drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_pci.c | 15 ++++ drivers/gpu/drm/i915/i915_pmu.c | 11 ++- drivers/gpu/drm/i915/intel_device_info.h | 19 +++++ drivers/gpu/drm/i915/intel_uncore.c | 16 ++++- drivers/gpu/drm/i915/intel_uncore.h | 20 +++++- .../gpu/drm/i915/selftests/mock_gem_device.c | 1 + 21 files changed, 325 insertions(+), 26 deletions(-)create mode 100644
drivers/gpu/drm/i915/gt/intel_sa_media.ccreate mode 100644drivers/gpu/drm/i915/gt/intel_sa_media.hSignature · 1 line
2.25.1
Hi Jani,
Quoted 6 lines · Jani Nikula
Quoted 5 lines · Andi Shyti
Hi Badal,
you haven't Cc'ed anyone here... Please do CC the people interested in the patches and dri-devel mailing list.
Quoted 6 lines
Quoted 3 lines
If you don't mind, could you please resend the series either as a V2, if you are going to change something, or as a RESEND, if you will not change anything?
Anyway some of the patches have been merged already so a rebase is in order.
thanks... I see that some of the patches have been reviewed previously, I missed that.
Thank you,
Andi