i915: Initial multi-tile support
Subsystems (2)
v3 cover i915: Initial multi-tile support
Some of our upcoming platforms, including the Xe_HP SDV, support a "multi-tile" design. A multi-tile platform is effectively a platform with multiple GT instances and local memory regions, all behind a single PCI device. From an i915 perspective, this translates to multiple intel_gt structures per drm_i915_private. This series provides the initial refactoring to support multiple independent GTs per card, but further work (especially related to local memory) will be required to fully enable a multi-tile platform.
Note that the presence of multiple GTs is largely transparent to userspace. A multi-tile platform will advertise a larger list of engines to userspace, but the concept of "tile" is not something userspace has to worry about directly. There will be some uapi implications later due to the devices having multiple local memory regions, but that aspect of multi-tile is not covered by this patch series and will show up in future work.
v2:
- Include some additional tile setup refactoring that got missed in v1.
v3:
- Fix GEM_BUG_ON() assertion on pre-gen9 platforms; the assertion was only meant for multi-tile platforms and will always fail on old platforms that have a BAR0 smaller than 16MB.
- Rename some of the gt/tile initialization functions. (Lucas/Jani)
- Move top-level tile memory init to i915_drv.c since it isn't directly related to the GT. (Lucas)
- Squash per-gt cleanup into the patch that introduces the per-gt setup.
- Fix handling of display and GSE interrupts (our current multi-tile platforms don't have display, but we can't count on that being true in the future).
Daniele Ceraolo Spurio (2):
drm/i915: split general MMIO setup from per-GT uncore init drm/i915: Initial support for per-tile uncore
Matt Roper (1):
drm/i915: Restructure probe to handle multi-tile platforms
Michal Wajdeczko (1):
drm/i915/guc: Update CT debug macro for multi-tile
Michał Winiarski (1):
drm/i915: Store backpointer to GT in uncore
Paulo Zanoni (3):
drm/i915: rework some irq functions to take intel_gt as argument drm/i915/xehp: Determine which tile raised an interrupt drm/i915/xehp: Make IRQ reset and postinstall multi-tile aware
Tvrtko Ursulin (2):
drm/i915: Prepare for multiple gts
drm/i915/xehpsdv: Initialize multi-tiles
drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt.c | 177 +++++++++++++++++- drivers/gpu/drm/i915/gt/intel_gt.h | 11 ++ drivers/gpu/drm/i915/gt/intel_gt_pm.c | 9 +- drivers/gpu/drm/i915/gt/intel_gt_types.h | 10 + drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c | 6 +- drivers/gpu/drm/i915/i915_debugfs.c | 5 +- drivers/gpu/drm/i915/i915_drv.c | 102 ++++++++-- drivers/gpu/drm/i915/i915_drv.h | 9 + drivers/gpu/drm/i915/i915_irq.c | 77 +++++--- drivers/gpu/drm/i915/i915_pci.c | 40 +++- drivers/gpu/drm/i915/i915_reg.h | 4 + drivers/gpu/drm/i915/intel_device_info.h | 15 ++ drivers/gpu/drm/i915/intel_memory_region.h | 3 + drivers/gpu/drm/i915/intel_uncore.c | 36 ++-- drivers/gpu/drm/i915/intel_uncore.h | 6 +- .../gpu/drm/i915/selftests/mock_gem_device.c | 3 +- drivers/gpu/drm/i915/selftests/mock_uncore.c | 2 +- 18 files changed, 423 insertions(+), 94 deletions(-)
Signature · 1 line
2.33.0
PATCH v3 1/10 drm/i915: rework some irq functions to take intel_gt as argument
From: Paulo Zanoni <[email protected]>
We'll be adding multi-tile support soon; on multi-tile platforms interrupts are per-tile and every tile has the full set of interrupt registers.
In this commit we start passing intel_gt instead of dev_priv for the functions that are related to Xe_HP irq handling. Right now we're still passing tile 0 everywhere, but in later patches we'll start actually passing the correct tile.
--- drivers/gpu/drm/i915/i915_irq.c | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-)
drivers/gpu/drm/i915/i915_irq.c +15 -11
@@ -2772,7 +2772,7 @@ static irqreturn_t dg1_irq_handler(int irq, void *arg) {struct drm_i915_private *const i915 = arg;struct intel_gt *gt = &i915->gt; -void __iomem *const regs = i915->uncore.regs; +void __iomem *const regs = gt->uncore->regs;u32 master_tile_ctl, master_ctl;u32 gu_misc_iir;
@@ -3173,11 +3173,12 @@ static void gen11_display_irq_reset(struct drm_i915_private *dev_priv)static void gen11_irq_reset (struct drm_i915_private *dev_priv) { -struct intel_uncore *uncore = &dev_priv->uncore; +struct intel_gt *gt = &dev_priv->gt; +struct intel_uncore *uncore = gt->uncore;gen11_master_intr_disable (dev_priv->uncore.regs); -gen11_gt_irq_reset (&dev_priv->gt); +gen11_gt_irq_reset (gt);gen11_display_irq_reset (dev_priv);GEN3_IRQ_RESET (uncore,GEN11_GU_MISC_ );
@@ -3186,11 +3187,12 @@ static void gen11_irq_reset(struct drm_i915_private *dev_priv)static void dg1_irq_reset (struct drm_i915_private *dev_priv) { -struct intel_uncore *uncore = &dev_priv->uncore; +struct intel_gt *gt = &dev_priv->gt; +struct intel_uncore *uncore = gt->uncore;dg1_master_intr_disable (dev_priv->uncore.regs); -gen11_gt_irq_reset (&dev_priv->gt); +gen11_gt_irq_reset (gt);gen11_display_irq_reset (dev_priv);GEN3_IRQ_RESET (uncore,GEN11_GU_MISC_ );
@@ -3869,13 +3871,14 @@ static void gen11_de_irq_postinstall(struct drm_i915_private *dev_priv)static void gen11_irq_postinstall (struct drm_i915_private *dev_priv) { -struct intel_uncore *uncore = &dev_priv->uncore; +struct intel_gt *gt = &dev_priv->gt; +struct intel_uncore *uncore = gt->uncore;u32 gu_misc_masked =GEN11_GU_MISC_GSE ;if (INTEL_PCH_TYPE (dev_priv) >=PCH_ICP )icp_irq_postinstall (dev_priv); -gen11_gt_irq_postinstall (&dev_priv->gt); +gen11_gt_irq_postinstall (gt);gen11_de_irq_postinstall (dev_priv);GEN3_IRQ_INIT (uncore,GEN11_GU_MISC_ , ~gu_misc_masked, gu_misc_masked);
@@ -3886,10 +3889,11 @@ static void gen11_irq_postinstall(struct drm_i915_private *dev_priv)static void dg1_irq_postinstall (struct drm_i915_private *dev_priv) { -struct intel_uncore *uncore = &dev_priv->uncore; +struct intel_gt *gt = &dev_priv->gt; +struct intel_uncore *uncore = gt->uncore;u32 gu_misc_masked =GEN11_GU_MISC_GSE ; -gen11_gt_irq_postinstall (&dev_priv->gt); +gen11_gt_irq_postinstall (gt);GEN3_IRQ_INIT (uncore,GEN11_GU_MISC_ , ~gu_misc_masked, gu_misc_masked);
@@ -3900,8 +3904,8 @@ static void dg1_irq_postinstall(struct drm_i915_private *dev_priv) GEN11_DISPLAY_IRQ_ENABLE); } -dg1_master_intr_enable (dev_priv->uncore.regs); -intel_uncore_posting_read (&dev_priv->uncore,DG1_MSTR_TILE_INTR ); +dg1_master_intr_enable (uncore->regs); +intel_uncore_posting_read (uncore,DG1_MSTR_TILE_INTR ); }static void cherryview_irq_postinstall (struct drm_i915_private *dev_priv)
Signature · 1 line
2.33.0
PATCH v3 2/10 drm/i915: split general MMIO setup from per-GT uncore init
In reply to Matt RoperFrom: Daniele Ceraolo Spurio <[email protected]>
In coming patches we'll be doing the actual tile initialization between these two uncore init phases.
--- drivers/gpu/drm/i915/i915_drv.c | 9 ++++++++- drivers/gpu/drm/i915/intel_uncore.c | 17 +++-------------- drivers/gpu/drm/i915/intel_uncore.h | 2 ++ 3 files changed, 13 insertions(+), 15 deletions(-)
drivers/gpu/drm/i915/i915_drv.c +8 -1
@@ -416,10 +416,14 @@ static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv)if (ret <0 )return ret; - ret =intel_uncore_init_mmio (&dev_priv->uncore); + ret =intel_uncore_setup_mmio (&dev_priv->uncore);if (ret <0 ) goto err_bridge; + ret =intel_uncore_init_mmio (&dev_priv->uncore); +if (ret) + goto err_mmio; +/* Try to make sure MCHBAR is enabled before poking at it */ intel_setup_mchbar (dev_priv);intel_device_info_runtime_init (dev_priv);
@@ -436,6 +440,8 @@ static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv) err_uncore:intel_teardown_mchbar (dev_priv);intel_uncore_fini_mmio (&dev_priv->uncore); +err_mmio: +intel_uncore_cleanup_mmio (&dev_priv->uncore); err_bridge:pci_dev_put (dev_priv->bridge_dev);
@@ -450,6 +456,7 @@ static void i915_driver_mmio_release(struct drm_i915_private *dev_priv) {intel_teardown_mchbar (dev_priv);intel_uncore_fini_mmio (&dev_priv->uncore); +intel_uncore_cleanup_mmio (&dev_priv->uncore);pci_dev_put (dev_priv->bridge_dev); }
drivers/gpu/drm/i915/intel_uncore.c +3 -14
@@ -2020,7 +2020,7 @@ static int i915_pmic_bus_access_notifier(struct notifier_block *nb,return NOTIFY_OK ; } -static int uncore_mmio_setup (struct intel_uncore *uncore) +int intel_uncore_setup_mmio (struct intel_uncore *uncore) {struct drm_i915_private *i915 = uncore->i915;struct pci_dev *pdev =to_pci_dev (i915->drm.dev);
@@ -2053,7 +2053,7 @@ static int uncore_mmio_setup(struct intel_uncore *uncore)return 0 ; } -static void uncore_mmio_cleanup (struct intel_uncore *uncore) +void intel_uncore_cleanup_mmio (struct intel_uncore *uncore) {struct pci_dev *pdev =to_pci_dev (uncore->i915->drm.dev);
@@ -2146,10 +2146,6 @@ int intel_uncore_init_mmio(struct intel_uncore *uncore)struct drm_i915_private *i915 = uncore->i915;int ret; - ret =uncore_mmio_setup (uncore); -if (ret) -return ret; -/* * The boot firmware initializes local memory and assesses its health. * If memory training fails, the punit will have been instructed to
@@ -2170,7 +2166,7 @@ int intel_uncore_init_mmio(struct intel_uncore *uncore) }else { ret =uncore_forcewake_init (uncore);if (ret) - goto out_mmio_cleanup; +return ret; }/* make sure fw funcs are set if and only if we have fw*/
@@ -2192,11 +2188,6 @@ int intel_uncore_init_mmio(struct intel_uncore *uncore)drm_dbg (&i915->drm,"unclaimed mmio detected on uncore init, clearing\n" );return 0 ; - -out_mmio_cleanup: -uncore_mmio_cleanup (uncore); - -return ret; }/*
@@ -2261,8 +2252,6 @@ void intel_uncore_fini_mmio(struct intel_uncore *uncore)intel_uncore_fw_domains_fini (uncore);iosf_mbi_punit_release (); } - -uncore_mmio_cleanup (uncore); } static const struct reg_whitelist {
drivers/gpu/drm/i915/intel_uncore.h +2 -0
@@ -218,11 +218,13 @@ void intel_uncore_mmio_debug_init_early(struct intel_uncore_mmio_debug *mmio_debug);void intel_uncore_init_early (struct intel_uncore *uncore,struct drm_i915_private *i915); +int intel_uncore_setup_mmio (struct intel_uncore *uncore);int intel_uncore_init_mmio (struct intel_uncore *uncore);void intel_uncore_prune_engine_fw_domains (struct intel_uncore *uncore,struct intel_gt *gt);bool intel_uncore_unclaimed_mmio (struct intel_uncore *uncore);bool intel_uncore_arm_unclaimed_mmio_detection (struct intel_uncore *uncore); +void intel_uncore_cleanup_mmio (struct intel_uncore *uncore);void intel_uncore_fini_mmio (struct intel_uncore *uncore);void intel_uncore_suspend (struct intel_uncore *uncore);void intel_uncore_resume_early (struct intel_uncore *uncore);
Signature · 1 line
2.33.0
Re: [PATCH v3 02/10] drm/i915: split general MMIO setup from per-GT uncore init
Quoted 9 lines · Matt Roper
From: Daniele Ceraolo Spurio <[email protected]>
In coming patches we'll be doing the actual tile initialization between these two uncore init phases.
Signed-off-by Daniele Ceraolo Spurio <[email protected]>Signed-off-by Matt Roper <[email protected]>Reviewed-by Lucas De Marchi <[email protected]>Reviewed-by Andi Shyti <[email protected]>
Since the first two patches of this series are fully reviewed and have a clean CI pass of their own
(https://lists.freedesktop.org/archives/intel-gfx-trybot/2021-November/126547.html),
I've applied them to drm-intel-gt-next while we continue refactoring the rest of the series.
Thanks for the reviews.
Matt
Quoted 127 lines
--- drivers/gpu/drm/i915/i915_drv.c | 9 ++++++++- drivers/gpu/drm/i915/intel_uncore.c | 17 +++-------------- drivers/gpu/drm/i915/intel_uncore.h | 2 ++ 3 files changed, 13 insertions(+), 15 deletions(-)drivers/gpu/drm/i915/i915_drv.c +8
-1@@ -416,10 +416,14 @@ static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv)if (ret <0 )return ret; - ret =intel_uncore_init_mmio (&dev_priv->uncore); + ret =intel_uncore_setup_mmio (&dev_priv->uncore);if (ret <0 ) goto err_bridge; + ret =intel_uncore_init_mmio (&dev_priv->uncore); +if (ret) + goto err_mmio; +/* Try to make sure MCHBAR is enabled before poking at it */ intel_setup_mchbar (dev_priv);intel_device_info_runtime_init (dev_priv);@@ -436,6 +440,8 @@ static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv) err_uncore:intel_teardown_mchbar (dev_priv);intel_uncore_fini_mmio (&dev_priv->uncore); +err_mmio: +intel_uncore_cleanup_mmio (&dev_priv->uncore); err_bridge:pci_dev_put (dev_priv->bridge_dev);@@ -450,6 +456,7 @@ static void i915_driver_mmio_release(struct drm_i915_private *dev_priv) {intel_teardown_mchbar (dev_priv);intel_uncore_fini_mmio (&dev_priv->uncore); +intel_uncore_cleanup_mmio (&dev_priv->uncore);pci_dev_put (dev_priv->bridge_dev); }drivers/gpu/drm/i915/intel_uncore.c +3
-14@@ -2020,7 +2020,7 @@ static int i915_pmic_bus_access_notifier(struct notifier_block *nb,return NOTIFY_OK ; } -static int uncore_mmio_setup (struct intel_uncore *uncore) +int intel_uncore_setup_mmio (struct intel_uncore *uncore) {struct drm_i915_private *i915 = uncore->i915;struct pci_dev *pdev =to_pci_dev (i915->drm.dev);@@ -2053,7 +2053,7 @@ static int uncore_mmio_setup(struct intel_uncore *uncore)return 0 ; } -static void uncore_mmio_cleanup (struct intel_uncore *uncore) +void intel_uncore_cleanup_mmio (struct intel_uncore *uncore) {struct pci_dev *pdev =to_pci_dev (uncore->i915->drm.dev);@@ -2146,10 +2146,6 @@ int intel_uncore_init_mmio(struct intel_uncore *uncore)struct drm_i915_private *i915 = uncore->i915;int ret; - ret =uncore_mmio_setup (uncore); -if (ret) -return ret; -/* * The boot firmware initializes local memory and assesses its health. * If memory training fails, the punit will have been instructed to @@ -2170,7 +2166,7 @@ int intel_uncore_init_mmio(struct intel_uncore *uncore) }else { ret =uncore_forcewake_init (uncore);if (ret) - goto out_mmio_cleanup; +return ret; }/* make sure fw funcs are set if and only if we have fw*/ @@ -2192,11 +2188,6 @@ int intel_uncore_init_mmio(struct intel_uncore *uncore)drm_dbg (&i915->drm,"unclaimed mmio detected on uncore init, clearing\n" );return 0 ; - -out_mmio_cleanup: -uncore_mmio_cleanup (uncore); - -return ret; }/* @@ -2261,8 +2252,6 @@ void intel_uncore_fini_mmio(struct intel_uncore *uncore)intel_uncore_fw_domains_fini (uncore);iosf_mbi_punit_release (); } - -uncore_mmio_cleanup (uncore); } static const struct reg_whitelist {drivers/gpu/drm/i915/intel_uncore.h +2
-0@@ -218,11 +218,13 @@ void intel_uncore_mmio_debug_init_early(struct intel_uncore_mmio_debug *mmio_debug);void intel_uncore_init_early (struct intel_uncore *uncore,struct drm_i915_private *i915); +int intel_uncore_setup_mmio (struct intel_uncore *uncore);int intel_uncore_init_mmio (struct intel_uncore *uncore);void intel_uncore_prune_engine_fw_domains (struct intel_uncore *uncore,struct intel_gt *gt);bool intel_uncore_unclaimed_mmio (struct intel_uncore *uncore);bool intel_uncore_arm_unclaimed_mmio_detection (struct intel_uncore *uncore); +void intel_uncore_cleanup_mmio (struct intel_uncore *uncore);void intel_uncore_fini_mmio (struct intel_uncore *uncore);void intel_uncore_suspend (struct intel_uncore *uncore);void intel_uncore_resume_early (struct intel_uncore *uncore);Signature · 1 line
2.33.0
Signature · 5 lines
Matt Roper Graphics Software Engineer VTT-OSGC Platform Enablement Intel Corporation (916) 356-2795
PATCH v3 3/10 drm/i915: Restructure probe to handle multi-tile platforms
In reply to Matt RoperOn a multi-tile platform, each tile has its own registers + GGTT space, and BAR 0 is extended to cover all of them. Upcoming patches will start exposing the tiles as multiple GTs within a single PCI device. In preparation for supporting such setups, restructure the driver's probe code a bit.
Only the primary/root tile is initialized for now; the other tiles will be detected and plugged in by future patches once the necessary infrastructure is in place to handle them.
v2:
- Rename for naming prefix consistency. (Jani, Lucas)
Original-author: Abdiel Janulgue
--- drivers/gpu/drm/i915/gt/intel_gt.c | 46 ++++++++++++++++++++++++ drivers/gpu/drm/i915/gt/intel_gt.h | 3 ++ drivers/gpu/drm/i915/gt/intel_gt_pm.c | 9 ++++- drivers/gpu/drm/i915/gt/intel_gt_types.h | 5 +++ drivers/gpu/drm/i915/i915_drv.c | 20 +++++------ drivers/gpu/drm/i915/intel_uncore.c | 12 +++---- drivers/gpu/drm/i915/intel_uncore.h | 3 +- 7 files changed, 77 insertions(+), 21 deletions(-)
drivers/gpu/drm/i915/gt/intel_gt.c +46 -0
@@ -900,6 +900,52 @@ u32 intel_gt_read_register_fw(struct intel_gt *gt, i915_reg_t reg)return intel_uncore_read_fw (gt->uncore, reg); } +static int +intel_gt_tile_setup (struct intel_gt *gt,unsigned int id,phys_addr_t phys_addr) +{ +int ret; + +intel_uncore_init_early (gt->uncore, gt->i915); + + ret =intel_uncore_setup_mmio (gt->uncore, phys_addr); +if (ret) +return ret; + + gt->phys_addr = phys_addr; + +return 0 ; +} + +static void +intel_gt_tile_cleanup (struct intel_gt *gt) +{ +intel_uncore_cleanup_mmio (gt->uncore); +} + +int intel_gt_probe_all (struct drm_i915_private *i915) +{ +struct pci_dev *pdev =to_pci_dev (i915->drm.dev); +phys_addr_t phys_addr; +unsigned int mmio_bar; +int ret; + + mmio_bar =GRAPHICS_VER (i915) ==2 ?1 :0 ; + phys_addr =pci_resource_start (pdev, mmio_bar); + +/* We always have at least one primary GT on any device */ + ret =intel_gt_tile_setup (&i915->gt,0 , phys_addr); +if (ret) +return ret; + +/* TODO: add more tiles */ +return 0 ; +} + +void intel_gt_release_all (struct drm_i915_private *i915) +{ +intel_gt_tile_cleanup (&i915->gt); +} +void intel_gt_info_print (const struct intel_gt_info *info,struct drm_printer *p) {
drivers/gpu/drm/i915/gt/intel_gt.h +3 -0
@@ -85,6 +85,9 @@ static inline bool intel_gt_needs_read_steering(struct intel_gt *gt,u32 intel_gt_read_register_fw (struct intel_gt *gt,i915_reg_t reg); +int intel_gt_probe_all (struct drm_i915_private *i915); +void intel_gt_release_all (struct drm_i915_private *i915); +void intel_gt_info_print (const struct intel_gt_info *info,struct drm_printer *p);
drivers/gpu/drm/i915/gt/intel_gt_pm.c +8 -1
@@ -128,7 +128,14 @@ static const struct intel_wakeref_ops wf_ops = {void intel_gt_pm_init_early (struct intel_gt *gt) { -intel_wakeref_init (>->wakeref, gt->uncore->rpm, &wf_ops); +/* +* We access the runtime_pm structure via gt->i915 here rather than +* gt->uncore as we do elsewhere in the file because gt->uncore is not +* yet initialized for all tiles at this point in the driver startup. +* runtime_pm is per-device rather than per-tile, so this is still the +* correct structure. +*/ +intel_wakeref_init (>->wakeref, >->i915->runtime_pm, &wf_ops);seqcount_mutex_init (>->stats.lock, >->wakeref.mutex); }
drivers/gpu/drm/i915/gt/intel_gt_types.h +5 -0
@@ -180,6 +180,11 @@ struct intel_gt {const struct intel_mmio_range *steering_table[NUM_STEERING_TYPES ]; +/* +* Base of per-tile GTTMMADR where we can derive the MMIO and the GGTT. +*/ +phys_addr_t phys_addr; +struct intel_gt_info {intel_engine_mask_t engine_mask;
drivers/gpu/drm/i915/i915_drv.c +9 -11
@@ -313,8 +313,8 @@ static int i915_driver_early_probe(struct drm_i915_private *dev_priv)intel_device_info_subplatform_init (dev_priv);intel_step_init (dev_priv); +/* All tiles share a single mmio_debug */ intel_uncore_mmio_debug_init_early (&dev_priv->mmio_debug); -intel_uncore_init_early (&dev_priv->uncore, dev_priv);spin_lock_init (&dev_priv->irq_lock);spin_lock_init (&dev_priv->gpu_error.lock);
@@ -416,13 +416,9 @@ static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv)if (ret <0 )return ret; - ret =intel_uncore_setup_mmio (&dev_priv->uncore); -if (ret <0 ) - goto err_bridge; - ret =intel_uncore_init_mmio (&dev_priv->uncore);if (ret) - goto err_mmio; +return ret;/* Try to make sure MCHBAR is enabled before poking at it */ intel_setup_mchbar (dev_priv);
@@ -440,9 +436,6 @@ static int i915_driver_mmio_probe(struct drm_i915_private *dev_priv) err_uncore:intel_teardown_mchbar (dev_priv);intel_uncore_fini_mmio (&dev_priv->uncore); -err_mmio: -intel_uncore_cleanup_mmio (&dev_priv->uncore); -err_bridge:pci_dev_put (dev_priv->bridge_dev);return ret;
@@ -456,7 +449,6 @@ static void i915_driver_mmio_release(struct drm_i915_private *dev_priv) {intel_teardown_mchbar (dev_priv);intel_uncore_fini_mmio (&dev_priv->uncore); -intel_uncore_cleanup_mmio (&dev_priv->uncore);pci_dev_put (dev_priv->bridge_dev); }
@@ -845,10 +837,14 @@ int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent)intel_vgpu_detect (i915); - ret =i915_driver_mmio_probe (i915); + ret =intel_gt_probe_all (i915);if (ret <0 ) goto out_runtime_pm_put; + ret =i915_driver_mmio_probe (i915); +if (ret <0 ) + goto out_tiles_cleanup; + ret =i915_driver_hw_probe (i915);if (ret <0 ) goto out_cleanup_mmio;
@@ -905,6 +901,8 @@ int i915_driver_probe(struct pci_dev *pdev, const struct pci_device_id *ent)i915_ggtt_driver_late_release (i915); out_cleanup_mmio:i915_driver_mmio_release (i915); +out_tiles_cleanup: +intel_gt_release_all (i915); out_runtime_pm_put:enable_rpm_wakeref_asserts (&i915->runtime_pm);i915_driver_late_release (i915);
drivers/gpu/drm/i915/intel_uncore.c +4 -8
@@ -2020,14 +2020,11 @@ static int i915_pmic_bus_access_notifier(struct notifier_block *nb,return NOTIFY_OK ; } -int intel_uncore_setup_mmio (struct intel_uncore *uncore) +int intel_uncore_setup_mmio (struct intel_uncore *uncore,phys_addr_t phys_addr) {struct drm_i915_private *i915 = uncore->i915; -struct pci_dev *pdev =to_pci_dev (i915->drm.dev); -int mmio_bar;int mmio_size; - mmio_bar =GRAPHICS_VER (i915) ==2 ?1 :0 ;/* * Before gen4, the registers and the GTT are behind different BARs. * However, from gen4 onwards, the registers and the GTT are shared
@@ -2044,7 +2041,7 @@ int intel_uncore_setup_mmio(struct intel_uncore *uncore)else mmio_size =2 *1024 *1024 ; - uncore->regs =pci_iomap (pdev, mmio_bar, mmio_size); + uncore->regs =ioremap (phys_addr, mmio_size);if (uncore->regs ==NULL ) {drm_err (&i915->drm,"failed to map registers\n" );return -EIO ;
@@ -2055,9 +2052,8 @@ int intel_uncore_setup_mmio(struct intel_uncore *uncore)void intel_uncore_cleanup_mmio (struct intel_uncore *uncore) { -struct pci_dev *pdev =to_pci_dev (uncore->i915->drm.dev); - -pci_iounmap (pdev, uncore->regs); +if (uncore->regs) +iounmap (uncore->regs); } void intel_uncore_init_early(struct intel_uncore *uncore,
drivers/gpu/drm/i915/intel_uncore.h +2 -1
@@ -29,6 +29,7 @@#include <linux/notifier.h> #include <linux/hrtimer.h> #include <linux/io-64-nonatomic-lo-hi.h> +#include <linux/types.h> #include "i915_reg.h"
@@ -218,7 +219,7 @@ void intel_uncore_mmio_debug_init_early(struct intel_uncore_mmio_debug *mmio_debug);void intel_uncore_init_early (struct intel_uncore *uncore,struct drm_i915_private *i915); -int intel_uncore_setup_mmio (struct intel_uncore *uncore); +int intel_uncore_setup_mmio (struct intel_uncore *uncore,phys_addr_t phys_addr);int intel_uncore_init_mmio (struct intel_uncore *uncore);void intel_uncore_prune_engine_fw_domains (struct intel_uncore *uncore,struct intel_gt *gt);
Signature · 1 line
2.33.0
Re: [PATCH v3 03/10] drm/i915: Restructure probe to handle multi-tile platforms
Hi Matt,
Quoted 14 lines · Matt Roper
On a multi-tile platform, each tile has its own registers + GGTT space, and BAR 0 is extended to cover all of them. Upcoming patches will start exposing the tiles as multiple GTs within a single PCI device. In preparation for supporting such setups, restructure the driver's probe code a bit.
Only the primary/root tile is initialized for now; the other tiles will be detected and plugged in by future patches once the necessary infrastructure is in place to handle them.
v2:
- Rename for naming prefix consistency. (Jani, Lucas)Original-author: Abdiel Janulgue
Quoted 8 lines
Cc Daniele Ceraolo Spurio <[email protected]>Cc Matthew Auld <[email protected]>Cc Joonas Lahtinen <[email protected]>Cc Lucas De Marchi <[email protected]>Cc Jani Nikula <[email protected]>Signed-off-by Daniele Ceraolo Spurio <[email protected]>Signed-off-by Tvrtko Ursulin <[email protected]>Signed-off-by Matt Roper <[email protected]>
Looks correct to me:
Andi
Re: [PATCH v3 03/10] drm/i915: Restructure probe to handle multi-tile platforms
In reply to Matt RoperHi Matt,
drivers/gpu/drm/i915/gt/intel_gt.c u32 intel_gt_read_register_fw(struct intel_gt *gt, i915_reg_t reg) · line 904
Quoted 2 lines
drivers/gpu/drm/i915/gt/intel_gt.c +2
-0+static int +intel_gt_tile_setup (struct intel_gt *gt,unsigned int id,phys_addr_t phys_addr)
I have already r-b this, but, as I commented in patch 5, 'id' is redundant. Can we remove it?
Andi
Quoted 13 lines
drivers/gpu/drm/i915/gt/intel_gt.c +13
-0+{ +int ret; + +intel_uncore_init_early (gt->uncore, gt->i915); + + ret =intel_uncore_setup_mmio (gt->uncore, phys_addr); +if (ret) +return ret; + + gt->phys_addr = phys_addr; + +return 0 ; +}
[...]
Quoted 8 lines
drivers/gpu/drm/i915/gt/intel_gt.c +8
-0+/* We always have at least one primary GT on any device */ + ret =intel_gt_tile_setup (&i915->gt,0 , phys_addr); +if (ret) +return ret; + +/* TODO: add more tiles */ +return 0 ; +}
PATCH v3 4/10 drm/i915: Store backpointer to GT in uncore
In reply to Matt RoperFrom: Michał Winiarski <[email protected]>
We now support a per-gt uncore, yet we're not able to infer which GT we're operating upon. Let's store a backpointer for now.
--- drivers/gpu/drm/i915/gt/intel_gt.c | 2 +- drivers/gpu/drm/i915/intel_uncore.c | 9 +++++---- drivers/gpu/drm/i915/intel_uncore.h | 3 ++- drivers/gpu/drm/i915/selftests/mock_gem_device.c | 3 +-- drivers/gpu/drm/i915/selftests/mock_uncore.c | 2 +- 5 files changed, 10 insertions(+), 9 deletions(-)
drivers/gpu/drm/i915/gt/intel_gt.c +1 -1
@@ -905,7 +905,7 @@ intel_gt_tile_setup(struct intel_gt *gt, unsigned int id, phys_addr_t phys_addr) {int ret; -intel_uncore_init_early (gt->uncore, gt->i915); +intel_uncore_init_early (gt->uncore, gt); ret =intel_uncore_setup_mmio (gt->uncore, phys_addr);if (ret)
drivers/gpu/drm/i915/intel_uncore.c +5 -4
@@ -2057,12 +2057,13 @@ void intel_uncore_cleanup_mmio(struct intel_uncore *uncore) }void intel_uncore_init_early (struct intel_uncore *uncore, -struct drm_i915_private *i915) +struct intel_gt *gt) {spin_lock_init (&uncore->lock); - uncore->i915 = i915; - uncore->rpm = &i915->runtime_pm; - uncore->debug = &i915->mmio_debug; + uncore->i915 = gt->i915; + uncore->gt = gt; + uncore->rpm = >->i915->runtime_pm; + uncore->debug = >->i915->mmio_debug; }static void uncore_raw_init (struct intel_uncore *uncore)
drivers/gpu/drm/i915/intel_uncore.h +2 -1
@@ -130,6 +130,7 @@ struct intel_uncore {void __iomem *regs;struct drm_i915_private *i915; +struct intel_gt *gt;struct intel_runtime_pm *rpm;spinlock_t lock;/** lock is also taken in irq contexts. */
@@ -218,7 +219,7 @@ u32 intel_uncore_read_with_mcr_steering(struct intel_uncore *uncore,void intel_uncore_mmio_debug_init_early (struct intel_uncore_mmio_debug *mmio_debug);void intel_uncore_init_early (struct intel_uncore *uncore, -struct drm_i915_private *i915); +struct intel_gt *gt);int intel_uncore_setup_mmio (struct intel_uncore *uncore,phys_addr_t phys_addr);int intel_uncore_init_mmio (struct intel_uncore *uncore); void intel_uncore_prune_engine_fw_domains(struct intel_uncore *uncore,
drivers/gpu/drm/i915/selftests/mock_gem_device.c +1 -2
@@ -175,10 +175,9 @@ struct drm_i915_private *mock_gem_device(void)mkwrite_device_info (i915)->memory_regions =REGION_SMEM ;intel_memory_regions_hw_probe (i915); -mock_uncore_init (&i915->uncore, i915); -i915_gem_init__mm (i915);intel_gt_init_early (&i915->gt, i915); +mock_uncore_init (&i915->uncore, i915);atomic_inc (&i915->gt.wakeref.count);/* disable; no hw support */ i915->gt.awake = -ENODEV ;
drivers/gpu/drm/i915/selftests/mock_uncore.c +1 -1
@@ -42,7 +42,7 @@ __nop_read(64)void mock_uncore_init (struct intel_uncore *uncore,struct drm_i915_private *i915) { -intel_uncore_init_early (uncore, i915); +intel_uncore_init_early (uncore, &i915->gt);ASSIGN_RAW_WRITE_MMIO_VFUNCS (uncore, nop);ASSIGN_RAW_READ_MMIO_VFUNCS (uncore, nop);
Signature · 1 line
2.33.0
PATCH v3 5/10 drm/i915: Prepare for multiple gts
In reply to Matt RoperFrom: Tvrtko Ursulin <[email protected]>
Add some basic plumbing to support more than one dynamically allocated struct intel_gt. Up to four gts are supported in i915->gts[], with slot zero shadowing the existing i915->gt to enable source compatibility with legacy driver paths. A for_each_gt macro is added to iterate over the GTs and will be used by upcoming patches that convert various parts of the driver to be multi-gt aware.
v2:
- Rename init function to i915_init_tile_memory() and move it to i915_drv.c. (Lucas)
- Squash in patch from Sandeep to release the per-gt resources during driver teardown.
--- drivers/gpu/drm/i915/gt/intel_gt.c | 57 +++++++++++++++++++--- drivers/gpu/drm/i915/gt/intel_gt.h | 6 +++ drivers/gpu/drm/i915/gt/intel_gt_types.h | 2 + drivers/gpu/drm/i915/i915_drv.c | 30 +++++++++++- drivers/gpu/drm/i915/i915_drv.h | 6 +++ drivers/gpu/drm/i915/intel_memory_region.h | 3 ++ 6 files changed, 96 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/gt/intel_gt.c +51 -6
@@ -23,10 +23,13 @@#include "shmem_utils.h" #include "pxp/intel_pxp.h" -void intel_gt_init_early (struct intel_gt *gt,struct drm_i915_private *i915) +static void +__intel_gt_init_early (struct intel_gt *gt, +struct intel_uncore *uncore, +struct drm_i915_private *i915) { gt->i915 = i915; - gt->uncore = &i915->uncore; + gt->uncore = uncore;spin_lock_init (>->irq_lock);
@@ -49,10 +52,15 @@ void intel_gt_init_early(struct intel_gt *gt, struct drm_i915_private *i915)int intel_gt_probe_lmem (struct intel_gt *gt) {struct drm_i915_private *i915 = gt->i915; +unsigned int instance = gt->info.id;struct intel_memory_region *mem;int id;int err; + id =INTEL_REGION_LMEM + instance; +if (drm_WARN_ON (&i915->drm, id >=INTEL_REGION_STOLEN_SMEM )) +return -ENODEV ; + mem =intel_gt_setup_lmem (gt);if (mem ==ERR_PTR (-ENODEV )) mem =intel_gt_setup_fake_lmem (gt);
@@ -67,9 +75,8 @@ int intel_gt_probe_lmem(struct intel_gt *gt)return err; } - id =INTEL_REGION_LMEM ; - mem->id = id; + mem->instance = instance;intel_memory_region_set_name (mem,"local%u" , mem->instance);
@@ -80,6 +87,11 @@ int intel_gt_probe_lmem(struct intel_gt *gt)return 0 ; } +void intel_gt_init_early (struct intel_gt *gt,struct drm_i915_private *i915) +{ +__intel_gt_init_early (gt, &i915->uncore, i915); +} +void intel_gt_init_hw_early (struct intel_gt *gt,struct i915_ggtt *ggtt) { gt->ggtt = ggtt;
@@ -903,9 +915,29 @@ u32 intel_gt_read_register_fw(struct intel_gt *gt, i915_reg_t reg)static int intel_gt_tile_setup (struct intel_gt *gt,unsigned int id,phys_addr_t phys_addr) { +struct drm_i915_private *i915 = gt->i915; +struct intel_uncore *uncore; +struct intel_uncore_mmio_debug *mmio_debug;int ret; -intel_uncore_init_early (gt->uncore, gt); +if (id) { + uncore =kzalloc (sizeof (*uncore),GFP_KERNEL ); +if (!uncore) +return -ENOMEM ; + + mmio_debug =kzalloc (sizeof (*mmio_debug),GFP_KERNEL ); +if (!mmio_debug) { +kfree (uncore); +return -ENOMEM ; + } + +__intel_gt_init_early (gt, uncore, i915); + }else { + uncore = &i915->uncore; + mmio_debug = &i915->mmio_debug; + } + +intel_uncore_init_early (uncore, gt); ret =intel_uncore_setup_mmio (gt->uncore, phys_addr);if (ret)
@@ -920,6 +952,11 @@ static void intel_gt_tile_cleanup(struct intel_gt *gt) {intel_uncore_cleanup_mmio (gt->uncore); + +if (gt->info.id) { +kfree (gt->uncore); +kfree (gt); + } }int intel_gt_probe_all (struct drm_i915_private *i915)
@@ -937,13 +974,21 @@ int intel_gt_probe_all(struct drm_i915_private *i915)if (ret)return ret; + i915->gts[0 ] = &i915->gt; +/* TODO: add more tiles */ return 0 ; }void intel_gt_release_all (struct drm_i915_private *i915) { -intel_gt_tile_cleanup (&i915->gt); +struct intel_gt *gt; +unsigned int id; + +for_each_gt (i915, id, gt) { +intel_gt_tile_cleanup (gt); + i915->gts[id] =NULL ; + } } void intel_gt_info_print(const struct intel_gt_info *info,
drivers/gpu/drm/i915/gt/intel_gt.h +6 -0
@@ -88,6 +88,12 @@ u32 intel_gt_read_register_fw(struct intel_gt *gt, i915_reg_t reg);int intel_gt_probe_all (struct drm_i915_private *i915);void intel_gt_release_all (struct drm_i915_private *i915); +#define for_each_gt (i915__, id__, gt__) \ + for ((id__) = 0; \ + (id__) < I915_MAX_TILES; \ + (id__)++) \ + for_each_if(((gt__) = (i915__)->gts[(id__)])) +void intel_gt_info_print (const struct intel_gt_info *info,struct drm_printer *p);
drivers/gpu/drm/i915/gt/intel_gt_types.h +2 -0
@@ -186,6 +186,8 @@ struct intel_gt {phys_addr_t phys_addr;struct intel_gt_info { +unsigned int id; +intel_engine_mask_t engine_mask;u32 l3bank_mask;
drivers/gpu/drm/i915/i915_drv.c +28 -2
@@ -382,10 +382,14 @@ static int i915_driver_early_probe(struct drm_i915_private *dev_priv)*/ static void i915_driver_late_release (struct drm_i915_private *dev_priv) { +struct intel_gt *gt; +unsigned int id; +intel_irq_fini (dev_priv);intel_power_domains_cleanup (dev_priv);i915_gem_cleanup_early (dev_priv); -intel_gt_driver_late_release (&dev_priv->gt); +for_each_gt (dev_priv, id, gt) +intel_gt_driver_late_release (gt);intel_region_ttm_device_fini (dev_priv);vlv_suspend_cleanup (dev_priv);i915_workqueues_cleanup (dev_priv);
@@ -512,6 +516,28 @@ static int i915_set_dma_info(struct drm_i915_private *i915)return ret; } +/** +* i915_init_tile_memory - initialize per-tile memory +* @i915: valid i915 instance +* +* Current multi-tile platforms include a GT and a memory region within each +* tile. We need to initialize each. +*/ +static int i915_init_tile_memory (struct drm_i915_private *i915) +{ +struct intel_gt *gt; +unsigned int id; +int ret; + +for_each_gt (i915, id, gt) { + ret =intel_gt_probe_lmem (gt); +if (ret) +return ret; + } + +return 0 ; +} +/** * i915_driver_hw_probe - setup state requiring device access * @dev_priv: device private
@@ -579,7 +605,7 @@ static int i915_driver_hw_probe(struct drm_i915_private *dev_priv)intel_gt_init_hw_early (&dev_priv->gt, &dev_priv->ggtt); - ret =intel_gt_probe_lmem (&dev_priv->gt); + ret =i915_init_tile_memory (dev_priv);if (ret) goto err_mem_regions;
drivers/gpu/drm/i915/i915_drv.h +6 -0
@@ -1193,6 +1193,12 @@ struct drm_i915_private {/* Abstract the submission mechanism (legacy ringbuffer or execlists) away */ struct intel_gt gt; +/* +* i915->gts[0] == &i915->gt +*/ +#define I915_MAX_TILES 4 +struct intel_gt *gts[I915_MAX_TILES ]; + struct { struct i915_gem_contexts { spinlock_t lock; /* locks list */
drivers/gpu/drm/i915/intel_memory_region.h +3 -0
@@ -31,6 +31,9 @@ enum intel_memory_type {enum intel_region_id {INTEL_REGION_SMEM =0 ,INTEL_REGION_LMEM , +INTEL_REGION_LMEM1 , +INTEL_REGION_LMEM2 , +INTEL_REGION_LMEM3 ,INTEL_REGION_STOLEN_SMEM ,INTEL_REGION_STOLEN_LMEM ,INTEL_REGION_UNKNOWN ,/* Should be last */
Signature · 1 line
2.33.0
Re: [PATCH v3 05/10] drm/i915: Prepare for multiple gts
Hi Matt and Tvrtko,
[...]
Quoted 2 lines
static int
intel_gt_tile_setup(struct intel_gt *gt, unsigned int id, phys_addr_t phys_addr)
we don't actually need 'id', it's gt->info.id. It's introduced in patch 3 with the value '0' but it's not needed.
drivers/gpu/drm/i915/gt/intel_gt.c u32 intel_gt_read_register_fw(struct intel_gt *gt, i915_reg_t reg) · line 923
Quoted 8 lines
{
drivers/gpu/drm/i915/gt/intel_gt.c +4
-1+struct drm_i915_private *i915 = gt->i915; +struct intel_uncore *uncore; +struct intel_uncore_mmio_debug *mmio_debug;int ret; -intel_uncore_init_early (gt->uncore, gt); +if (id) {
if (gt->info.id) ?
Andi
Quoted 19 lines
drivers/gpu/drm/i915/gt/intel_gt.c +17
-0+ uncore =kzalloc (sizeof (*uncore),GFP_KERNEL ); +if (!uncore) +return -ENOMEM ; + + mmio_debug =kzalloc (sizeof (*mmio_debug),GFP_KERNEL ); +if (!mmio_debug) { +kfree (uncore); +return -ENOMEM ; + } + +__intel_gt_init_early (gt, uncore, i915); + }else { + uncore = &i915->uncore; + mmio_debug = &i915->mmio_debug; + } + +intel_uncore_init_early (uncore, gt); ret =intel_uncore_setup_mmio (gt->uncore, phys_addr);
Re: [Intel-gfx] [PATCH v3 05/10] drm/i915: Prepare for multiple gts
Quoted 9 lines · Andi Shyti
Hi Matt and Tvrtko,
[...]
Quoted 2 lines
static int
intel_gt_tile_setup(struct intel_gt *gt, unsigned int id, phys_addr_t phys_addr)we don't actually need 'id', it's
gt->info.id. It's introduced in patch 3 with the value '0' but it's not needed.
I have a suspicion code got munged up over endless rebases and refactors.
This patch is the one which introduces the id member to gt->info. But it is not setting it, even though I suspect the intent was for intel_gt_tile_setup to do that.
Instead gt->info.id is only set to a valid value in last patch of this series inside intel_gt_probe_all:
+ gt->i915 = i915;
+ gt->name = gtdef->name;
+ gt->type = gtdef->type;
+ gt->info.engine_mask = gtdef->engine_mask;
+ gt->info.id = i;
+
+ drm_dbg(&i915->drm, "Setting up %s %u\n", gt->name, gt->info.id);
+ ret = intel_gt_tile_setup(gt, i, phys_addr + gtdef->mapping_base);
And intel_gt_tile_setup then calls __intel_gt_init_early which assigns gt->i915 yet again.
So I'd say there is probably space to bring this all into a more streamlined flow, even more than what you suggest below.
Regards,
Tvrtko
Quoted 32 lines
drivers/gpu/drm/i915/gt/intel_gt.c u32 intel_gt_read_register_fw(struct intel_gt *gt, i915_reg_t reg) · line 923
Quoted 8 lines
{drivers/gpu/drm/i915/gt/intel_gt.c +4
-1+struct drm_i915_private *i915 = gt->i915; +struct intel_uncore *uncore; +struct intel_uncore_mmio_debug *mmio_debug;int ret; -intel_uncore_init_early (gt->uncore, gt); +if (id) {if (
gt->info.id) ?Andi
Quoted 19 lines
drivers/gpu/drm/i915/gt/intel_gt.c +17
-0+ uncore =kzalloc (sizeof (*uncore),GFP_KERNEL ); +if (!uncore) +return -ENOMEM ; + + mmio_debug =kzalloc (sizeof (*mmio_debug),GFP_KERNEL ); +if (!mmio_debug) { +kfree (uncore); +return -ENOMEM ; + } + +__intel_gt_init_early (gt, uncore, i915); + }else { + uncore = &i915->uncore; + mmio_debug = &i915->mmio_debug; + } + +intel_uncore_init_early (uncore, gt); ret =intel_uncore_setup_mmio (gt->uncore, phys_addr);
Re: [Intel-gfx] [PATCH v3 05/10] drm/i915: Prepare for multiple gts
Hi Tvrtko,
Quoted 23 lines
Quoted 7 lines
[...]
Quoted 2 lines
static int
intel_gt_tile_setup(struct intel_gt *gt, unsigned int id, phys_addr_t phys_addr)we don't actually need 'id', it's
gt->info.id. It's introduced in patch 3 with the value '0' but it's not needed.I have a suspicion code got munged up over endless rebases and refactors.
This patch is the one which introduces the id member to
gt->info. But it is not setting it, even though I suspect the intent was forintel_gt_tile_setupto do that.Instead
gt->info.idis only set to a valid value in last patch of this series insideintel_gt_probe_all:(quoted diff) +8
-0+ gt->i915 = i915; + gt->name = gtdef->name; + gt->type = gtdef->type; + gt->info.engine_mask = gtdef->engine_mask; + gt->info.id = i; + + drm_dbg(&i915->drm, "Setting up %s %u\n", gt->name, gt->info.id); + ret = intel_gt_tile_setup(gt, i, phys_addr + gtdef->mapping_base);
Quoted 3 lines
And
intel_gt_tile_setupthen calls__intel_gt_init_earlywhich assignsgt->i915yet again.So I'd say there is probably space to bring this all into a more streamlined flow, even more than what you suggest below.
yes, I noticed them!
Patch 3, 5 and 10 are very much connected with each other: 3 prepares for one tile, 5 prepares for multitile and 10 does the multitile. While in between other patches are doing other things.
On top of some cleanups we could also rearrange the patches with some squashing and reordering to have them a bit more linear and also easier to review.
Andi
Re: [Intel-gfx] [PATCH v3 05/10] drm/i915: Prepare for multiple gts
Quoted 31 lines · Andi Shyti
Hi Tvrtko,
Quoted 23 lines
Quoted 7 lines
[...]
Quoted 2 lines
static int
intel_gt_tile_setup(struct intel_gt *gt, unsigned int id, phys_addr_t phys_addr)we don't actually need 'id', it's
gt->info.id. It's introduced in patch 3 with the value '0' but it's not needed.I have a suspicion code got munged up over endless rebases and refactors.
This patch is the one which introduces the id member to
gt->info. But it is not setting it, even though I suspect the intent was forintel_gt_tile_setupto do that.Instead
gt->info.idis only set to a valid value in last patch of this series insideintel_gt_probe_all:(quoted diff) +8
-0+ gt->i915 = i915; + gt->name = gtdef->name; + gt->type = gtdef->type; + gt->info.engine_mask = gtdef->engine_mask; + gt->info.id = i; + + drm_dbg(&i915->drm, "Setting up %s %u\n", gt->name, gt->info.id); + ret = intel_gt_tile_setup(gt, i, phys_addr + gtdef->mapping_base);Quoted 3 lines
And
intel_gt_tile_setupthen calls__intel_gt_init_earlywhich assignsgt->i915yet again.So I'd say there is probably space to bring this all into a more streamlined flow, even more than what you suggest below.
yes, I noticed them!
Quoted 7 lines
Patch 3, 5 and 10 are very much connected with each other: 3 prepares for one tile, 5 prepares for multitile and 10 does the multitile. While in between other patches are doing other things.
On top of some cleanups we could also rearrange the patches with some squashing and reordering to have them a bit more linear and also easier to review.
Yes. Maybe make intel_gt_tile_setup accept more arguments so it can be truly used to setup a gt?
intel_gt_tile_setup(gt, id, name, type, engine_mask)
The usual thing where patch which adds something extends the prototype to include more stuff. If that applies here.
I know it is originally my patch but I don't have the time to rework it, much less the whole series, so usual dispensation to take over authorship if changes are large applies.
Regards,
Tvrtko
Re: [Intel-gfx] [PATCH v3 05/10] drm/i915: Prepare for multiple gts
Hi Tvrtko,
Quoted 40 lines
Quoted 29 lines
Quoted 23 lines
Quoted 7 lines
[...]
Quoted 2 lines
static int
intel_gt_tile_setup(struct intel_gt *gt, unsigned int id, phys_addr_t phys_addr)we don't actually need 'id', it's
gt->info.id. It's introduced in patch 3 with the value '0' but it's not needed.I have a suspicion code got munged up over endless rebases and refactors.
This patch is the one which introduces the id member to
gt->info. But it is not setting it, even though I suspect the intent was forintel_gt_tile_setupto do that.Instead
gt->info.idis only set to a valid value in last patch of this series insideintel_gt_probe_all:(quoted diff) +8
-0+ gt->i915 = i915; + gt->name = gtdef->name; + gt->type = gtdef->type; + gt->info.engine_mask = gtdef->engine_mask; + gt->info.id = i; + + drm_dbg(&i915->drm, "Setting up %s %u\n", gt->name, gt->info.id); + ret = intel_gt_tile_setup(gt, i, phys_addr + gtdef->mapping_base);Quoted 3 lines
And
intel_gt_tile_setupthen calls__intel_gt_init_earlywhich assignsgt->i915yet again.So I'd say there is probably space to bring this all into a more streamlined flow, even more than what you suggest below.
yes, I noticed them!
Quoted 7 lines
Patch 3, 5 and 10 are very much connected with each other: 3 prepares for one tile, 5 prepares for multitile and 10 does the multitile. While in between other patches are doing other things.
On top of some cleanups we could also rearrange the patches with some squashing and reordering to have them a bit more linear and also easier to review.
Yes. Maybe make
intel_gt_tile_setupaccept more arguments so it can be truly used to setup a gt?
Quoted 8 lines
intel_gt_tile_setup(gt, id, name, type, engine_mask)The usual thing where patch which adds something extends the prototype to include more stuff. If that applies here.
I know it is originally my patch but I don't have the time to rework it, much less the whole series, so usual dispensation to take over authorship if changes are large applies.
as no one is stepping forward, if you and Matt are OK, I can try to venture in some refactoring of these three patches (3, 5 and 10).
Andi
PATCH v3 6/10 drm/i915: Initial support for per-tile uncore
In reply to Matt RoperFrom: Daniele Ceraolo Spurio <[email protected]>
Initialization and suspend/resume is replicated per-tile.
--- drivers/gpu/drm/i915/gt/intel_gt.c | 1 + drivers/gpu/drm/i915/i915_debugfs.c | 5 ++- drivers/gpu/drm/i915/i915_drv.c | 61 ++++++++++++++++++++++------- 3 files changed, 51 insertions(+), 16 deletions(-)
drivers/gpu/drm/i915/gt/intel_gt.c +1 -0
@@ -994,6 +994,7 @@ void intel_gt_release_all(struct drm_i915_private *i915)void intel_gt_info_print (const struct intel_gt_info *info,struct drm_printer *p) { +drm_printf (p,"GT %u info:\n" , info->id);drm_printf (p,"available engines: %x\n" , info->engine_mask);intel_sseu_dump (&info->sseu, p);
drivers/gpu/drm/i915/i915_debugfs.c +4 -1
@@ -60,12 +60,15 @@ static int i915_capabilities(struct seq_file *m, void *data) {struct drm_i915_private *i915 =node_to_i915 (m->private);struct drm_printer p =drm_seq_file_printer (m); +struct intel_gt *gt; +unsigned int id;seq_printf (m,"pch: %d\n" ,INTEL_PCH_TYPE (i915));intel_device_info_print_static (INTEL_INFO (i915), &p);intel_device_info_print_runtime (RUNTIME_INFO (i915), &p); -intel_gt_info_print (&i915->gt.info, &p); +for_each_gt (i915, id, gt) +intel_gt_info_print (>->info, &p);intel_driver_caps_print (&i915->caps, &p);kernel_param_lock (THIS_MODULE );
drivers/gpu/drm/i915/i915_drv.c +46 -15
158 lines not on this page · raw message
Signature · 1 line
2.33.0
PATCH v3 7/10 drm/i915/xehp: Determine which tile raised an interrupt
In reply to Matt RoperFrom: Paulo Zanoni <[email protected]>
The first step of interrupt handling is to read a tile0 register that tells us in which tile the interrupt happened; we can then read the usual interrupt registers from the appropriate tile.
Note that this is just the first step of handling interrupts properly on multi-tile platforms. Subsequent patches will convert other parts of the interrupt handling flow.
v2:
- Simplify init of t0_regs. (Lucas)
- Fix handling of display and GSE interrupts. Although we only expect to receive these on tile 0, we should still process them inside the gt loop to ensure the proper tile's master_ctl value is used.
--- drivers/gpu/drm/i915/i915_irq.c | 41 ++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 18 deletions(-)
drivers/gpu/drm/i915/i915_irq.c +23 -18
@@ -2771,40 +2771,45 @@ static inline void dg1_master_intr_enable(void __iomem * const regs)static irqreturn_t dg1_irq_handler (int irq,void *arg) {struct drm_i915_private *const i915 = arg; +void __iomem *const t0_regs = i915->gt.uncore->regs;struct intel_gt *gt = &i915->gt; -void __iomem *const regs = gt->uncore->regs;u32 master_tile_ctl, master_ctl; -u32 gu_misc_iir; +u32 gu_misc_iir =0 ; +unsigned int i;if (!intel_irqs_enabled (i915))return IRQ_NONE ; - master_tile_ctl =dg1_master_intr_disable (regs); + master_tile_ctl =dg1_master_intr_disable (t0_regs);if (!master_tile_ctl) { -dg1_master_intr_enable (regs); +dg1_master_intr_enable (t0_regs);return IRQ_NONE ; } -/* FIXME: we only support tile 0 for now. */ -if (master_tile_ctl &DG1_MSTR_TILE (0 )) { +for_each_gt (i915, i, gt) { +void __iomem *const regs = gt->uncore->regs; + +if ((master_tile_ctl &DG1_MSTR_TILE (i)) ==0 ) +continue ; + master_ctl =raw_reg_read (regs,GEN11_GFX_MSTR_IRQ );raw_reg_write (regs,GEN11_GFX_MSTR_IRQ , master_ctl); - }else { -DRM_ERROR ("Tile not supported: 0x%08x\n" , master_tile_ctl); -dg1_master_intr_enable (regs); -return IRQ_NONE ; - } -gen11_gt_irq_handler (gt, master_ctl); +gen11_gt_irq_handler (gt, master_ctl); -if (master_ctl &GEN11_DISPLAY_IRQ ) -gen11_display_irq_handler (i915); - - gu_misc_iir =gen11_gu_misc_irq_ack (gt, master_ctl); +/* +* In practice we'll only get display and gu_misc interrupts +* for the GSE on tile0, but it's still simplest to process +* them inside the loop. +*/ +if (master_ctl &GEN11_DISPLAY_IRQ ) +gen11_display_irq_handler (i915); -dg1_master_intr_enable (regs); + gu_misc_iir =gen11_gu_misc_irq_ack (gt, master_ctl); +gen11_gu_misc_irq_handler (gt, gu_misc_iir); + } -gen11_gu_misc_irq_handler (gt, gu_misc_iir); +dg1_master_intr_enable (t0_regs);pmu_irq_stats (i915,IRQ_HANDLED );
Signature · 1 line
2.33.0
Re: [PATCH v3 07/10] drm/i915/xehp: Determine which tile raised an interrupt
Hi Matt and Paulo,
drivers/gpu/drm/i915/i915_irq.c static inline void dg1_master_intr_enable(void __iomem * const regs) · line 2777
Quoted 10 lines
drivers/gpu/drm/i915/i915_irq.c +2
-2@@ -2771,40 +2771,45 @@ static inline void dg1_master_intr_enable(void __iomem * const regs)static irqreturn_t dg1_irq_handler (int irq,void *arg) {struct drm_i915_private *const i915 = arg; +void __iomem *const t0_regs = i915->gt.uncore->regs;struct intel_gt *gt = &i915->gt; -void __iomem *const regs = gt->uncore->regs;u32 master_tile_ctl, master_ctl; -u32 gu_misc_iir; +u32 gu_misc_iir =0 ;
just a nitpick, this doesn't need to be initialize and you could also insert it inside the for_each_gt()
Thanks,
Andi
Quoted 56 lines
drivers/gpu/drm/i915/i915_irq.c +21
-16+unsigned int i;if (!intel_irqs_enabled (i915))return IRQ_NONE ; - master_tile_ctl =dg1_master_intr_disable (regs); + master_tile_ctl =dg1_master_intr_disable (t0_regs);if (!master_tile_ctl) { -dg1_master_intr_enable (regs); +dg1_master_intr_enable (t0_regs);return IRQ_NONE ; } -/* FIXME: we only support tile 0 for now. */ -if (master_tile_ctl &DG1_MSTR_TILE (0 )) { +for_each_gt (i915, i, gt) { +void __iomem *const regs = gt->uncore->regs; + +if ((master_tile_ctl &DG1_MSTR_TILE (i)) ==0 ) +continue ; + master_ctl =raw_reg_read (regs,GEN11_GFX_MSTR_IRQ );raw_reg_write (regs,GEN11_GFX_MSTR_IRQ , master_ctl); - }else { -DRM_ERROR ("Tile not supported: 0x%08x\n" , master_tile_ctl); -dg1_master_intr_enable (regs); -return IRQ_NONE ; - } -gen11_gt_irq_handler (gt, master_ctl); +gen11_gt_irq_handler (gt, master_ctl); -if (master_ctl &GEN11_DISPLAY_IRQ ) -gen11_display_irq_handler (i915); - - gu_misc_iir =gen11_gu_misc_irq_ack (gt, master_ctl); +/* +* In practice we'll only get display and gu_misc interrupts +* for the GSE on tile0, but it's still simplest to process +* them inside the loop. +*/ +if (master_ctl &GEN11_DISPLAY_IRQ ) +gen11_display_irq_handler (i915); -dg1_master_intr_enable (regs); + gu_misc_iir =gen11_gu_misc_irq_ack (gt, master_ctl); +gen11_gu_misc_irq_handler (gt, gu_misc_iir); + } -gen11_gu_misc_irq_handler (gt, gu_misc_iir); +dg1_master_intr_enable (t0_regs);pmu_irq_stats (i915,IRQ_HANDLED );Signature · 1 line
2.33.0
PATCH v3 8/10 drm/i915/xehp: Make IRQ reset and postinstall multi-tile aware
In reply to Matt RoperFrom: Paulo Zanoni <[email protected]>
Loop through all the tiles when initializing and resetting interrupts.
v2:
- Access tile0 registers through dev_priv->uncore rather than dev_priv->gt.uncore for clarity.
--- drivers/gpu/drm/i915/i915_irq.c | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-)
drivers/gpu/drm/i915/i915_irq.c +18 -10
@@ -3194,14 +3194,19 @@ static void dg1_irq_reset(struct drm_i915_private *dev_priv) {struct intel_gt *gt = &dev_priv->gt;struct intel_uncore *uncore = gt->uncore; +unsigned int i;dg1_master_intr_disable (dev_priv->uncore.regs); -gen11_gt_irq_reset (gt); -gen11_display_irq_reset (dev_priv); +for_each_gt (dev_priv, i, gt) { +gen11_gt_irq_reset (gt); -GEN3_IRQ_RESET (uncore,GEN11_GU_MISC_ ); -GEN3_IRQ_RESET (uncore,GEN8_PCU_ ); + uncore = gt->uncore; +GEN3_IRQ_RESET (uncore,GEN11_GU_MISC_ ); +GEN3_IRQ_RESET (uncore,GEN8_PCU_ ); + } + +gen11_display_irq_reset (dev_priv); } void gen8_irq_power_well_post_enable(struct drm_i915_private *dev_priv,
@@ -3894,13 +3899,16 @@ static void gen11_irq_postinstall(struct drm_i915_private *dev_priv)static void dg1_irq_postinstall (struct drm_i915_private *dev_priv) { -struct intel_gt *gt = &dev_priv->gt; -struct intel_uncore *uncore = gt->uncore; +struct intel_gt *gt;u32 gu_misc_masked =GEN11_GU_MISC_GSE ; +unsigned int i; -gen11_gt_irq_postinstall (gt); +for_each_gt (dev_priv, i, gt) { +gen11_gt_irq_postinstall (gt); -GEN3_IRQ_INIT (uncore,GEN11_GU_MISC_ , ~gu_misc_masked, gu_misc_masked); +GEN3_IRQ_INIT (gt->uncore,GEN11_GU_MISC_ , ~gu_misc_masked, + gu_misc_masked); + }if (HAS_DISPLAY (dev_priv)) {icp_irq_postinstall (dev_priv);
@@ -3909,8 +3917,8 @@ static void dg1_irq_postinstall(struct drm_i915_private *dev_priv) GEN11_DISPLAY_IRQ_ENABLE); } -dg1_master_intr_enable (uncore->regs); -intel_uncore_posting_read (uncore,DG1_MSTR_TILE_INTR ); +dg1_master_intr_enable (dev_priv->uncore.regs); +intel_uncore_posting_read (&dev_priv->uncore,DG1_MSTR_TILE_INTR ); }static void cherryview_irq_postinstall (struct drm_i915_private *dev_priv)
Signature · 1 line
2.33.0
PATCH v3 9/10 drm/i915/guc: Update CT debug macro for multi-tile
In reply to Matt RoperFrom: Michal Wajdeczko <[email protected]>
Update CT debug macros by including tile ID in all messages.
--- drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c +3 -3
@@ -33,15 +33,15 @@ static inline struct drm_device *ct_to_drm(struct intel_guc_ct *ct) }#define CT_ERROR (_ct, _fmt, ...) \ - drm_err(ct_to_drm(_ct), "CT: " _fmt, ##__VA_ARGS__) + drm_err(ct_to_drm(_ct), "CT%u: " _fmt, ct_to_gt(_ct)->info.id, ##__VA_ARGS__)#ifdef CONFIG_DRM_I915_DEBUG_GUC #define CT_DEBUG (_ct, _fmt, ...) \ - drm_dbg(ct_to_drm(_ct), "CT: " _fmt, ##__VA_ARGS__) + drm_dbg(ct_to_drm(_ct), "CT%u: " _fmt, ct_to_gt(_ct)->info.id, ##__VA_ARGS__)#else #define CT_DEBUG (...) do { } while (0)#endif #define CT_PROBE_ERROR (_ct, _fmt, ...) \ - i915_probe_error(ct_to_i915(ct), "CT: " _fmt, ##__VA_ARGS__) + i915_probe_error(ct_to_i915(ct), "CT%u: " _fmt, ct_to_gt(_ct)->info.id, ##__VA_ARGS__)/** * DOC: CTB Blob
Signature · 1 line
2.33.0
Re: [PATCH v3 09/10] drm/i915/guc: Update CT debug macro for multi-tile
Hi Matt and Michal,
Quoted 7 lines · Matt Roper
From: Michal Wajdeczko <[email protected]>
Update CT debug macros by including tile ID in all messages.
Cc Michał Winiarski <[email protected]>Signed-off-by Michal Wajdeczko <[email protected]>Signed-off-by Matt Roper <[email protected]>
Andi
PATCH v3 10/10 drm/i915/xehpsdv: Initialize multi-tiles
In reply to Matt RoperFrom: Tvrtko Ursulin <[email protected]>
Check how many extra GT tiles are available on the system and setup register access for all of them. We can detect how may GT tiles are available by reading a register on the root tile. The same register returns the tile ID on all tiles.
v2:
- Include some additional refactor that didn't get squashed in properly on v1.
v3:
- Move the PCI BAR size assertion into the non-gt0 code since we're only really trying to check it on multi-tile platforms (and on old pre-gen9 platforms the BAR size is less than 16MB so the assertion would have failed there).
Bspec: 33407
Original-author: Abdiel Janulgue
--- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt.c | 83 ++++++++++++++++++++++- drivers/gpu/drm/i915/gt/intel_gt.h | 4 +- drivers/gpu/drm/i915/gt/intel_gt_types.h | 3 + drivers/gpu/drm/i915/i915_drv.h | 7 +- drivers/gpu/drm/i915/i915_pci.c | 40 +++++++++-- drivers/gpu/drm/i915/i915_reg.h | 4 ++ drivers/gpu/drm/i915/intel_device_info.h | 15 ++++ 8 files changed, 146 insertions(+), 12 deletions(-)
drivers/gpu/drm/i915/gt/intel_engine_cs.c +1 -1
@@ -527,7 +527,7 @@ static intel_engine_mask_t init_engine_mask(struct intel_gt *gt)u16 vdbox_mask;u16 vebox_mask; - info->engine_mask =INTEL_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 +80 -3
124 lines not on this page · raw message
drivers/gpu/drm/i915/gt/intel_gt.h +3 -1
@@ -50,6 +50,8 @@ void intel_gt_driver_late_release(struct intel_gt *gt);int intel_gt_wait_for_idle (struct intel_gt *gt,long timeout); +int intel_gt_tile_setup (struct intel_gt *gt,unsigned int id,phys_addr_t phys_addr); +void intel_gt_check_and_clear_faults (struct intel_gt *gt);void intel_gt_clear_error_registers (struct intel_gt *gt,intel_engine_mask_t engine_mask);
@@ -90,7 +92,7 @@ void intel_gt_release_all(struct drm_i915_private *i915);#define for_each_gt (i915__, id__, gt__) \ for ((id__) = 0; \ - (id__) < I915_MAX_TILES; \ + (id__) < I915_MAX_GTS; \ (id__)++) \ for_each_if(((gt__) = (i915__)->gts[(id__)]))
drivers/gpu/drm/i915/gt/intel_gt_types.h +3 -0
@@ -68,6 +68,9 @@ enum intel_submission_method {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 +5 -2
@@ -865,6 +865,8 @@ struct drm_i915_private {*/ resource_size_t stolen_usable_size;/* Total size minus reserved ranges */ +unsigned int remote_tiles; +struct intel_uncore uncore;struct intel_uncore_mmio_debug mmio_debug;
@@ -1196,8 +1198,8 @@ struct drm_i915_private {/* * i915->gts[0] == &i915->gt */ -#define I915_MAX_TILES 4 -struct intel_gt *gts[I915_MAX_TILES ]; +#define I915_MAX_GTS 4 +struct intel_gt *gts[I915_MAX_GTS ]; struct { struct i915_gem_contexts {
@@ -1723,6 +1725,7 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,#define HAS_REGION (i915, i) (INTEL_INFO(i915)->memory_regions & (i))#define HAS_LMEM (i915) HAS_REGION(i915, REGION_LMEM) +#define HAS_REMOTE_TILES (dev_priv) (INTEL_INFO(dev_priv)->has_remote_tiles)#define HAS_GT_UC (dev_priv) (INTEL_INFO(dev_priv)->has_gt_uc)
drivers/gpu/drm/i915/i915_pci.c +35 -5
@@ -29,6 +29,7 @@#include "i915_drv.h" #include "i915_pci.h" +#include "gt/intel_gt.h" #define PLATFORM (x) .platform = (x)#define GEN (x) \
@@ -1008,6 +1009,37 @@ static const struct intel_device_info adl_p_info = { .media_ver = 12, \ .media_rel = 50 +#define XE_HP_SDV_ENGINES \ + BIT(BCS0) | \ + BIT(VECS0) | BIT(VECS1) | BIT(VECS2) | BIT(VECS3) | \ + BIT(VCS0) | BIT(VCS1) | BIT(VCS2) | BIT(VCS3) | \ + BIT(VCS4) | BIT(VCS5) | BIT(VCS6) | BIT(VCS7) + +static const struct intel_gt_definition xehp_sdv_gts[] = { + { + .type =GT_TILE , + .name ="Remote Tile GT" , + .mapping_base =SZ_16M , + .engine_mask =XE_HP_SDV_ENGINES , + + }, + { + .type =GT_TILE , + .name ="Remote Tile GT" , + .mapping_base =SZ_16M *2 , + .engine_mask =XE_HP_SDV_ENGINES , + + }, + { + .type =GT_TILE , + .name ="Remote Tile GT" , + .mapping_base =SZ_16M *3 , + .engine_mask =XE_HP_SDV_ENGINES , + + }, + {} +}; +__maybe_unused static const struct intel_device_info xehpsdv_info = {XE_HP_FEATURES ,
@@ -1015,12 +1047,10 @@ static const struct intel_device_info xehpsdv_info = {DGFX_FEATURES ,PLATFORM (INTEL_XEHPSDV ), .display = { }, + .extra_gts = xehp_sdv_gts, + .has_remote_tiles = 1, .pipe_mask = 0, - .platform_engine_mask = -BIT (RCS0 ) |BIT (BCS0 ) | -BIT (VECS0 ) |BIT (VECS1 ) |BIT (VECS2 ) |BIT (VECS3 ) | -BIT (VCS0 ) |BIT (VCS1 ) |BIT (VCS2 ) |BIT (VCS3 ) | -BIT (VCS4 ) |BIT (VCS5 ) |BIT (VCS6 ) |BIT (VCS7 ), + .platform_engine_mask = XE_HP_SDV_ENGINES, .require_force_probe = 1, };
drivers/gpu/drm/i915/i915_reg.h +4 -0
@@ -12466,6 +12466,10 @@ enum skl_power_gate {#define GEN12_GLOBAL_MOCS (i) _MMIO(0x4000 + (i) * 4)/* Global MOCS regs */ +#define XEHPSDV_MTCFG_ADDR _MMIO(0x101800) +#define TILE_COUNT REG_GENMASK(15, 8) +#define TILE_NUMBER REG_GENMASK(7, 0) +#define GEN12_GSMBASE _MMIO(0x108100)#define GEN12_DSMBASE _MMIO(0x1080C0)
drivers/gpu/drm/i915/intel_device_info.h +15 -0
@@ -136,6 +136,7 @@ enum intel_ppgtt_type {func (has_pxp); \func (has_rc6); \func (has_rc6p); \ +func (has_remote_tiles); \func (has_rps); \func (has_runtime_pm); \func (has_snoop); \
@@ -166,6 +167,18 @@ enum intel_ppgtt_type {func (overlay_needs_physical); \func (supports_tv); +enum intel_gt_type { +GT_PRIMARY , +GT_TILE , +}; + +struct intel_gt_definition { +enum intel_gt_type type; +char *name; +u32 mapping_base; +intel_engine_mask_t engine_mask; +}; +struct intel_device_info {u8 graphics_ver;u8 graphics_rel;
@@ -185,6 +198,8 @@ struct intel_device_info {u32 memory_regions;/* regions supported by the HW */ +const struct intel_gt_definition *extra_gts; +u32 display_mmio_offset;u8 gt;/* GT number, 0 if undefined */
Signature · 1 line
2.33.0
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for i915: Initial multi-tile support (rev3)
In reply to Matt Roper== Series Details ==
== Series Details ==
Series: i915: Initial multi-tile support (rev3)
URL : https://patchwork.freedesktop.org/series/95631/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 1705fd0a9784 drm/i915: rework some irq functions to take intel_gt as argument -:17: WARNING:BAD_SIGN_OFF: Non-standard signature: Co-authored-by: #17: Co-authored-by: Tvrtko Ursulin <[email protected]>
total: 0 errors, 1 warnings, 0 checks, 75 lines checkedd1ad37e3e59f drm/i915: split general MMIO setup from per-GT uncore init 4e2ff0a014f1 drm/i915: Restructure probe to handle multi-tile platforms aaf60d368b8d drm/i915: Store backpointer to GT in uncore563ae5d397db drm/i915: Prepare for multiple gts
-:157: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'id__' - possible side-effects? #157: FILE: drivers/gpu/drm/i915/gt/intel_gt.h:91:
+#define for_each_gt(i915__, id__, gt__) \
+ for ((id__) = 0; \
+ (id__) < I915_MAX_TILES; \
+ (id__)++) \
+ for_each_if(((gt__) = (i915__)->gts[(id__)]))
total: 0 errors, 0 warnings, 1 checks, 206 lines checked bc3dd39b8aba drm/i915: Initial support for per-tile uncore 01e6c40393ac drm/i915/xehp: Determine which tile raised an interrupt 18b82f7a6cad drm/i915/xehp: Make IRQ reset and postinstall multi-tile aware 92457e660ec4 drm/i915/guc: Update CT debug macro for multi-tile c69ad9b4c31f drm/i915/xehpsdv: Initialize multi-tiles
-:23: WARNING:BAD_SIGN_OFF: Non-standard signature: Co-authored-by:
#23:
-:263: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #263: FILE: drivers/gpu/drm/i915/i915_pci.c:1012:
+#define XE_HP_SDV_ENGINES \
+ BIT(BCS0) | \
+ BIT(VECS0) | BIT(VECS1) | BIT(VECS2) | BIT(VECS3) | \
+ BIT(VCS0) | BIT(VCS1) | BIT(VCS2) | BIT(VCS3) | \ + BIT(VCS4) | BIT(VCS5) | BIT(VCS6) | BIT(VCS7)
total: 1 errors, 1 warnings, 0 checks, 284 lines checked
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for i915: Initial multi-tile support (rev3)
In reply to Matt Roper== Series Details ==
== Series Details ==
Series: i915: Initial multi-tile support (rev3)
URL : https://patchwork.freedesktop.org/series/95631/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10809 -> Patchwork_21485
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/index.html
Participating hosts (36 -> 32)
------------------------------
Missing (4): bat-adlp-4 fi-bwr-2160 bat-dg1-6 bat-dg1-5
Known issues
------------
Here are the changes found in Patchwork_21485 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s0:
- fi-kbl-soraka: [PASS][1] -> [INCOMPLETE][2] ([i915#4221])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/fi-kbl-soraka/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/fi-kbl-soraka/igt@[email protected]
* igt@gem_exec_suspend@basic-s3:
- fi-bdw-5557u: [PASS][3] -> [INCOMPLETE][4] ([i915#146])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/fi-bdw-5557u/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/fi-bdw-5557u/igt@[email protected]
* igt@i915_pm_rpm@module-reload:
- fi-kbl-7500u: [PASS][5] -> [INCOMPLETE][6] ([i915#151])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/fi-kbl-7500u/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/fi-kbl-7500u/igt@[email protected]
* igt@runner@aborted:
- fi-kbl-7500u: NOTRUN -> [FAIL][7] ([fdo#109271] / [i915#1814] / [i915#2722] / [i915#3363] / [i915#4312])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/fi-kbl-7500u/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s3:
- fi-tgl-1115g4: [FAIL][8] ([i915#1888]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/fi-tgl-1115g4/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/fi-tgl-1115g4/igt@[email protected]
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#146]: https://gitlab.freedesktop.org/drm/intel/issues/146
[i915#151]: https://gitlab.freedesktop.org/drm/intel/issues/151
[i915#1814]: https://gitlab.freedesktop.org/drm/intel/issues/1814
[i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
[i915#2722]: https://gitlab.freedesktop.org/drm/intel/issues/2722
[i915#3363]: https://gitlab.freedesktop.org/drm/intel/issues/3363
[i915#4221]: https://gitlab.freedesktop.org/drm/intel/issues/4221
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
Build changes
-------------
* Linux: CI_DRM_10809 -> Patchwork_21485
CI-20190529: 20190529
CI_DRM_10809: 9959c5de92d04f2336d749a5a331799aa41cfb1f @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6264: 3458490c14afe3cb8aa873fa9e520e1c815ea068 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21485: c69ad9b4c31f158b820929d670b0a6bef3d715ee @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
c69ad9b4c31f drm/i915/xehpsdv: Initialize multi-tiles 92457e660ec4 drm/i915/guc: Update CT debug macro for multi-tile 18b82f7a6cad drm/i915/xehp: Make IRQ reset and postinstall multi-tile aware 01e6c40393ac drm/i915/xehp: Determine which tile raised an interrupt bc3dd39b8aba drm/i915: Initial support for per-tile uncore 563ae5d397db drm/i915: Prepare for multiple gtsaaf60d368b8d drm/i915: Store backpointer to GT in uncore 4e2ff0a014f1 drm/i915: Restructure probe to handle multi-tile platforms d1ad37e3e59f drm/i915: split general MMIO setup from per-GT uncore init 1705fd0a9784 drm/i915: rework some irq functions to take intel_gt as argument
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/index.html
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for i915: Initial multi-tile support (rev3)
In reply to Matt Roper== Series Details ==
== Series Details ==
Series: i915: Initial multi-tile support (rev3)
URL : https://patchwork.freedesktop.org/series/95631/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10809_full -> Patchwork_21485_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (10 -> 9)
------------------------------
Missing (1): pig-kbl-iris
Known issues
------------
Here are the changes found in Patchwork_21485_full that come from known issues:
### CI changes ###
#### Issues hit ####
* boot:
- shard-glk: ([PASS][1], [PASS][2], [PASS][3], [PASS][4], [PASS][5], [PASS][6], [PASS][7], [PASS][8], [PASS][9], [PASS][10], [PASS][11], [PASS][12], [PASS][13], [PASS][14], [PASS][15], [PASS][16], [PASS][17], [PASS][18], [PASS][19], [PASS][20], [PASS][21], [PASS][22], [PASS][23], [PASS][24], [PASS][25]) -> ([PASS][26], [PASS][27], [FAIL][28], [PASS][29], [PASS][30], [PASS][31], [PASS][32], [PASS][33], [PASS][34], [PASS][35], [PASS][36], [PASS][37], [PASS][38], [PASS][39], [PASS][40], [PASS][41], [PASS][42], [PASS][43], [PASS][44], [PASS][45], [PASS][46], [PASS][47], [PASS][48], [PASS][49], [PASS][50]) ([i915#4392])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk3/boot.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk9/boot.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk9/boot.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk8/boot.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk8/boot.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk7/boot.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk7/boot.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk7/boot.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk6/boot.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk6/boot.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk6/boot.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk5/boot.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk5/boot.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk5/boot.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk4/boot.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk4/boot.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk4/boot.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk3/boot.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk3/boot.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk2/boot.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk2/boot.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk2/boot.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk1/boot.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk1/boot.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk1/boot.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk1/boot.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk2/boot.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk2/boot.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk1/boot.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk2/boot.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk3/boot.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk3/boot.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk3/boot.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk3/boot.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk4/boot.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk4/boot.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk4/boot.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk5/boot.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk5/boot.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk5/boot.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk6/boot.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk6/boot.html
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk7/boot.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk7/boot.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk8/boot.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk1/boot.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk8/boot.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk8/boot.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk9/boot.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk9/boot.html
### IGT changes ###
#### Issues hit ####
* igt@feature_discovery@display-3x:
- shard-tglb: NOTRUN -> [SKIP][51] ([i915#1839])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb3/igt@[email protected]
* igt@gem_create@create-massive:
- shard-skl: NOTRUN -> [DMESG-WARN][52] ([i915#1982] / [i915#3002])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl1/igt@[email protected]
* igt@gem_eio@in-flight-contexts-10ms:
- shard-iclb: [PASS][53] -> [TIMEOUT][54] ([i915#3070])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-iclb1/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-iclb3/igt@[email protected]
* igt@gem_exec_fair@basic-flow@rcs0:
- shard-kbl: [PASS][55] -> [SKIP][56] ([fdo#109271])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-kbl6/igt@gem_exec_fair@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-kbl1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vecs0:
- shard-apl: [PASS][57] -> [FAIL][58] ([i915#2842] / [i915#3468])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-apl8/igt@gem_exec_fair@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-apl8/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-tglb: [PASS][59] -> [FAIL][60] ([i915#2842])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-tglb5/igt@gem_exec_fair@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb2/igt@gem_exec_fair@[email protected]
* igt@gem_huc_copy@huc-copy:
- shard-tglb: [PASS][61] -> [SKIP][62] ([i915#2190])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-tglb1/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb6/igt@[email protected]
* igt@gem_pxp@create-protected-buffer:
- shard-tglb: NOTRUN -> [SKIP][63] ([i915#4270])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb3/igt@[email protected]
* igt@gem_userptr_blits@dmabuf-sync:
- shard-skl: NOTRUN -> [SKIP][64] ([fdo#109271] / [i915#3323])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl1/igt@[email protected]
* igt@gem_userptr_blits@input-checking:
- shard-tglb: NOTRUN -> [DMESG-WARN][65] ([i915#3002])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb7/igt@[email protected]
* igt@gem_userptr_blits@readonly-unsync:
- shard-tglb: NOTRUN -> [SKIP][66] ([i915#3297])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb5/igt@[email protected]
* igt@gem_userptr_blits@vma-merge:
- shard-skl: NOTRUN -> [FAIL][67] ([i915#3318])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl7/igt@[email protected]
* igt@gen7_exec_parse@cmd-crossing-page:
- shard-tglb: NOTRUN -> [SKIP][68] ([fdo#109289])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb5/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-skl: [PASS][69] -> [DMESG-WARN][70] ([i915#1436] / [i915#716])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-skl1/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl4/igt@[email protected]
* igt@gen9_exec_parse@basic-rejected-ctx-param:
- shard-tglb: NOTRUN -> [SKIP][71] ([i915#2856])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb7/igt@[email protected]
* igt@i915_pm_backlight@fade_with_suspend:
- shard-tglb: [PASS][72] -> [INCOMPLETE][73] ([i915#456]) +1 similar issue
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-tglb5/igt@i915_pm_backlight@fade_with_suspend.html
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb7/igt@i915_pm_backlight@fade_with_suspend.html
* igt@i915_pm_rc6_residency@media-rc6-accuracy:
- shard-tglb: NOTRUN -> [SKIP][74] ([fdo#109289] / [fdo#111719])
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb6/igt@[email protected]
* igt@i915_pm_rc6_residency@rc6-idle:
- shard-tglb: NOTRUN -> [WARN][75] ([i915#2681] / [i915#2684])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb3/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- shard-snb: [PASS][76] -> [INCOMPLETE][77] ([i915#3921])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-snb5/igt@i915_selftest@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-snb6/igt@i915_selftest@[email protected]
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-apl: [PASS][78] -> [DMESG-WARN][79] ([i915#180]) +1 similar issue
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-apl7/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-apl4/igt@[email protected]
* igt@kms_big_fb@linear-16bpp-rotate-270:
- shard-tglb: NOTRUN -> [SKIP][80] ([fdo#111614]) +4 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb3/igt@[email protected]
* igt@kms_big_fb@x-tiled-32bpp-rotate-180:
- shard-glk: [PASS][81] -> [DMESG-WARN][82] ([i915#118])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk9/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk3/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- shard-kbl: NOTRUN -> [SKIP][83] ([fdo#109271] / [i915#3777])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-kbl3/igt@[email protected]
* igt@kms_big_fb@y-tiled-8bpp-rotate-270:
- shard-iclb: NOTRUN -> [SKIP][84] ([fdo#110725] / [fdo#111614])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-iclb1/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-async-flip:
- shard-skl: NOTRUN -> [FAIL][85] ([i915#3743])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl4/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-async-flip.html
* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- shard-tglb: NOTRUN -> [SKIP][86] ([fdo#111615]) +3 similar issues
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb5/igt@[email protected]
* igt@kms_big_joiner@2x-modeset:
- shard-tglb: NOTRUN -> [SKIP][87] ([i915#2705])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb5/igt@[email protected]
* igt@kms_ccs@pipe-a-bad-pixel-format-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][88] ([i915#3689]) +5 similar issues
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb5/igt@kms_ccs@pipe-a-bad-pixel-format-y_tiled_ccs.html
* igt@kms_ccs@pipe-a-bad-pixel-format-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][89] ([fdo#109271] / [i915#3886]) +1 similar issue
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-apl2/igt@kms_ccs@pipe-a-bad-pixel-format-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc:
- shard-skl: NOTRUN -> [SKIP][90] ([fdo#109271] / [i915#3886]) +6 similar issues
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl7/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs:
- shard-kbl: NOTRUN -> [SKIP][91] ([fdo#109271] / [i915#3886]) +2 similar issues
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-kbl3/igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-bad-pixel-format-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][92] ([i915#3689] / [i915#3886]) +1 similar issue
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb5/igt@kms_ccs@pipe-b-bad-pixel-format-y_tiled_gen12_mc_ccs.html
* igt@kms_color_chamelium@pipe-a-gamma:
- shard-iclb: NOTRUN -> [SKIP][93] ([fdo#109284] / [fdo#111827])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-iclb7/igt@[email protected]
* igt@kms_color_chamelium@pipe-b-ctm-blue-to-red:
- shard-apl: NOTRUN -> [SKIP][94] ([fdo#109271] / [fdo#111827]) +4 similar issues
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-apl2/igt@[email protected]
* igt@kms_color_chamelium@pipe-b-ctm-max:
- shard-skl: NOTRUN -> [SKIP][95] ([fdo#109271] / [fdo#111827]) +12 similar issues
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl4/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][96] ([fdo#109284] / [fdo#111827]) +10 similar issues
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb3/igt@[email protected]
* igt@kms_color_chamelium@pipe-c-ctm-0-25:
- shard-kbl: NOTRUN -> [SKIP][97] ([fdo#109271] / [fdo#111827]) +1 similar issue
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-kbl3/igt@[email protected]
* igt@kms_content_protection@dp-mst-lic-type-1:
- shard-tglb: NOTRUN -> [SKIP][98] ([i915#3116])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb3/igt@[email protected]
* igt@kms_content_protection@lic:
- shard-tglb: NOTRUN -> [SKIP][99] ([fdo#111828]) +1 similar issue
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb3/igt@[email protected]
- shard-kbl: NOTRUN -> [TIMEOUT][100] ([i915#1319])
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-kbl6/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-32x10-offscreen:
- shard-tglb: NOTRUN -> [SKIP][101] ([i915#3359]) +2 similar issues
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb3/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-32x32-random:
- shard-iclb: NOTRUN -> [SKIP][102] ([fdo#109278]) +1 similar issue
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-iclb1/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-32x32-sliding:
- shard-tglb: NOTRUN -> [SKIP][103] ([i915#3319]) +1 similar issue
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb5/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-512x170-sliding:
- shard-tglb: NOTRUN -> [SKIP][104] ([fdo#109279] / [i915#3359]) +1 similar issue
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb3/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-legacy:
- shard-skl: [PASS][105] -> [FAIL][106] ([i915#2346])
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-skl9/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl2/igt@[email protected]
* igt@kms_cursor_legacy@pipe-d-torture-bo:
- shard-skl: NOTRUN -> [SKIP][107] ([fdo#109271] / [i915#533])
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl10/igt@[email protected]
* igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size:
- shard-tglb: NOTRUN -> [SKIP][108] ([i915#4103])
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb5/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size.html
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: [PASS][109] -> [INCOMPLETE][110] ([i915#180] / [i915#1982])
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-apl4/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-apl6/igt@[email protected]
* igt@kms_flip@2x-flip-vs-modeset-vs-hang:
- shard-kbl: NOTRUN -> [SKIP][111] ([fdo#109271]) +39 similar issues
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-kbl3/igt@[email protected]
* igt@kms_flip@2x-plain-flip-interruptible:
- shard-tglb: NOTRUN -> [SKIP][112] ([fdo#111825]) +21 similar issues
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb3/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: [PASS][113] -> [DMESG-WARN][114] ([i915#180]) +5 similar issues
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-kbl3/igt@kms_flip@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-kbl7/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend@b-edp1:
- shard-tglb: [PASS][115] -> [DMESG-WARN][116] ([i915#2411] / [i915#2867])
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-tglb5/igt@kms_flip@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb2/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile:
- shard-iclb: [PASS][117] -> [SKIP][118] ([i915#3701])
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-iclb3/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-iclb2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-shrfb-fliptrack-mmap-gtt:
- shard-skl: NOTRUN -> [SKIP][119] ([fdo#109271]) +137 similar issues
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl7/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-suspend:
- shard-tglb: [PASS][120] -> [INCOMPLETE][121] ([i915#2411] / [i915#456])
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-tglb5/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb7/igt@[email protected]
* igt@kms_pipe_b_c_ivb@disable-pipe-b-enable-pipe-c:
- shard-apl: NOTRUN -> [SKIP][122] ([fdo#109271]) +52 similar issues
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-apl1/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend@pipe-a-planes:
- shard-skl: [PASS][123] -> [INCOMPLETE][124] ([i915#198])
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-skl8/igt@kms_plane@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl1/igt@kms_plane@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-transparent-fb:
- shard-skl: NOTRUN -> [FAIL][125] ([i915#265])
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-constant-alpha-max:
- shard-apl: NOTRUN -> [FAIL][126] ([fdo#108145] / [i915#265])
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-apl1/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
- shard-skl: [PASS][127] -> [FAIL][128] ([fdo#108145] / [i915#265])
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-skl4/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl6/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
- shard-skl: NOTRUN -> [FAIL][129] ([fdo#108145] / [i915#265]) +2 similar issues
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl10/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-4:
- shard-apl: NOTRUN -> [SKIP][130] ([fdo#109271] / [i915#658]) +1 similar issue
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-apl1/igt@[email protected]
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-3:
- shard-kbl: NOTRUN -> [SKIP][131] ([fdo#109271] / [i915#658]) +1 similar issue
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-kbl3/igt@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-5:
- shard-tglb: NOTRUN -> [SKIP][132] ([i915#2920]) +1 similar issue
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb7/igt@[email protected]
* igt@kms_psr2_su@frontbuffer:
- shard-skl: NOTRUN -> [SKIP][133] ([fdo#109271] / [i915#658]) +4 similar issues
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl10/igt@[email protected]
* igt@kms_psr2_su@page_flip:
- shard-tglb: NOTRUN -> [SKIP][134] ([i915#1911])
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb3/igt@kms_psr2_su@page_flip.html
* igt@kms_psr@psr2_cursor_plane_move:
- shard-iclb: [PASS][135] -> [SKIP][136] ([fdo#109441]) +1 similar issue
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-iclb2/igt@kms_psr@psr2_cursor_plane_move.html
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-iclb1/igt@kms_psr@psr2_cursor_plane_move.html
* igt@kms_psr@psr2_sprite_render:
- shard-tglb: NOTRUN -> [FAIL][137] ([i915#132] / [i915#3467]) +1 similar issue
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb7/igt@kms_psr@psr2_sprite_render.html
* igt@kms_sysfs_edid_timing:
- shard-skl: NOTRUN -> [FAIL][138] ([IGT#2])
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl10/igt@kms_sysfs_edid_timing.html
* igt@kms_vrr@flip-suspend:
- shard-tglb: NOTRUN -> [SKIP][139] ([fdo#109502])
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb3/igt@[email protected]
* igt@nouveau_crc@pipe-c-ctx-flip-detection:
- shard-tglb: NOTRUN -> [SKIP][140] ([i915#2530]) +1 similar issue
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb5/igt@[email protected]
* igt@prime_nv_test@nv_write_i915_cpu_mmap_read:
- shard-tglb: NOTRUN -> [SKIP][141] ([fdo#109291]) +3 similar issues
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb7/igt@prime_nv_test@nv_write_i915_cpu_mmap_read.html
* igt@prime_vgem@fence-write-hang:
- shard-tglb: NOTRUN -> [SKIP][142] ([fdo#109295])
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb3/igt@[email protected]
* igt@sysfs_clients@busy:
- shard-tglb: NOTRUN -> [SKIP][143] ([i915#2994])
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb7/igt@[email protected]
* igt@sysfs_clients@fair-7:
- shard-skl: NOTRUN -> [SKIP][144] ([fdo#109271] / [i915#2994])
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl1/igt@[email protected]
#### Possible fixes ####
* igt@drm_mm@all@insert:
- shard-skl: [INCOMPLETE][145] ([i915#2485]) -> [PASS][146]
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-skl2/igt@drm_mm@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl8/igt@drm_mm@[email protected]
* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-glk: [FAIL][147] ([i915#2842]) -> [PASS][148]
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-glk2/igt@gem_exec_fair@[email protected]
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-glk5/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vcs0:
- shard-kbl: [FAIL][149] ([i915#2842]) -> [PASS][150] +1 similar issue
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-kbl7/igt@gem_exec_fair@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-kbl6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vcs1:
- shard-tglb: [FAIL][151] ([i915#2842]) -> [PASS][152]
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-tglb3/igt@gem_exec_fair@[email protected]
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb7/igt@gem_exec_fair@[email protected]
* igt@gem_spin_batch@user-each:
- shard-skl: [FAIL][153] -> [PASS][154]
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-skl7/igt@[email protected]
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl10/igt@[email protected]
* igt@i915_suspend@fence-restore-untiled:
- shard-apl: [DMESG-WARN][155] ([i915#180]) -> [PASS][156] +1 similar issue
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-apl6/igt@[email protected]
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-apl2/igt@[email protected]
* igt@i915_suspend@sysfs-reader:
- shard-tglb: [INCOMPLETE][157] ([i915#456]) -> [PASS][158] +1 similar issue
[157]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-tglb7/igt@[email protected]
[158]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-tglb3/igt@[email protected]
- shard-kbl: [DMESG-WARN][159] ([i915#180]) -> [PASS][160] +2 similar issues
[159]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-kbl6/igt@[email protected]
[160]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-kbl6/igt@[email protected]
* igt@kms_color@pipe-a-ctm-0-75:
- shard-skl: [DMESG-WARN][161] ([i915#1982]) -> [PASS][162] +1 similar issue
[161]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-skl8/igt@[email protected]
[162]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl1/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-skl: [INCOMPLETE][163] ([i915#2828] / [i915#300]) -> [PASS][164]
[163]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10809/shard-skl8/igt@[email protected]
[164]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/shard-skl10/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-suspend:
- shard-tglb: [INCOMPLETE][165] ([i915#2411] / [i915#4211]) -> [PASS][166]
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21485/index.html