drm/i915: (stolen) memory region related fixes
Subsystems (3)
v2 cover drm/i915: (stolen) memory region related fixes
From: Ville Syrjälä <[email protected]>
Attempt to fix the mess around stolen memory, especially on MTL with it's special (and apparenly broken) not-actually-lmem stolen.
The series is made up of roughtly three parts:
1. General refactoring/debug improvement for mem regions
2. Deal with the broken BAR stuff on MTL
3. Fix initial display plane readout for MTL
v2: Try to relocate the BIOS fb to start of ggtt to make
space for the GuC stuff at the top end of ggtt
Ville Syrjälä (15):
drm/i915: Use struct resource for memory region IO as well drm/i915: Print memory region info during probe drm/i915: Remove ad-hoc lmem/stolen debugs
drm/i915: Bypass LMEMBAR/GTTMMADR for MTL stolen memory access drm/i915: Disable the "binder"
drm/i915: Rename the DSM/GSM registers
drm/i915: Fix PTE decode during initial plane readout drm/i915: Fix region start during initial plane readout drm/i915: Fix MTL initial plane readout
drm/i915: s/phys_base/dma_addr/
drm/i915: Split the smem and lmem plane readout apart drm/i915: Simplify intel_initial_plane_config() calling convention drm/i915/fbdev: Fix smem_start for LMEMBAR stolen objects drm/i915: Tweak BIOS fb reuse check
drm/i915: Try to relocate the BIOS fb to the start of ggtt
drivers/gpu/drm/i915/display/i9xx_plane.c | 30 +++ drivers/gpu/drm/i915/display/i9xx_plane.h | 7 + drivers/gpu/drm/i915/display/intel_display.c | 5 + .../gpu/drm/i915/display/intel_display_core.h | 2 + .../drm/i915/display/intel_display_driver.c | 7 +- .../drm/i915/display/intel_display_types.h | 2 + drivers/gpu/drm/i915/display/intel_fbdev_fb.c | 5 +- .../drm/i915/display/intel_plane_initial.c | 252 +++++++++++++----- .../drm/i915/display/intel_plane_initial.h | 4 +- .../drm/i915/display/skl_universal_plane.c | 28 ++ .../drm/i915/display/skl_universal_plane.h | 2 + drivers/gpu/drm/i915/gem/i915_gem_region.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 30 ++- drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 8 +- .../drm/i915/gem/selftests/i915_gem_mman.c | 18 +- drivers/gpu/drm/i915/gt/intel_ggtt.c | 13 +- drivers/gpu/drm/i915/gt/intel_gtt.c | 2 +- drivers/gpu/drm/i915/gt/intel_region_lmem.c | 14 +- drivers/gpu/drm/i915/gt/selftest_tlb.c | 4 +- drivers/gpu/drm/i915/i915_gpu_error.c | 2 +- drivers/gpu/drm/i915/i915_query.c | 2 +- drivers/gpu/drm/i915/i915_reg.h | 7 +- drivers/gpu/drm/i915/intel_memory_region.c | 33 ++- drivers/gpu/drm/i915/intel_memory_region.h | 3 +- drivers/gpu/drm/i915/intel_region_ttm.c | 8 +- .../drm/i915/selftests/intel_memory_region.c | 4 +- 26 files changed, 354 insertions(+), 140 deletions(-)
Signature · 1 line
2.41.0
PATCH v2 1/15 drm/i915: Use struct resource for memory region IO as well
From: Ville Syrjälä <[email protected]>
mem->region is a struct resource, but mem->io_start and mem->io_size are not for whatever reason. Let's unify this and convert the io stuff into a struct resource as well. Should make life a little less annoying when you don't have juggle between two different approaches all the time.
Mostly done using cocci (with manual tweaks at all the places where we mutate io_size by hand):
@@
struct intel_memory_region *M;
expression START, SIZE;
@@
- M->io_start = START;
- M->io_size = SIZE;
+ M->io = DEFINE_RES_MEM(START, SIZE);
@@
struct intel_memory_region *M;
@@
- M->io_start
+ M->io.start
@@
struct intel_memory_region M;
@@
- M.io_start
+ M.io.start
@@
expression M;
@@
- M->io_size
+ resource_size(&M->io)
@@
expression M;
@@
- M.io_size
+ resource_size(&M.io)
--- drivers/gpu/drm/i915/display/intel_fbdev_fb.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_region.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 17 +++++++++-------- drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 8 ++++---- .../gpu/drm/i915/gem/selftests/i915_gem_mman.c | 18 +++++++++--------- drivers/gpu/drm/i915/gt/intel_region_lmem.c | 11 +++-------- drivers/gpu/drm/i915/gt/selftest_tlb.c | 4 ++-- drivers/gpu/drm/i915/i915_gpu_error.c | 2 +- drivers/gpu/drm/i915/i915_query.c | 2 +- drivers/gpu/drm/i915/intel_memory_region.c | 15 +++++++-------- drivers/gpu/drm/i915/intel_memory_region.h | 3 +-- drivers/gpu/drm/i915/intel_region_ttm.c | 8 ++++---- .../drm/i915/selftests/intel_memory_region.c | 4 ++-- 13 files changed, 45 insertions(+), 51 deletions(-)
drivers/gpu/drm/i915/display/intel_fbdev_fb.c +1 -1
@@ -78,7 +78,7 @@ int intel_fbdev_fb_fill_info(struct drm_i915_private *i915, struct fb_info *info/* Use fbdev's framebuffer from lmem for discrete */ info->fix.smem_start = - (unsigned long )(mem->io_start + + (unsigned long )(mem->io.start +i915_gem_object_get_dma_address (obj,0 )); info->fix.smem_len = obj->base.size; }else {
drivers/gpu/drm/i915/gem/i915_gem_region.c +1 -1
@@ -129,7 +129,7 @@ i915_gem_object_create_region_at(struct intel_memory_region *mem,return ERR_PTR (-EINVAL );if (!(flags &I915_BO_ALLOC_GPU_ONLY ) && - offset + size > mem->io_size && + offset + size >resource_size (&mem->io) && !i915_ggtt_has_aperture (to_gt (mem->i915)->ggtt))return ERR_PTR (-ENOSPC );
drivers/gpu/drm/i915/gem/i915_gem_stolen.c +9 -8
@@ -541,7 +541,9 @@ static int i915_gem_init_stolen(struct intel_memory_region *mem)/* Exclude the reserved region from driver use */ mem->region.end = i915->dsm.reserved.start -1 ; - mem->io_size =min (mem->io_size,resource_size (&mem->region)); + mem->io =DEFINE_RES_MEM (mem->io.start, +min (resource_size (&mem->io), +resource_size (&mem->region))); i915->dsm.usable_size =resource_size (&mem->region);
@@ -752,7 +754,7 @@ static int _i915_gem_object_stolen_init(struct intel_memory_region *mem,* With discrete devices, where we lack a mappable aperture there is no * possible way to ever access this memory on the CPU side. */ -if (mem->type ==INTEL_MEMORY_STOLEN_LOCAL && !mem->io_size && +if (mem->type ==INTEL_MEMORY_STOLEN_LOCAL && !resource_size (&mem->io) && !(flags &I915_BO_ALLOC_GPU_ONLY ))return -ENOSPC ;
@@ -838,13 +840,12 @@ static int init_stolen_lmem(struct intel_memory_region *mem)return 0 ; } -if (mem->io_size && - !io_mapping_init_wc (&mem->iomap, mem->io_start, mem->io_size)) +if (resource_size (&mem->io) && + !io_mapping_init_wc (&mem->iomap, mem->io.start,resource_size (&mem->io))) goto err_cleanup; -drm_dbg (&i915->drm,"Stolen Local memory IO start: %pa\n" , - &mem->io_start); -drm_dbg (&i915->drm,"Stolen Local DSM base: %pa\n" , &mem->region.start); +drm_dbg (&i915->drm,"Stolen Local DSM: %pR\n" , &mem->region); +drm_dbg (&i915->drm,"Stolen Local memory IO: %pR\n" , &mem->io);return 0 ;
@@ -855,7 +856,7 @@ static int init_stolen_lmem(struct intel_memory_region *mem)static int release_stolen_lmem (struct intel_memory_region *mem) { -if (mem->io_size) +if (resource_size (&mem->io))io_mapping_fini (&mem->iomap);i915_gem_cleanup_stolen (mem->i915);return 0 ;
drivers/gpu/drm/i915/gem/i915_gem_ttm.c +4 -4
@@ -144,13 +144,13 @@ i915_ttm_place_from_region(const struct intel_memory_region *mr, place->fpfn = offset >>PAGE_SHIFT ;WARN_ON (overflows_type (place->fpfn + (size >>PAGE_SHIFT ), place->lpfn)); place->lpfn = place->fpfn + (size >>PAGE_SHIFT ); - }else if (mr->io_size && mr->io_size < mr->total) { + }else if (resource_size (&mr->io) &&resource_size (&mr->io) < mr->total) {if (flags &I915_BO_ALLOC_GPU_ONLY ) { place->flags |=TTM_PL_FLAG_TOPDOWN ; }else { place->fpfn =0 ; -WARN_ON (overflows_type (mr->io_size >>PAGE_SHIFT , place->lpfn)); - place->lpfn = mr->io_size >>PAGE_SHIFT ; +WARN_ON (overflows_type (resource_size (&mr->io) >>PAGE_SHIFT , place->lpfn)); + place->lpfn =resource_size (&mr->io) >>PAGE_SHIFT ; } } }
@@ -1090,7 +1090,7 @@ static vm_fault_t vm_fault_ttm(struct vm_fault *vmf)struct intel_memory_region *mr = obj->mm.placements[i];unsigned int flags; -if (!mr->io_size && mr->type !=INTEL_MEMORY_SYSTEM ) +if (!resource_size (&mr->io) && mr->type !=INTEL_MEMORY_SYSTEM )continue ; flags = obj->flags;
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c +9 -9
@@ -1054,7 +1054,7 @@ static int igt_fill_mappable(struct intel_memory_region *mr,int err; total =0 ; - size = mr->io_size; + size =resource_size (&mr->io); do { struct drm_i915_gem_object *obj;
@@ -1315,28 +1315,28 @@ static int igt_mmap_migrate(void *arg)struct intel_memory_region *mixed[] = { mr, system };struct intel_memory_region *single[] = { mr };struct ttm_resource_manager *man = mr->region_private; -resource_size_t saved_io_size; +struct resource saved_io;int err;if (mr->private)continue ; -if (!mr->io_size) +if (!resource_size (&mr->io))continue ;/* * For testing purposes let's force small BAR, if not already * present. */ - saved_io_size = mr->io_size; -if (mr->io_size == mr->total) { -resource_size_t io_size = mr->io_size; + saved_io = mr->io; +if (resource_size (&mr->io) == mr->total) { +resource_size_t io_size =resource_size (&mr->io); io_size =rounddown_pow_of_two (io_size >>1 );if (io_size <PAGE_SIZE )continue ; - mr->io_size = io_size; + mr->io =DEFINE_RES_MEM (mr->io.start, io_size);i915_ttm_buddy_man_force_visible_size (man, io_size >>PAGE_SHIFT ); }
@@ -1396,9 +1396,9 @@ static int igt_mmap_migrate(void *arg)IGT_MMAP_MIGRATE_FAIL_GPU | IGT_MMAP_MIGRATE_UNFAULTABLE); out_io_size: - mr->io_size = saved_io_size; + mr->io = saved_io;i915_ttm_buddy_man_force_visible_size (man, - mr->io_size >>PAGE_SHIFT ); +resource_size (&mr->io) >>PAGE_SHIFT );if (err)return err; }
drivers/gpu/drm/i915/gt/intel_region_lmem.c +3 -8
@@ -144,8 +144,8 @@ region_lmem_init(struct intel_memory_region *mem)int ret;if (!io_mapping_init_wc (&mem->iomap, - mem->io_start, - mem->io_size)) + mem->io.start, +resource_size (&mem->io)))return -EIO ; ret =intel_region_ttm_init (mem);
@@ -274,12 +274,7 @@ static struct intel_memory_region *setup_lmem(struct intel_gt *gt) goto err_region_put;drm_dbg (&i915->drm,"Local memory: %pR\n" , &mem->region); -drm_dbg (&i915->drm,"Local memory IO start: %pa\n" , - &mem->io_start); -drm_info (&i915->drm,"Local memory IO size: %pa\n" , - &mem->io_size); -drm_info (&i915->drm,"Local memory available: %pa\n" , - &lmem_size); +drm_dbg (&i915->drm,"Local memory IO: %pR\n" , &mem->io);if (io_size < lmem_size) drm_info(&i915->drm, "Using a reduced BAR size of %lluMiB. Consider enabling 'Resizable BAR' or similar, if available in the BIOS.\n",
drivers/gpu/drm/i915/gt/selftest_tlb.c +2 -2
@@ -206,8 +206,8 @@ static struct drm_i915_gem_object *create_lmem(struct intel_gt *gt)* of pages. To succeed with both allocations, especially in case of Small * BAR, try to allocate no more than quarter of mappable memory. */ -if (mr && size > mr->io_size /4 ) - size = mr->io_size /4 ; +if (mr && size >resource_size (&mr->io) /4 ) + size =resource_size (&mr->io) /4 ;return i915_gem_object_create_lmem (gt->i915, size,I915_BO_ALLOC_CONTIGUOUS ); }
drivers/gpu/drm/i915/i915_gpu_error.c +1 -1
@@ -1157,7 +1157,7 @@ i915_vma_coredump_create(const struct intel_gt *gt,dma_addr_t offset = dma - mem->region.start;void __iomem *s; -if (offset +PAGE_SIZE > mem->io_size) { +if (offset +PAGE_SIZE >resource_size (&mem->io)) { ret = -EINVAL ;break ; }
drivers/gpu/drm/i915/i915_query.c +1 -1
@@ -502,7 +502,7 @@ static int query_memregion_info(struct drm_i915_private *i915, info.probed_size = mr->total;if (mr->type ==INTEL_MEMORY_LOCAL ) - info.probed_cpu_visible_size = mr->io_size; + info.probed_cpu_visible_size =resource_size (&mr->io);else info.probed_cpu_visible_size = mr->total;
drivers/gpu/drm/i915/intel_memory_region.c +7 -8
@@ -50,7 +50,7 @@ static int __iopagetest(struct intel_memory_region *mem,if (memchr_inv (result, value,sizeof (result))) {dev_err (mem->i915->drm.dev,"Failed to read back from memory region:%pR at [%pa + %pa] for %ps; wrote %x, read (%x, %x, %x)\n" , - &mem->region, &mem->io_start, &offset, caller, + &mem->region, &mem->io.start, &offset, caller, value, result[0 ], result[1 ], result[2 ]);return -EINVAL ; }
@@ -67,11 +67,11 @@ static int iopagetest(struct intel_memory_region *mem,int err;int i; - va =ioremap_wc (mem->io_start + offset,PAGE_SIZE ); + va =ioremap_wc (mem->io.start + offset,PAGE_SIZE );if (!va) {dev_err (mem->i915->drm.dev,"Failed to ioremap memory region [%pa + %pa] for %ps\n" , - &mem->io_start, &offset, caller); + &mem->io.start, &offset, caller);return -EFAULT ; }
@@ -102,10 +102,10 @@ static int iomemtest(struct intel_memory_region *mem,resource_size_t last, page;int err; -if (mem->io_size <PAGE_SIZE ) +if (resource_size (&mem->io) <PAGE_SIZE )return 0 ; - last = mem->io_size -PAGE_SIZE ; + last =resource_size (&mem->io) -PAGE_SIZE ;/* * Quick test to check read/write access to the iomap (backing store).
@@ -207,7 +207,7 @@ static int intel_memory_region_memtest(struct intel_memory_region *mem,struct drm_i915_private *i915 = mem->i915;int err =0 ; -if (!mem->io_start) +if (!mem->io.start)return 0 ;if (IS_ENABLED (CONFIG_DRM_I915_DEBUG_GEM ) || i915->params.memtest)
@@ -252,8 +252,7 @@ intel_memory_region_create(struct drm_i915_private *i915, mem->i915 = i915; mem->region =DEFINE_RES_MEM (start, size); - mem->io_start = io_start; - mem->io_size = io_size; + mem->io =DEFINE_RES_MEM (io_start, io_size); mem->min_page_size = min_page_size; mem->ops = ops; mem->total = size;
drivers/gpu/drm/i915/intel_memory_region.h +1 -2
@@ -71,8 +71,7 @@ struct intel_memory_region {struct io_mapping iomap;struct resource region; -resource_size_t io_start; -resource_size_t io_size; +struct resource io;resource_size_t min_page_size;resource_size_t total;
drivers/gpu/drm/i915/intel_region_ttm.c +4 -4
@@ -87,7 +87,7 @@ int intel_region_ttm_init(struct intel_memory_region *mem) ret =i915_ttm_buddy_man_init (bdev, mem_type, false,resource_size (&mem->region), - mem->io_size, +resource_size (&mem->io), mem->min_page_size,PAGE_SIZE );if (ret)return ret;
@@ -219,16 +219,16 @@ intel_region_ttm_resource_alloc(struct intel_memory_region *mem, goto out; } place.lpfn = place.fpfn + (size >>PAGE_SHIFT ); - }else if (mem->io_size && mem->io_size < mem->total) { + }else if (resource_size (&mem->io) &&resource_size (&mem->io) < mem->total) {if (flags &I915_BO_ALLOC_GPU_ONLY ) { place.flags |=TTM_PL_FLAG_TOPDOWN ; }else { place.fpfn =0 ; -if (WARN_ON (overflows_type (mem->io_size >>PAGE_SHIFT , place.lpfn))) { +if (WARN_ON (overflows_type (resource_size (&mem->io) >>PAGE_SHIFT , place.lpfn))) { ret = -E2BIG ; goto out; } - place.lpfn = mem->io_size >>PAGE_SHIFT ; + place.lpfn =resource_size (&mem->io) >>PAGE_SHIFT ; } }
drivers/gpu/drm/i915/selftests/intel_memory_region.c +2 -2
@@ -544,8 +544,8 @@ static u64 igt_object_mappable_total(struct drm_i915_gem_object *obj)u64 start =drm_buddy_block_offset (block);u64 end = start +drm_buddy_block_size (mm, block); -if (start < mr->io_size) - total +=min_t (u64, end, mr->io_size) - start; +if (start <resource_size (&mr->io)) + total +=min_t (u64, end,resource_size (&mr->io)) - start; }return total;
Signature · 1 line
2.41.0
PATCH v2 2/15 drm/i915: Print memory region info during probe
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Dump the details about every memory region into dmesg at probe time. Avoids having to dig those out from random places when debugging stuff.
--- drivers/gpu/drm/i915/intel_memory_region.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
drivers/gpu/drm/i915/intel_memory_region.c +18 -0
@@ -372,6 +372,24 @@ int intel_memory_regions_hw_probe(struct drm_i915_private *i915) i915->mm.regions[i] = mem; } +for (i =0 ; i <ARRAY_SIZE (i915->mm.regions); i++) { +struct intel_memory_region *mem = i915->mm.regions[i]; +u64 region_size, io_size; + +if (!mem) +continue ; + + region_size =resource_size (&mem->region) >>20 ; + io_size =resource_size (&mem->io) >>20 ; + +if (resource_size (&mem->io)) +drm_dbg (&i915->drm,"Memory region(%d): %s: %llu MiB %pR, io: %llu MiB %pR\n" , + mem->id, mem->name, region_size, &mem->region, io_size, &mem->io); +else +drm_dbg (&i915->drm,"Memory region(%d): %s: %llu MiB %pR, io: n/a\n" , + mem->id, mem->name, region_size, &mem->region); + } +return 0 ; out_cleanup:
Signature · 1 line
2.41.0
PATCH v2 3/15 drm/i915: Remove ad-hoc lmem/stolen debugs
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Now that intel_memory_regions_hw_probe() prints out each and every memory region there's no reason to have ad-hoc debugs to do similar things elsewhere.
--- drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 4 ---- drivers/gpu/drm/i915/gt/intel_region_lmem.c | 3 --- 2 files changed, 7 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_stolen.c +0 -4
@@ -828,7 +828,6 @@ static const struct intel_memory_region_ops i915_region_stolen_smem_ops = {static int init_stolen_lmem (struct intel_memory_region *mem) { -struct drm_i915_private *i915 = mem->i915;int err;if (GEM_WARN_ON (resource_size (&mem->region) ==0 ))
@@ -844,9 +843,6 @@ static int init_stolen_lmem(struct intel_memory_region *mem) !io_mapping_init_wc(&mem->iomap, mem->io.start, resource_size(&mem->io))) goto err_cleanup; -drm_dbg (&i915->drm,"Stolen Local DSM: %pR\n" , &mem->region); -drm_dbg (&i915->drm,"Stolen Local memory IO: %pR\n" , &mem->io); -return 0 ; err_cleanup:
drivers/gpu/drm/i915/gt/intel_region_lmem.c +0 -3
@@ -273,9 +273,6 @@ static struct intel_memory_region *setup_lmem(struct intel_gt *gt)if (err) goto err_region_put; -drm_dbg (&i915->drm,"Local memory: %pR\n" , &mem->region); -drm_dbg (&i915->drm,"Local memory IO: %pR\n" , &mem->io); -if (io_size < lmem_size)drm_info (&i915->drm,"Using a reduced BAR size of %lluMiB. Consider enabling 'Resizable BAR' or similar, if available in the BIOS.\n" , (u64 )io_size >>20 );
Signature · 1 line
2.41.0
PATCH v2 4/15 drm/i915: Bypass LMEMBAR/GTTMMADR for MTL stolen memory access
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
On MTL accessing stolen memory via the BARs is somehow borked, and it can hang the machine. As a workaround let's bypass the BARs and just go straight to DSMBASE/GSMBASE instead.
Note that on every other platform this itself would hang the machine, but on MTL the system firmware is expected to relax the access permission guarding stolen memory to enable this workaround, and thus direct CPU accesses should be fine.
TODO: add w/a numbers and whatnot
--- drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 11 ++++++++++- drivers/gpu/drm/i915/gt/intel_ggtt.c | 13 ++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_stolen.c +10 -1
@@ -941,7 +941,16 @@ i915_gem_stolen_lmem_setup(struct drm_i915_private *i915, u16 type, dsm_size =ALIGN_DOWN (lmem_size - dsm_base,SZ_1M ); } -if (pci_resource_len (pdev,GEN12_LMEM_BAR ) < lmem_size) { +if (IS_METEORLAKE (i915)) { +/* +* Workaround: access via BAR can hang MTL, go directly to DSM. +* +* Normally this would not work but on MTL the system firmware +* should have relaxed the access permissions sufficiently. +*/ + io_start =intel_uncore_read64 (uncore,GEN12_DSMBASE ) &GEN12_BDSM_MASK ; + io_size = dsm_size; + }else if (pci_resource_len (pdev,GEN12_LMEM_BAR ) < lmem_size) { io_start =0 ; io_size =0 ; }else {
drivers/gpu/drm/i915/gt/intel_ggtt.c +12 -1
@@ -24,6 +24,7 @@#include "intel_ring.h" #include "i915_drv.h" #include "i915_pci.h" +#include "i915_reg.h" #include "i915_request.h" #include "i915_scatterlist.h" #include "i915_utils.h"
@@ -1152,13 +1153,23 @@ static unsigned int gen6_gttadr_offset(struct drm_i915_private *i915)static int ggtt_probe_common (struct i915_ggtt *ggtt,u64 size) {struct drm_i915_private *i915 = ggtt->vm.i915; +struct intel_uncore *uncore = ggtt->vm.gt->uncore;struct pci_dev *pdev =to_pci_dev (i915->drm.dev);phys_addr_t phys_addr;u32 pte_flags;int ret;GEM_WARN_ON (pci_resource_len (pdev,GEN4_GTTMMADR_BAR ) !=gen6_gttmmadr_size (i915)); - phys_addr =pci_resource_start (pdev,GEN4_GTTMMADR_BAR ) +gen6_gttadr_offset (i915); +/* +* Workaround: access via BAR can hang MTL, go directly to GSM. +* +* Normally this would not work but on MTL the system firmware +* should have relaxed the access permissions sufficiently. +*/ +if (IS_METEORLAKE (i915)) + phys_addr =intel_uncore_read64 (uncore,GEN12_GSMBASE ) &GEN12_BDSM_MASK ; +else + phys_addr =pci_resource_start (pdev,GEN4_GTTMMADR_BAR ) +gen6_gttadr_offset (i915);if (needs_wc_ggtt_mapping (i915)) ggtt->gsm =ioremap_wc (phys_addr, size);
Signature · 1 line
2.41.0
RE: [PATCH v2 04/15] drm/i915: Bypass LMEMBAR/GTTMMADR for MTL stolen memory access
Quoted 18 lines
-----Original Message-----
From: Ville Syrjala <[email protected]>
Sent: Friday, December 15, 2023 2:59 AM
To: [email protected]
Cc: Paz Zcharya <[email protected]>; Das, Nirmoy <[email protected]>; Sripada, Radhakrishna <[email protected]>; Joonas Lahtinen <[email protected]>
Subject: [PATCH v2 04/15] drm/i915: Bypass LMEMBAR/GTTMMADR for MTL stolen memory accessFrom: Ville Syrjälä <[email protected]>
On MTL accessing stolen memory via the BARs is somehow borked, and it can hang the machine. As a workaround let's bypass the BARs and just go straight to DSMBASE/GSMBASE instead.
Quoted 6 lines
Note that on every other platform this itself would hang the machine, but on MTL the system firmware is expected to relax the access permission guarding stolen memory to enable this workaround, and thus direct CPU accesses should be fine.
TODO: add w/a numbers and whatnot
Wa_22018444074 is more appropriate here.
With that,
Quoted 83 lines
Cc Paz Zcharya <[email protected]>Cc Nirmoy Das <[email protected]>Cc Radhakrishna Sripada <[email protected]>Cc Joonas Lahtinen <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 11 ++++++++++- drivers/gpu/drm/i915/gt/intel_ggtt.c | 13 ++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/gem/i915_gem_stolen.c +3
-1@@ -941,7 +941,16 @@ i915_gem_stolen_lmem_setup(struct drm_i915_private *i915, u16 type, dsm_size =ALIGN_DOWN (lmem_size - dsm_base,SZ_1M ); } -if (pci_resource_len (pdev,GEN12_LMEM_BAR ) < lmem_size) { +if (IS_METEORLAKE (i915)) { +/* +* Workaround: access via BAR can hang MTL, go directly to DSM.
drivers/gpu/drm/i915/gem/i915_gem_stolen.c +2
-0+* +* Normally this would not work but on MTL the system firmware
drivers/gpu/drm/i915/gem/i915_gem_stolen.c +3
-0+* should have relaxed the access permissions sufficiently. +*/ + io_start = intel_uncore_read64(uncore, GEN12_DSMBASE) &
GEN12_BDSM_MASK;drivers/gpu/drm/i915/gem/i915_gem_stolen.c +2
-0+ io_size = dsm_size; + }else if (pci_resource_len (pdev,GEN12_LMEM_BAR ) < lmem_size) { io_start =0 ; io_size =0 ; }else {drivers/gpu/drm/i915/gt/intel_ggtt.c +10
-1@@ -24,6 +24,7 @@#include "intel_ring.h" #include "i915_drv.h" #include "i915_pci.h" +#include "i915_reg.h" #include "i915_request.h" #include "i915_scatterlist.h" #include "i915_utils.h" @@ -1152,13 +1153,23 @@ static unsigned int gen6_gttadr_offset(struct drm_i915_private *i915)static int ggtt_probe_common (struct i915_ggtt *ggtt,u64 size) {struct drm_i915_private *i915 = ggtt->vm.i915; +struct intel_uncore *uncore = ggtt->vm.gt->uncore;struct pci_dev *pdev =to_pci_dev (i915->drm.dev);phys_addr_t phys_addr;u32 pte_flags;int ret;GEM_WARN_ON (pci_resource_len (pdev,GEN4_GTTMMADR_BAR ) !=gen6_gttmmadr_size (i915)); - phys_addr =pci_resource_start (pdev,GEN4_GTTMMADR_BAR ) +gen6_gttadr_offset (i915); +/* +* Workaround: access via BAR can hang MTL, go directly to GSM. +* +* Normally this would not work but on MTL the system firmware +* should have relaxed the access permissions sufficiently. +*/ +if (IS_METEORLAKE (i915)) + phys_addr = intel_uncore_read64(uncore, GEN12_GSMBASE) &
GEN12_BDSM_MASK;drivers/gpu/drm/i915/gt/intel_ggtt.c +3
-1+else + phys_addr = pci_resource_start(pdev, GEN4_GTTMMADR_BAR) +gen6_gttadr_offset (i915);if (needs_wc_ggtt_mapping (i915)) ggtt->gsm =ioremap_wc (phys_addr, size); --2.41.0
Re: [PATCH v2 04/15] drm/i915: Bypass LMEMBAR/GTTMMADR for MTL stolen memory access
In reply to Ville SyrjalaQuoted 11 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
On MTL accessing stolen memory via the BARs is somehow borked, and it can hang the machine. As a workaround let's bypass the BARs and just go straight to DSMBASE/GSMBASE instead.
Note that on every other platform this itself would hang the machine, but on MTL the system firmware is expected to relax the access permission guarding stolen memory to enable this workaround, and thus direct CPU accesses should be fine.
Quoted 7 lines
TODO: add w/a numbers and whatnot
Cc Paz Zcharya <[email protected]>Cc Nirmoy Das <[email protected]>Cc Radhakrishna Sripada <[email protected]>Cc Joonas Lahtinen <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
With w/a id added:
Regards
Andrzej
Quoted 64 lines
--- drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 11 ++++++++++- drivers/gpu/drm/i915/gt/intel_ggtt.c | 13 ++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/gem/i915_gem_stolen.c +10
-1@@ -941,7 +941,16 @@ i915_gem_stolen_lmem_setup(struct drm_i915_private *i915, u16 type, dsm_size =ALIGN_DOWN (lmem_size - dsm_base,SZ_1M ); } -if (pci_resource_len (pdev,GEN12_LMEM_BAR ) < lmem_size) { +if (IS_METEORLAKE (i915)) { +/* +* Workaround: access via BAR can hang MTL, go directly to DSM. +* +* Normally this would not work but on MTL the system firmware +* should have relaxed the access permissions sufficiently. +*/ + io_start =intel_uncore_read64 (uncore,GEN12_DSMBASE ) &GEN12_BDSM_MASK ; + io_size = dsm_size; + }else if (pci_resource_len (pdev,GEN12_LMEM_BAR ) < lmem_size) { io_start =0 ; io_size =0 ; }else {drivers/gpu/drm/i915/gt/intel_ggtt.c +12
-1@@ -24,6 +24,7 @@#include "intel_ring.h" #include "i915_drv.h" #include "i915_pci.h" +#include "i915_reg.h" #include "i915_request.h" #include "i915_scatterlist.h" #include "i915_utils.h" @@ -1152,13 +1153,23 @@ static unsigned int gen6_gttadr_offset(struct drm_i915_private *i915)static int ggtt_probe_common (struct i915_ggtt *ggtt,u64 size) {struct drm_i915_private *i915 = ggtt->vm.i915; +struct intel_uncore *uncore = ggtt->vm.gt->uncore;struct pci_dev *pdev =to_pci_dev (i915->drm.dev);phys_addr_t phys_addr;u32 pte_flags;int ret;GEM_WARN_ON (pci_resource_len (pdev,GEN4_GTTMMADR_BAR ) !=gen6_gttmmadr_size (i915)); - phys_addr =pci_resource_start (pdev,GEN4_GTTMMADR_BAR ) +gen6_gttadr_offset (i915); +/* +* Workaround: access via BAR can hang MTL, go directly to GSM. +* +* Normally this would not work but on MTL the system firmware +* should have relaxed the access permissions sufficiently. +*/ +if (IS_METEORLAKE (i915)) + phys_addr =intel_uncore_read64 (uncore,GEN12_GSMBASE ) &GEN12_BDSM_MASK ; +else + phys_addr =pci_resource_start (pdev,GEN4_GTTMMADR_BAR ) +gen6_gttadr_offset (i915);if (needs_wc_ggtt_mapping (i915)) ggtt->gsm =ioremap_wc (phys_addr, size);
Re: [PATCH v2 04/15] drm/i915: Bypass LMEMBAR/GTTMMADR for MTL stolen memory access
In reply to Ville SyrjalaHi Ville,
Apologies, but I lost track of this series after I returned from sick leave.
Quoted 31 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
On MTL accessing stolen memory via the BARs is somehow borked, and it can hang the machine. As a workaround let's bypass the BARs and just go straight to DSMBASE/GSMBASE instead.
Note that on every other platform this itself would hang the machine, but on MTL the system firmware is expected to relax the access permission guarding stolen memory to enable this workaround, and thus direct CPU accesses should be fine.
TODO: add w/a numbers and whatnot
Cc Paz Zcharya <[email protected]>Cc Nirmoy Das <[email protected]>Cc Radhakrishna Sripada <[email protected]>Cc Joonas Lahtinen <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 11 ++++++++++- drivers/gpu/drm/i915/gt/intel_ggtt.c | 13 ++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/gem/i915_gem_stolen.c +0
-0@@ -941,7 +941,16 @@ i915_gem_stolen_lmem_setup(struct drm_i915_private *i915, u16 type, dsm_size =ALIGN_DOWN (lmem_size - dsm_base,SZ_1M ); }
drivers/gpu/drm/i915/gem/i915_gem_stolen.c i915_gem_stolen_lmem_setup(struct drm_i915_private *i915, u16 type, · line 952
Quoted 10 lines
drivers/gpu/drm/i915/gem/i915_gem_stolen.c +9
-1-if (pci_resource_len (pdev,GEN12_LMEM_BAR ) < lmem_size) { +if (IS_METEORLAKE (i915)) { +/* +* Workaround: access via BAR can hang MTL, go directly to DSM. +* +* Normally this would not work but on MTL the system firmware +* should have relaxed the access permissions sufficiently. +*/ + io_start =intel_uncore_read64 (uncore,GEN12_DSMBASE ) &GEN12_BDSM_MASK ; + io_size = dsm_size;
This will work well on host driver but I am afraid this will not work on VM when someone tries to do direct device assignment of the igfx.
GSMBASE/DSMBASE is reserved region so won't show up in VM, last I checked.
This is an obscure usages but are we suppose to support that? If so then we need to detect that and fall back to binder approach.
Regards,
Nirmoy
Quoted 41 lines
drivers/gpu/drm/i915/gem/i915_gem_stolen.c +1
-0+ }else if (pci_resource_len (pdev,GEN12_LMEM_BAR ) < lmem_size) { io_start =0 ; io_size =0 ; }else {drivers/gpu/drm/i915/gt/intel_ggtt.c +12
-1@@ -24,6 +24,7 @@#include "intel_ring.h" #include "i915_drv.h" #include "i915_pci.h" +#include "i915_reg.h" #include "i915_request.h" #include "i915_scatterlist.h" #include "i915_utils.h" @@ -1152,13 +1153,23 @@ static unsigned int gen6_gttadr_offset(struct drm_i915_private *i915)static int ggtt_probe_common (struct i915_ggtt *ggtt,u64 size) {struct drm_i915_private *i915 = ggtt->vm.i915; +struct intel_uncore *uncore = ggtt->vm.gt->uncore;struct pci_dev *pdev =to_pci_dev (i915->drm.dev);phys_addr_t phys_addr;u32 pte_flags;int ret;GEM_WARN_ON (pci_resource_len (pdev,GEN4_GTTMMADR_BAR ) !=gen6_gttmmadr_size (i915)); - phys_addr =pci_resource_start (pdev,GEN4_GTTMMADR_BAR ) +gen6_gttadr_offset (i915); +/* +* Workaround: access via BAR can hang MTL, go directly to GSM. +* +* Normally this would not work but on MTL the system firmware +* should have relaxed the access permissions sufficiently. +*/ +if (IS_METEORLAKE (i915)) + phys_addr =intel_uncore_read64 (uncore,GEN12_GSMBASE ) &GEN12_BDSM_MASK ; +else + phys_addr =pci_resource_start (pdev,GEN4_GTTMMADR_BAR ) +gen6_gttadr_offset (i915);if (needs_wc_ggtt_mapping (i915)) ggtt->gsm =ioremap_wc (phys_addr, size);
Re: [PATCH v2 04/15] drm/i915: Bypass LMEMBAR/GTTMMADR for MTL stolen memory access
Quoted 3 lines · Nirmoy Das
Hi Ville,
Apologies, but I lost track of this series after I returned from sick leave.
Please ignore the uncontextual "but" in the previous response. I need to disable auto correct options.
Regards,
Nirmoy
Quoted 100 lines · Ville Syrjala
Quoted 32 lines
From: Ville Syrjälä <[email protected]>
On MTL accessing stolen memory via the BARs is somehow borked, and it can hang the machine. As a workaround let's bypass the BARs and just go straight to DSMBASE/GSMBASE instead.
Note that on every other platform this itself would hang the machine, but on MTL the system firmware is expected to relax the access permission guarding stolen memory to enable this workaround, and thus direct CPU accesses should be fine.
TODO: add w/a numbers and whatnot
Cc Paz Zcharya <[email protected]>Cc Nirmoy Das <[email protected]>Cc Radhakrishna Sripada <[email protected]>Cc Joonas Lahtinen <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>---
drivers/gpu/drm/i915/gem/i915_gem_stolen.c| 11 ++++++++++- drivers/gpu/drm/i915/gt/intel_ggtt.c | 13 ++++++++++++-2 files changed, 22 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/gem/i915_gem_stolen.c +0
-0@@ -941,7 +941,16 @@ i915_gem_stolen_lmem_setup(struct drm_i915_private *i915, u16 type, dsm_size = ALIGN_DOWN(lmem_size - dsm_base, SZ_1M); } - if (pci_resource_len(pdev, GEN12_LMEM_BAR) < lmem_size) {drivers/gpu/drm/i915/gem/i915_gem_stolen.c i915_gem_stolen_lmem_setup(struct · line 954
Quoted 10 lines
drivers/gpu/drm/i915/gem/i915_gem_stolen.c +9
-0+ if (IS_METEORLAKE(i915)) { + /* + * Workaround: access via BAR can hang MTL, go directly to DSM. + * + * Normally this would not work but on MTL the system firmware + * should have relaxed the access permissions sufficiently. + */ + io_start = intel_uncore_read64(uncore, GEN12_DSMBASE) &GEN12_BDSM_MASK ; + io_size = dsm_size;This will work well on host driver but I am afraid this will not work on VM when someone tries to do direct device assignment of the igfx.
GSMBASE/DSMBASE is reserved region so won't show up in VM, last I checked.
This is an obscure usages but are we suppose to support that? If so then we need to detect that and fall back to binder approach.
Regards,
Nirmoy
Quoted 43 lines
drivers/gpu/drm/i915/gem/i915_gem_stolen.c +1
-0+ } else if (pci_resource_len(pdev, GEN12_LMEM_BAR) < lmem_size) { io_start = 0;
io_size= 0;
} else {drivers/gpu/drm/i915/gt/intel_ggtt.c +12
-1@@ -24,6 +24,7 @@ #include "intel_ring.h" #include "i915_drv.h" #include "i915_pci.h" +#include "i915_reg.h" #include "i915_request.h" #include "i915_scatterlist.h" #include "i915_utils.h"@@ -1152,13 +1153,23 @@ static unsigned int gen6_gttadr_offset(struct drm_i915_private *i915) static int ggtt_probe_common(struct i915_ggtt *ggtt, u64 size) { struct drm_i915_private *i915 = ggtt->vm.i915; + struct intel_uncore *uncore = ggtt->vm.gt->uncore; struct pci_dev *pdev = to_pci_dev(i915->drm.dev); phys_addr_t phys_addr; u32 pte_flags; int ret; GEM_WARN_ON(pci_resource_len(pdev, GEN4_GTTMMADR_BAR) != gen6_gttmmadr_size(i915)); - phys_addr = pci_resource_start(pdev, GEN4_GTTMMADR_BAR) +gen6_gttadr_offset (i915); + /* + * Workaround: access via BAR can hang MTL, go directly to GSM. + * + * Normally this would not work but on MTL the system firmware + * should have relaxed the access permissions sufficiently. + */ + if (IS_METEORLAKE(i915)) + phys_addr = intel_uncore_read64(uncore, GEN12_GSMBASE) &GEN12_BDSM_MASK ; + else + phys_addr = pci_resource_start(pdev, GEN4_GTTMMADR_BAR) +gen6_gttadr_offset (i915);if (
needs_wc_ggtt_mapping(i915))ggtt->gsm=ioremap_wc(phys_addr, size);
Re: [PATCH v2 04/15] drm/i915: Bypass LMEMBAR/GTTMMADR for MTL stolen memory access
In reply to Nirmoy DasQuoted 51 lines · Nirmoy Das
Hi Ville,
Apologies, but I lost track of this series after I returned from sick leave.
Quoted 31 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
On MTL accessing stolen memory via the BARs is somehow borked, and it can hang the machine. As a workaround let's bypass the BARs and just go straight to DSMBASE/GSMBASE instead.
Note that on every other platform this itself would hang the machine, but on MTL the system firmware is expected to relax the access permission guarding stolen memory to enable this workaround, and thus direct CPU accesses should be fine.
TODO: add w/a numbers and whatnot
Cc Paz Zcharya <[email protected]>Cc Nirmoy Das <[email protected]>Cc Radhakrishna Sripada <[email protected]>Cc Joonas Lahtinen <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 11 ++++++++++- drivers/gpu/drm/i915/gt/intel_ggtt.c | 13 ++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/gem/i915_gem_stolen.c +0
-0@@ -941,7 +941,16 @@ i915_gem_stolen_lmem_setup(struct drm_i915_private *i915, u16 type, dsm_size =ALIGN_DOWN (lmem_size - dsm_base,SZ_1M ); }drivers/gpu/drm/i915/gem/i915_gem_stolen.c i915_gem_stolen_lmem_setup(struct drm_i915_private *i915, u16 type, · line 952
Quoted 10 lines
drivers/gpu/drm/i915/gem/i915_gem_stolen.c +9
-1-if (pci_resource_len (pdev,GEN12_LMEM_BAR ) < lmem_size) { +if (IS_METEORLAKE (i915)) { +/* +* Workaround: access via BAR can hang MTL, go directly to DSM. +* +* Normally this would not work but on MTL the system firmware +* should have relaxed the access permissions sufficiently. +*/ + io_start =intel_uncore_read64 (uncore,GEN12_DSMBASE ) &GEN12_BDSM_MASK ; + io_size = dsm_size;This will work well on host driver but I am afraid this will not work on VM when someone tries to do direct device assignment of the igfx.
Quoted 1 line
GSMBASE/DSMBASE is reserved region so won't show up in VM, last I checked.
Hmm. So BARs get passed over but other regions won't be? I wonder if there's a way to pass them explicitly...
Quoted 3 lines
This is an obscure usages but are we suppose to support that? If so then we need to detect that and fall back to binder approach.
I suppose some people may attempt it. But I'm not sure how well that will work in practice even on other platforms. I don't think we've ever really considered that use case any kind of priority so bug reports tend to go unanswered.
My main worry with the MI_UPDATE_GTT stuff is:
- only used on this one platform so very limited testing coverage
- async so more opprtunities to screw things up
- what happens if the engine hangs while we're waiting for MI_UPDATE_GTT to finish?
- requires working command submission, so even getting a working display now depends on a lot more extra components working correctly
hence the patch to disable it. During testing my MTL was very unstable so I wanted to eliminate all potential sources of new bugs.
Hmm. But we can't even use MI_UPDATE_GTT until command submission is up and running, so we still need the direct CPU path for early ggtt setup no? So if we can't pass the stolen directly to the VM the only option would be to use the BARs for that and risk hanging the machine.
Signature · 2 lines
Ville Syrjälä Intel
Re: [PATCH v2 04/15] drm/i915: Bypass LMEMBAR/GTTMMADR for MTL stolen memory access
Quoted 51 lines · Ville Syrjälä
Quoted 50 lines · Nirmoy Das
Hi Ville,
Apologies, but I lost track of this series after I returned from sick leave.
Quoted 31 lines · Ville Syrjala
From: Ville Syrjälä<[email protected]>
On MTL accessing stolen memory via the BARs is somehow borked, and it can hang the machine. As a workaround let's bypass the BARs and just go straight to DSMBASE/GSMBASE instead.
Note that on every other platform this itself would hang the machine, but on MTL the system firmware is expected to relax the access permission guarding stolen memory to enable this workaround, and thus direct CPU accesses should be fine.
TODO: add w/a numbers and whatnot
Cc Paz Zcharya<[email protected]>Cc Nirmoy Das<[email protected]>Cc Radhakrishna Sripada<[email protected]>Cc Joonas Lahtinen<[email protected]>Signed-off-by Ville Syrjälä<[email protected]>--- drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 11 ++++++++++- drivers/gpu/drm/i915/gt/intel_ggtt.c | 13 ++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/gem/i915_gem_stolen.c +0
-0@@ -941,7 +941,16 @@ i915_gem_stolen_lmem_setup(struct drm_i915_private *i915, u16 type, dsm_size =ALIGN_DOWN (lmem_size - dsm_base,SZ_1M ); }drivers/gpu/drm/i915/gem/i915_gem_stolen.c i915_gem_stolen_lmem_setup(struct drm_i915_private *i915, u16 type, · line 952
Quoted 10 lines
drivers/gpu/drm/i915/gem/i915_gem_stolen.c +9
-1-if (pci_resource_len (pdev,GEN12_LMEM_BAR ) < lmem_size) { +if (IS_METEORLAKE (i915)) { +/* +* Workaround: access via BAR can hang MTL, go directly to DSM. +* +* Normally this would not work but on MTL the system firmware +* should have relaxed the access permissions sufficiently. +*/ + io_start =intel_uncore_read64 (uncore,GEN12_DSMBASE ) &GEN12_BDSM_MASK ; + io_size = dsm_size;This will work well on host driver but I am afraid this will not work on VM when someone tries to do direct device assignment of the igfx.
Quoted 3 lines
Quoted 1 line
GSMBASE/DSMBASE is reserved region so won't show up in VM, last I checked.
Hmm. So BARs get passed over but other regions won't be? I wonder if there's a way to pass them explicitly...
Yes, when a user ask qemu to pass though a pci device then qemu will ensure to map those
BARs.
Quoted 16 lines
Quoted 3 lines
This is an obscure usages but are we suppose to support that? If so then we need to detect that and fall back to binder approach.
I suppose some people may attempt it. But I'm not sure how well that will work in practice even on other platforms. I don't think we've ever really considered that use case any kind of priority so bug reports tend to go unanswered.
My main worry with the
MI_UPDATE_GTTstuff is:
- only used on this one platform so very limited testing coverage
- async so more opprtunities to screw things up
- what happens if the engine hangs while we're waiting forMI_UPDATE_GTTto finish?
- requires working command submission, so even getting a working display now depends on a lot more extra components working correctly
Quoted 2 lines
hence the patch to disable it. During testing my MTL was very unstable so I wanted to eliminate all potential sources of new bugs.
Valid concerns but unfortunately MI_UPDATE_GTT is the only generic solution came up in the discussions
which supports host, vm, also SRIOV case.
Quoted 4 lines
Hmm. But we can't even use
MI_UPDATE_GTTuntil command submission is up and running, so we still need the direct CPU path for early ggtt setup no?
It is very unlikely for the bug to appear when there is only single user of the GPU. So the HW team is fine with
having a small window where we do modify GTT using stolen.
How about a modparam which defaults to your approach and have a doc saying to use binder on VM ?
It would be nice if i915 could detect if it is running in virtualized environment but I don't have any ideas for that.
Regards,
Nirmoy
Quoted 2 lines
So if we can't pass the stolen directly to the VM the only
option would be to use the BARs for that and risk hanging the machine.
Question how would i915 detect if it is running in VM environment
Quoted 1 line
Re: [PATCH v2 04/15] drm/i915: Bypass LMEMBAR/GTTMMADR for MTL stolen memory access
Quoted 94 lines · Nirmoy Das
Quoted 51 lines · Ville Syrjälä
Quoted 50 lines · Nirmoy Das
Hi Ville,
Apologies, but I lost track of this series after I returned from sick leave.
Quoted 31 lines · Ville Syrjala
From: Ville Syrjälä<[email protected]>
On MTL accessing stolen memory via the BARs is somehow borked, and it can hang the machine. As a workaround let's bypass the BARs and just go straight to DSMBASE/GSMBASE instead.
Note that on every other platform this itself would hang the machine, but on MTL the system firmware is expected to relax the access permission guarding stolen memory to enable this workaround, and thus direct CPU accesses should be fine.
TODO: add w/a numbers and whatnot
Cc Paz Zcharya<[email protected]>Cc Nirmoy Das<[email protected]>Cc Radhakrishna Sripada<[email protected]>Cc Joonas Lahtinen<[email protected]>Signed-off-by Ville Syrjälä<[email protected]>--- drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 11 ++++++++++- drivers/gpu/drm/i915/gt/intel_ggtt.c | 13 ++++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/gem/i915_gem_stolen.c +0
-0@@ -941,7 +941,16 @@ i915_gem_stolen_lmem_setup(struct drm_i915_private *i915, u16 type, dsm_size =ALIGN_DOWN (lmem_size - dsm_base,SZ_1M ); }drivers/gpu/drm/i915/gem/i915_gem_stolen.c i915_gem_stolen_lmem_setup(struct drm_i915_private *i915, u16 type, · line 952
Quoted 10 lines
drivers/gpu/drm/i915/gem/i915_gem_stolen.c +9
-1-if (pci_resource_len (pdev,GEN12_LMEM_BAR ) < lmem_size) { +if (IS_METEORLAKE (i915)) { +/* +* Workaround: access via BAR can hang MTL, go directly to DSM. +* +* Normally this would not work but on MTL the system firmware +* should have relaxed the access permissions sufficiently. +*/ + io_start =intel_uncore_read64 (uncore,GEN12_DSMBASE ) &GEN12_BDSM_MASK ; + io_size = dsm_size;This will work well on host driver but I am afraid this will not work on VM when someone tries to do direct device assignment of the igfx.
Quoted 3 lines
Quoted 1 line
GSMBASE/DSMBASE is reserved region so won't show up in VM, last I checked.
Hmm. So BARs get passed over but other regions won't be? I wonder if there's a way to pass them explicitly...
Yes, when a user ask qemu to pass though a pci device then qemu will ensure to map those
BARs.
Quoted 16 lines
Quoted 3 lines
This is an obscure usages but are we suppose to support that? If so then we need to detect that and fall back to binder approach.
I suppose some people may attempt it. But I'm not sure how well that will work in practice even on other platforms. I don't think we've ever really considered that use case any kind of priority so bug reports tend to go unanswered.
My main worry with the
MI_UPDATE_GTTstuff is:
- only used on this one platform so very limited testing coverage
- async so more opprtunities to screw things up
- what happens if the engine hangs while we're waiting forMI_UPDATE_GTTto finish?
- requires working command submission, so even getting a working display now depends on a lot more extra components working correctlyQuoted 2 lines
hence the patch to disable it. During testing my MTL was very unstable so I wanted to eliminate all potential sources of new bugs.
Valid concerns but unfortunately
MI_UPDATE_GTTis the only generic solution came up in the discussionswhich supports host, vm, also SRIOV case.
Quoted 4 lines
Hmm. But we can't even use
MI_UPDATE_GTTuntil command submission is up and running, so we still need the direct CPU path for early ggtt setup no?It is very unlikely for the bug to appear when there is only single user of the GPU. So the HW team is fine with
Quoted 8 lines
having a small window where we do modify GTT using stolen.
How about a modparam which defaults to your approach and have a doc saying to use binder on VM ?
It would be nice if i915 could detect if it is running in virtualized environment but I don't have any ideas for that.
We have i915_run_as_guest() but dunno if that covers everything we need.
So in order to accomodate both approachs we'd need:
1. select DSM/GSMBASE vs. BAR based on host vs. guest
2. perhaps disable binder on host for now to keep things more uniform between the platforms by default
3. maybe extend binder to more platforms and enable it across the board (in case we decide it has other real benefits besides not hanging mtl).
Signature · 2 lines
Ville Syrjälä Intel
PATCH v2 5/15 drm/i915: Disable the "binder"
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Now that the GGTT PTE updates go straight to GSMBASE (bypassing GTTMMADR) there should be no more risk of system hangs? So the "binder" (ie. update the PTEs via MI_UPDATE_GTT) is no longer necessary, disable it.
TODO: MI_UPDATE_GTT might be interesting as an optimization though, so perhaps someone should look into always using it (assuming the GPU is alive and well)?
--- drivers/gpu/drm/i915/gt/intel_gtt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/gt/intel_gtt.c +1 -1
@@ -24,7 +24,7 @@bool i915_ggtt_require_binder (struct drm_i915_private *i915) {/* Wa_13010847436 & Wa_14019519902 */ -return MEDIA_VER_FULL (i915) ==IP_VER (13 ,0 ); +return false &&MEDIA_VER_FULL (i915) ==IP_VER (13 ,0 ); }static bool intel_ggtt_update_needs_vtd_wa (struct drm_i915_private *i915)
Signature · 1 line
2.41.0
Re: [PATCH v2 05/15] drm/i915: Disable the "binder"
Quoted 22 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Now that the GGTT PTE updates go straight to GSMBASE (bypassing GTTMMADR) there should be no more risk of system hangs? So the "binder" (ie. update the PTEs via
MI_UPDATE_GTT) is no longer necessary, disable it.TODO:
MI_UPDATE_GTTmight be interesting as an optimization though, so perhaps someone should look into always using it (assuming the GPU is alive and well)?Cc Paz Zcharya <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/gt/intel_gtt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/gt/intel_gtt.c +0
-0
drivers/gpu/drm/i915/gt/intel_gtt.c line 27
Quoted 5 lines
drivers/gpu/drm/i915/gt/intel_gtt.c +1
-1@@ -24,7 +24,7 @@bool i915_ggtt_require_binder (struct drm_i915_private *i915) {/* Wa_13010847436 & Wa_14019519902 */ -return MEDIA_VER_FULL (i915) ==IP_VER (13 ,0 ); +return false &&MEDIA_VER_FULL (i915) ==IP_VER (13 ,0 );
I guess this is RFC :)
Maybe revert "drm/i915: Enable GGTT updates with binder in MTL" ??? CC more competent developer.
Nirmoy, any thoughts?
Regards
Andrzej
Quoted 3 lines
drivers/gpu/drm/i915/gt/intel_gtt.c +0
-0}static bool intel_ggtt_update_needs_vtd_wa (struct drm_i915_private *i915)
PATCH v2 6/15 drm/i915: Rename the DSM/GSM registers
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
0x108100 and 0x1080c0 have been around since snb. Rename the defines appropriately.
--- drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 4 ++-- drivers/gpu/drm/i915/gt/intel_ggtt.c | 2 +- drivers/gpu/drm/i915/gt/intel_region_lmem.c | 2 +- drivers/gpu/drm/i915/i915_reg.h | 7 ++++--- 4 files changed, 8 insertions(+), 7 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_stolen.c +2 -2
@@ -935,7 +935,7 @@ i915_gem_stolen_lmem_setup(struct drm_i915_private *i915, u16 type,GEM_BUG_ON ((dsm_base + dsm_size) > lmem_size); }else {/* Use DSM base address instead for stolen memory */ - dsm_base =intel_uncore_read64 (uncore,GEN12_DSMBASE ) &GEN12_BDSM_MASK ; + dsm_base =intel_uncore_read64 (uncore,GEN6_DSMBASE ) &GEN11_BDSM_MASK ;if (WARN_ON (lmem_size < dsm_base))return ERR_PTR (-ENODEV ); dsm_size =ALIGN_DOWN (lmem_size - dsm_base,SZ_1M );
@@ -948,7 +948,7 @@ i915_gem_stolen_lmem_setup(struct drm_i915_private *i915, u16 type,* Normally this would not work but on MTL the system firmware * should have relaxed the access permissions sufficiently. */ - io_start =intel_uncore_read64 (uncore,GEN12_DSMBASE ) &GEN12_BDSM_MASK ; + io_start =intel_uncore_read64 (uncore,GEN6_DSMBASE ) &GEN11_BDSM_MASK ; io_size = dsm_size; }else if (pci_resource_len (pdev,GEN12_LMEM_BAR ) < lmem_size) { io_start =0 ;
drivers/gpu/drm/i915/gt/intel_ggtt.c +1 -1
@@ -1167,7 +1167,7 @@ static int ggtt_probe_common(struct i915_ggtt *ggtt, u64 size)* should have relaxed the access permissions sufficiently. */ if (IS_METEORLAKE (i915)) - phys_addr =intel_uncore_read64 (uncore,GEN12_GSMBASE ) &GEN12_BDSM_MASK ; + phys_addr =intel_uncore_read64 (uncore,GEN6_GSMBASE ) &GEN11_BDSM_MASK ;else phys_addr =pci_resource_start (pdev,GEN4_GTTMMADR_BAR ) +gen6_gttadr_offset (i915);
drivers/gpu/drm/i915/gt/intel_region_lmem.c +1 -1
@@ -240,7 +240,7 @@ static struct intel_memory_region *setup_lmem(struct intel_gt *gt) lmem_size -= tile_stolen; }else {/* Stolen starts from GSMBASE without CCS */ - lmem_size =intel_uncore_read64 (&i915->uncore,GEN12_GSMBASE ); + lmem_size =intel_uncore_read64 (&i915->uncore,GEN6_GSMBASE ); }i915_resize_lmem_bar (i915, lmem_size);
drivers/gpu/drm/i915/i915_reg.h +4 -3
@@ -6314,9 +6314,10 @@ enum skl_power_gate {#define GMS_MASK REG_GENMASK(15, 8)#define GGMS_MASK REG_GENMASK(7, 6) -#define GEN12_GSMBASE _MMIO(0x108100) -#define GEN12_DSMBASE _MMIO(0x1080C0) -#define GEN12_BDSM_MASK REG_GENMASK64(63, 20) +#define GEN6_GSMBASE _MMIO(0x108100) +#define GEN6_DSMBASE _MMIO(0x1080C0) +#define GEN6_BDSM_MASK REG_GENMASK64(31, 20) +#define GEN11_BDSM_MASK REG_GENMASK64(63, 20)#define XEHP_CLOCK_GATE_DIS _MMIO(0x101014)#define SGSI_SIDECLK_DIS REG_BIT(17)
Signature · 1 line
2.41.0
Re: [PATCH v2 06/15] drm/i915: Rename the DSM/GSM registers
Quoted 7 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
0x108100and0x1080c0have been around since snb. Rename the defines appropriately.Cc Paz Zcharya <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Regards
Andrzej
Quoted 73 lines
--- drivers/gpu/drm/i915/gem/i915_gem_stolen.c | 4 ++-- drivers/gpu/drm/i915/gt/intel_ggtt.c | 2 +- drivers/gpu/drm/i915/gt/intel_region_lmem.c | 2 +- drivers/gpu/drm/i915/i915_reg.h | 7 ++++--- 4 files changed, 8 insertions(+), 7 deletions(-)drivers/gpu/drm/i915/gem/i915_gem_stolen.c +2
-2@@ -935,7 +935,7 @@ i915_gem_stolen_lmem_setup(struct drm_i915_private *i915, u16 type,GEM_BUG_ON ((dsm_base + dsm_size) > lmem_size); }else {/* Use DSM base address instead for stolen memory */ - dsm_base =intel_uncore_read64 (uncore,GEN12_DSMBASE ) &GEN12_BDSM_MASK ; + dsm_base =intel_uncore_read64 (uncore,GEN6_DSMBASE ) &GEN11_BDSM_MASK ;if (WARN_ON (lmem_size < dsm_base))return ERR_PTR (-ENODEV ); dsm_size =ALIGN_DOWN (lmem_size - dsm_base,SZ_1M );@@ -948,7 +948,7 @@ i915_gem_stolen_lmem_setup(struct drm_i915_private *i915, u16 type,* Normally this would not work but on MTL the system firmware * should have relaxed the access permissions sufficiently. */ - io_start =intel_uncore_read64 (uncore,GEN12_DSMBASE ) &GEN12_BDSM_MASK ; + io_start =intel_uncore_read64 (uncore,GEN6_DSMBASE ) &GEN11_BDSM_MASK ; io_size = dsm_size; }else if (pci_resource_len (pdev,GEN12_LMEM_BAR ) < lmem_size) { io_start =0 ;drivers/gpu/drm/i915/gt/intel_ggtt.c +1
-1@@ -1167,7 +1167,7 @@ static int ggtt_probe_common(struct i915_ggtt *ggtt, u64 size)* should have relaxed the access permissions sufficiently. */ if (IS_METEORLAKE (i915)) - phys_addr =intel_uncore_read64 (uncore,GEN12_GSMBASE ) &GEN12_BDSM_MASK ; + phys_addr =intel_uncore_read64 (uncore,GEN6_GSMBASE ) &GEN11_BDSM_MASK ;else phys_addr =pci_resource_start (pdev,GEN4_GTTMMADR_BAR ) +gen6_gttadr_offset (i915);drivers/gpu/drm/i915/gt/intel_region_lmem.c +1
-1@@ -240,7 +240,7 @@ static struct intel_memory_region *setup_lmem(struct intel_gt *gt) lmem_size -= tile_stolen; }else {/* Stolen starts from GSMBASE without CCS */ - lmem_size =intel_uncore_read64 (&i915->uncore,GEN12_GSMBASE ); + lmem_size =intel_uncore_read64 (&i915->uncore,GEN6_GSMBASE ); }i915_resize_lmem_bar (i915, lmem_size);drivers/gpu/drm/i915/i915_reg.h +4
-3@@ -6314,9 +6314,10 @@ enum skl_power_gate {#define GMS_MASK REG_GENMASK(15, 8)#define GGMS_MASK REG_GENMASK(7, 6) -#define GEN12_GSMBASE _MMIO(0x108100) -#define GEN12_DSMBASE _MMIO(0x1080C0) -#define GEN12_BDSM_MASK REG_GENMASK64(63, 20) +#define GEN6_GSMBASE _MMIO(0x108100) +#define GEN6_DSMBASE _MMIO(0x1080C0) +#define GEN6_BDSM_MASK REG_GENMASK64(31, 20) +#define GEN11_BDSM_MASK REG_GENMASK64(63, 20)#define XEHP_CLOCK_GATE_DIS _MMIO(0x101014)#define SGSI_SIDECLK_DIS REG_BIT(17)
PATCH v2 7/15 drm/i915: Fix PTE decode during initial plane readout
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
When multiple pipes are enabled by the BIOS we try to read out each in turn. But we do the readout for the second only after the inherited vma for the first has been rebound into its original place (and thus the PTEs have been rewritten). Unlike the BIOS we set some high caching bits in the PTE on MTL which confuses the readout for the second plane. Filter out the non-address bits from the PTE value appropriately to fix this.
I suppose it might also be possible that the BIOS would already set some caching bits as well, in which case we'd run into this same issue already for the first plane.
TODO:
- should abstract the PTE decoding to avoid details leaking all over
- should probably do the readout for all the planes before we touch anything (including the PTEs) so that we truly read out the BIOS state
--- drivers/gpu/drm/i915/display/intel_plane_initial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_plane_initial.c +1 -1
@@ -72,7 +72,7 @@ initial_plane_vma(struct drm_i915_private *i915,return NULL ; } - phys_base = pte &I915_GTT_PAGE_MASK ; + phys_base = pte &GEN12_GGTT_PTE_ADDR_MASK ; mem = i915->mm.regions[INTEL_REGION_LMEM_0 ];/*
Signature · 1 line
2.41.0
Re: [PATCH v2 07/15] drm/i915: Fix PTE decode during initial plane readout
Quoted 14 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
When multiple pipes are enabled by the BIOS we try to read out each in turn. But we do the readout for the second only after the inherited vma for the first has been rebound into its original place (and thus the PTEs have been rewritten). Unlike the BIOS we set some high caching bits in the PTE on MTL which confuses the readout for the second plane. Filter out the non-address bits from the PTE value appropriately to fix this.
I suppose it might also be possible that the BIOS would already set some caching bits as well, in which case we'd run into this same issue already for the first plane.
Quoted 8 lines
TODO:
- should abstract the PTE decoding to avoid details leaking all over
- should probably do the readout for all the planes before we touch anything (including the PTEs) so that we truly read out the BIOS stateCc Paz Zcharya <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Helper can be useful (but I guess not many users atm). The change looks correct anyway.
Regards
Andrzej
Quoted 17 lines
--- drivers/gpu/drm/i915/display/intel_plane_initial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/display/intel_plane_initial.c +1
-1@@ -72,7 +72,7 @@ initial_plane_vma(struct drm_i915_private *i915,return NULL ; } - phys_base = pte &I915_GTT_PAGE_MASK ; + phys_base = pte &GEN12_GGTT_PTE_ADDR_MASK ; mem = i915->mm.regions[INTEL_REGION_LMEM_0 ];/*
PATCH v2 8/15 drm/i915: Fix region start during initial plane readout
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
On MTL the stolen region starts at offset 8MiB from the start of LMEMBAR. The dma addresses are thus also offset by 8MiB. However the mm_node/etc. is zero based, and i915_pages_create_for_stolen() will add the appropriate region.start into the sg dma address. So when we do the readout we need to convert the dma address read from the PTE to be zero based as well.
Note that currently we don't take this path on MTL, but we should and thus this needs to be fixed. For lmem this works correctly already as the lmem region.start==0.
While at it let's also make sure the address points to somewhere within the memory region. We don't need to check the size as i915_gem_object_create_region_at() should later fail if the object size exceeds the region size.
--- drivers/gpu/drm/i915/display/intel_plane_initial.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/display/intel_plane_initial.c +5 -3
@@ -79,16 +79,18 @@ initial_plane_vma(struct drm_i915_private *i915,* We don't currently expect this to ever be placed in the * stolen portion. */ -if (phys_base >=resource_size (&mem->region)) { +if (phys_base < mem->region.start || phys_base > mem->region.end) {drm_err (&i915->drm, -"Initial plane programming using invalid range, phys_base=%pa\n" , - &phys_base); +"Initial plane programming using invalid range, phys_base=%pa (%s [%pa-%pa])\n" , + &phys_base, mem->region.name, &mem->region.start, &mem->region.end);return NULL ; }drm_dbg (&i915->drm,"Using phys_base=%pa, based on initial plane programming\n" , &phys_base); + + phys_base -= mem->region.start; }else { phys_base = base; mem = i915->mm.stolen_region;
Signature · 1 line
2.41.0
Re: [PATCH v2 08/15] drm/i915: Fix region start during initial plane readout
Quoted 29 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
On MTL the stolen region starts at offset 8MiB from the start of LMEMBAR. The dma addresses are thus also offset by 8MiB. However the mm_node/etc. is zero based, and
i915_pages_create_for_stolen()will add the appropriate region.start into the sg dma address. So when we do the readout we need to convert the dma address read from the PTE to be zero based as well.Note that currently we don't take this path on MTL, but we should and thus this needs to be fixed. For lmem this works correctly already as the lmem region.start==0.
While at it let's also make sure the address points to somewhere within the memory region. We don't need to check the size as
i915_gem_object_create_region_at()should later fail if the object size exceeds the region size.Cc Paz Zcharya <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/intel_plane_initial.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/display/intel_plane_initial.c +0
-0
drivers/gpu/drm/i915/display/intel_plane_initial.c initial_plane_vma(struct drm_i915_private *i915, · line 82
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_plane_initial.c +1
-1@@ -79,16 +79,18 @@ initial_plane_vma(struct drm_i915_private *i915,* We don't currently expect this to ever be placed in the * stolen portion. */ -if (phys_base >=resource_size (&mem->region)) { +if (phys_base < mem->region.start || phys_base > mem->region.end) {
Maybe better:phys_base + fb_size > mem->region.end" ?
Btw it seems redundant with later checks in i915_gem_object_create_region_at. IMO at this moment we need only check if "phys_base -= mem->region.start" makes sense.
Regards
Andrzej
Quoted 16 lines
drivers/gpu/drm/i915/display/intel_plane_initial.c +4
-2drm_err (&i915->drm, -"Initial plane programming using invalid range, phys_base=%pa\n" , - &phys_base); +"Initial plane programming using invalid range, phys_base=%pa (%s [%pa-%pa])\n" , + &phys_base, mem->region.name, &mem->region.start, &mem->region.end);return NULL ; }drm_dbg (&i915->drm,"Using phys_base=%pa, based on initial plane programming\n" , &phys_base); + + phys_base -= mem->region.start; }else { phys_base = base; mem = i915->mm.stolen_region;
Re: [PATCH v2 08/15] drm/i915: Fix region start during initial plane readout
Quoted 34 lines · Andrzej Hajda
Quoted 33 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
On MTL the stolen region starts at offset 8MiB from the start of LMEMBAR. The dma addresses are thus also offset by 8MiB. However the mm_node/etc. is zero based, and
i915_pages_create_for_stolen()will add the appropriate region.start into the sg dma address. So when we do the readout we need to convert the dma address read from the PTE to be zero based as well.Note that currently we don't take this path on MTL, but we should and thus this needs to be fixed. For lmem this works correctly already as the lmem region.start==0.
While at it let's also make sure the address points to somewhere within the memory region. We don't need to check the size as
i915_gem_object_create_region_at()should later fail if the object size exceeds the region size.Cc Paz Zcharya <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/intel_plane_initial.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/display/intel_plane_initial.c +0
-1@@ -79,16 +79,18 @@ initial_plane_vma(struct drm_i915_private *i915,* We don't currently expect this to ever be placed in the * stolen portion. */ -if (phys_base >=resource_size (&mem->region)) {
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_plane_initial.c initial_plane_vma(struct drm_i915_private *i915, · line 82
Quoted 1 line
drivers/gpu/drm/i915/display/intel_plane_initial.c +1
-0+if (phys_base < mem->region.start || phys_base > mem->region.end) {Maybe better:
phys_base+fb_size>mem->region.end" ?
Btw it seems redundant with later checks ini915_gem_object_create_region_at.
IMO at this moment we need only check if "phys_base-=mem->region.start" makes sense.
Yeah, I guess that alone would be sufficient. I left out the size check exactly because I knew it would fail later, and making an accurate check here (with page size rounding and whatnot) would be tedious. But this should also be true when the start offset is past the end of the region as well, so yeah I suppose I can just drop the second check.
Quoted 21 lines
Regards
AndrzejQuoted 16 lines
drivers/gpu/drm/i915/display/intel_plane_initial.c +4
-2drm_err (&i915->drm, -"Initial plane programming using invalid range, phys_base=%pa\n" , - &phys_base); +"Initial plane programming using invalid range, phys_base=%pa (%s [%pa-%pa])\n" , + &phys_base, mem->region.name, &mem->region.start, &mem->region.end);return NULL ; }drm_dbg (&i915->drm,"Using phys_base=%pa, based on initial plane programming\n" , &phys_base); + + phys_base -= mem->region.start; }else { phys_base = base; mem = i915->mm.stolen_region;
Signature · 2 lines
Ville Syrjälä Intel
Re: [PATCH v2 08/15] drm/i915: Fix region start during initial plane readout
Quoted 44 lines · Ville Syrjälä
Quoted 34 lines · Andrzej Hajda
Quoted 33 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
On MTL the stolen region starts at offset 8MiB from the start of LMEMBAR. The dma addresses are thus also offset by 8MiB. However the mm_node/etc. is zero based, and
i915_pages_create_for_stolen()will add the appropriate region.start into the sg dma address. So when we do the readout we need to convert the dma address read from the PTE to be zero based as well.Note that currently we don't take this path on MTL, but we should and thus this needs to be fixed. For lmem this works correctly already as the lmem region.start==0.
While at it let's also make sure the address points to somewhere within the memory region. We don't need to check the size as
i915_gem_object_create_region_at()should later fail if the object size exceeds the region size.Cc Paz Zcharya <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/intel_plane_initial.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/display/intel_plane_initial.c +0
-1@@ -79,16 +79,18 @@ initial_plane_vma(struct drm_i915_private *i915,* We don't currently expect this to ever be placed in the * stolen portion. */ -if (phys_base >=resource_size (&mem->region)) {Quoted 8 lines
drivers/gpu/drm/i915/display/intel_plane_initial.c initial_plane_vma(struct drm_i915_private *i915, · line 82
Quoted 1 line
drivers/gpu/drm/i915/display/intel_plane_initial.c +1
-0+if (phys_base < mem->region.start || phys_base > mem->region.end) {Maybe better:
phys_base+fb_size>mem->region.end" ?
Btw it seems redundant with later checks ini915_gem_object_create_region_at.
IMO at this moment we need only check if "phys_base-=mem->region.start" makes sense.
Quoted 6 lines
Yeah, I guess that alone would be sufficient. I left out the size check exactly because I knew it would fail later, and making an accurate check here (with page size rounding and whatnot) would be tedious. But this should also be true when the start offset is past the end of the region as well, so yeah I suppose I can just drop the second check.
After further pondering I think I'm leaning towards keeping this as is, just to give a slightly more obvious debug message.
Quoted 27 lines
Quoted 23 lines
Regards
AndrzejQuoted 16 lines
drivers/gpu/drm/i915/display/intel_plane_initial.c +4
-2drm_err (&i915->drm, -"Initial plane programming using invalid range, phys_base=%pa\n" , - &phys_base); +"Initial plane programming using invalid range, phys_base=%pa (%s [%pa-%pa])\n" , + &phys_base, mem->region.name, &mem->region.start, &mem->region.end);return NULL ; }drm_dbg (&i915->drm,"Using phys_base=%pa, based on initial plane programming\n" , &phys_base); + + phys_base -= mem->region.start; }else { phys_base = base; mem = i915->mm.stolen_region;Signature · 2 lines
Ville Syrjälä Intel
Signature · 2 lines
Ville Syrjälä Intel
PATCH v2 9/15 drm/i915: Fix MTL initial plane readout
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
MTL stolen memory looks more like local memory, so use the (now fixed) lmem path when doing the initial plane readout.
--- .../drm/i915/display/intel_plane_initial.c | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-)
drivers/gpu/drm/i915/display/intel_plane_initial.c +18 -7
@@ -59,7 +59,7 @@ initial_plane_vma(struct drm_i915_private *i915,return NULL ; base =round_down (plane_config->base,I915_GTT_MIN_ALIGNMENT ); -if (IS_DGFX (i915)) { +if (IS_DGFX (i915) ||HAS_LMEMBAR_SMEM_STOLEN (i915)) {gen8_pte_t __iomem *gte =to_gt (i915)->ggtt->gsm;gen8_pte_t pte;
@@ -73,11 +73,20 @@ initial_plane_vma(struct drm_i915_private *i915, } phys_base = pte &GEN12_GGTT_PTE_ADDR_MASK ; - mem = i915->mm.regions[INTEL_REGION_LMEM_0 ]; + +if (IS_DGFX (i915)) + mem = i915->mm.regions[INTEL_REGION_LMEM_0 ]; +else + mem = i915->mm.stolen_region; +if (!mem) { +drm_dbg_kms (&i915->drm, +"Initial plane memory region not initialized\n" ); +return NULL ; + }/* -* We don't currently expect this to ever be placed in the -* stolen portion. +* On lmem we don't currently expect this to +* ever be placed in the stolen portion. */ if (phys_base < mem->region.start || phys_base > mem->region.end) { drm_err(&i915->drm,
@@ -94,11 +103,13 @@ initial_plane_vma(struct drm_i915_private *i915, }else { phys_base = base; mem = i915->mm.stolen_region; +if (!mem) { +drm_dbg_kms (&i915->drm, +"Initial plane memory region not initialized\n" ); +return NULL ; + } } -if (!mem) -return NULL ; - size =round_up (plane_config->base + plane_config->size, mem->min_page_size); size -= base;
Signature · 1 line
2.41.0
Re: [PATCH v2 09/15] drm/i915: Fix MTL initial plane readout
Quoted 49 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
MTL stolen memory looks more like local memory, so use the (now fixed) lmem path when doing the initial plane readout.
Cc Paz Zcharya <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- .../drm/i915/display/intel_plane_initial.c | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-)drivers/gpu/drm/i915/display/intel_plane_initial.c +13
-4@@ -59,7 +59,7 @@ initial_plane_vma(struct drm_i915_private *i915,return NULL ; base =round_down (plane_config->base,I915_GTT_MIN_ALIGNMENT ); -if (IS_DGFX (i915)) { +if (IS_DGFX (i915) ||HAS_LMEMBAR_SMEM_STOLEN (i915)) {gen8_pte_t __iomem *gte =to_gt (i915)->ggtt->gsm;gen8_pte_t pte;@@ -73,11 +73,20 @@ initial_plane_vma(struct drm_i915_private *i915, } phys_base = pte &GEN12_GGTT_PTE_ADDR_MASK ; - mem = i915->mm.regions[INTEL_REGION_LMEM_0 ]; + +if (IS_DGFX (i915)) + mem = i915->mm.regions[INTEL_REGION_LMEM_0 ]; +else + mem = i915->mm.stolen_region; +if (!mem) { +drm_dbg_kms (&i915->drm, +"Initial plane memory region not initialized\n" ); +return NULL ; + }/* -* We don't currently expect this to ever be placed in the -* stolen portion. +* On lmem we don't currently expect this to +* ever be placed in the stolen portion. */ if (phys_base < mem->region.start || phys_base > mem->region.end) { drm_err(&i915->drm,
drivers/gpu/drm/i915/display/intel_plane_initial.c initial_plane_vma(struct drm_i915_private *i915, · line 110
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_plane_initial.c +5
-0@@ -94,11 +103,13 @@ initial_plane_vma(struct drm_i915_private *i915, }else { phys_base = base; mem = i915->mm.stolen_region; +if (!mem) { +drm_dbg_kms (&i915->drm, +"Initial plane memory region not initialized\n" ); +return NULL ; + }
Code duplication suggests, we could try to move this out ifs. The extra check should be harmless in case of 1:1.
Regards
Andrzej
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_plane_initial.c +0
-3} -if (!mem) -return NULL ; - size =round_up (plane_config->base + plane_config->size, mem->min_page_size); size -= base;
Re: [PATCH v2 09/15] drm/i915: Fix MTL initial plane readout
Quoted 53 lines · Andrzej Hajda
Quoted 52 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
MTL stolen memory looks more like local memory, so use the (now fixed) lmem path when doing the initial plane readout.
Cc Paz Zcharya <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- .../drm/i915/display/intel_plane_initial.c | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-)drivers/gpu/drm/i915/display/intel_plane_initial.c +13
-4@@ -59,7 +59,7 @@ initial_plane_vma(struct drm_i915_private *i915,return NULL ; base =round_down (plane_config->base,I915_GTT_MIN_ALIGNMENT ); -if (IS_DGFX (i915)) { +if (IS_DGFX (i915) ||HAS_LMEMBAR_SMEM_STOLEN (i915)) {gen8_pte_t __iomem *gte =to_gt (i915)->ggtt->gsm;gen8_pte_t pte;@@ -73,11 +73,20 @@ initial_plane_vma(struct drm_i915_private *i915, } phys_base = pte &GEN12_GGTT_PTE_ADDR_MASK ; - mem = i915->mm.regions[INTEL_REGION_LMEM_0 ]; + +if (IS_DGFX (i915)) + mem = i915->mm.regions[INTEL_REGION_LMEM_0 ]; +else + mem = i915->mm.stolen_region; +if (!mem) { +drm_dbg_kms (&i915->drm, +"Initial plane memory region not initialized\n" ); +return NULL ; + }/* -* We don't currently expect this to ever be placed in the -* stolen portion. +* On lmem we don't currently expect this to +* ever be placed in the stolen portion. */ if (phys_base < mem->region.start || phys_base > mem->region.end) { drm_err(&i915->drm,@@ -94,11 +103,13 @@ initial_plane_vma(struct drm_i915_private *i915, }else { phys_base = base; mem = i915->mm.stolen_region;
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_plane_initial.c initial_plane_vma(struct drm_i915_private *i915, · line 85
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_plane_initial.c +5
-0+if (!mem) { +drm_dbg_kms (&i915->drm, +"Initial plane memory region not initialized\n" ); +return NULL ; + }Code duplication suggests, we could try to move this out ifs. The extra check should be harmless in case of 1:1.
With the lmem vs. smem split later this is needed in both branches. Maybe we can re-unify it later if/when we add the PTE redout for the smem case.
Quoted 12 lines
Regards
AndrzejQuoted 8 lines
drivers/gpu/drm/i915/display/intel_plane_initial.c +0
-3} -if (!mem) -return NULL ; - size =round_up (plane_config->base + plane_config->size, mem->min_page_size); size -= base;
Signature · 2 lines
Ville Syrjälä Intel
PATCH v2 10/15 drm/i915: s/phys_base/dma_addr/
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
The address we read from the PTE is a dma address, not a physical address. Rename the variable to say so.
--- .../gpu/drm/i915/display/intel_plane_initial.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
drivers/gpu/drm/i915/display/intel_plane_initial.c +8 -7
@@ -61,6 +61,7 @@ initial_plane_vma(struct drm_i915_private *i915, base =round_down (plane_config->base,I915_GTT_MIN_ALIGNMENT );if (IS_DGFX (i915) ||HAS_LMEMBAR_SMEM_STOLEN (i915)) {gen8_pte_t __iomem *gte =to_gt (i915)->ggtt->gsm; +dma_addr_t dma_addr;gen8_pte_t pte; gte += base /I915_GTT_PAGE_SIZE ;
@@ -72,7 +73,7 @@ initial_plane_vma(struct drm_i915_private *i915,return NULL ; } - phys_base = pte &GEN12_GGTT_PTE_ADDR_MASK ; + dma_addr = pte &GEN12_GGTT_PTE_ADDR_MASK ;if (IS_DGFX (i915)) mem = i915->mm.regions[INTEL_REGION_LMEM_0 ];
@@ -88,18 +89,18 @@ initial_plane_vma(struct drm_i915_private *i915,* On lmem we don't currently expect this to * ever be placed in the stolen portion. */ -if (phys_base < mem->region.start || phys_base > mem->region.end) { +if (dma_addr < mem->region.start || dma_addr > mem->region.end) {drm_err (&i915->drm, -"Initial plane programming using invalid range, phys_base=%pa (%s [%pa-%pa])\n" , - &phys_base, mem->region.name, &mem->region.start, &mem->region.end); +"Initial plane programming using invalid range, dma_addr=%pa (%s [%pa-%pa])\n" , + &dma_addr, mem->region.name, &mem->region.start, &mem->region.end);return NULL ; }drm_dbg (&i915->drm, -"Using phys_base=%pa, based on initial plane programming\n" , - &phys_base); +"Using dma_addr=%pa, based on initial plane programming\n" , + &dma_addr); - phys_base -= mem->region.start; + phys_base = dma_addr - mem->region.start; }else { phys_base = base; mem = i915->mm.stolen_region;
Signature · 1 line
2.41.0
Re: [PATCH v2 10/15] drm/i915: s/phys_base/dma_addr/
Quoted 7 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
The address we read from the PTE is a dma address, not a physical address. Rename the variable to say so.
Cc Paz Zcharya <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Regards
Andrzej
Quoted 50 lines
--- .../gpu/drm/i915/display/intel_plane_initial.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)drivers/gpu/drm/i915/display/intel_plane_initial.c +8
-7@@ -61,6 +61,7 @@ initial_plane_vma(struct drm_i915_private *i915, base =round_down (plane_config->base,I915_GTT_MIN_ALIGNMENT );if (IS_DGFX (i915) ||HAS_LMEMBAR_SMEM_STOLEN (i915)) {gen8_pte_t __iomem *gte =to_gt (i915)->ggtt->gsm; +dma_addr_t dma_addr;gen8_pte_t pte; gte += base /I915_GTT_PAGE_SIZE ;@@ -72,7 +73,7 @@ initial_plane_vma(struct drm_i915_private *i915,return NULL ; } - phys_base = pte &GEN12_GGTT_PTE_ADDR_MASK ; + dma_addr = pte &GEN12_GGTT_PTE_ADDR_MASK ;if (IS_DGFX (i915)) mem = i915->mm.regions[INTEL_REGION_LMEM_0 ];@@ -88,18 +89,18 @@ initial_plane_vma(struct drm_i915_private *i915,* On lmem we don't currently expect this to * ever be placed in the stolen portion. */ -if (phys_base < mem->region.start || phys_base > mem->region.end) { +if (dma_addr < mem->region.start || dma_addr > mem->region.end) {drm_err (&i915->drm, -"Initial plane programming using invalid range, phys_base=%pa (%s [%pa-%pa])\n" , - &phys_base, mem->region.name, &mem->region.start, &mem->region.end); +"Initial plane programming using invalid range, dma_addr=%pa (%s [%pa-%pa])\n" , + &dma_addr, mem->region.name, &mem->region.start, &mem->region.end);return NULL ; }drm_dbg (&i915->drm, -"Using phys_base=%pa, based on initial plane programming\n" , - &phys_base); +"Using dma_addr=%pa, based on initial plane programming\n" , + &dma_addr); - phys_base -= mem->region.start; + phys_base = dma_addr - mem->region.start; }else { phys_base = base; mem = i915->mm.stolen_region;
PATCH v2 11/15 drm/i915: Split the smem and lmem plane readout apart
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Declutter initial_plane_vma() a bit by pulling the lmem and smem readout paths into their own functions.
TODO: the smem path should still be fixed to get and validate
the dma address from the pte as well
--- .../drm/i915/display/intel_display_types.h | 2 + .../drm/i915/display/intel_plane_initial.c | 145 +++++++++++------- 2 files changed, 95 insertions(+), 52 deletions(-)
drivers/gpu/drm/i915/display/intel_display_types.h +2 -0
@@ -782,6 +782,8 @@ struct intel_plane_state {struct intel_initial_plane_config {struct intel_framebuffer *fb; +struct intel_memory_region *mem; +resource_size_t phys_base;struct i915_vma *vma;unsigned int tiling;int size;
drivers/gpu/drm/i915/display/intel_plane_initial.c +93 -52
158 lines not on this page · raw message
Signature · 1 line
2.41.0
Re: [PATCH v2 11/15] drm/i915: Split the smem and lmem plane readout apart
Quoted 10 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Declutter
initial_plane_vma()a bit by pulling the lmem and smem readout paths into their own functions.TODO: the smem path should still be fixed to get and validate
the dma address from the pte as wellCc Paz Zcharya <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
I am not sure about this split, split suggests the paths significantly differs, but they differ just by 2 things:
- mem region,
- assumption about 1:1 mapping for older platforms.
Btw I was wondering if wouldn't be good to abstract out pte retrieval, as the pattern "ggtt->gsm + offset / I915_GTT_PAGE_SIZE" is present in multiple places and depends on hw gen, but maybe it is another patch.
No strong feelings.
Regards
Andrzej
Regards
Andrzej
Quoted 182 lines
--- .../drm/i915/display/intel_display_types.h | 2 + .../drm/i915/display/intel_plane_initial.c | 145 +++++++++++------- 2 files changed, 95 insertions(+), 52 deletions(-)drivers/gpu/drm/i915/display/intel_display_types.h +2
-0@@ -782,6 +782,8 @@ struct intel_plane_state {struct intel_initial_plane_config {struct intel_framebuffer *fb; +struct intel_memory_region *mem; +resource_size_t phys_base;struct i915_vma *vma;unsigned int tiling;int size;drivers/gpu/drm/i915/display/intel_plane_initial.c +93
-52@@ -44,6 +44,93 @@ intel_reuse_initial_plane_obj(struct drm_i915_private *i915,return false; } +static bool +initial_plane_phys_lmem (struct drm_i915_private *i915, +struct intel_initial_plane_config *plane_config) +{ +gen8_pte_t __iomem *gte =to_gt (i915)->ggtt->gsm; +struct intel_memory_region *mem; +dma_addr_t dma_addr; +gen8_pte_t pte; +u32 base; + + base =round_down (plane_config->base,I915_GTT_MIN_ALIGNMENT ); + + gte += base /I915_GTT_PAGE_SIZE ; + + pte =ioread64 (gte); +if (!(pte &GEN12_GGTT_PTE_LM )) { +drm_err (&i915->drm, +"Initial plane programming missing PTE_LM bit\n" ); +return false; + } + + dma_addr = pte &GEN12_GGTT_PTE_ADDR_MASK ; + +if (IS_DGFX (i915)) + mem = i915->mm.regions[INTEL_REGION_LMEM_0 ]; +else + mem = i915->mm.stolen_region; +if (!mem) { +drm_dbg_kms (&i915->drm, +"Initial plane memory region not initialized\n" ); +return false; + } + +/* +* On lmem we don't currently expect this to +* ever be placed in the stolen portion. +*/ +if (dma_addr < mem->region.start || dma_addr > mem->region.end) { +drm_err (&i915->drm, +"Initial plane programming using invalid range, dma_addr=%pa (%s [%pa-%pa])\n" , + &dma_addr, mem->region.name, &mem->region.start, &mem->region.end); +return false; + } + +drm_dbg (&i915->drm, +"Using dma_addr=%pa, based on initial plane programming\n" , + &dma_addr); + + plane_config->phys_base = dma_addr - mem->region.start; + plane_config->mem = mem; + +return true; +} + +static bool +initial_plane_phys_smem (struct drm_i915_private *i915, +struct intel_initial_plane_config *plane_config) +{ +struct intel_memory_region *mem; +u32 base; + + base =round_down (plane_config->base,I915_GTT_MIN_ALIGNMENT ); + + mem = i915->mm.stolen_region; +if (!mem) { +drm_dbg_kms (&i915->drm, +"Initial plane memory region not initialized\n" ); +return false; + } + +/* FIXME get and validate the dma_addr from the PTE */ + plane_config->phys_base = base; + plane_config->mem = mem; + +return true; +} + +static bool +initial_plane_phys (struct drm_i915_private *i915, +struct intel_initial_plane_config *plane_config) +{ +if (IS_DGFX (i915) ||HAS_LMEMBAR_SMEM_STOLEN (i915)) +return initial_plane_phys_lmem (i915, plane_config); +else +return initial_plane_phys_smem (i915, plane_config); +} +static struct i915_vma *initial_plane_vma (struct drm_i915_private *i915,struct intel_initial_plane_config *plane_config)@@ -58,59 +145,13 @@ initial_plane_vma(struct drm_i915_private *i915,if (plane_config->size ==0 )return NULL ; +if (!initial_plane_phys (i915, plane_config)) +return NULL ; + + phys_base = plane_config->phys_base; + mem = plane_config->mem; + base =round_down (plane_config->base,I915_GTT_MIN_ALIGNMENT ); -if (IS_DGFX (i915) ||HAS_LMEMBAR_SMEM_STOLEN (i915)) { -gen8_pte_t __iomem *gte =to_gt (i915)->ggtt->gsm; -dma_addr_t dma_addr; -gen8_pte_t pte; - - gte += base /I915_GTT_PAGE_SIZE ; - - pte =ioread64 (gte); -if (!(pte &GEN12_GGTT_PTE_LM )) { -drm_err (&i915->drm, -"Initial plane programming missing PTE_LM bit\n" ); -return NULL ; - } - - dma_addr = pte &GEN12_GGTT_PTE_ADDR_MASK ; - -if (IS_DGFX (i915)) - mem = i915->mm.regions[INTEL_REGION_LMEM_0 ]; -else - mem = i915->mm.stolen_region; -if (!mem) { -drm_dbg_kms (&i915->drm, -"Initial plane memory region not initialized\n" ); -return NULL ; - } - -/* -* On lmem we don't currently expect this to -* ever be placed in the stolen portion. -*/ -if (dma_addr < mem->region.start || dma_addr > mem->region.end) { -drm_err (&i915->drm, -"Initial plane programming using invalid range, dma_addr=%pa (%s [%pa-%pa])\n" , - &dma_addr, mem->region.name, &mem->region.start, &mem->region.end); -return NULL ; - } - -drm_dbg (&i915->drm, -"Using dma_addr=%pa, based on initial plane programming\n" , - &dma_addr); - - phys_base = dma_addr - mem->region.start; - }else { - phys_base = base; - mem = i915->mm.stolen_region; -if (!mem) { -drm_dbg_kms (&i915->drm, -"Initial plane memory region not initialized\n" ); -return NULL ; - } - } - size =round_up (plane_config->base + plane_config->size, mem->min_page_size); size -= base;
Re: [PATCH v2 11/15] drm/i915: Split the smem and lmem plane readout apart
Quoted 9 lines · Andrzej Hajda
Quoted 8 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Declutter
initial_plane_vma()a bit by pulling the lmem and smem readout paths into their own functions.TODO: the smem path should still be fixed to get and validate
the dma address from the pte as well
Quoted 7 lines
Quoted 2 lines
Cc Paz Zcharya <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>I am not sure about this split, split suggests the paths significantly differs, but they differ just by 2 things:
- mem region,
- assumption about 1:1 mapping for older platforms.
That last one is a fairly major difference which needs actual work since the PTEs will have a different layouts. There's the obvious 8byte vs. 4byte difference for gen8+ vs. older, and also there are several variants of 4byte PTEs (don't recall off the top of my head how many exactly).
Quoted 4 lines
Btw I was wondering if wouldn't be good to abstract out pte retrieval, as the pattern "
ggtt->gsm+ offset /I915_GTT_PAGE_SIZE" is present in multiple places and depends on hw gen, but maybe it is another patch.
Yeah, I think I'd just prefer the gem/gt code provide a function we can call with the ggtt address, and it'll spit out the dma address for us. And if we want to go for belts and suspenders we could also have it validate that the dma addresses are contiguous.
But once we have that we should probably be able to collapse this into just the single codepath.
Quoted 196 lines
No strong feelings.
Reviewed-by Andrzej Hajda <[email protected]>Regards
AndrzejRegards
AndrzejQuoted 182 lines
--- .../drm/i915/display/intel_display_types.h | 2 + .../drm/i915/display/intel_plane_initial.c | 145 +++++++++++------- 2 files changed, 95 insertions(+), 52 deletions(-)drivers/gpu/drm/i915/display/intel_display_types.h +2
-0@@ -782,6 +782,8 @@ struct intel_plane_state {struct intel_initial_plane_config {struct intel_framebuffer *fb; +struct intel_memory_region *mem; +resource_size_t phys_base;struct i915_vma *vma;unsigned int tiling;int size;drivers/gpu/drm/i915/display/intel_plane_initial.c +93
-52@@ -44,6 +44,93 @@ intel_reuse_initial_plane_obj(struct drm_i915_private *i915,return false; } +static bool +initial_plane_phys_lmem (struct drm_i915_private *i915, +struct intel_initial_plane_config *plane_config) +{ +gen8_pte_t __iomem *gte =to_gt (i915)->ggtt->gsm; +struct intel_memory_region *mem; +dma_addr_t dma_addr; +gen8_pte_t pte; +u32 base; + + base =round_down (plane_config->base,I915_GTT_MIN_ALIGNMENT ); + + gte += base /I915_GTT_PAGE_SIZE ; + + pte =ioread64 (gte); +if (!(pte &GEN12_GGTT_PTE_LM )) { +drm_err (&i915->drm, +"Initial plane programming missing PTE_LM bit\n" ); +return false; + } + + dma_addr = pte &GEN12_GGTT_PTE_ADDR_MASK ; + +if (IS_DGFX (i915)) + mem = i915->mm.regions[INTEL_REGION_LMEM_0 ]; +else + mem = i915->mm.stolen_region; +if (!mem) { +drm_dbg_kms (&i915->drm, +"Initial plane memory region not initialized\n" ); +return false; + } + +/* +* On lmem we don't currently expect this to +* ever be placed in the stolen portion. +*/ +if (dma_addr < mem->region.start || dma_addr > mem->region.end) { +drm_err (&i915->drm, +"Initial plane programming using invalid range, dma_addr=%pa (%s [%pa-%pa])\n" , + &dma_addr, mem->region.name, &mem->region.start, &mem->region.end); +return false; + } + +drm_dbg (&i915->drm, +"Using dma_addr=%pa, based on initial plane programming\n" , + &dma_addr); + + plane_config->phys_base = dma_addr - mem->region.start; + plane_config->mem = mem; + +return true; +} + +static bool +initial_plane_phys_smem (struct drm_i915_private *i915, +struct intel_initial_plane_config *plane_config) +{ +struct intel_memory_region *mem; +u32 base; + + base =round_down (plane_config->base,I915_GTT_MIN_ALIGNMENT ); + + mem = i915->mm.stolen_region; +if (!mem) { +drm_dbg_kms (&i915->drm, +"Initial plane memory region not initialized\n" ); +return false; + } + +/* FIXME get and validate the dma_addr from the PTE */ + plane_config->phys_base = base; + plane_config->mem = mem; + +return true; +} + +static bool +initial_plane_phys (struct drm_i915_private *i915, +struct intel_initial_plane_config *plane_config) +{ +if (IS_DGFX (i915) ||HAS_LMEMBAR_SMEM_STOLEN (i915)) +return initial_plane_phys_lmem (i915, plane_config); +else +return initial_plane_phys_smem (i915, plane_config); +} +static struct i915_vma *initial_plane_vma (struct drm_i915_private *i915,struct intel_initial_plane_config *plane_config)@@ -58,59 +145,13 @@ initial_plane_vma(struct drm_i915_private *i915,if (plane_config->size ==0 )return NULL ; +if (!initial_plane_phys (i915, plane_config)) +return NULL ; + + phys_base = plane_config->phys_base; + mem = plane_config->mem; + base =round_down (plane_config->base,I915_GTT_MIN_ALIGNMENT ); -if (IS_DGFX (i915) ||HAS_LMEMBAR_SMEM_STOLEN (i915)) { -gen8_pte_t __iomem *gte =to_gt (i915)->ggtt->gsm; -dma_addr_t dma_addr; -gen8_pte_t pte; - - gte += base /I915_GTT_PAGE_SIZE ; - - pte =ioread64 (gte); -if (!(pte &GEN12_GGTT_PTE_LM )) { -drm_err (&i915->drm, -"Initial plane programming missing PTE_LM bit\n" ); -return NULL ; - } - - dma_addr = pte &GEN12_GGTT_PTE_ADDR_MASK ; - -if (IS_DGFX (i915)) - mem = i915->mm.regions[INTEL_REGION_LMEM_0 ]; -else - mem = i915->mm.stolen_region; -if (!mem) { -drm_dbg_kms (&i915->drm, -"Initial plane memory region not initialized\n" ); -return NULL ; - } - -/* -* On lmem we don't currently expect this to -* ever be placed in the stolen portion. -*/ -if (dma_addr < mem->region.start || dma_addr > mem->region.end) { -drm_err (&i915->drm, -"Initial plane programming using invalid range, dma_addr=%pa (%s [%pa-%pa])\n" , - &dma_addr, mem->region.name, &mem->region.start, &mem->region.end); -return NULL ; - } - -drm_dbg (&i915->drm, -"Using dma_addr=%pa, based on initial plane programming\n" , - &dma_addr); - - phys_base = dma_addr - mem->region.start; - }else { - phys_base = base; - mem = i915->mm.stolen_region; -if (!mem) { -drm_dbg_kms (&i915->drm, -"Initial plane memory region not initialized\n" ); -return NULL ; - } - } - size =round_up (plane_config->base + plane_config->size, mem->min_page_size); size -= base;
Signature · 2 lines
Ville Syrjälä Intel
PATCH v2 12/15 drm/i915: Simplify intel_initial_plane_config() calling convention
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
There's no reason the caller of intel_initial_plane_config() should have to loop over the CRTCs. Pull the loop into the function to make life simpler for the caller.
--- .../drm/i915/display/intel_display_driver.c | 7 +--- .../drm/i915/display/intel_plane_initial.c | 40 +++++++++++-------- .../drm/i915/display/intel_plane_initial.h | 4 +- 3 files changed, 26 insertions(+), 25 deletions(-)
drivers/gpu/drm/i915/display/intel_display_driver.c +1 -6
@@ -285,7 +285,6 @@ int intel_display_driver_probe_nogem(struct drm_i915_private *i915) {struct drm_device *dev = &i915->drm;enum pipe pipe; -struct intel_crtc *crtc;int ret;if (!HAS_DISPLAY (i915))
@@ -335,11 +334,7 @@ int intel_display_driver_probe_nogem(struct drm_i915_private *i915)intel_acpi_assign_connector_fwnodes (i915);drm_modeset_unlock_all (dev); -for_each_intel_crtc (dev, crtc) { -if (!to_intel_crtc_state (crtc->base.state)->uapi.active) -continue ; -intel_crtc_initial_plane_config (crtc); - } +intel_initial_plane_config (i915);/* * Make sure hardware watermarks really match the state we read out.
drivers/gpu/drm/i915/display/intel_plane_initial.c +23 -17
@@ -357,25 +357,31 @@ static void plane_config_fini(struct intel_initial_plane_config *plane_config)i915_vma_put (plane_config->vma); } -void intel_crtc_initial_plane_config (struct intel_crtc *crtc) +void intel_initial_plane_config (struct drm_i915_private *i915) { -struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev); -struct intel_initial_plane_config plane_config = {}; +struct intel_crtc *crtc; -/* -* Note that reserving the BIOS fb up front prevents us -* from stuffing other stolen allocations like the ring -* on top. This prevents some ugliness at boot time, and -* can even allow for smooth boot transitions if the BIOS -* fb is large enough for the active pipe configuration. -*/ - dev_priv->display.funcs.display->get_initial_plane_config (crtc, &plane_config); +for_each_intel_crtc (&i915->drm, crtc) { +struct intel_initial_plane_config plane_config = {}; -/* -* If the fb is shared between multiple heads, we'll -* just get the first one. -*/ -intel_find_initial_plane_obj (crtc, &plane_config); +if (!to_intel_crtc_state (crtc->base.state)->uapi.active) +continue ; -plane_config_fini (&plane_config); +/* +* Note that reserving the BIOS fb up front prevents us +* from stuffing other stolen allocations like the ring +* on top. This prevents some ugliness at boot time, and +* can even allow for smooth boot transitions if the BIOS +* fb is large enough for the active pipe configuration. +*/ + i915->display.funcs.display->get_initial_plane_config (crtc, &plane_config); + +/* +* If the fb is shared between multiple heads, we'll +* just get the first one. +*/ +intel_find_initial_plane_obj (crtc, &plane_config); + +plane_config_fini (&plane_config); + } }
drivers/gpu/drm/i915/display/intel_plane_initial.h +2 -2
@@ -6,8 +6,8 @@#ifndef __INTEL_PLANE_INITIAL_H__#define __INTEL_PLANE_INITIAL_H__ -struct intel_crtc ; +struct drm_i915_private ; -void intel_crtc_initial_plane_config (struct intel_crtc *crtc); +void intel_initial_plane_config (struct drm_i915_private *i915);#endif
Signature · 1 line
2.41.0
Re: [PATCH v2 12/15] drm/i915: Simplify intel_initial_plane_config() calling convention
Quoted 8 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
There's no reason the caller of
intel_initial_plane_config()should have to loop over the CRTCs. Pull the loop into the function to make life simpler for the caller.Cc Paz Zcharya <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Regards
Andrzej
Quoted 99 lines
--- .../drm/i915/display/intel_display_driver.c | 7 +--- .../drm/i915/display/intel_plane_initial.c | 40 +++++++++++-------- .../drm/i915/display/intel_plane_initial.h | 4 +- 3 files changed, 26 insertions(+), 25 deletions(-)drivers/gpu/drm/i915/display/intel_display_driver.c +1
-6@@ -285,7 +285,6 @@ int intel_display_driver_probe_nogem(struct drm_i915_private *i915) {struct drm_device *dev = &i915->drm;enum pipe pipe; -struct intel_crtc *crtc;int ret;if (!HAS_DISPLAY (i915))@@ -335,11 +334,7 @@ int intel_display_driver_probe_nogem(struct drm_i915_private *i915)intel_acpi_assign_connector_fwnodes (i915);drm_modeset_unlock_all (dev); -for_each_intel_crtc (dev, crtc) { -if (!to_intel_crtc_state (crtc->base.state)->uapi.active) -continue ; -intel_crtc_initial_plane_config (crtc); - } +intel_initial_plane_config (i915);/* * Make sure hardware watermarks really match the state we read out. drivers/gpu/drm/i915/display/intel_plane_initial.c +23
-17@@ -357,25 +357,31 @@ static void plane_config_fini(struct intel_initial_plane_config *plane_config)i915_vma_put (plane_config->vma); } -void intel_crtc_initial_plane_config (struct intel_crtc *crtc) +void intel_initial_plane_config (struct drm_i915_private *i915) { -struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev); -struct intel_initial_plane_config plane_config = {}; +struct intel_crtc *crtc; -/* -* Note that reserving the BIOS fb up front prevents us -* from stuffing other stolen allocations like the ring -* on top. This prevents some ugliness at boot time, and -* can even allow for smooth boot transitions if the BIOS -* fb is large enough for the active pipe configuration. -*/ - dev_priv->display.funcs.display->get_initial_plane_config (crtc, &plane_config); +for_each_intel_crtc (&i915->drm, crtc) { +struct intel_initial_plane_config plane_config = {}; -/* -* If the fb is shared between multiple heads, we'll -* just get the first one. -*/ -intel_find_initial_plane_obj (crtc, &plane_config); +if (!to_intel_crtc_state (crtc->base.state)->uapi.active) +continue ; -plane_config_fini (&plane_config); +/* +* Note that reserving the BIOS fb up front prevents us +* from stuffing other stolen allocations like the ring +* on top. This prevents some ugliness at boot time, and +* can even allow for smooth boot transitions if the BIOS +* fb is large enough for the active pipe configuration. +*/ + i915->display.funcs.display->get_initial_plane_config (crtc, &plane_config); + +/* +* If the fb is shared between multiple heads, we'll +* just get the first one. +*/ +intel_find_initial_plane_obj (crtc, &plane_config); + +plane_config_fini (&plane_config); + } }drivers/gpu/drm/i915/display/intel_plane_initial.h +2
-2@@ -6,8 +6,8 @@#ifndef __INTEL_PLANE_INITIAL_H__#define __INTEL_PLANE_INITIAL_H__ -struct intel_crtc ; +struct drm_i915_private ; -void intel_crtc_initial_plane_config (struct intel_crtc *crtc); +void intel_initial_plane_config (struct drm_i915_private *i915);#endif
kernel test robot
build botRe: [PATCH v2 12/15] drm/i915: Simplify intel_initial_plane_config() calling convention
In reply to Ville Syrjalakernel test robot noticed the following build warnings:
Hi Ville,
kernel test robot noticed the following build warnings:
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on drm-tip/drm-tip linus/master next-20240112] [cannot apply to drm-intel/for-linux-next-fixes v6.7]
[If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Ville-Syrjala/drm-i915-Use-struct-resource-for-memory-region-IO-as-well/20240112-020958 base: git://anongit.freedesktop.org/drm-intel for-linux-next patch link: https://lore.kernel.org/r/20231215105929.29568-13-ville.syrjala%40linux.intel.com patch subject: [PATCH v2 12/15] drm/i915: Simplify intel_initial_plane_config() calling convention config: arm64-randconfig-004-20240113 (https://download.01.org/0day-ci/archive/20240113/[email protected]/config) compiler: aarch64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240113/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/xe/display/xe_plane_initial.c:270:6: warning: no previous prototype for 'intel_crtc_initial_plane_config' [-Wmissing-prototypes]
270 | void intel_crtc_initial_plane_config(struct intel_crtc *crtc)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for FB_IOMEM_HELPERS
Depends on [n]: HAS_IOMEM [=y] && FB_CORE [=n]
Selected by [m]:
- DRM_XE_DISPLAY [=y] && HAS_IOMEM [=y] && DRM_XE [=m] && EXPERT [=y] && DRM_XE [=m]=m
vim +/intel_crtc_initial_plane_config +270 drivers/gpu/drm/xe/display/xe_plane_initial.c
44e694958b9539 Maarten Lankhorst 2023-08-17 26944e694958b9539 Maarten Lankhorst 2023-08-17 @270 void intel_crtc_initial_plane_config(struct intel_crtc *crtc)
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
kernel test robot
build botRe: [PATCH v2 12/15] drm/i915: Simplify intel_initial_plane_config() calling convention
In reply to Ville Syrjalakernel test robot noticed the following build warnings:
Hi Ville,
kernel test robot noticed the following build warnings:
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on drm-tip/drm-tip linus/master next-20240112] [cannot apply to drm-intel/for-linux-next-fixes v6.7]
[If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Ville-Syrjala/drm-i915-Use-struct-resource-for-memory-region-IO-as-well/20240112-020958 base: git://anongit.freedesktop.org/drm-intel for-linux-next patch link: https://lore.kernel.org/r/20231215105929.29568-13-ville.syrjala%40linux.intel.com patch subject: [PATCH v2 12/15] drm/i915: Simplify intel_initial_plane_config() calling convention config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20240113/[email protected]/config) compiler: clang version 18.0.0git (https://github.com/llvm/llvm-project 9bde5becb44ea071f5e1fa1f5d4071dc8788b18c) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240113/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/xe/display/xe_plane_initial.c:270:6: warning: no previous prototype for function 'intel_crtc_initial_plane_config' [-Wmissing-prototypes]
270 | void intel_crtc_initial_plane_config(struct intel_crtc *crtc)
| ^
drivers/gpu/drm/xe/display/xe_plane_initial.c:270:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
270 | void intel_crtc_initial_plane_config(struct intel_crtc *crtc)
| ^
| static 1 warning generated.
vim +/intel_crtc_initial_plane_config +270 drivers/gpu/drm/xe/display/xe_plane_initial.c
44e694958b9539 Maarten Lankhorst 2023-08-17 26944e694958b9539 Maarten Lankhorst 2023-08-17 @270 void intel_crtc_initial_plane_config(struct intel_crtc *crtc)
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
PATCH v2 13/15 drm/i915/fbdev: Fix smem_start for LMEMBAR stolen objects
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
The "io" address of an object is its dma address minus the region.start. Subtract the latter to make smem_start correct. The current code happens to work for genuine LMEM objects as LMEM region.start==0, but for LMEMBAR stolen objects region.start!=0.
TODO: perhaps just set smem_start=0 always as our .fb_mmap() implementation no longer depends on it? Need to double check it's not needed for anything else...
--- drivers/gpu/drm/i915/display/intel_fbdev_fb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_fbdev_fb.c +2 -1
@@ -79,7 +79,8 @@ int intel_fbdev_fb_fill_info(struct drm_i915_private *i915, struct fb_info *info/* Use fbdev's framebuffer from lmem for discrete */ info->fix.smem_start = (unsigned long )(mem->io.start + -i915_gem_object_get_dma_address (obj,0 )); +i915_gem_object_get_dma_address (obj,0 ) - + mem->region.start); info->fix.smem_len = obj->base.size; }else {struct i915_ggtt *ggtt =to_gt (i915)->ggtt;
Signature · 1 line
2.41.0
Re: [PATCH v2 13/15] drm/i915/fbdev: Fix smem_start for LMEMBAR stolen objects
Quoted 8 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
The "io" address of an object is its dma address minus the region.start. Subtract the latter to make
smem_startcorrect. The current code happens to work for genuine LMEM objects as LMEM region.start==0, but for LMEMBAR stolen objects region.start!=0.
Quoted 6 lines
TODO: perhaps just set smem_start=0 always as our .fb_mmap() implementation no longer depends on it? Need to double check it's not needed for anything else...
Cc Paz Zcharya <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Regards
Andrzej
Quoted 18 lines
--- drivers/gpu/drm/i915/display/intel_fbdev_fb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)drivers/gpu/drm/i915/display/intel_fbdev_fb.c +2
-1@@ -79,7 +79,8 @@ int intel_fbdev_fb_fill_info(struct drm_i915_private *i915, struct fb_info *info/* Use fbdev's framebuffer from lmem for discrete */ info->fix.smem_start = (unsigned long )(mem->io.start + -i915_gem_object_get_dma_address (obj,0 )); +i915_gem_object_get_dma_address (obj,0 ) - + mem->region.start); info->fix.smem_len = obj->base.size; }else {struct i915_ggtt *ggtt =to_gt (i915)->ggtt;
PATCH v2 14/15 drm/i915: Tweak BIOS fb reuse check
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Currently we assume that we bind the BIOS fb exactly into the same ggtt address where the BIOS left it. That is about to change, and in order to keep intel_reuse_initial_plane_obj() working as intended we need to compare the original ggtt offset (called 'base' here) as opposed ot the actual vma ggtt offset we selected. Otherwise the first plane could change the ggtt offset, and then subsequent planes would no longer notice that they are in fact using the same ggtt offset that the first plane was already using. Thus the reuse check will fail and we proceed to turn off these subsequent planes.
TODO: would probably make more sense to do the pure readout first for all the planes, then check for fb reuse, and only then proceed to pin the object into the final location in the ggtt...
--- .../drm/i915/display/intel_plane_initial.c | 34 +++++++++++-------- 1 file changed, 19 insertions(+), 15 deletions(-)
drivers/gpu/drm/i915/display/intel_plane_initial.c +19 -15
@@ -13,20 +13,21 @@#include "intel_plane_initial.h" static bool -intel_reuse_initial_plane_obj (struct drm_i915_private *i915, -const struct intel_initial_plane_config *plane_config, +intel_reuse_initial_plane_obj (struct intel_crtc *this, +const struct intel_initial_plane_config plane_configs[],struct drm_framebuffer **fb,struct i915_vma **vma) { +struct drm_i915_private *i915 =to_i915 (this->base.dev);struct intel_crtc *crtc;for_each_intel_crtc (&i915->drm, crtc) { -struct intel_crtc_state *crtc_state = -to_intel_crtc_state (crtc->base.state); -struct intel_plane *plane = +const struct intel_plane *plane =to_intel_plane (crtc->base.primary); -struct intel_plane_state *plane_state = +const struct intel_plane_state *plane_state =to_intel_plane_state (plane->base.state); +const struct intel_crtc_state *crtc_state = +to_intel_crtc_state (crtc->base.state);if (!crtc_state->uapi.active)continue ;
@@ -34,7 +35,7 @@ intel_reuse_initial_plane_obj(struct drm_i915_private *i915,if (!plane_state->ggtt_vma)continue ; -if (intel_plane_ggtt_offset (plane_state) == plane_config->base) { +if (plane_configs[this->pipe].base == plane_configs[crtc->pipe].base) { *fb = plane_state->hw.fb; *vma = plane_state->ggtt_vma;return true;
@@ -265,10 +266,11 @@ intel_alloc_initial_plane_obj(struct intel_crtc *crtc,static void intel_find_initial_plane_obj (struct intel_crtc *crtc, -struct intel_initial_plane_config *plane_config) +struct intel_initial_plane_config plane_configs[]) { -struct drm_device *dev = crtc->base.dev; -struct drm_i915_private *dev_priv =to_i915 (dev); +struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev); +struct intel_initial_plane_config *plane_config = + &plane_configs[crtc->pipe];struct intel_plane *plane =to_intel_plane (crtc->base.primary); struct intel_plane_state *plane_state =
@@ -294,7 +296,7 @@ intel_find_initial_plane_obj(struct intel_crtc *crtc,* Failed to alloc the obj, check to see if we should share * an fb with another CRTC instead */ -if (intel_reuse_initial_plane_obj (dev_priv, plane_config, &fb, &vma)) +if (intel_reuse_initial_plane_obj (crtc, plane_configs, &fb, &vma)) goto valid_fb;/*
@@ -359,10 +361,12 @@ static void plane_config_fini(struct intel_initial_plane_config *plane_config)void intel_initial_plane_config (struct drm_i915_private *i915) { +struct intel_initial_plane_config plane_configs[I915_MAX_PIPES ] = {};struct intel_crtc *crtc;for_each_intel_crtc (&i915->drm, crtc) { -struct intel_initial_plane_config plane_config = {}; +struct intel_initial_plane_config *plane_config = + &plane_configs[crtc->pipe];if (!to_intel_crtc_state (crtc->base.state)->uapi.active)continue ;
@@ -374,14 +378,14 @@ void intel_initial_plane_config(struct drm_i915_private *i915)* can even allow for smooth boot transitions if the BIOS * fb is large enough for the active pipe configuration. */ - i915->display.funcs.display->get_initial_plane_config (crtc, &plane_config); + i915->display.funcs.display->get_initial_plane_config (crtc, plane_config);/* * If the fb is shared between multiple heads, we'll * just get the first one. */ -intel_find_initial_plane_obj (crtc, &plane_config); +intel_find_initial_plane_obj (crtc, plane_configs); -plane_config_fini (&plane_config); +plane_config_fini (plane_config); } }
Signature · 1 line
2.41.0
Re: [PATCH v2 14/15] drm/i915: Tweak BIOS fb reuse check
Quoted 7 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Currently we assume that we bind the BIOS fb exactly into the same ggtt address where the BIOS left it. That is about to change, and in order to keep
intel_reuse_initial_plane_obj()working as intended we need to compare the original ggtt offset (called 'base' here) as opposed ot the actual vma ggtt offset we selected. Otherwise
s/ot/to/
Quoted 11 lines
the first plane could change the ggtt offset, and then subsequent planes would no longer notice that they are in fact using the same ggtt offset that the first plane was already using. Thus the reuse check will fail and we proceed to turn off these subsequent planes.
TODO: would probably make more sense to do the pure readout first for all the planes, then check for fb reuse, and only then proceed to pin the object into the final location in the ggtt...
Cc Paz Zcharya <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Regards
Andrzej
Quoted 101 lines
--- .../drm/i915/display/intel_plane_initial.c | 34 +++++++++++-------- 1 file changed, 19 insertions(+), 15 deletions(-)drivers/gpu/drm/i915/display/intel_plane_initial.c +19
-15@@ -13,20 +13,21 @@#include "intel_plane_initial.h" static bool -intel_reuse_initial_plane_obj (struct drm_i915_private *i915, -const struct intel_initial_plane_config *plane_config, +intel_reuse_initial_plane_obj (struct intel_crtc *this, +const struct intel_initial_plane_config plane_configs[],struct drm_framebuffer **fb,struct i915_vma **vma) { +struct drm_i915_private *i915 =to_i915 (this->base.dev);struct intel_crtc *crtc;for_each_intel_crtc (&i915->drm, crtc) { -struct intel_crtc_state *crtc_state = -to_intel_crtc_state (crtc->base.state); -struct intel_plane *plane = +const struct intel_plane *plane =to_intel_plane (crtc->base.primary); -struct intel_plane_state *plane_state = +const struct intel_plane_state *plane_state =to_intel_plane_state (plane->base.state); +const struct intel_crtc_state *crtc_state = +to_intel_crtc_state (crtc->base.state);if (!crtc_state->uapi.active)continue ;@@ -34,7 +35,7 @@ intel_reuse_initial_plane_obj(struct drm_i915_private *i915,if (!plane_state->ggtt_vma)continue ; -if (intel_plane_ggtt_offset (plane_state) == plane_config->base) { +if (plane_configs[this->pipe].base == plane_configs[crtc->pipe].base) { *fb = plane_state->hw.fb; *vma = plane_state->ggtt_vma;return true;@@ -265,10 +266,11 @@ intel_alloc_initial_plane_obj(struct intel_crtc *crtc,static void intel_find_initial_plane_obj (struct intel_crtc *crtc, -struct intel_initial_plane_config *plane_config) +struct intel_initial_plane_config plane_configs[]) { -struct drm_device *dev = crtc->base.dev; -struct drm_i915_private *dev_priv =to_i915 (dev); +struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev); +struct intel_initial_plane_config *plane_config = + &plane_configs[crtc->pipe];struct intel_plane *plane =to_intel_plane (crtc->base.primary); struct intel_plane_state *plane_state =@@ -294,7 +296,7 @@ intel_find_initial_plane_obj(struct intel_crtc *crtc,* Failed to alloc the obj, check to see if we should share * an fb with another CRTC instead */ -if (intel_reuse_initial_plane_obj (dev_priv, plane_config, &fb, &vma)) +if (intel_reuse_initial_plane_obj (crtc, plane_configs, &fb, &vma)) goto valid_fb;/* @@ -359,10 +361,12 @@ static void plane_config_fini(struct intel_initial_plane_config *plane_config)void intel_initial_plane_config (struct drm_i915_private *i915) { +struct intel_initial_plane_config plane_configs[I915_MAX_PIPES ] = {};struct intel_crtc *crtc;for_each_intel_crtc (&i915->drm, crtc) { -struct intel_initial_plane_config plane_config = {}; +struct intel_initial_plane_config *plane_config = + &plane_configs[crtc->pipe];if (!to_intel_crtc_state (crtc->base.state)->uapi.active)continue ;@@ -374,14 +378,14 @@ void intel_initial_plane_config(struct drm_i915_private *i915)* can even allow for smooth boot transitions if the BIOS * fb is large enough for the active pipe configuration. */ - i915->display.funcs.display->get_initial_plane_config (crtc, &plane_config); + i915->display.funcs.display->get_initial_plane_config (crtc, plane_config);/* * If the fb is shared between multiple heads, we'll * just get the first one. */ -intel_find_initial_plane_obj (crtc, &plane_config); +intel_find_initial_plane_obj (crtc, plane_configs); -plane_config_fini (&plane_config); +plane_config_fini (plane_config); } }
PATCH v2 15/15 drm/i915: Try to relocate the BIOS fb to the start of ggtt
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
On MTL the GOP (for whatever reason) likes to bind its framebuffer high up in the ggtt address space. This can conflict with whatever ggtt_reserve_guc_top() is trying to do, and the result is that ggtt_reserve_guc_top() fails and then we proceed to explode when trying to tear down the driver. Thus far I haven't analyzed what causes the actual fireworks, but it's not super important as even if it didn't explode we'd still fail the driver load and the user would be left with an unusable GPU.
To remedy this (without having to figure out exactly what ggtt_reserve_guc_top() is trying to achieve) we can attempt to relocate the BIOS framebuffer to a lower ggtt address. We can do this at this early point in driver init because nothing else is supposed to be clobbering the ggtt yet. So we simply change where in the ggtt we pin the vma, the original PTEs will be left as is, and the new PTEs will get written with the same dma addresses. The plane will keep on scanning out from the original PTEs until we are done with the whole process, and at that point we rewrite the plane's surface address register to point at the new ggtt address.
Since we don't need a specific ggtt address for the plane (apart from needing it to land in the mappable region for normal stolen objects) we'll just try to pin it without a fixed offset first. It should end up at the lowest available address (which really should be 0 at this point in the driver init). If that fails we'll fall back to just pinning it exactly to the origianal address.
To make sure we don't accidentlally pin it partially over the original ggtt range (as that would corrupt the original PTEs) we reserve the original range temporarily during this process.
--- drivers/gpu/drm/i915/display/i9xx_plane.c | 30 ++++++++++ drivers/gpu/drm/i915/display/i9xx_plane.h | 7 +++ drivers/gpu/drm/i915/display/intel_display.c | 5 ++ .../gpu/drm/i915/display/intel_display_core.h | 2 + .../drm/i915/display/intel_plane_initial.c | 57 ++++++++++++++++++- .../drm/i915/display/skl_universal_plane.c | 28 +++++++++ .../drm/i915/display/skl_universal_plane.h | 2 + 7 files changed, 128 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/display/i9xx_plane.c +30 -0
@@ -1060,3 +1060,33 @@ i9xx_get_initial_plane_config(struct intel_crtc *crtc, plane_config->fb = intel_fb; } + +bool i9xx_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config) +{ +struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev); +struct intel_plane *plane =to_intel_plane (crtc->base.primary); +const struct intel_plane_state *plane_state = +to_intel_plane_state (plane->base.state); +enum i9xx_plane_id i9xx_plane = plane->i9xx_plane; +u32 base; + +if (!plane_state->uapi.visible) +return false; + + base =intel_plane_ggtt_offset (plane_state); + +/* +* We may have moved the surface to a different +* part of ggtt, make the plane aware of that. +*/ +if (plane_config->base == base) +return false; + +if (DISPLAY_VER (dev_priv) >=4 ) +intel_de_write (dev_priv,DSPSURF (i9xx_plane), base); +else +intel_de_write (dev_priv,DSPADDR (i9xx_plane), base); + +return true; +}
drivers/gpu/drm/i915/display/i9xx_plane.h +7 -0
@@ -26,6 +26,8 @@ intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe);void i9xx_get_initial_plane_config (struct intel_crtc *crtc,struct intel_initial_plane_config *plane_config); +bool i9xx_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config);#else static inline unsigned int i965_plane_max_stride(struct intel_plane *plane, u32 pixel_format, u64 modifier,
@@ -46,6 +48,11 @@ static inline void i9xx_get_initial_plane_config(struct intel_crtc *crtc, struct intel_initial_plane_config *plane_config) { } +static inline bool i9xx_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config) +{ +return false; +}#endif #endif
drivers/gpu/drm/i915/display/intel_display.c +5 -0
@@ -7820,6 +7820,7 @@ static const struct intel_display_funcs skl_display_funcs = { .crtc_disable = hsw_crtc_disable, .commit_modeset_enables = skl_commit_modeset_enables, .get_initial_plane_config = skl_get_initial_plane_config, + .fixup_initial_plane_config = skl_fixup_initial_plane_config, };static const struct intel_display_funcs ddi_display_funcs = {
@@ -7828,6 +7829,7 @@ static const struct intel_display_funcs ddi_display_funcs = { .crtc_disable = hsw_crtc_disable, .commit_modeset_enables = intel_commit_modeset_enables, .get_initial_plane_config = i9xx_get_initial_plane_config, + .fixup_initial_plane_config = i9xx_fixup_initial_plane_config, };static const struct intel_display_funcs pch_split_display_funcs = {
@@ -7836,6 +7838,7 @@ static const struct intel_display_funcs pch_split_display_funcs = { .crtc_disable = ilk_crtc_disable, .commit_modeset_enables = intel_commit_modeset_enables, .get_initial_plane_config = i9xx_get_initial_plane_config, + .fixup_initial_plane_config = i9xx_fixup_initial_plane_config, };static const struct intel_display_funcs vlv_display_funcs = {
@@ -7844,6 +7847,7 @@ static const struct intel_display_funcs vlv_display_funcs = { .crtc_disable = i9xx_crtc_disable, .commit_modeset_enables = intel_commit_modeset_enables, .get_initial_plane_config = i9xx_get_initial_plane_config, + .fixup_initial_plane_config = i9xx_fixup_initial_plane_config, };static const struct intel_display_funcs i9xx_display_funcs = {
@@ -7852,6 +7856,7 @@ static const struct intel_display_funcs i9xx_display_funcs = { .crtc_disable = i9xx_crtc_disable, .commit_modeset_enables = intel_commit_modeset_enables, .get_initial_plane_config = i9xx_get_initial_plane_config, + .fixup_initial_plane_config = i9xx_fixup_initial_plane_config, };/**
drivers/gpu/drm/i915/display/intel_display_core.h +2 -0
@@ -64,6 +64,8 @@ struct intel_display_funcs { struct intel_crtc_state *);void (*get_initial_plane_config)(struct intel_crtc *,struct intel_initial_plane_config *); +bool (*fixup_initial_plane_config)(struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config);void (*crtc_enable)(struct intel_atomic_state *state,struct intel_crtc *crtc); void (*crtc_disable)(struct intel_atomic_state *state,
drivers/gpu/drm/i915/display/intel_plane_initial.c +54 -3
98 lines not on this page · raw message
drivers/gpu/drm/i915/display/skl_universal_plane.c +28 -0
@@ -2624,3 +2624,31 @@ skl_get_initial_plane_config(struct intel_crtc *crtc, error:kfree (intel_fb); } + +bool skl_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config) +{ +struct drm_i915_private *i915 =to_i915 (crtc->base.dev); +struct intel_plane *plane =to_intel_plane (crtc->base.primary); +const struct intel_plane_state *plane_state = +to_intel_plane_state (plane->base.state); +enum plane_id plane_id = plane->id; +enum pipe pipe = crtc->pipe; +u32 base; + +if (!plane_state->uapi.visible) +return false; + + base =intel_plane_ggtt_offset (plane_state); + +/* +* We may have moved the surface to a different +* part of ggtt, make the plane aware of that. +*/ +if (plane_config->base == base) +return false; + +intel_de_write (i915,PLANE_SURF (pipe, plane_id), base); + +return true; +}
drivers/gpu/drm/i915/display/skl_universal_plane.h +2 -0
@@ -22,6 +22,8 @@ skl_universal_plane_create(struct drm_i915_private *dev_priv,void skl_get_initial_plane_config (struct intel_crtc *crtc,struct intel_initial_plane_config *plane_config); +bool skl_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config);int skl_format_to_fourcc (int format,bool rgb_order,bool alpha);
Signature · 1 line
2.41.0
Re: [PATCH v2 15/15] drm/i915: Try to relocate the BIOS fb to the start of ggtt
Quoted 72 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
On MTL the GOP (for whatever reason) likes to bind its framebuffer high up in the ggtt address space. This can conflict with whatever
ggtt_reserve_guc_top()is trying to do, and the result is thatggtt_reserve_guc_top()fails and then we proceed to explode when trying to tear down the driver. Thus far I haven't analyzed what causes the actual fireworks, but it's not super important as even if it didn't explode we'd still fail the driver load and the user would be left with an unusable GPU.To remedy this (without having to figure out exactly what
ggtt_reserve_guc_top()is trying to achieve) we can attempt to relocate the BIOS framebuffer to a lower ggtt address. We can do this at this early point in driver init because nothing else is supposed to be clobbering the ggtt yet. So we simply change where in the ggtt we pin the vma, the original PTEs will be left as is, and the new PTEs will get written with the same dma addresses. The plane will keep on scanning out from the original PTEs until we are done with the whole process, and at that point we rewrite the plane's surface address register to point at the new ggtt address.Since we don't need a specific ggtt address for the plane (apart from needing it to land in the mappable region for normal stolen objects) we'll just try to pin it without a fixed offset first. It should end up at the lowest available address (which really should be 0 at this point in the driver init). If that fails we'll fall back to just pinning it exactly to the origianal address.
To make sure we don't accidentlally pin it partially over the original ggtt range (as that would corrupt the original PTEs) we reserve the original range temporarily during this process.
Cc Paz Zcharya <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/i9xx_plane.c | 30 ++++++++++ drivers/gpu/drm/i915/display/i9xx_plane.h | 7 +++ drivers/gpu/drm/i915/display/intel_display.c | 5 ++ .../gpu/drm/i915/display/intel_display_core.h | 2 + .../drm/i915/display/intel_plane_initial.c | 57 ++++++++++++++++++- .../drm/i915/display/skl_universal_plane.c | 28 +++++++++ .../drm/i915/display/skl_universal_plane.h | 2 + 7 files changed, 128 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/display/i9xx_plane.c +17
-0@@ -1060,3 +1060,33 @@ i9xx_get_initial_plane_config(struct intel_crtc *crtc, plane_config->fb = intel_fb; } + +bool i9xx_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config) +{ +struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev); +struct intel_plane *plane =to_intel_plane (crtc->base.primary); +const struct intel_plane_state *plane_state = +to_intel_plane_state (plane->base.state); +enum i9xx_plane_id i9xx_plane = plane->i9xx_plane; +u32 base; + +if (!plane_state->uapi.visible) +return false; + + base =intel_plane_ggtt_offset (plane_state); + +/*
drivers/gpu/drm/i915/display/i9xx_plane.c i9xx_get_initial_plane_config(struct intel_crtc *crtc, · line 1089
Quoted 10 lines
drivers/gpu/drm/i915/display/i9xx_plane.c +10
-0+* We may have moved the surface to a different +* part of ggtt, make the plane aware of that. +*/ +if (plane_config->base == base) +return false; + +if (DISPLAY_VER (dev_priv) >=4 ) +intel_de_write (dev_priv,DSPSURF (i9xx_plane), base); +else +intel_de_write (dev_priv,DSPADDR (i9xx_plane), base);
It seems skl_fixup_initial_plane_config is the same, except intel_de_write part. Couldn't we merge both functions into one and just add another elseif branch here? Maybe abstracting out somehow surface registers writes? Just loose ideas. However I wouldn't be surprised if there is good reason to keep it as is.
Regards
Andrzej
Quoted 240 lines
drivers/gpu/drm/i915/display/i9xx_plane.c +3
-0+ +return true; +}drivers/gpu/drm/i915/display/i9xx_plane.h +7
-0@@ -26,6 +26,8 @@ intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe);void i9xx_get_initial_plane_config (struct intel_crtc *crtc,struct intel_initial_plane_config *plane_config); +bool i9xx_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config);#else static inline unsigned int i965_plane_max_stride(struct intel_plane *plane, u32 pixel_format, u64 modifier,@@ -46,6 +48,11 @@ static inline void i9xx_get_initial_plane_config(struct intel_crtc *crtc, struct intel_initial_plane_config *plane_config) { } +static inline bool i9xx_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config) +{ +return false; +}#endif #endif drivers/gpu/drm/i915/display/intel_display.c +5
-0@@ -7820,6 +7820,7 @@ static const struct intel_display_funcs skl_display_funcs = { .crtc_disable = hsw_crtc_disable, .commit_modeset_enables = skl_commit_modeset_enables, .get_initial_plane_config = skl_get_initial_plane_config, + .fixup_initial_plane_config = skl_fixup_initial_plane_config, };static const struct intel_display_funcs ddi_display_funcs = {@@ -7828,6 +7829,7 @@ static const struct intel_display_funcs ddi_display_funcs = { .crtc_disable = hsw_crtc_disable, .commit_modeset_enables = intel_commit_modeset_enables, .get_initial_plane_config = i9xx_get_initial_plane_config, + .fixup_initial_plane_config = i9xx_fixup_initial_plane_config, };static const struct intel_display_funcs pch_split_display_funcs = {@@ -7836,6 +7838,7 @@ static const struct intel_display_funcs pch_split_display_funcs = { .crtc_disable = ilk_crtc_disable, .commit_modeset_enables = intel_commit_modeset_enables, .get_initial_plane_config = i9xx_get_initial_plane_config, + .fixup_initial_plane_config = i9xx_fixup_initial_plane_config, };static const struct intel_display_funcs vlv_display_funcs = {@@ -7844,6 +7847,7 @@ static const struct intel_display_funcs vlv_display_funcs = { .crtc_disable = i9xx_crtc_disable, .commit_modeset_enables = intel_commit_modeset_enables, .get_initial_plane_config = i9xx_get_initial_plane_config, + .fixup_initial_plane_config = i9xx_fixup_initial_plane_config, };static const struct intel_display_funcs i9xx_display_funcs = {@@ -7852,6 +7856,7 @@ static const struct intel_display_funcs i9xx_display_funcs = { .crtc_disable = i9xx_crtc_disable, .commit_modeset_enables = intel_commit_modeset_enables, .get_initial_plane_config = i9xx_get_initial_plane_config, + .fixup_initial_plane_config = i9xx_fixup_initial_plane_config, };/** drivers/gpu/drm/i915/display/intel_display_core.h +2
-0@@ -64,6 +64,8 @@ struct intel_display_funcs { struct intel_crtc_state *);void (*get_initial_plane_config)(struct intel_crtc *,struct intel_initial_plane_config *); +bool (*fixup_initial_plane_config)(struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config);void (*crtc_enable)(struct intel_atomic_state *state,struct intel_crtc *crtc); void (*crtc_disable)(struct intel_atomic_state *state,drivers/gpu/drm/i915/display/intel_plane_initial.c +54
-3@@ -3,9 +3,11 @@* Copyright © 2021 Intel Corporation */ +#include "gem/i915_gem_lmem.h" #include "gem/i915_gem_region.h" #include "i915_drv.h" #include "intel_atomic_plane.h" +#include "intel_crtc.h" #include "intel_display.h" #include "intel_display_types.h" #include "intel_fb.h" @@ -138,6 +140,7 @@ initial_plane_vma(struct drm_i915_private *i915, {struct intel_memory_region *mem;struct drm_i915_gem_object *obj; +struct drm_mm_node orig_mm = {};struct i915_vma *vma;resource_size_t phys_base;u32 base, size;@@ -195,23 +198,68 @@ initial_plane_vma(struct drm_i915_private *i915, goto err_obj; } +/* +* MTL GOP likes to place the framebuffer high up in ggtt, +* which can cause problems for ggtt_reserve_guc_top(). +* Try to pin it to a low ggtt address instead to avoid that. +*/ + base =0 ; + +if (base != plane_config->base) { +struct i915_ggtt *ggtt =to_gt (i915)->ggtt; +int ret; + +/* +* Make sure the original and new locations +* can't overlap. That would corrupt the original +* PTEs which are still being used for scanout. +*/ + ret =i915_gem_gtt_reserve (&ggtt->vm,NULL , &orig_mm, + size, plane_config->base, +I915_COLOR_UNEVICTABLE ,PIN_NOEVICT ); +if (ret) + goto err_obj; + } + vma =i915_vma_instance (obj, &to_gt (i915)->ggtt->vm,NULL );if (IS_ERR (vma)) goto err_obj; - pinctl =PIN_GLOBAL |PIN_OFFSET_FIXED | base; -if (HAS_GMCH (i915)) +retry: + pinctl =PIN_GLOBAL ; +if (base == plane_config->base) + pinctl |=PIN_OFFSET_FIXED | base; +if (!i915_gem_object_is_lmem (obj)) pinctl |=PIN_MAPPABLE ; -if (i915_vma_pin (vma,0 ,0 , pinctl)) +if (i915_vma_pin (vma,0 ,0 , pinctl)) { +if (drm_mm_node_allocated (&orig_mm)) { +drm_mm_remove_node (&orig_mm); +/* +* Try again, but this time pin +* it to its original location. +*/ + base = plane_config->base; + goto retry; + } goto err_obj; + }if (i915_gem_object_is_tiled (obj) && !i915_vma_is_map_and_fenceable (vma)) goto err_obj; +if (drm_mm_node_allocated (&orig_mm)) +drm_mm_remove_node (&orig_mm); + +drm_dbg_kms (&i915->drm, +"Initial plane fb bound to 0x%x in the ggtt (original 0x%x)\n" , +i915_ggtt_offset (vma), plane_config->base); +return vma; err_obj: +if (drm_mm_node_allocated (&orig_mm)) +drm_mm_remove_node (&orig_mm);i915_gem_object_put (obj);return NULL ; }@@ -386,6 +434,9 @@ void intel_initial_plane_config(struct drm_i915_private *i915)*/ intel_find_initial_plane_obj (crtc, plane_configs); +if (i915->display.funcs.display->fixup_initial_plane_config (crtc, plane_config)) +intel_crtc_wait_for_next_vblank (crtc); +plane_config_fini (plane_config); } }drivers/gpu/drm/i915/display/skl_universal_plane.c +28
-0@@ -2624,3 +2624,31 @@ skl_get_initial_plane_config(struct intel_crtc *crtc, error:kfree (intel_fb); } + +bool skl_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config) +{ +struct drm_i915_private *i915 =to_i915 (crtc->base.dev); +struct intel_plane *plane =to_intel_plane (crtc->base.primary); +const struct intel_plane_state *plane_state = +to_intel_plane_state (plane->base.state); +enum plane_id plane_id = plane->id; +enum pipe pipe = crtc->pipe; +u32 base; + +if (!plane_state->uapi.visible) +return false; + + base =intel_plane_ggtt_offset (plane_state); + +/* +* We may have moved the surface to a different +* part of ggtt, make the plane aware of that. +*/ +if (plane_config->base == base) +return false; + +intel_de_write (i915,PLANE_SURF (pipe, plane_id), base); + +return true; +}drivers/gpu/drm/i915/display/skl_universal_plane.h +2
-0@@ -22,6 +22,8 @@ skl_universal_plane_create(struct drm_i915_private *dev_priv,void skl_get_initial_plane_config (struct intel_crtc *crtc,struct intel_initial_plane_config *plane_config); +bool skl_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config);int skl_format_to_fourcc (int format,bool rgb_order,bool alpha);
Re: [PATCH v2 15/15] drm/i915: Try to relocate the BIOS fb to the start of ggtt
Quoted 81 lines · Andrzej Hajda
Quoted 80 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
On MTL the GOP (for whatever reason) likes to bind its framebuffer high up in the ggtt address space. This can conflict with whatever
ggtt_reserve_guc_top()is trying to do, and the result is thatggtt_reserve_guc_top()fails and then we proceed to explode when trying to tear down the driver. Thus far I haven't analyzed what causes the actual fireworks, but it's not super important as even if it didn't explode we'd still fail the driver load and the user would be left with an unusable GPU.To remedy this (without having to figure out exactly what
ggtt_reserve_guc_top()is trying to achieve) we can attempt to relocate the BIOS framebuffer to a lower ggtt address. We can do this at this early point in driver init because nothing else is supposed to be clobbering the ggtt yet. So we simply change where in the ggtt we pin the vma, the original PTEs will be left as is, and the new PTEs will get written with the same dma addresses. The plane will keep on scanning out from the original PTEs until we are done with the whole process, and at that point we rewrite the plane's surface address register to point at the new ggtt address.Since we don't need a specific ggtt address for the plane (apart from needing it to land in the mappable region for normal stolen objects) we'll just try to pin it without a fixed offset first. It should end up at the lowest available address (which really should be 0 at this point in the driver init). If that fails we'll fall back to just pinning it exactly to the origianal address.
To make sure we don't accidentlally pin it partially over the original ggtt range (as that would corrupt the original PTEs) we reserve the original range temporarily during this process.
Cc Paz Zcharya <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/i9xx_plane.c | 30 ++++++++++ drivers/gpu/drm/i915/display/i9xx_plane.h | 7 +++ drivers/gpu/drm/i915/display/intel_display.c | 5 ++ .../gpu/drm/i915/display/intel_display_core.h | 2 + .../drm/i915/display/intel_plane_initial.c | 57 ++++++++++++++++++- .../drm/i915/display/skl_universal_plane.c | 28 +++++++++ .../drm/i915/display/skl_universal_plane.h | 2 + 7 files changed, 128 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/display/i9xx_plane.c +25
-0@@ -1060,3 +1060,33 @@ i9xx_get_initial_plane_config(struct intel_crtc *crtc, plane_config->fb = intel_fb; } + +bool i9xx_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config) +{ +struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev); +struct intel_plane *plane =to_intel_plane (crtc->base.primary); +const struct intel_plane_state *plane_state = +to_intel_plane_state (plane->base.state); +enum i9xx_plane_id i9xx_plane = plane->i9xx_plane; +u32 base; + +if (!plane_state->uapi.visible) +return false; + + base =intel_plane_ggtt_offset (plane_state); + +/* +* We may have moved the surface to a different +* part of ggtt, make the plane aware of that. +*/ +if (plane_config->base == base) +return false; + +if (DISPLAY_VER (dev_priv) >=4 ) +intel_de_write (dev_priv,DSPSURF (i9xx_plane), base);
Quoted 8 lines
drivers/gpu/drm/i915/display/i9xx_plane.c i9xx_get_initial_plane_config(struct intel_crtc *crtc, · line 1089
Quoted 2 lines
drivers/gpu/drm/i915/display/i9xx_plane.c +2
-0+else +intel_de_write (dev_priv,DSPADDR (i9xx_plane), base);It seems
skl_fixup_initial_plane_configis the same, exceptintel_de_writepart. Couldn't we merge both functions into one and just add another elseif branch here? Maybe abstracting out somehow surface registers writes? Just loose ideas.
However I wouldn't be surprised if there is good reason to keep it as is.
It's just that we generally want to keep the skl+ vs. pre-skl low level plane code separate. There are enough differences between them, so separate code is probably less messy than trying to share it. And I don't think the common parts between this and its counterpart are significant enough to really go against that.
Quoted 246 lines
Reviewed-by Andrzej Hajda <[email protected]>Regards
AndrzejQuoted 240 lines
drivers/gpu/drm/i915/display/i9xx_plane.c +3
-0+ +return true; +}drivers/gpu/drm/i915/display/i9xx_plane.h +7
-0@@ -26,6 +26,8 @@ intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe);void i9xx_get_initial_plane_config (struct intel_crtc *crtc,struct intel_initial_plane_config *plane_config); +bool i9xx_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config);#else static inline unsigned int i965_plane_max_stride(struct intel_plane *plane, u32 pixel_format, u64 modifier,@@ -46,6 +48,11 @@ static inline void i9xx_get_initial_plane_config(struct intel_crtc *crtc, struct intel_initial_plane_config *plane_config) { } +static inline bool i9xx_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config) +{ +return false; +}#endif #endif drivers/gpu/drm/i915/display/intel_display.c +5
-0@@ -7820,6 +7820,7 @@ static const struct intel_display_funcs skl_display_funcs = { .crtc_disable = hsw_crtc_disable, .commit_modeset_enables = skl_commit_modeset_enables, .get_initial_plane_config = skl_get_initial_plane_config, + .fixup_initial_plane_config = skl_fixup_initial_plane_config, };static const struct intel_display_funcs ddi_display_funcs = {@@ -7828,6 +7829,7 @@ static const struct intel_display_funcs ddi_display_funcs = { .crtc_disable = hsw_crtc_disable, .commit_modeset_enables = intel_commit_modeset_enables, .get_initial_plane_config = i9xx_get_initial_plane_config, + .fixup_initial_plane_config = i9xx_fixup_initial_plane_config, };static const struct intel_display_funcs pch_split_display_funcs = {@@ -7836,6 +7838,7 @@ static const struct intel_display_funcs pch_split_display_funcs = { .crtc_disable = ilk_crtc_disable, .commit_modeset_enables = intel_commit_modeset_enables, .get_initial_plane_config = i9xx_get_initial_plane_config, + .fixup_initial_plane_config = i9xx_fixup_initial_plane_config, };static const struct intel_display_funcs vlv_display_funcs = {@@ -7844,6 +7847,7 @@ static const struct intel_display_funcs vlv_display_funcs = { .crtc_disable = i9xx_crtc_disable, .commit_modeset_enables = intel_commit_modeset_enables, .get_initial_plane_config = i9xx_get_initial_plane_config, + .fixup_initial_plane_config = i9xx_fixup_initial_plane_config, };static const struct intel_display_funcs i9xx_display_funcs = {@@ -7852,6 +7856,7 @@ static const struct intel_display_funcs i9xx_display_funcs = { .crtc_disable = i9xx_crtc_disable, .commit_modeset_enables = intel_commit_modeset_enables, .get_initial_plane_config = i9xx_get_initial_plane_config, + .fixup_initial_plane_config = i9xx_fixup_initial_plane_config, };/** drivers/gpu/drm/i915/display/intel_display_core.h +2
-0@@ -64,6 +64,8 @@ struct intel_display_funcs { struct intel_crtc_state *);void (*get_initial_plane_config)(struct intel_crtc *,struct intel_initial_plane_config *); +bool (*fixup_initial_plane_config)(struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config);void (*crtc_enable)(struct intel_atomic_state *state,struct intel_crtc *crtc); void (*crtc_disable)(struct intel_atomic_state *state,drivers/gpu/drm/i915/display/intel_plane_initial.c +54
-3@@ -3,9 +3,11 @@* Copyright © 2021 Intel Corporation */ +#include "gem/i915_gem_lmem.h" #include "gem/i915_gem_region.h" #include "i915_drv.h" #include "intel_atomic_plane.h" +#include "intel_crtc.h" #include "intel_display.h" #include "intel_display_types.h" #include "intel_fb.h" @@ -138,6 +140,7 @@ initial_plane_vma(struct drm_i915_private *i915, {struct intel_memory_region *mem;struct drm_i915_gem_object *obj; +struct drm_mm_node orig_mm = {};struct i915_vma *vma;resource_size_t phys_base;u32 base, size;@@ -195,23 +198,68 @@ initial_plane_vma(struct drm_i915_private *i915, goto err_obj; } +/* +* MTL GOP likes to place the framebuffer high up in ggtt, +* which can cause problems for ggtt_reserve_guc_top(). +* Try to pin it to a low ggtt address instead to avoid that. +*/ + base =0 ; + +if (base != plane_config->base) { +struct i915_ggtt *ggtt =to_gt (i915)->ggtt; +int ret; + +/* +* Make sure the original and new locations +* can't overlap. That would corrupt the original +* PTEs which are still being used for scanout. +*/ + ret =i915_gem_gtt_reserve (&ggtt->vm,NULL , &orig_mm, + size, plane_config->base, +I915_COLOR_UNEVICTABLE ,PIN_NOEVICT ); +if (ret) + goto err_obj; + } + vma =i915_vma_instance (obj, &to_gt (i915)->ggtt->vm,NULL );if (IS_ERR (vma)) goto err_obj; - pinctl =PIN_GLOBAL |PIN_OFFSET_FIXED | base; -if (HAS_GMCH (i915)) +retry: + pinctl =PIN_GLOBAL ; +if (base == plane_config->base) + pinctl |=PIN_OFFSET_FIXED | base; +if (!i915_gem_object_is_lmem (obj)) pinctl |=PIN_MAPPABLE ; -if (i915_vma_pin (vma,0 ,0 , pinctl)) +if (i915_vma_pin (vma,0 ,0 , pinctl)) { +if (drm_mm_node_allocated (&orig_mm)) { +drm_mm_remove_node (&orig_mm); +/* +* Try again, but this time pin +* it to its original location. +*/ + base = plane_config->base; + goto retry; + } goto err_obj; + }if (i915_gem_object_is_tiled (obj) && !i915_vma_is_map_and_fenceable (vma)) goto err_obj; +if (drm_mm_node_allocated (&orig_mm)) +drm_mm_remove_node (&orig_mm); + +drm_dbg_kms (&i915->drm, +"Initial plane fb bound to 0x%x in the ggtt (original 0x%x)\n" , +i915_ggtt_offset (vma), plane_config->base); +return vma; err_obj: +if (drm_mm_node_allocated (&orig_mm)) +drm_mm_remove_node (&orig_mm);i915_gem_object_put (obj);return NULL ; }@@ -386,6 +434,9 @@ void intel_initial_plane_config(struct drm_i915_private *i915)*/ intel_find_initial_plane_obj (crtc, plane_configs); +if (i915->display.funcs.display->fixup_initial_plane_config (crtc, plane_config)) +intel_crtc_wait_for_next_vblank (crtc); +plane_config_fini (plane_config); } }drivers/gpu/drm/i915/display/skl_universal_plane.c +28
-0@@ -2624,3 +2624,31 @@ skl_get_initial_plane_config(struct intel_crtc *crtc, error:kfree (intel_fb); } + +bool skl_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config) +{ +struct drm_i915_private *i915 =to_i915 (crtc->base.dev); +struct intel_plane *plane =to_intel_plane (crtc->base.primary); +const struct intel_plane_state *plane_state = +to_intel_plane_state (plane->base.state); +enum plane_id plane_id = plane->id; +enum pipe pipe = crtc->pipe; +u32 base; + +if (!plane_state->uapi.visible) +return false; + + base =intel_plane_ggtt_offset (plane_state); + +/* +* We may have moved the surface to a different +* part of ggtt, make the plane aware of that. +*/ +if (plane_config->base == base) +return false; + +intel_de_write (i915,PLANE_SURF (pipe, plane_id), base); + +return true; +}drivers/gpu/drm/i915/display/skl_universal_plane.h +2
-0@@ -22,6 +22,8 @@ skl_universal_plane_create(struct drm_i915_private *dev_priv,void skl_get_initial_plane_config (struct intel_crtc *crtc,struct intel_initial_plane_config *plane_config); +bool skl_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config);int skl_format_to_fourcc (int format,bool rgb_order,bool alpha);
Signature · 2 lines
Ville Syrjälä Intel
PATCH v3 15/15 drm/i915: Try to relocate the BIOS fb to the start of ggtt
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
On MTL the GOP (for whatever reason) likes to bind its framebuffer high up in the ggtt address space. This can conflict with whatever ggtt_reserve_guc_top() is trying to do, and the result is that ggtt_reserve_guc_top() fails and then we proceed to explode when trying to tear down the driver. Thus far I haven't analyzed what causes the actual fireworks, but it's not super important as even if it didn't explode we'd still fail the driver load and the user would be left with an unusable GPU.
To remedy this (without having to figure out exactly what ggtt_reserve_guc_top() is trying to achieve) we can attempt to relocate the BIOS framebuffer to a lower ggtt address. We can do this at this early point in driver init because nothing else is supposed to be clobbering the ggtt yet. So we simply change where in the ggtt we pin the vma, the original PTEs will be left as is, and the new PTEs will get written with the same dma addresses. The plane will keep on scanning out from the original PTEs until we are done with the whole process, and at that point we rewrite the plane's surface address register to point at the new ggtt address.
Since we don't need a specific ggtt address for the plane (apart from needing it to land in the mappable region for normal stolen objects) we'll just try to pin it without a fixed offset first. It should end up at the lowest available address (which really should be 0 at this point in the driver init). If that fails we'll fall back to just pinning it exactly to the origianal address.
To make sure we don't accidentlally pin it partially over the original ggtt range (as that would corrupt the original PTEs) we reserve the original range temporarily during this process.
v2: Try to pin explicitly to ggtt offset 0 as otherwise DG2 puts it
even higher (atm we have no PIN_LOW flag to force it low)
--- drivers/gpu/drm/i915/display/i9xx_plane.c | 30 +++++++++++ drivers/gpu/drm/i915/display/i9xx_plane.h | 7 +++ drivers/gpu/drm/i915/display/intel_display.c | 5 ++ .../gpu/drm/i915/display/intel_display_core.h | 2 + .../drm/i915/display/intel_plane_initial.c | 53 ++++++++++++++++++- .../drm/i915/display/skl_universal_plane.c | 28 ++++++++++ .../drm/i915/display/skl_universal_plane.h | 2 + 7 files changed, 125 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/i9xx_plane.c +30 -0
@@ -1060,3 +1060,33 @@ i9xx_get_initial_plane_config(struct intel_crtc *crtc, plane_config->fb = intel_fb; } + +bool i9xx_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config) +{ +struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev); +struct intel_plane *plane =to_intel_plane (crtc->base.primary); +const struct intel_plane_state *plane_state = +to_intel_plane_state (plane->base.state); +enum i9xx_plane_id i9xx_plane = plane->i9xx_plane; +u32 base; + +if (!plane_state->uapi.visible) +return false; + + base =intel_plane_ggtt_offset (plane_state); + +/* +* We may have moved the surface to a different +* part of ggtt, make the plane aware of that. +*/ +if (plane_config->base == base) +return false; + +if (DISPLAY_VER (dev_priv) >=4 ) +intel_de_write (dev_priv,DSPSURF (i9xx_plane), base); +else +intel_de_write (dev_priv,DSPADDR (i9xx_plane), base); + +return true; +}
drivers/gpu/drm/i915/display/i9xx_plane.h +7 -0
@@ -26,6 +26,8 @@ intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe);void i9xx_get_initial_plane_config (struct intel_crtc *crtc,struct intel_initial_plane_config *plane_config); +bool i9xx_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config);#else static inline unsigned int i965_plane_max_stride(struct intel_plane *plane, u32 pixel_format, u64 modifier,
@@ -46,6 +48,11 @@ static inline void i9xx_get_initial_plane_config(struct intel_crtc *crtc, struct intel_initial_plane_config *plane_config) { } +static inline bool i9xx_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config) +{ +return false; +}#endif #endif
drivers/gpu/drm/i915/display/intel_display.c +5 -0
@@ -7820,6 +7820,7 @@ static const struct intel_display_funcs skl_display_funcs = { .crtc_disable = hsw_crtc_disable, .commit_modeset_enables = skl_commit_modeset_enables, .get_initial_plane_config = skl_get_initial_plane_config, + .fixup_initial_plane_config = skl_fixup_initial_plane_config, };static const struct intel_display_funcs ddi_display_funcs = {
@@ -7828,6 +7829,7 @@ static const struct intel_display_funcs ddi_display_funcs = { .crtc_disable = hsw_crtc_disable, .commit_modeset_enables = intel_commit_modeset_enables, .get_initial_plane_config = i9xx_get_initial_plane_config, + .fixup_initial_plane_config = i9xx_fixup_initial_plane_config, };static const struct intel_display_funcs pch_split_display_funcs = {
@@ -7836,6 +7838,7 @@ static const struct intel_display_funcs pch_split_display_funcs = { .crtc_disable = ilk_crtc_disable, .commit_modeset_enables = intel_commit_modeset_enables, .get_initial_plane_config = i9xx_get_initial_plane_config, + .fixup_initial_plane_config = i9xx_fixup_initial_plane_config, };static const struct intel_display_funcs vlv_display_funcs = {
@@ -7844,6 +7847,7 @@ static const struct intel_display_funcs vlv_display_funcs = { .crtc_disable = i9xx_crtc_disable, .commit_modeset_enables = intel_commit_modeset_enables, .get_initial_plane_config = i9xx_get_initial_plane_config, + .fixup_initial_plane_config = i9xx_fixup_initial_plane_config, };static const struct intel_display_funcs i9xx_display_funcs = {
@@ -7852,6 +7856,7 @@ static const struct intel_display_funcs i9xx_display_funcs = { .crtc_disable = i9xx_crtc_disable, .commit_modeset_enables = intel_commit_modeset_enables, .get_initial_plane_config = i9xx_get_initial_plane_config, + .fixup_initial_plane_config = i9xx_fixup_initial_plane_config, };/**
drivers/gpu/drm/i915/display/intel_display_core.h +2 -0
@@ -64,6 +64,8 @@ struct intel_display_funcs { struct intel_crtc_state *);void (*get_initial_plane_config)(struct intel_crtc *,struct intel_initial_plane_config *); +bool (*fixup_initial_plane_config)(struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config);void (*crtc_enable)(struct intel_atomic_state *state,struct intel_crtc *crtc); void (*crtc_disable)(struct intel_atomic_state *state,
drivers/gpu/drm/i915/display/intel_plane_initial.c +51 -2
95 lines not on this page · raw message
drivers/gpu/drm/i915/display/skl_universal_plane.c +28 -0
@@ -2624,3 +2624,31 @@ skl_get_initial_plane_config(struct intel_crtc *crtc, error:kfree (intel_fb); } + +bool skl_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config) +{ +struct drm_i915_private *i915 =to_i915 (crtc->base.dev); +struct intel_plane *plane =to_intel_plane (crtc->base.primary); +const struct intel_plane_state *plane_state = +to_intel_plane_state (plane->base.state); +enum plane_id plane_id = plane->id; +enum pipe pipe = crtc->pipe; +u32 base; + +if (!plane_state->uapi.visible) +return false; + + base =intel_plane_ggtt_offset (plane_state); + +/* +* We may have moved the surface to a different +* part of ggtt, make the plane aware of that. +*/ +if (plane_config->base == base) +return false; + +intel_de_write (i915,PLANE_SURF (pipe, plane_id), base); + +return true; +}
drivers/gpu/drm/i915/display/skl_universal_plane.h +2 -0
@@ -22,6 +22,8 @@ skl_universal_plane_create(struct drm_i915_private *dev_priv,void skl_get_initial_plane_config (struct intel_crtc *crtc,struct intel_initial_plane_config *plane_config); +bool skl_fixup_initial_plane_config (struct intel_crtc *crtc, +const struct intel_initial_plane_config *plane_config);int skl_format_to_fourcc (int format,bool rgb_order,bool alpha);
Signature · 1 line
2.41.0
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for drm/i915: (stolen) memory region related fixes (rev3)
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915: (stolen) memory region related fixes (rev3)
URL : https://patchwork.freedesktop.org/series/127721/
State : warning
== Summary ==
Error: dim checkpatch failede7cbf4e3592e drm/i915: Use struct resource for memory region IO as well -:387: WARNING:LONG_LINE: line length of 105 exceeds 100 columns #387: FILE: drivers/gpu/drm/i915/intel_region_ttm.c:227:
+ if (WARN_ON(overflows_type(resource_size(&mem->io) >> PAGE_SHIFT, place.lpfn))) {
total: 0 errors, 1 warnings, 0 checks, 281 lines checkeddf163a6b67b8 drm/i915: Print memory region info during probe8540d04636d8 drm/i915: Remove ad-hoc lmem/stolen debugs637857991a67 drm/i915: Bypass LMEMBAR/GTTMMADR for MTL stolen memory access 2649d131b38a drm/i915: Disable the "binder"749426fcecc3 drm/i915: Rename the DSM/GSM registers1f69f5e7e84f drm/i915: Fix PTE decode during initial plane readoutb3638bff7e4d drm/i915: Fix region start during initial plane readout ab68b29bbf82 drm/i915: Fix MTL initial plane readout272c9d024ff4 drm/i915: s/phys_base/dma_addr/0ed9217df0c0 drm/i915: Split the smem and lmem plane readout apart2d6d2559660c drm/i915: Simplify intel_initial_plane_config() calling convention cdeb9cc51bbc drm/i915/fbdev: Fix smem_start for LMEMBAR stolen objects 06c1a2465e13 drm/i915: Tweak BIOS fb reuse check644c9f50b0ba drm/i915: Try to relocate the BIOS fb to the start of ggtt
-:100: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #100: FILE: drivers/gpu/drm/i915/display/i9xx_plane.h:51:
}
+static inline bool i9xx_fixup_initial_plane_config(struct intel_crtc *crtc,
-:101: WARNING:LONG_LINE: line length of 105 exceeds 100 columns #101: FILE: drivers/gpu/drm/i915/display/i9xx_plane.h:52:
+ const struct intel_initial_plane_config *plane_config)
total: 0 errors, 1 warnings, 1 checks, 232 lines checked
Patchwork
CI✗ Fi.CI.SPARSE: warning for drm/i915: (stolen) memory region related fixes (rev3)
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915: (stolen) memory region related fixes (rev3)
URL : https://patchwork.freedesktop.org/series/127721/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI✗ Fi.CI.BAT: failure for drm/i915: (stolen) memory region related fixes (rev3)
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915: (stolen) memory region related fixes (rev3)
URL : https://patchwork.freedesktop.org/series/127721/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_14030 -> Patchwork_127721v3
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_127721v3 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_127721v3, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/index.html
Participating hosts (35 -> 36)
------------------------------
Additional (2): bat-dg2-8 bat-dg2-9
Missing (1): fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_127721v3:
### IGT changes ###
#### Possible regressions ####
* igt@i915_module_load@load:
- bat-dg2-9: NOTRUN -> [INCOMPLETE][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-dg2-9/igt@[email protected]
- bat-dg2-8: NOTRUN -> [INCOMPLETE][2]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-dg2-8/igt@[email protected]
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@i915_module_load@load:
- {bat-dg2-14}: [PASS][3] -> [INCOMPLETE][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14030/bat-dg2-14/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-dg2-14/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_127721v3 that come from known issues:
### CI changes ###
#### Possible fixes ####
* boot:
- bat-jsl-1: [FAIL][5] ([i915#8293]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14030/bat-jsl-1/boot.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-jsl-1/boot.html
### IGT changes ###
#### Issues hit ####
* igt@debugfs_test@basic-hwmon:
- bat-jsl-1: NOTRUN -> [SKIP][7] ([i915#9318])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-jsl-1/igt@[email protected]
* igt@gem_exec_suspend@basic-s0@smem:
- bat-jsl-1: NOTRUN -> [INCOMPLETE][8] ([i915#9883])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-jsl-1/igt@gem_exec_suspend@[email protected]
* igt@gem_huc_copy@huc-copy:
- bat-jsl-1: NOTRUN -> [SKIP][9] ([i915#2190])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-jsl-1/igt@[email protected]
* igt@gem_lmem_swapping@parallel-random-engines:
- bat-jsl-1: NOTRUN -> [SKIP][10] ([i915#4613]) +3 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-jsl-1/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- bat-mtlp-6: NOTRUN -> [SKIP][11] ([i915#4613]) +3 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-mtlp-6/igt@[email protected]
* igt@i915_pm_rps@basic-api:
- bat-mtlp-6: NOTRUN -> [SKIP][12] ([i915#6621])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-mtlp-6/igt@[email protected]
* igt@i915_suspend@basic-s3-without-i915:
- bat-mtlp-6: NOTRUN -> [SKIP][13] ([i915#6645])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-mtlp-6/igt@[email protected]
- bat-jsl-1: NOTRUN -> [FAIL][14] ([fdo#103375])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-jsl-1/igt@[email protected]
* igt@kms_addfb_basic@addfb25-x-tiled-legacy:
- bat-mtlp-6: NOTRUN -> [SKIP][15] ([i915#4212] / [i915#9792]) +8 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-mtlp-6/igt@[email protected]
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-mtlp-6: NOTRUN -> [SKIP][16] ([i915#5190] / [i915#9792])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-mtlp-6/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-jsl-1: NOTRUN -> [SKIP][17] ([i915#4103]) +1 other test skip
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-jsl-1/igt@[email protected]
* igt@kms_cursor_legacy@basic-flip-after-cursor-legacy:
- bat-mtlp-6: NOTRUN -> [SKIP][18] ([i915#9792]) +17 other tests skip
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-mtlp-6/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- bat-jsl-1: NOTRUN -> [SKIP][19] ([i915#3555] / [i915#9886])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-jsl-1/igt@[email protected]
* igt@kms_flip@basic-flip-vs-dpms:
- bat-mtlp-6: NOTRUN -> [SKIP][20] ([i915#3637] / [i915#9792]) +3 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-mtlp-6/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- bat-jsl-1: NOTRUN -> [SKIP][21] ([fdo#109285])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-jsl-1/igt@[email protected]
- bat-mtlp-6: NOTRUN -> [SKIP][22] ([fdo#109285] / [i915#9792])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-mtlp-6/igt@[email protected]
* igt@kms_force_connector_basic@prune-stale-modes:
- bat-mtlp-6: NOTRUN -> [SKIP][23] ([i915#5274] / [i915#9792])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-mtlp-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- bat-mtlp-6: NOTRUN -> [SKIP][24] ([i915#4342] / [i915#5354] / [i915#9792])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-mtlp-6/igt@[email protected]
* igt@kms_pm_backlight@basic-brightness:
- bat-mtlp-6: NOTRUN -> [SKIP][25] ([i915#5354] / [i915#9792])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-mtlp-6/igt@[email protected]
* igt@kms_pm_backlight@basic-brightness@edp-1:
- bat-rplp-1: NOTRUN -> [ABORT][26] ([i915#8668])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-rplp-1/igt@kms_pm_backlight@[email protected]
* igt@kms_setmode@basic-clone-single-crtc:
- bat-mtlp-6: NOTRUN -> [SKIP][27] ([i915#3555] / [i915#8809] / [i915#9792])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-mtlp-6/igt@[email protected]
- bat-jsl-1: NOTRUN -> [SKIP][28] ([i915#3555])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-jsl-1/igt@[email protected]
* igt@prime_vgem@basic-fence-flip:
- bat-mtlp-6: NOTRUN -> [SKIP][29] ([i915#3708] / [i915#9792])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-mtlp-6/igt@[email protected]
* igt@prime_vgem@basic-fence-mmap:
- bat-mtlp-6: NOTRUN -> [SKIP][30] ([i915#3708] / [i915#4077]) +1 other test skip
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-mtlp-6/igt@[email protected]
* igt@prime_vgem@basic-write:
- bat-mtlp-6: NOTRUN -> [SKIP][31] ([i915#3708]) +2 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-mtlp-6/igt@[email protected]
#### Possible fixes ####
* igt@i915_hangman@error-state-basic:
- bat-mtlp-6: [ABORT][32] ([i915#9414]) -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14030/bat-mtlp-6/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-mtlp-6/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- {bat-rpls-3}: [DMESG-WARN][34] ([i915#5591]) -> [PASS][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14030/bat-rpls-3/igt@i915_selftest@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-rpls-3/igt@i915_selftest@[email protected]
* igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1:
- bat-rplp-1: [ABORT][36] ([i915#8668]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14030/bat-rplp-1/igt@kms_pipe_crc_basic@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/bat-rplp-1/igt@kms_pipe_crc_basic@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4342]: https://gitlab.freedesktop.org/drm/intel/issues/4342
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5591]: https://gitlab.freedesktop.org/drm/intel/issues/5591
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645
[i915#8293]: https://gitlab.freedesktop.org/drm/intel/issues/8293
[i915#8668]: https://gitlab.freedesktop.org/drm/intel/issues/8668
[i915#8809]: https://gitlab.freedesktop.org/drm/intel/issues/8809
[i915#9318]: https://gitlab.freedesktop.org/drm/intel/issues/9318
[i915#9414]: https://gitlab.freedesktop.org/drm/intel/issues/9414
[i915#9673]: https://gitlab.freedesktop.org/drm/intel/issues/9673
[i915#9792]: https://gitlab.freedesktop.org/drm/intel/issues/9792
[i915#9883]: https://gitlab.freedesktop.org/drm/intel/issues/9883
[i915#9886]: https://gitlab.freedesktop.org/drm/intel/issues/9886
Build changes
-------------
* Linux: CI_DRM_14030 -> Patchwork_127721v3
CI-20190529: 20190529
CI_DRM_14030: 0896a36d44111936050697e425e1b903e91a1178 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7643: ced22f8bf4263ff395dc852c86b682e62a7a1c1b @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_127721v3: 0896a36d44111936050697e425e1b903e91a1178 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
dd4cebbb296b drm/i915: Try to relocate the BIOS fb to the start of ggtt 8a5b35fbd625 drm/i915: Tweak BIOS fb reuse checkb737013f5d73 drm/i915/fbdev: Fix smem_start for LMEMBAR stolen objects 7147da82d307 drm/i915: Simplify intel_initial_plane_config() calling convention 96bf84bb9aa5 drm/i915: Split the smem and lmem plane readout apart 246d6c8e07cc drm/i915: s/phys_base/dma_addr/806298af453c drm/i915: Fix MTL initial plane readouta317b95187d5 drm/i915: Fix region start during initial plane readout e85a17ff28c1 drm/i915: Fix PTE decode during initial plane readout 85dc173609ee drm/i915: Rename the DSM/GSM registersc53e1188a5ec drm/i915: Disable the "binder"f67e6e9eb6e9 drm/i915: Bypass LMEMBAR/GTTMMADR for MTL stolen memory access ff0fb5474ac0 drm/i915: Remove ad-hoc lmem/stolen debugs 58acca6ea7f0 drm/i915: Print memory region info during probe f0c63da93715 drm/i915: Use struct resource for memory region IO as well
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v3/index.html
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for drm/i915: (stolen) memory region related fixes (rev5)
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915: (stolen) memory region related fixes (rev5)
URL : https://patchwork.freedesktop.org/series/127721/
State : warning
== Summary ==
Error: dim checkpatch failed7b17768b17bb drm/i915: Use struct resource for memory region IO as well -:387: WARNING:LONG_LINE: line length of 105 exceeds 100 columns #387: FILE: drivers/gpu/drm/i915/intel_region_ttm.c:227:
+ if (WARN_ON(overflows_type(resource_size(&mem->io) >> PAGE_SHIFT, place.lpfn))) {
total: 0 errors, 1 warnings, 0 checks, 281 lines checked71157eb1e1c6 drm/i915: Print memory region info during probeb250bb73e28b drm/i915: Remove ad-hoc lmem/stolen debugs5f3a02a88098 drm/i915: Bypass LMEMBAR/GTTMMADR for MTL stolen memory access c9effba48ecc drm/i915: Disable the "binder"0aebb3e3f6ac drm/i915: Rename the DSM/GSM registers3cd98d29fad2 drm/i915: Fix PTE decode during initial plane readout8d4c2360122c drm/i915: Fix region start during initial plane readout 7204cbe34643 drm/i915: Fix MTL initial plane readout950abaacdd21 drm/i915: s/phys_base/dma_addr/376fcecb5bde drm/i915: Split the smem and lmem plane readout aparta575fbba837a drm/i915: Simplify intel_initial_plane_config() calling convention f0a9ec350dc8 drm/i915/fbdev: Fix smem_start for LMEMBAR stolen objects a417d5d1eff7 drm/i915: Tweak BIOS fb reuse check742d185cb344 drm/i915: Try to relocate the BIOS fb to the start of ggtt
-:104: CHECK:LINE_SPACING: Please use a blank line after function/struct/union/enum declarations #104: FILE: drivers/gpu/drm/i915/display/i9xx_plane.h:51:
}
+static inline bool i9xx_fixup_initial_plane_config(struct intel_crtc *crtc,
-:105: WARNING:LONG_LINE: line length of 105 exceeds 100 columns #105: FILE: drivers/gpu/drm/i915/display/i9xx_plane.h:52:
+ const struct intel_initial_plane_config *plane_config)
total: 0 errors, 1 warnings, 1 checks, 229 lines checked
Patchwork
CI✗ Fi.CI.SPARSE: warning for drm/i915: (stolen) memory region related fixes (rev5)
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915: (stolen) memory region related fixes (rev5)
URL : https://patchwork.freedesktop.org/series/127721/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915: (stolen) memory region related fixes (rev5)
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915: (stolen) memory region related fixes (rev5)
URL : https://patchwork.freedesktop.org/series/127721/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_14116 -> Patchwork_127721v5
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/index.html
Participating hosts (37 -> 36)
------------------------------
Additional (1): bat-adls-6
Missing (2): bat-dg2-9 fi-snb-2520m
Known issues
------------
Here are the changes found in Patchwork_127721v5 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-a-hdmi-a-1:
- bat-rpls-2: [PASS][1] -> [ABORT][2] ([i915#8668])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/bat-rpls-2/igt@kms_pipe_crc_basic@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/bat-rpls-2/igt@kms_pipe_crc_basic@[email protected]
#### Possible fixes ####
* igt@dmabuf@all-tests@sanitycheck:
- fi-skl-6600u: [INCOMPLETE][3] -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/fi-skl-6600u/igt@dmabuf@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/fi-skl-6600u/igt@dmabuf@[email protected]
* igt@gem_tiled_blits@basic:
- fi-pnv-d510: [SKIP][5] ([fdo#109271]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/fi-pnv-d510/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/fi-pnv-d510/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- {bat-rpls-3}: [DMESG-WARN][7] ([i915#5591]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/bat-rpls-3/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/bat-rpls-3/igt@i915_selftest@[email protected]
- {bat-dg2-14}: [ABORT][9] ([i915#9840]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/bat-dg2-14/igt@i915_selftest@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/bat-dg2-14/igt@i915_selftest@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5591]: https://gitlab.freedesktop.org/drm/intel/issues/5591
[i915#8668]: https://gitlab.freedesktop.org/drm/intel/issues/8668
[i915#9318]: https://gitlab.freedesktop.org/drm/intel/issues/9318
[i915#9732]: https://gitlab.freedesktop.org/drm/intel/issues/9732
[i915#9840]: https://gitlab.freedesktop.org/drm/intel/issues/9840
Build changes
-------------
* Linux: CI_DRM_14116 -> Patchwork_127721v5
CI-20190529: 20190529
CI_DRM_14116: 3b92a66f4bc89f4fa6e9e9369ac8243e23670030 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7670: 1b32bcdb2d9965090234739aba891a90743e01c4 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_127721v5: 3b92a66f4bc89f4fa6e9e9369ac8243e23670030 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
b44e3bd253b7 drm/i915: Try to relocate the BIOS fb to the start of ggtt 63e83ce02b17 drm/i915: Tweak BIOS fb reuse check5486c763e82a drm/i915/fbdev: Fix smem_start for LMEMBAR stolen objects 8fa90e75e9e9 drm/i915: Simplify intel_initial_plane_config() calling convention f134e8fe51bc drm/i915: Split the smem and lmem plane readout apart 6a873b3b0e44 drm/i915: s/phys_base/dma_addr/e49d77f51bba drm/i915: Fix MTL initial plane readouta629e227ead7 drm/i915: Fix region start during initial plane readout fd8d35c7c33b drm/i915: Fix PTE decode during initial plane readout 14526faaec91 drm/i915: Rename the DSM/GSM registersee6e84bd5f90 drm/i915: Disable the "binder"0a0fc6d273ec drm/i915: Bypass LMEMBAR/GTTMMADR for MTL stolen memory access 300e51e5f4c5 drm/i915: Remove ad-hoc lmem/stolen debugs 823dcb4b409e drm/i915: Print memory region info during probe 192e895f5c33 drm/i915: Use struct resource for memory region IO as well
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/index.html
Patchwork
CI✓ Fi.CI.IGT: success for drm/i915: (stolen) memory region related fixes (rev5)
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915: (stolen) memory region related fixes (rev5)
URL : https://patchwork.freedesktop.org/series/127721/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_14116_full -> Patchwork_127721v5_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (9 -> 9)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in Patchwork_127721v5_full that come from known issues:
### CI changes ###
#### Possible fixes ####
* boot:
- shard-rkl: ([PASS][1], [PASS][2], [PASS][3], [PASS][4], [PASS][5], [FAIL][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]) ([i915#8293]) -> ([PASS][24], [PASS][25], [PASS][26], [PASS][27], [PASS][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])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-7/boot.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-7/boot.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-7/boot.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-7/boot.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-7/boot.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-6/boot.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-6/boot.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-5/boot.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-5/boot.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-5/boot.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-5/boot.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-4/boot.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-4/boot.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-4/boot.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-4/boot.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-3/boot.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-3/boot.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-2/boot.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-1/boot.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-1/boot.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-1/boot.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-1/boot.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-1/boot.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/boot.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/boot.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/boot.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/boot.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/boot.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/boot.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/boot.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/boot.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/boot.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/boot.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-4/boot.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-4/boot.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-4/boot.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-4/boot.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-4/boot.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-3/boot.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-3/boot.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-2/boot.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-2/boot.html
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-1/boot.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-1/boot.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-1/boot.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-1/boot.html
### IGT changes ###
#### Issues hit ####
* igt@api_intel_bb@blit-reloc-purge-cache:
- shard-dg2: NOTRUN -> [SKIP][47] ([i915#8411])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@api_intel_bb@crc32:
- shard-tglu: NOTRUN -> [SKIP][48] ([i915#6230])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@[email protected]
* igt@api_intel_bb@render-ccs:
- shard-dg2: NOTRUN -> [FAIL][49] ([i915#6122])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@[email protected]
* igt@drm_fdinfo@most-busy-check-all@bcs0:
- shard-dg2: NOTRUN -> [SKIP][50] ([i915#8414]) +20 other tests skip
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@drm_fdinfo@[email protected]
* igt@gem_close_race@multigpu-basic-process:
- shard-dg2: NOTRUN -> [SKIP][51] ([i915#7697])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@gem_ctx_freq@sysfs@gt0:
- shard-dg2: [PASS][52] -> [FAIL][53] ([i915#9561])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-dg2-6/igt@gem_ctx_freq@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@gem_ctx_freq@[email protected]
* igt@gem_ctx_persistence@heartbeat-many:
- shard-dg2: NOTRUN -> [SKIP][54] ([i915#8555])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@[email protected]
* igt@gem_ctx_sseu@engines:
- shard-rkl: NOTRUN -> [SKIP][55] ([i915#280])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@[email protected]
* igt@gem_ctx_sseu@invalid-sseu:
- shard-dg2: NOTRUN -> [SKIP][56] ([i915#280]) +1 other test skip
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-1/igt@[email protected]
- shard-tglu: NOTRUN -> [SKIP][57] ([i915#280])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@[email protected]
* igt@gem_eio@hibernate:
- shard-tglu: [PASS][58] -> [ABORT][59] ([i915#10030] / [i915#7975] / [i915#8213] / [i915#8398])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-tglu-3/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-10/igt@[email protected]
* igt@gem_exec_balancer@bonded-sync:
- shard-dg2: NOTRUN -> [SKIP][60] ([i915#4771])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@[email protected]
* igt@gem_exec_balancer@parallel-keep-in-fence:
- shard-rkl: NOTRUN -> [SKIP][61] ([i915#4525])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/igt@[email protected]
* igt@gem_exec_balancer@sliced:
- shard-dg2: NOTRUN -> [SKIP][62] ([i915#4812])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@gem_exec_capture@many-4k-zero:
- shard-dg2: NOTRUN -> [FAIL][63] ([i915#9606])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@gem_exec_fair@basic-none-rrul@rcs0:
- shard-glk: NOTRUN -> [FAIL][64] ([i915#2842]) +1 other test fail
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-glk8/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-glk: [PASS][65] -> [FAIL][66] ([i915#2842])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-glk8/igt@gem_exec_fair@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-glk1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-throttle:
- shard-dg2: NOTRUN -> [SKIP][67] ([i915#3539])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@gem_exec_flush@basic-uc-ro-default:
- shard-dg2: NOTRUN -> [SKIP][68] ([i915#3539] / [i915#4852]) +3 other tests skip
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@gem_exec_params@rsvd2-dirt:
- shard-dg2: NOTRUN -> [SKIP][69] ([fdo#109283] / [i915#5107])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@[email protected]
* igt@gem_exec_params@secure-non-master:
- shard-dg2: NOTRUN -> [SKIP][70] ([fdo#112283])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@[email protected]
* igt@gem_exec_reloc@basic-gtt-cpu-active:
- shard-dg2: NOTRUN -> [SKIP][71] ([i915#3281]) +13 other tests skip
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
- shard-rkl: NOTRUN -> [SKIP][72] ([i915#3281]) +5 other tests skip
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@[email protected]
* igt@gem_exec_reloc@basic-write-gtt-active:
- shard-dg1: NOTRUN -> [SKIP][73] ([i915#3281]) +1 other test skip
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-18/igt@[email protected]
* igt@gem_exec_schedule@preempt-queue-chain:
- shard-dg2: NOTRUN -> [SKIP][74] ([i915#4537] / [i915#4812]) +1 other test skip
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-1/igt@[email protected]
* igt@gem_exec_suspend@basic-s0@lmem0:
- shard-dg2: [PASS][75] -> [INCOMPLETE][76] ([i915#9275])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-dg2-7/igt@gem_exec_suspend@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-2/igt@gem_exec_suspend@[email protected]
* igt@gem_fence_thrash@bo-write-verify-y:
- shard-dg2: NOTRUN -> [SKIP][77] ([i915#4860]) +2 other tests skip
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- shard-rkl: NOTRUN -> [SKIP][78] ([i915#2190])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@[email protected]
* igt@gem_lmem_swapping@heavy-verify-multi-ccs:
- shard-glk: NOTRUN -> [SKIP][79] ([fdo#109271] / [i915#4613]) +2 other tests skip
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-glk9/igt@[email protected]
* igt@gem_lmem_swapping@verify-random-ccs:
- shard-rkl: NOTRUN -> [SKIP][80] ([i915#4613])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@[email protected]
* igt@gem_media_vme:
- shard-rkl: NOTRUN -> [SKIP][81] ([i915#284])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/igt@gem_media_vme.html
* igt@gem_mmap_gtt@basic-small-bo:
- shard-dg2: NOTRUN -> [SKIP][82] ([i915#4077]) +22 other tests skip
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@gem_mmap_wc@copy:
- shard-dg2: NOTRUN -> [SKIP][83] ([i915#4083]) +4 other tests skip
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@gem_mmap_wc@pf-nonblock:
- shard-dg1: NOTRUN -> [SKIP][84] ([i915#4083])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-18/igt@[email protected]
* igt@gem_partial_pwrite_pread@reads-display:
- shard-dg1: NOTRUN -> [SKIP][85] ([i915#3282])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-17/igt@[email protected]
* igt@gem_partial_pwrite_pread@writes-after-reads-display:
- shard-dg2: NOTRUN -> [SKIP][86] ([i915#3282]) +6 other tests skip
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@gem_partial_pwrite_pread@writes-after-reads-uncached:
- shard-rkl: NOTRUN -> [SKIP][87] ([i915#3282]) +4 other tests skip
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/igt@[email protected]
* igt@gem_pxp@protected-encrypted-src-copy-not-readible:
- shard-rkl: NOTRUN -> [SKIP][88] ([i915#4270]) +2 other tests skip
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/igt@[email protected]
* igt@gem_pxp@regular-baseline-src-copy-readible:
- shard-dg2: NOTRUN -> [SKIP][89] ([i915#4270]) +3 other tests skip
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@gem_set_tiling_vs_pwrite:
- shard-dg2: NOTRUN -> [SKIP][90] ([i915#4079])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@gem_set_tiling_vs_pwrite.html
* igt@gem_softpin@evict-snoop-interruptible:
- shard-dg2: NOTRUN -> [SKIP][91] ([i915#4885]) +1 other test skip
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
- shard-rkl: NOTRUN -> [SKIP][92] ([fdo#109312])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@[email protected]
* igt@gem_tiled_partial_pwrite_pread@writes-after-reads:
- shard-dg1: NOTRUN -> [SKIP][93] ([i915#4077])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-17/igt@[email protected]
* igt@gem_userptr_blits@readonly-pwrite-unsync:
- shard-dg2: NOTRUN -> [SKIP][94] ([i915#3297]) +2 other tests skip
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@gem_userptr_blits@sd-probe:
- shard-dg1: NOTRUN -> [SKIP][95] ([i915#3297] / [i915#4958])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-17/igt@[email protected]
* igt@gen7_exec_parse@bitmasks:
- shard-dg2: NOTRUN -> [SKIP][96] ([fdo#109289]) +3 other tests skip
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@gen9_exec_parse@batch-invalid-length:
- shard-rkl: NOTRUN -> [SKIP][97] ([i915#2527])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/igt@[email protected]
* igt@gen9_exec_parse@bb-start-param:
- shard-dg2: NOTRUN -> [SKIP][98] ([i915#2856]) +3 other tests skip
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@[email protected]
* igt@i915_module_load@reload-with-fault-injection:
- shard-snb: [PASS][99] -> [INCOMPLETE][100] ([i915#9200] / [i915#9849])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-snb2/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-snb2/igt@[email protected]
* igt@i915_module_load@resize-bar:
- shard-rkl: NOTRUN -> [SKIP][101] ([i915#6412])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/igt@[email protected]
* igt@i915_pipe_stress@stress-xrgb8888-ytiled:
- shard-dg2: NOTRUN -> [SKIP][102] ([i915#7091])
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@i915_pm_rc6_residency@media-rc6-accuracy:
- shard-rkl: NOTRUN -> [SKIP][103] ([fdo#109289]) +2 other tests skip
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/igt@[email protected]
* igt@i915_pm_rps@min-max-config-loaded:
- shard-dg2: NOTRUN -> [SKIP][104] ([i915#6621])
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@i915_pm_rps@thresholds-park@gt0:
- shard-dg2: NOTRUN -> [SKIP][105] ([i915#8925])
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-1/igt@i915_pm_rps@[email protected]
* igt@i915_pm_sseu@full-enable:
- shard-dg2: NOTRUN -> [SKIP][106] ([i915#4387])
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@i915_query@hwconfig_table:
- shard-rkl: NOTRUN -> [SKIP][107] ([i915#6245])
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/igt@i915_query@hwconfig_table.html
* igt@i915_query@query-topology-coherent-slice-mask:
- shard-dg2: NOTRUN -> [SKIP][108] ([i915#6188])
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@i915_selftest@mock@memory_region:
- shard-dg2: NOTRUN -> [DMESG-WARN][109] ([i915#9311])
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@i915_selftest@mock@memory_region.html
* igt@kms_async_flips@async-flip-with-page-flip-events@pipe-d-hdmi-a-3-4-mc-ccs:
- shard-dg2: NOTRUN -> [SKIP][110] ([i915#8709]) +11 other tests skip
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@kms_async_flips@[email protected]
* igt@kms_async_flips@crc@pipe-b-hdmi-a-2:
- shard-dg2: NOTRUN -> [FAIL][111] ([i915#8247]) +3 other tests fail
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-2/igt@kms_async_flips@[email protected]
* igt@kms_async_flips@crc@pipe-b-hdmi-a-3:
- shard-dg1: NOTRUN -> [FAIL][112] ([i915#8247]) +3 other tests fail
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-12/igt@kms_async_flips@[email protected]
* igt@kms_async_flips@invalid-async-flip:
- shard-dg2: NOTRUN -> [SKIP][113] ([i915#6228])
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels:
- shard-tglu: NOTRUN -> [SKIP][114] ([i915#1769] / [i915#3555])
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels.html
- shard-dg2: NOTRUN -> [SKIP][115] ([i915#1769] / [i915#3555])
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-1/igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels.html
* igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels:
- shard-glk: NOTRUN -> [SKIP][116] ([fdo#109271] / [i915#1769])
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-glk8/igt@kms_atomic_transition@plane-all-modeset-transition-internal-panels.html
* igt@kms_big_fb@4-tiled-8bpp-rotate-0:
- shard-rkl: NOTRUN -> [SKIP][117] ([i915#5286]) +3 other tests skip
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/igt@[email protected]
* igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-async-flip:
- shard-dg1: NOTRUN -> [SKIP][118] ([i915#4538] / [i915#5286])
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-18/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-180-async-flip.html
* igt@kms_big_fb@linear-8bpp-rotate-270:
- shard-rkl: NOTRUN -> [SKIP][119] ([fdo#111614] / [i915#3638])
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/igt@[email protected]
* igt@kms_big_fb@x-tiled-16bpp-rotate-90:
- shard-dg2: NOTRUN -> [SKIP][120] ([fdo#111614]) +3 other tests skip
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip:
- shard-tglu: [PASS][121] -> [FAIL][122] ([i915#3743])
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-tglu-6/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-8/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-async-flip:
- shard-dg2: NOTRUN -> [SKIP][123] ([i915#5190]) +17 other tests skip
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-1/igt@[email protected]
* igt@kms_big_fb@yf-tiled-32bpp-rotate-270:
- shard-rkl: NOTRUN -> [SKIP][124] ([fdo#110723]) +2 other tests skip
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/igt@[email protected]
* igt@kms_big_fb@yf-tiled-64bpp-rotate-0:
- shard-dg2: NOTRUN -> [SKIP][125] ([i915#4538] / [i915#5190]) +7 other tests skip
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180:
- shard-tglu: NOTRUN -> [SKIP][126] ([fdo#111615]) +1 other test skip
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip:
- shard-dg1: NOTRUN -> [SKIP][127] ([i915#4538])
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-18/igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip.html
* igt@kms_ccs@pipe-a-crc-primary-rotation-180-yf-tiled-ccs:
- shard-rkl: NOTRUN -> [SKIP][128] ([i915#5354] / [i915#6095]) +9 other tests skip
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@[email protected]
* igt@kms_ccs@pipe-c-missing-ccs-buffer-y-tiled-gen12-mc-ccs:
- shard-tglu: NOTRUN -> [SKIP][129] ([i915#5354] / [i915#6095]) +9 other tests skip
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@[email protected]
* igt@kms_ccs@pipe-d-bad-rotation-90-4-tiled-mtl-rc-ccs:
- shard-dg1: NOTRUN -> [SKIP][130] ([i915#5354] / [i915#6095]) +4 other tests skip
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-17/igt@[email protected]
* igt@kms_ccs@pipe-d-ccs-on-another-bo-4-tiled-mtl-mc-ccs:
- shard-rkl: NOTRUN -> [SKIP][131] ([i915#5354]) +12 other tests skip
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@[email protected]
* igt@kms_ccs@pipe-d-crc-sprite-planes-basic-4-tiled-mtl-rc-ccs-cc:
- shard-dg2: NOTRUN -> [SKIP][132] ([i915#5354]) +101 other tests skip
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@kms_ccs@pipe-d-crc-sprite-planes-basic-4-tiled-mtl-rc-ccs-cc.html
* igt@kms_chamelium_color@ctm-0-25:
- shard-rkl: NOTRUN -> [SKIP][133] ([fdo#111827])
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@[email protected]
* igt@kms_chamelium_color@ctm-limited-range:
- shard-tglu: NOTRUN -> [SKIP][134] ([fdo#111827])
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@[email protected]
* igt@kms_chamelium_color@degamma:
- shard-dg2: NOTRUN -> [SKIP][135] ([fdo#111827]) +3 other tests skip
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@kms_chamelium_frames@hdmi-cmp-planar-formats:
- shard-rkl: NOTRUN -> [SKIP][136] ([i915#7828]) +5 other tests skip
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/igt@[email protected]
* igt@kms_chamelium_frames@hdmi-crc-fast:
- shard-dg2: NOTRUN -> [SKIP][137] ([i915#7828]) +10 other tests skip
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-1/igt@[email protected]
* igt@kms_chamelium_hpd@hdmi-hpd-storm:
- shard-tglu: NOTRUN -> [SKIP][138] ([i915#7828]) +1 other test skip
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@[email protected]
* igt@kms_content_protection@dp-mst-lic-type-0:
- shard-dg2: NOTRUN -> [SKIP][139] ([i915#3299]) +1 other test skip
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@kms_content_protection@dp-mst-type-0:
- shard-tglu: NOTRUN -> [SKIP][140] ([i915#3116] / [i915#3299])
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@[email protected]
* igt@kms_content_protection@lic:
- shard-dg2: NOTRUN -> [SKIP][141] ([i915#7118])
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
- shard-rkl: NOTRUN -> [SKIP][142] ([i915#7118])
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@[email protected]
* igt@kms_cursor_crc@cursor-rapid-movement-max-size:
- shard-dg2: NOTRUN -> [SKIP][143] ([i915#3555]) +6 other tests skip
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@kms_cursor_crc@cursor-sliding-512x512:
- shard-dg2: NOTRUN -> [SKIP][144] ([i915#3359])
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@kms_cursor_legacy@cursora-vs-flipb-toggle:
- shard-dg2: NOTRUN -> [SKIP][145] ([fdo#109274] / [i915#5354]) +8 other tests skip
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-1/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipa-legacy:
- shard-tglu: NOTRUN -> [SKIP][146] ([fdo#109274]) +1 other test skip
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions:
- shard-dg1: NOTRUN -> [SKIP][147] ([fdo#111767] / [fdo#111825])
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-18/igt@[email protected]
* igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size:
- shard-dg2: NOTRUN -> [SKIP][148] ([i915#4103] / [i915#4213]) +1 other test skip
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@kms_cursor_legacy@short-busy-flip-before-cursor-atomic-transitions-varying-size.html
* igt@kms_dirtyfb@fbc-dirtyfb-ioctl@a-hdmi-a-3:
- shard-dg2: NOTRUN -> [SKIP][149] ([i915#9227])
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-7/igt@kms_dirtyfb@[email protected]
* igt@kms_dirtyfb@fbc-dirtyfb-ioctl@a-hdmi-a-4:
- shard-dg1: NOTRUN -> [SKIP][150] ([i915#9723])
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-15/igt@kms_dirtyfb@[email protected]
* igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-1:
- shard-rkl: NOTRUN -> [SKIP][151] ([i915#3804])
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@kms_dither@[email protected]
* igt@kms_dp_aux_dev:
- shard-dg2: NOTRUN -> [SKIP][152] ([i915#1257])
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@kms_dp_aux_dev.html
* igt@kms_dsc@dsc-with-output-formats-with-bpc:
- shard-dg2: NOTRUN -> [SKIP][153] ([i915#3840] / [i915#9053])
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@[email protected]
* igt@kms_feature_discovery@display-4x:
- shard-rkl: NOTRUN -> [SKIP][154] ([i915#1839])
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@[email protected]
- shard-dg2: NOTRUN -> [SKIP][155] ([i915#1839])
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@kms_feature_discovery@dp-mst:
- shard-dg2: NOTRUN -> [SKIP][156] ([i915#9337])
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@kms_flip@2x-absolute-wf_vblank:
- shard-dg2: NOTRUN -> [SKIP][157] ([fdo#109274]) +8 other tests skip
[157]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@kms_flip@2x-absolute-wf_vblank.html
* igt@kms_flip@2x-absolute-wf_vblank-interruptible:
- shard-dg1: NOTRUN -> [SKIP][158] ([fdo#111825] / [i915#9934]) +1 other test skip
[158]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-17/igt@kms_flip@2x-absolute-wf_vblank-interruptible.html
* igt@kms_flip@2x-flip-vs-fences:
- shard-dg2: NOTRUN -> [SKIP][159] ([i915#8381])
[159]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@[email protected]
* igt@kms_flip@2x-flip-vs-rmfb-interruptible:
- shard-dg2: NOTRUN -> [SKIP][160] ([fdo#109274] / [fdo#111767])
[160]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@kms_flip@2x-flip-vs-wf_vblank-interruptible:
- shard-tglu: NOTRUN -> [SKIP][161] ([fdo#109274] / [i915#3637]) +1 other test skip
[161]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@kms_flip@2x-flip-vs-wf_vblank-interruptible.html
* igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling@pipe-a-valid-mode:
- shard-tglu: NOTRUN -> [SKIP][162] ([i915#2587] / [i915#2672]) +1 other test skip
[162]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling@pipe-a-valid-mode.html
* igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-downscaling@pipe-a-valid-mode:
- shard-dg1: NOTRUN -> [SKIP][163] ([i915#2587] / [i915#2672])
[163]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-17/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-downscaling@pipe-a-valid-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling@pipe-a-valid-mode:
- shard-rkl: NOTRUN -> [SKIP][164] ([i915#2672]) +1 other test skip
[164]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-16bpp-yftile-downscaling@pipe-a-valid-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-upscaling@pipe-a-valid-mode:
- shard-dg2: NOTRUN -> [SKIP][165] ([i915#2672]) +4 other tests skip
[165]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-1/igt@kms_flip_scaled_crc@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-onoff:
- shard-dg2: NOTRUN -> [FAIL][166] ([i915#6880])
[166]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-indfb-fliptrack-mmap-gtt:
- shard-dg1: NOTRUN -> [SKIP][167] ([i915#8708])
[167]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-17/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-blt:
- shard-snb: [PASS][168] -> [SKIP][169] ([fdo#109271])
[168]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-snb7/igt@[email protected]
[169]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-snb6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-mmap-gtt:
- shard-rkl: NOTRUN -> [SKIP][170] ([i915#3023]) +11 other tests skip
[170]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-mmap-gtt.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-pwrite:
- shard-dg1: NOTRUN -> [SKIP][171] ([fdo#111825]) +5 other tests skip
[171]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-17/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-pwrite.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-mmap-cpu:
- shard-rkl: NOTRUN -> [SKIP][172] ([fdo#111825] / [i915#1825]) +19 other tests skip
[172]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-cur-indfb-draw-mmap-cpu.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-shrfb-fliptrack-mmap-gtt:
- shard-rkl: NOTRUN -> [SKIP][173] ([fdo#111825]) +2 other tests skip
[173]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-tiling-y:
- shard-dg2: NOTRUN -> [SKIP][174] ([i915#10055]) +1 other test skip
[174]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-render:
- shard-tglu: NOTRUN -> [SKIP][175] ([fdo#110189]) +2 other tests skip
[175]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-render.html
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-blt:
- shard-dg1: NOTRUN -> [SKIP][176] ([i915#3458])
[176]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-18/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-onoff:
- shard-dg2: NOTRUN -> [SKIP][177] ([i915#3458]) +19 other tests skip
[177]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-cur-indfb-draw-mmap-gtt:
- shard-dg2: NOTRUN -> [SKIP][178] ([i915#8708]) +23 other tests skip
[178]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@kms_frontbuffer_tracking@psr-2p-primscrn-cur-indfb-draw-mmap-gtt.html
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-pri-shrfb-draw-blt:
- shard-tglu: NOTRUN -> [SKIP][179] ([fdo#109280]) +2 other tests skip
[179]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@[email protected]
* igt@kms_hdr@static-swap:
- shard-rkl: NOTRUN -> [SKIP][180] ([i915#3555] / [i915#8228])
[180]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/igt@[email protected]
* igt@kms_hdr@static-toggle:
- shard-dg2: NOTRUN -> [SKIP][181] ([i915#3555] / [i915#8228]) +1 other test skip
[181]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@kms_panel_fitting@legacy:
- shard-rkl: NOTRUN -> [SKIP][182] ([i915#6301])
[182]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/igt@[email protected]
* igt@kms_plane_alpha_blend@alpha-transparent-fb@pipe-a-hdmi-a-1:
- shard-glk: NOTRUN -> [FAIL][183] ([i915#4573]) +1 other test fail
[183]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-glk9/igt@kms_plane_alpha_blend@[email protected]
* igt@kms_plane_multiple@tiling-yf:
- shard-rkl: NOTRUN -> [SKIP][184] ([i915#3555]) +4 other tests skip
[184]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@[email protected]
- shard-dg2: NOTRUN -> [SKIP][185] ([i915#3555] / [i915#8806])
[185]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-3:
- shard-dg1: NOTRUN -> [FAIL][186] ([i915#8292])
[186]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-12/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@plane-downscale-factor-0-25-with-pixel-format@pipe-b-hdmi-a-4:
- shard-dg1: NOTRUN -> [SKIP][187] ([i915#9423]) +19 other tests skip
[187]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-19/igt@kms_plane_scaling@plane-downscale-factor-0-25-with-pixel-format@pipe-b-hdmi-a-4.html
* igt@kms_plane_scaling@plane-downscale-factor-0-25-with-pixel-format@pipe-c-hdmi-a-1:
- shard-dg2: NOTRUN -> [SKIP][188] ([i915#9423]) +7 other tests skip
[188]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-10/igt@kms_plane_scaling@plane-downscale-factor-0-25-with-pixel-format@pipe-c-hdmi-a-1.html
* igt@kms_plane_scaling@plane-downscale-factor-0-75-with-rotation@pipe-a-hdmi-a-2:
- shard-rkl: NOTRUN -> [SKIP][189] ([i915#9423]) +7 other tests skip
[189]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-1/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-c-hdmi-a-4:
- shard-dg1: NOTRUN -> [SKIP][190] ([i915#5176] / [i915#9423]) +3 other tests skip
[190]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-16/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-rotation@pipe-c-hdmi-a-4.html
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25@pipe-b-hdmi-a-2:
- shard-rkl: NOTRUN -> [SKIP][191] ([i915#5235]) +9 other tests skip
[191]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-1/igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25@pipe-b-hdmi-a-2.html
* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-a-hdmi-a-1:
- shard-glk: NOTRUN -> [SKIP][192] ([fdo#109271]) +190 other tests skip
[192]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-glk8/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-a-hdmi-a-1.html
* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-a-hdmi-a-3:
- shard-dg2: NOTRUN -> [SKIP][193] ([i915#5235] / [i915#9423]) +15 other tests skip
[193]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-a-hdmi-a-3.html
* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-d-hdmi-a-4:
- shard-dg1: NOTRUN -> [SKIP][194] ([i915#5235]) +11 other tests skip
[194]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-17/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-d-hdmi-a-4.html
* igt@kms_pm_dc@dc3co-vpb-simulation:
- shard-rkl: NOTRUN -> [SKIP][195] ([i915#9685])
[195]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-7/igt@[email protected]
* igt@kms_pm_dc@dc6-dpms:
- shard-tglu: [PASS][196] -> [FAIL][197] ([i915#9295])
[196]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-tglu-2/igt@[email protected]
[197]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-3/igt@[email protected]
* igt@kms_pm_dc@dc6-psr:
- shard-dg2: NOTRUN -> [SKIP][198] ([i915#9685])
[198]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@[email protected]
* igt@kms_pm_lpsp@kms-lpsp:
- shard-dg2: NOTRUN -> [SKIP][199] ([i915#9340])
[199]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@kms_pm_rpm@modeset-lpsp:
- shard-dg2: NOTRUN -> [SKIP][200] ([i915#9519])
[200]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@[email protected]
- shard-rkl: [PASS][201] -> [SKIP][202] ([i915#9519])
[201]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-4/igt@[email protected]
[202]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-1/igt@[email protected]
* igt@kms_pm_rpm@modeset-pc8-residency-stress:
- shard-dg2: NOTRUN -> [SKIP][203] ([fdo#109293] / [fdo#109506]) +1 other test skip
[203]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-1/igt@[email protected]
- shard-tglu: NOTRUN -> [SKIP][204] ([fdo#109293] / [fdo#109506])
[204]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@[email protected]
* igt@kms_prime@basic-crc-vgem:
- shard-dg2: NOTRUN -> [SKIP][205] ([i915#6524] / [i915#6805]) +2 other tests skip
[205]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-continuous-sf:
- shard-tglu: NOTRUN -> [SKIP][206] ([fdo#111068] / [i915#9683])
[206]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@[email protected]
* igt@kms_psr2_su@page_flip-p010:
- shard-dg2: NOTRUN -> [SKIP][207] ([i915#9683]) +4 other tests skip
[207]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@kms_psr2_su@page_flip-p010.html
* igt@kms_rotation_crc@primary-rotation-270:
- shard-dg2: NOTRUN -> [SKIP][208] ([i915#4235])
[208]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-1/igt@[email protected]
* igt@kms_rotation_crc@primary-y-tiled-reflect-x-270:
- shard-dg2: NOTRUN -> [SKIP][209] ([i915#4235] / [i915#5190])
[209]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0:
- shard-tglu: NOTRUN -> [SKIP][210] ([fdo#111615] / [i915#5289])
[210]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@[email protected]
* igt@kms_writeback@writeback-fb-id:
- shard-glk: NOTRUN -> [SKIP][211] ([fdo#109271] / [i915#2437]) +1 other test skip
[211]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-glk9/igt@[email protected]
* igt@kms_writeback@writeback-fb-id-xrgb2101010:
- shard-dg2: NOTRUN -> [SKIP][212] ([i915#2437] / [i915#9412])
[212]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@[email protected]
* igt@kms_writeback@writeback-invalid-parameters:
- shard-dg2: NOTRUN -> [SKIP][213] ([i915#2437])
[213]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@[email protected]
- shard-rkl: NOTRUN -> [SKIP][214] ([i915#2437])
[214]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@[email protected]
* igt@perf@unprivileged-single-ctx-counters:
- shard-tglu: NOTRUN -> [SKIP][215] ([fdo#109289])
[215]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@[email protected]
* igt@perf_pmu@busy-double-start@vecs1:
- shard-dg2: NOTRUN -> [FAIL][216] ([i915#4349]) +3 other tests fail
[216]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@perf_pmu@[email protected]
* igt@prime_vgem@fence-read-hang:
- shard-dg2: NOTRUN -> [SKIP][217] ([i915#3708]) +1 other test skip
[217]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@[email protected]
* igt@prime_vgem@fence-write-hang:
- shard-rkl: NOTRUN -> [SKIP][218] ([fdo#109295] / [i915#3708])
[218]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@[email protected]
* igt@runner@aborted:
- shard-mtlp: NOTRUN -> ([FAIL][219], [FAIL][220], [FAIL][221], [FAIL][222], [FAIL][223], [FAIL][224], [FAIL][225], [FAIL][226], [FAIL][227], [FAIL][228], [FAIL][229], [FAIL][230], [FAIL][231], [FAIL][232], [FAIL][233], [FAIL][234], [FAIL][235], [FAIL][236], [FAIL][237], [FAIL][238], [FAIL][239], [FAIL][240]) ([i915#7812])
[219]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-5/igt@[email protected]
[220]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-6/igt@[email protected]
[221]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-7/igt@[email protected]
[222]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-7/igt@[email protected]
[223]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-8/igt@[email protected]
[224]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-7/igt@[email protected]
[225]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-2/igt@[email protected]
[226]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-2/igt@[email protected]
[227]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-6/igt@[email protected]
[228]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-8/igt@[email protected]
[229]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-2/igt@[email protected]
[230]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-8/igt@[email protected]
[231]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-7/igt@[email protected]
[232]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-7/igt@[email protected]
[233]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-5/igt@[email protected]
[234]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-2/igt@[email protected]
[235]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-6/igt@[email protected]
[236]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-4/igt@[email protected]
[237]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-6/igt@[email protected]
[238]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-8/igt@[email protected]
[239]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-5/igt@[email protected]
[240]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-mtlp-5/igt@[email protected]
* igt@sriov_basic@enable-vfs-autoprobe-on:
- shard-dg2: NOTRUN -> [SKIP][241] ([i915#9917]) +1 other test skip
[241]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-6/igt@[email protected]
* igt@syncobj_timeline@invalid-wait-zero-handles:
- shard-dg2: NOTRUN -> [FAIL][242] ([i915#9781])
[242]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-1/igt@[email protected]
- shard-tglu: NOTRUN -> [FAIL][243] ([i915#9781])
[243]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@[email protected]
* igt@tools_test@sysfs_l3_parity:
- shard-dg2: NOTRUN -> [SKIP][244] ([i915#4818])
[244]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@tools_test@sysfs_l3_parity.html
* igt@v3d/v3d_perfmon@get-values-invalid-pad:
- shard-tglu: NOTRUN -> [SKIP][245] ([fdo#109315] / [i915#2575]) +2 other tests skip
[245]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@v3d/[email protected]
* igt@v3d/v3d_submit_cl@job-perfmon:
- shard-dg1: NOTRUN -> [SKIP][246] ([i915#2575]) +2 other tests skip
[246]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-18/igt@v3d/[email protected]
* igt@v3d/v3d_submit_cl@multisync-out-syncs:
- shard-dg2: NOTRUN -> [SKIP][247] ([i915#2575]) +13 other tests skip
[247]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@v3d/[email protected]
* igt@v3d/v3d_submit_csd@bad-multisync-pad:
- shard-rkl: NOTRUN -> [SKIP][248] ([fdo#109315]) +5 other tests skip
[248]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@v3d/[email protected]
* igt@vc4/vc4_create_bo@create-bo-zeroed:
- shard-rkl: NOTRUN -> [SKIP][249] ([i915#7711]) +2 other tests skip
[249]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@vc4/[email protected]
* igt@vc4/vc4_wait_bo@bad-bo:
- shard-dg2: NOTRUN -> [SKIP][250] ([i915#7711]) +10 other tests skip
[250]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-5/igt@vc4/[email protected]
#### Possible fixes ####
* igt@drm_fdinfo@idle@rcs0:
- shard-rkl: [FAIL][251] ([i915#7742]) -> [PASS][252]
[251]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-1/igt@drm_fdinfo@[email protected]
[252]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@drm_fdinfo@[email protected]
* igt@gem_ctx_isolation@preservation-s3@vcs1:
- shard-dg1: [DMESG-WARN][253] ([i915#4391] / [i915#4423]) -> [PASS][254]
[253]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-dg1-13/igt@gem_ctx_isolation@[email protected]
[254]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-13/igt@gem_ctx_isolation@[email protected]
* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-rkl: [FAIL][255] ([i915#2842]) -> [PASS][256]
[255]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-3/igt@gem_exec_fair@[email protected]
[256]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-4/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@rcs0:
- shard-tglu: [FAIL][257] ([i915#2842]) -> [PASS][258]
[257]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-tglu-8/igt@gem_exec_fair@[email protected]
[258]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-6/igt@gem_exec_fair@[email protected]
* igt@i915_module_load@reload-with-fault-injection:
- shard-tglu: [INCOMPLETE][259] ([i915#9200]) -> [PASS][260]
[259]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-tglu-9/igt@[email protected]
[260]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-tglu-5/igt@[email protected]
- shard-dg2: [ABORT][261] ([i915#9820]) -> [PASS][262]
[261]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-dg2-7/igt@[email protected]
[262]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-1/igt@[email protected]
* igt@i915_pm_rc6_residency@rc6-idle@gt0-vcs0:
- shard-dg1: [FAIL][263] ([i915#3591]) -> [PASS][264] +1 other test pass
[263]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-dg1-16/igt@i915_pm_rc6_residency@[email protected]
[264]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-16/igt@i915_pm_rc6_residency@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu:
- shard-dg2: [FAIL][265] ([i915#6880]) -> [PASS][266]
[265]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-dg2-5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu.html
[266]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-render:
- shard-snb: [SKIP][267] ([fdo#109271]) -> [PASS][268] +2 other tests pass
[267]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-snb5/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-render.html
[268]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-snb7/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-render.html
* igt@kms_pm_rpm@modeset-lpsp-stress:
- shard-rkl: [SKIP][269] ([i915#9519]) -> [PASS][270] +2 other tests pass
[269]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-1/igt@[email protected]
[270]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@[email protected]
* igt@kms_pm_rpm@modeset-non-lpsp-stress:
- shard-dg2: [SKIP][271] ([i915#9519]) -> [PASS][272] +3 other tests pass
[271]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-dg2-10/igt@[email protected]
[272]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg2-7/igt@[email protected]
#### Warnings ####
* igt@device_reset@unbind-reset-rebind:
- shard-dg1: [ABORT][273] ([i915#9618]) -> [INCOMPLETE][274] ([i915#9408] / [i915#9618])
[273]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-dg1-13/igt@[email protected]
[274]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-16/igt@[email protected]
* igt@gem_pwrite@basic-exhaustion:
- shard-glk: [WARN][275] ([i915#2658]) -> [INCOMPLETE][276] ([i915#10042])
[275]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-glk1/igt@[email protected]
[276]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-glk8/igt@[email protected]
* igt@i915_module_load@reload-with-fault-injection:
- shard-dg1: [INCOMPLETE][277] ([i915#9820] / [i915#9849]) -> [INCOMPLETE][278] ([i915#9849])
[277]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-dg1-17/igt@[email protected]
[278]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-17/igt@[email protected]
* igt@kms_content_protection@srm:
- shard-snb: [INCOMPLETE][279] ([i915#8816]) -> [SKIP][280] ([fdo#109271])
[279]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-snb7/igt@[email protected]
[280]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-snb6/igt@[email protected]
* igt@kms_fbcon_fbt@psr:
- shard-rkl: [SKIP][281] ([i915#3955]) -> [SKIP][282] ([fdo#110189] / [i915#3955])
[281]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-7/igt@[email protected]
[282]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-1/igt@[email protected]
* igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
- shard-rkl: [SKIP][283] ([i915#4816]) -> [SKIP][284] ([i915#4070] / [i915#4816])
[283]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-7/igt@[email protected]
[284]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-1/igt@[email protected]
* igt@kms_pm_dc@dc6-dpms:
- shard-rkl: [SKIP][285] ([i915#3361]) -> [FAIL][286] ([i915#9295])
[285]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-rkl-2/igt@[email protected]
[286]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-rkl-5/igt@[email protected]
* igt@kms_prime@basic-modeset-hybrid:
- shard-dg1: [SKIP][287] ([i915#4423] / [i915#6524]) -> [SKIP][288] ([i915#6524])
[287]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14116/shard-dg1-13/igt@[email protected]
[288]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/shard-dg1-13/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109293]: https://bugs.freedesktop.org/show_bug.cgi?id=109293
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109312]: https://bugs.freedesktop.org/show_bug.cgi?id=109312
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111767]: https://bugs.freedesktop.org/show_bug.cgi?id=111767
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#10030]: https://gitlab.freedesktop.org/drm/intel/issues/10030
[i915#10042]: https://gitlab.freedesktop.org/drm/intel/issues/10042
[i915#10055]: https://gitlab.freedesktop.org/drm/intel/issues/10055
[i915#1257]: https://gitlab.freedesktop.org/drm/intel/issues/1257
[i915#1769]: https://gitlab.freedesktop.org/drm/intel/issues/1769
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#3023]: https://gitlab.freedesktop.org/drm/intel/issues/3023
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3361]: https://gitlab.freedesktop.org/drm/intel/issues/3361
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3743]: https://gitlab.freedesktop.org/drm/intel/issues/3743
[i915#3804]: https://gitlab.freedesktop.org/drm/intel/issues/3804
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4235]: https://gitlab.freedesktop.org/drm/intel/issues/4235
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
[i915#4391]: https://gitlab.freedesktop.org/drm/intel/issues/4391
[i915#4423]: https://gitlab.freedesktop.org/drm/intel/issues/4423
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4537]: https://gitlab.freedesktop.org/drm/intel/issues/4537
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4573]: https://gitlab.freedesktop.org/drm/intel/issues/4573
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4816]: https://gitlab.freedesktop.org/drm/intel/issues/4816
[i915#4818]: https://gitlab.freedesktop.org/drm/intel/issues/4818
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4885]: https://gitlab.freedesktop.org/drm/intel/issues/4885
[i915#4958]: https://gitlab.freedesktop.org/drm/intel/issues/4958
[i915#5107]: https://gitlab.freedesktop.org/drm/intel/issues/5107
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6122]: https://gitlab.freedesktop.org/drm/intel/issues/6122
[i915#6188]: https://gitlab.freedesktop.org/drm/intel/issues/6188
[i915#6228]: https://gitlab.freedesktop.org/drm/intel/issues/6228
[i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230
[i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
[i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
[i915#6412]: https://gitlab.freedesktop.org/drm/intel/issues/6412
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6805]: https://gitlab.freedesktop.org/drm/intel/issues/6805
[i915#6880]: https://gitlab.freedesktop.org/drm/intel/issues/6880
[i915#7091]: https://gitlab.freedesktop.org/drm/intel/issues/7091
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7812]: https://gitlab.freedesktop.org/drm/intel/issues/7812
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975
[i915#8213]: https://gitlab.freedesktop.org/drm/intel/issues/8213
[i915#8228]: https://gitlab.freedesktop.org/drm/intel/issues/8228
[i915#8247]: https://gitlab.freedesktop.org/drm/intel/issues/8247
[i915#8292]: https://gitlab.freedesktop.org/drm/intel/issues/8292
[i915#8293]: https://gitlab.freedesktop.org/drm/intel/issues/8293
[i915#8381]: https://gitlab.freedesktop.org/drm/intel/issues/8381
[i915#8398]: https://gitlab.freedesktop.org/drm/intel/issues/8398
[i915#8411]: https://gitlab.freedesktop.org/drm/intel/issues/8411
[i915#8414]: https://gitlab.freedesktop.org/drm/intel/issues/8414
[i915#8555]: https://gitlab.freedesktop.org/drm/intel/issues/8555
[i915#8708]: https://gitlab.freedesktop.org/drm/intel/issues/8708
[i915#8709]: https://gitlab.freedesktop.org/drm/intel/issues/8709
[i915#8806]: https://gitlab.freedesktop.org/drm/intel/issues/8806
[i915#8816]: https://gitlab.freedesktop.org/drm/intel/issues/8816
[i915#8925]: https://gitlab.freedesktop.org/drm/intel/issues/8925
[i915#9053]: https://gitlab.freedesktop.org/drm/intel/issues/9053
[i915#9200]: https://gitlab.freedesktop.org/drm/intel/issues/9200
[i915#9227]: https://gitlab.freedesktop.org/drm/intel/issues/9227
[i915#9275]: https://gitlab.freedesktop.org/drm/intel/issues/9275
[i915#9295]: https://gitlab.freedesktop.org/drm/intel/issues/9295
[i915#9311]: https://gitlab.freedesktop.org/drm/intel/issues/9311
[i915#9337]: https://gitlab.freedesktop.org/drm/intel/issues/9337
[i915#9340]: https://gitlab.freedesktop.org/drm/intel/issues/9340
[i915#9408]: https://gitlab.freedesktop.org/drm/intel/issues/9408
[i915#9412]: https://gitlab.freedesktop.org/drm/intel/issues/9412
[i915#9423]: https://gitlab.freedesktop.org/drm/intel/issues/9423
[i915#9519]: https://gitlab.freedesktop.org/drm/intel/issues/9519
[i915#9561]: https://gitlab.freedesktop.org/drm/intel/issues/9561
[i915#9606]: https://gitlab.freedesktop.org/drm/intel/issues/9606
[i915#9618]: https://gitlab.freedesktop.org/drm/intel/issues/9618
[i915#9683]: https://gitlab.freedesktop.org/drm/intel/issues/9683
[i915#9685]: https://gitlab.freedesktop.org/drm/intel/issues/9685
[i915#9723]: https://gitlab.freedesktop.org/drm/intel/issues/9723
[i915#9732]: https://gitlab.freedesktop.org/drm/intel/issues/9732
[i915#9781]: https://gitlab.freedesktop.org/drm/intel/issues/9781
[i915#9820]: https://gitlab.freedesktop.org/drm/intel/issues/9820
[i915#9849]: https://gitlab.freedesktop.org/drm/intel/issues/9849
[i915#9906]: https://gitlab.freedesktop.org/drm/intel/issues/9906
[i915#9917]: https://gitlab.freedesktop.org/drm/intel/issues/9917
[i915#9934]: https://gitlab.freedesktop.org/drm/intel/issues/9934
Build changes
-------------
* Linux: CI_DRM_14116 -> Patchwork_127721v5
CI-20190529: 20190529
CI_DRM_14116: 3b92a66f4bc89f4fa6e9e9369ac8243e23670030 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7670: 1b32bcdb2d9965090234739aba891a90743e01c4 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_127721v5: 3b92a66f4bc89f4fa6e9e9369ac8243e23670030 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_127721v5/index.html