Cleaning up code related to VRAM regions and its initialization - part 2
Subsystems (3)
v8 cover Cleaning up code related to VRAM regions and its initialization - part 2
From: Piotr Piórkowski <[email protected]>
As a follow-up to the earlier VRAM region cleanups, this patch series focuses on further improving the flexibility and clarity of the Xe driver's VRAM management.
This series focuses on preparing the VRAM region handling code for future platforms, where a more dynamic representation of device and tile VRAM regions will be required. Static allocation of these structures is replaced with dynamic allocation to increase flexibility and improve maintainability. Additionally, the initialization logic for device-wide and tile-local VRAM regions is unified, replacing the previously separate code paths. This simplification improves code clarity and facilitates future extensions involving additional VRAM region types.
v2:
- fix doc comments in struct xe_vram_region
- remove unnecessary includes (Jani)
v3:
- move code from xe_vram_init_regions_managers to xe_tile_init_noalloc (Matthew)
- replace ioremap_wc to devm_ioremap_wc for mapping VRAM BAR (Matthew)
- Replace the tile id parameter with vram region in the xe_pf_begin function.
v4:
- add new patch "Use devm_ioremap_wc for VRAM mapping and drop manual unmap" (Matthew)
- add new patch "Move struct xe_vram_region to a dedicated header" (Jani)
- fix null pointer dereference in xe_assert when VRAM region for tile hasn't been initialized (Michal)
v5:
- Fix build if CONFIG_DRM_XE_DEVMEM_MIRROR is enabled
v6:
- Fix build if CONFIG_DRM_XE_DISPLAY is enabled
v7:
- rebase after new changes related to SVM
v8:
- rebase
- add a helpers for accessing fields of the xe_vram_region structure in patch "drm/xe: Use dynamic allocation for tile and device VRAM region structures"
Piotr Piórkowski (4):
drm/xe: Use devm_ioremap_wc for VRAM mapping and drop manual unmap drm/xe: Use dynamic allocation for tile and device VRAM region
structures
drm/xe: Move struct xe_vram_region to a dedicated header drm/xe: Unify the initialization of VRAM regions
drivers/gpu/drm/xe/display/xe_fb_pin.c | 5 +- drivers/gpu/drm/xe/display/xe_plane_initial.c | 3 +- drivers/gpu/drm/xe/xe_assert.h | 4 +- drivers/gpu/drm/xe/xe_bo.c | 1 + drivers/gpu/drm/xe/xe_bo_types.h | 1 + drivers/gpu/drm/xe/xe_device.c | 20 ++ drivers/gpu/drm/xe/xe_device_types.h | 62 +----- drivers/gpu/drm/xe/xe_gt_pagefault.c | 13 +- drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 3 +- drivers/gpu/drm/xe/xe_migrate.c | 25 ++- drivers/gpu/drm/xe/xe_pci.c | 6 + drivers/gpu/drm/xe/xe_query.c | 5 +- drivers/gpu/drm/xe/xe_svm.c | 27 +-- drivers/gpu/drm/xe/xe_tile.c | 58 +++-- drivers/gpu/drm/xe/xe_tile.h | 13 +- drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c | 10 +- drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 22 +- drivers/gpu/drm/xe/xe_ttm_vram_mgr.h | 3 +- drivers/gpu/drm/xe/xe_vram.c | 205 +++++++++++++----- drivers/gpu/drm/xe/xe_vram.h | 11 + drivers/gpu/drm/xe/xe_vram_types.h | 82 +++++++ 21 files changed, 376 insertions(+), 203 deletions(-) create mode 100644 drivers/gpu/drm/xe/xe_vram_types.h
Signature · 1 line
2.34.1
PATCH v8 1/4 drm/xe: Use devm_ioremap_wc for VRAM mapping and drop manual unmap
From: Piotr Piórkowski <[email protected]>
Let's replace the manual call to ioremap_wc function with devm_ioremap_wc function, ensuring that VRAM mappings are automatically released when the driver is detached.
Since devm_ioremap_wc registers the mapping with the device's managed resources, the explicit iounmap call in vram_fini is no longer needed, so let's remove it.
--- drivers/gpu/drm/xe/xe_vram.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpu/drm/xe/xe_vram.c +2 -4
@@ -156,7 +156,8 @@ static int determine_lmem_bar_size(struct xe_device *xe) xe->mem.vram.dpa_base =0 ;/* set up a map to the total memory area. */ - xe->mem.vram.mapping =ioremap_wc (xe->mem.vram.io_start, xe->mem.vram.io_size); + xe->mem.vram.mapping =devm_ioremap_wc (&pdev->dev, xe->mem.vram.io_start, + xe->mem.vram.io_size);return 0 ; }
@@ -278,9 +279,6 @@ static void vram_fini(void *arg)struct xe_tile *tile;int id; -if (xe->mem.vram.mapping) -iounmap (xe->mem.vram.mapping); - xe->mem.vram.mapping =NULL ;for_each_tile (tile, xe, id)
Signature · 1 line
2.34.1
PATCH v8 2/4 drm/xe: Use dynamic allocation for tile and device VRAM region structures
In reply to Piórkowski, PiotrFrom: Piotr Piórkowski <[email protected]>
In future platforms, we will need to represent the device and tile VRAM regions in a more dynamic way, so let's abandon the static allocation of these structures and start use a dynamic allocation.
v2:
- Add a helpers for accessing fields of the xe_vram_region structure
--- drivers/gpu/drm/xe/display/xe_fb_pin.c | 4 +- drivers/gpu/drm/xe/display/xe_plane_initial.c | 2 +- drivers/gpu/drm/xe/xe_assert.h | 4 +- drivers/gpu/drm/xe/xe_device.c | 19 +++ drivers/gpu/drm/xe/xe_device_types.h | 6 +- drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 2 +- drivers/gpu/drm/xe/xe_migrate.c | 25 ++-- drivers/gpu/drm/xe/xe_pci.c | 6 + drivers/gpu/drm/xe/xe_query.c | 2 +- drivers/gpu/drm/xe/xe_svm.c | 24 ++-- drivers/gpu/drm/xe/xe_tile.c | 34 ++++- drivers/gpu/drm/xe/xe_tile.h | 4 +- drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c | 10 +- drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 7 +- drivers/gpu/drm/xe/xe_vram.c | 119 +++++++++++++----- drivers/gpu/drm/xe/xe_vram.h | 9 ++ 16 files changed, 200 insertions(+), 77 deletions(-)
drivers/gpu/drm/xe/display/xe_fb_pin.c +2 -2
@@ -289,7 +289,7 @@ static struct i915_vma *__xe_pin_fb_vma(const struct intel_framebuffer *fb,if (IS_DGFX (to_xe_device (bo->ttm.base.dev)) &&intel_fb_rc_ccs_cc_plane (&fb->base) >=0 && !(bo->flags &XE_BO_FLAG_NEEDS_CPU_ACCESS )) { -struct xe_tile *tile =xe_device_get_root_tile (xe); +struct xe_vram_region *vram =xe_device_get_root_tile (xe)->mem.vram;/* * If we need to able to access the clear-color value stored in
@@ -297,7 +297,7 @@ static struct i915_vma *__xe_pin_fb_vma(const struct intel_framebuffer *fb,* accessible. This is important on small-bar systems where * only some subset of VRAM is CPU accessible. */ -if (tile->mem.vram.io_size < tile->mem.vram.usable_size) { +if (xe_vram_region_io_size (vram) <xe_vram_region_usable_size (vram)) { ret = -EINVAL ; goto err; }
drivers/gpu/drm/xe/display/xe_plane_initial.c +1 -1
@@ -103,7 +103,7 @@ initial_plane_bo(struct xe_device *xe,* We don't currently expect this to ever be placed in the * stolen portion. */ -if (phys_base >= tile0->mem.vram.usable_size) { +if (phys_base >=xe_vram_region_usable_size (tile0->mem.vram)) {drm_err (&xe->drm,"Initial plane programming using invalid range, phys_base=%pa\n" , &phys_base);
drivers/gpu/drm/xe/xe_assert.h +3 -1
@@ -12,6 +12,7 @@#include "xe_gt_types.h" #include "xe_step.h" +#include "xe_vram.h" /** * DOC: Xe Asserts
@@ -145,7 +146,8 @@const struct xe_tile *__tile = (tile); \ char __buf[10] __maybe_unused; \xe_assert_msg (tile_to_xe (__tile), condition,"tile: %u VRAM %s\n" msg, \ - __tile->id, ({string_get_size (__tile->mem.vram.actual_physical_size,1 , \ + __tile->id, ({string_get_size ( \ +xe_vram_region_actual_physical_size (__tile->mem.vram),1 , \ STRING_UNITS_2, __buf, sizeof(__buf)); __buf; }), ## arg); \ })
drivers/gpu/drm/xe/xe_device.c +19 -0
@@ -685,6 +685,21 @@ static void sriov_update_device_info(struct xe_device *xe) } } +static int xe_device_vram_alloc (struct xe_device *xe) +{ +struct xe_vram_region *vram; + +if (!IS_DGFX (xe)) +return 0 ; + + vram =drmm_kzalloc (&xe->drm,sizeof (*vram),GFP_KERNEL ); +if (!vram) +return -ENOMEM ; + + xe->mem.vram = vram; +return 0 ; +} +/** * xe_device_probe_early: Device early probe * @xe: xe device instance
@@ -729,6 +744,10 @@ int xe_device_probe_early(struct xe_device *xe) xe->wedged.mode = xe_modparam.wedged_mode; + err =xe_device_vram_alloc (xe); +if (err) +return err; +return 0 ; }ALLOW_ERROR_INJECTION (xe_device_probe_early,ERRNO );/* See xe_pci_probe() */
drivers/gpu/drm/xe/xe_device_types.h +4 -2
@@ -74,6 +74,8 @@ struct xe_pxp;* device, such as HBM memory or CXL extension memory. */ struct xe_vram_region { +/** @tile: Back pointer to tile */ +struct xe_tile *tile;/** @io_start: IO start address of this VRAM instance */ resource_size_t io_start;/**
@@ -213,7 +215,7 @@ struct xe_tile {* Although VRAM is associated with a specific tile, it can * still be accessed by all tiles' GTs. */ -struct xe_vram_region vram; +struct xe_vram_region *vram;/** @mem.ggtt: Global graphics translation table */ struct xe_ggtt *ggtt;
@@ -394,7 +396,7 @@ struct xe_device {/** @mem: memory info for device */ struct {/** @mem.vram: VRAM info for device */ -struct xe_vram_region vram; +struct xe_vram_region *vram;/** @mem.sys_mgr: system TTM manager */ struct ttm_resource_manager sys_mgr;/** @mem.sys_mgr: system memory shrinker. */
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c +1 -1
@@ -1574,7 +1574,7 @@ static u64 pf_query_free_lmem(struct xe_gt *gt) {struct xe_tile *tile = gt->tile; -return xe_ttm_vram_get_avail (&tile->mem.vram.ttm.manager); +return xe_ttm_vram_get_avail (&tile->mem.vram->ttm.manager); }static u64 pf_query_max_lmem (struct xe_gt *gt)
drivers/gpu/drm/xe/xe_migrate.c +14 -11
@@ -34,6 +34,7 @@#include "xe_sync.h" #include "xe_trace_bo.h" #include "xe_vm.h" +#include "xe_vram.h" /** * struct xe_migrate - migrate context.
@@ -130,34 +131,36 @@ static u64 xe_migrate_vram_ofs(struct xe_device *xe, u64 addr, bool is_comp_pte)u64 identity_offset =IDENTITY_OFFSET ;if (GRAPHICS_VER (xe) >=20 && is_comp_pte) - identity_offset +=DIV_ROUND_UP_ULL (xe->mem.vram.actual_physical_size,SZ_1G ); + identity_offset +=DIV_ROUND_UP_ULL (xe_vram_region_actual_physical_size + (xe->mem.vram),SZ_1G ); - addr -= xe->mem.vram.dpa_base; + addr -=xe_vram_region_dpa_base (xe->mem.vram);return addr + (identity_offset <<xe_pt_shift (2 )); }static void xe_migrate_program_identity (struct xe_device *xe,struct xe_vm *vm,struct xe_bo *bo,u64 map_ofs,u64 vram_offset,u16 pat_index,u64 pt_2m_ofs) { +struct xe_vram_region *vram = xe->mem.vram; +resource_size_t dpa_base =xe_vram_region_dpa_base (xe->mem.vram);u64 pos, ofs, flags;u64 entry;/* XXX: Unclear if this should be usable_size? */ -u64 vram_limit = xe->mem.vram.actual_physical_size + - xe->mem.vram.dpa_base; +u64 vram_limit =xe_vram_region_actual_physical_size (vram) + dpa_base;u32 level =2 ; ofs = map_ofs +XE_PAGE_SIZE * level + vram_offset *8 ; flags = vm->pt_ops->pte_encode_addr (xe,0 , pat_index, level, true,0 ); -xe_assert (xe,IS_ALIGNED (xe->mem.vram.usable_size,SZ_2M )); +xe_assert (xe,IS_ALIGNED (xe_vram_region_usable_size (vram),SZ_2M ));/* * Use 1GB pages when possible, last chunk always use 2M * pages as mixing reserved memory (stolen, WOCPM) with a single * mapping is not allowed on certain platforms. */ -for (pos = xe->mem.vram.dpa_base; pos < vram_limit; +for (pos = dpa_base; pos < vram_limit; pos +=SZ_1G , ofs +=8 ) {if (pos +SZ_1G >= vram_limit) { entry = vm->pt_ops->pde_encode_bo(bo, pt_2m_ofs,
@@ -307,11 +310,11 @@ static int xe_migrate_prepare_vm(struct xe_tile *tile, struct xe_migrate *m,/* Identity map the entire vram at 256GiB offset */ if (IS_DGFX (xe)) {u64 pt30_ofs =xe_bo_size (bo) -2 *XE_PAGE_SIZE ; +resource_size_t actual_phy_size =xe_vram_region_actual_physical_size (xe->mem.vram);xe_migrate_program_identity (xe, vm, bo, map_ofs,IDENTITY_OFFSET , pat_index, pt30_ofs); -xe_assert (xe, xe->mem.vram.actual_physical_size <= - (MAX_NUM_PTE -IDENTITY_OFFSET ) *SZ_1G ); +xe_assert (xe, actual_phy_size <= (MAX_NUM_PTE -IDENTITY_OFFSET ) *SZ_1G );/* * Identity map the entire vram for compressed pat_index for xe2+
@@ -320,11 +323,11 @@ static int xe_migrate_prepare_vm(struct xe_tile *tile, struct xe_migrate *m,if (GRAPHICS_VER (xe) >=20 &&xe_device_has_flat_ccs (xe)) {u16 comp_pat_index = xe->pat.idx[XE_CACHE_NONE_COMPRESSION ];u64 vram_offset =IDENTITY_OFFSET + -DIV_ROUND_UP_ULL (xe->mem.vram.actual_physical_size,SZ_1G ); +DIV_ROUND_UP_ULL (actual_phy_size,SZ_1G );u64 pt31_ofs =xe_bo_size (bo) -XE_PAGE_SIZE ; -xe_assert (xe, xe->mem.vram.actual_physical_size <= (MAX_NUM_PTE - -IDENTITY_OFFSET -IDENTITY_OFFSET /2 ) *SZ_1G ); +xe_assert (xe, actual_phy_size <= (MAX_NUM_PTE -IDENTITY_OFFSET - +IDENTITY_OFFSET /2 ) *SZ_1G );xe_migrate_program_identity (xe, vm, bo, map_ofs, vram_offset, comp_pat_index, pt31_ofs); }
drivers/gpu/drm/xe/xe_pci.c +6 -0
@@ -714,12 +714,18 @@ static int xe_info_init(struct xe_device *xe,* All of these together determine the overall GT count. */ for_each_tile (tile, xe, id) { +int err; + gt = tile->primary_gt; gt->info.id = xe->info.gt_count++; gt->info.type =XE_GT_TYPE_MAIN ; gt->info.has_indirect_ring_state = graphics_desc->has_indirect_ring_state; gt->info.engine_mask = graphics_desc->hw_engine_mask; + err =xe_tile_alloc_vram (tile); +if (err) +return err; +if (MEDIA_VER (xe) <13 && media_desc) gt->info.engine_mask |= media_desc->hw_engine_mask;
drivers/gpu/drm/xe/xe_query.c +1 -1
@@ -337,7 +337,7 @@ static int query_config(struct xe_device *xe, struct drm_xe_device_query *query) config->num_params = num_params; config->info[DRM_XE_QUERY_CONFIG_REV_AND_DEVICE_ID ] = xe->info.devid | (xe->info.revid <<16 ); -if (xe_device_get_root_tile (xe)->mem.vram.usable_size) +if (xe->mem.vram) config->info[DRM_XE_QUERY_CONFIG_FLAGS ] |=DRM_XE_QUERY_CONFIG_FLAG_HAS_VRAM ;if (xe->info.has_usm &&IS_ENABLED (CONFIG_DRM_XE_GPUSVM ))
drivers/gpu/drm/xe/xe_svm.c +7 -17
@@ -306,16 +306,11 @@ static struct xe_vram_region *page_to_vr(struct page *page) return container_of(page_pgmap(page), struct xe_vram_region, pagemap); } -static struct xe_tile *vr_to_tile (struct xe_vram_region *vr) -{ - return container_of(vr, struct xe_tile, mem.vram); -} -static u64 xe_vram_region_page_to_dpa (struct xe_vram_region *vr,struct page *page) {u64 dpa; -struct xe_tile *tile =vr_to_tile (vr); +struct xe_tile *tile = vr->tile;u64 pfn =page_to_pfn (page);u64 offset;
@@ -370,7 +365,7 @@ static int xe_svm_copy(struct page **pages, dma_addr_t *dma_addr,if (!vr && spage) { vr =page_to_vr (spage); - tile =vr_to_tile (vr); + tile = vr->tile; }XE_WARN_ON (spage &&page_to_vr (spage) != vr);
@@ -508,7 +503,7 @@ static u64 block_offset_to_pfn(struct xe_vram_region *vr, u64 offset)static struct drm_buddy *tile_to_buddy (struct xe_tile *tile) { -return &tile->mem.vram.ttm.mm; +return &tile->mem.vram->ttm.mm; } static int xe_svm_populate_devmem_pfn(struct drm_pagemap_devmem *devmem_allocation,
@@ -522,7 +517,7 @@ static int xe_svm_populate_devmem_pfn(struct drm_pagemap_devmem *devmem_allocatilist_for_each_entry (block, blocks, link) {struct xe_vram_region *vr = block->private; -struct xe_tile *tile =vr_to_tile (vr); +struct xe_tile *tile = vr->tile;struct drm_buddy *buddy =tile_to_buddy (tile);u64 block_pfn =block_offset_to_pfn (vr,drm_buddy_block_offset (block));int i;
@@ -683,20 +678,15 @@ u64 xe_svm_find_vma_start(struct xe_vm *vm, u64 start, u64 end, struct xe_vma *v }#if IS_ENABLED (CONFIG_DRM_XE_PAGEMAP ) -static struct xe_vram_region *tile_to_vr (struct xe_tile *tile) -{ -return &tile->mem.vram; -} -static int xe_drm_pagemap_populate_mm (struct drm_pagemap *dpagemap,unsigned long start,unsigned long end,struct mm_struct *mm,unsigned long timeslice_ms) { -struct xe_tile *tile =container_of (dpagemap,typeof (*tile), mem.vram.dpagemap); +struct xe_vram_region *vr =container_of (dpagemap,typeof (*vr), dpagemap); +struct xe_tile *tile = vr->tile;struct xe_device *xe =tile_to_xe (tile);struct device *dev = xe->drm.dev; -struct xe_vram_region *vr =tile_to_vr (tile);struct drm_buddy_block *block;struct list_head *blocks;struct xe_bo *bo;
@@ -722,7 +712,7 @@ static int xe_drm_pagemap_populate_mm(struct drm_pagemap *dpagemap,drm_pagemap_devmem_init (&bo->devmem_allocation, dev, mm, &dpagemap_devmem_ops, - &tile->mem.vram.dpagemap, + &tile->mem.vram->dpagemap, end - start); blocks = &to_xe_ttm_vram_mgr_resource (bo->ttm.resource)->blocks;
drivers/gpu/drm/xe/xe_tile.c +31 -3
@@ -19,6 +19,7 @@#include "xe_tile_sysfs.h" #include "xe_ttm_vram_mgr.h" #include "xe_wa.h" +#include "xe_vram.h" /** * DOC: Multi-tile Design
@@ -95,6 +96,33 @@ static int xe_tile_alloc(struct xe_tile *tile)return 0 ; } +/** +* xe_tile_alloc_vram - Perform per-tile VRAM structs allocation +* @tile: Tile to perform allocations for +* +* Allocates VRAM per-tile data structures using DRM-managed allocations. +* Does not touch the hardware. +* +* Returns -ENOMEM if allocations fail, otherwise 0. +*/ +int xe_tile_alloc_vram (struct xe_tile *tile) +{ +struct xe_device *xe =tile_to_xe (tile); +struct xe_vram_region *vram; + +if (!IS_DGFX (xe)) +return 0 ; + + vram =drmm_kzalloc (&xe->drm,sizeof (*vram),GFP_KERNEL ); +if (!vram) +return -ENOMEM ; + + vram->tile = tile; + tile->mem.vram = vram; + +return 0 ; +} +/** * xe_tile_init_early - Initialize the tile and primary GT * @tile: Tile to initialize
@@ -132,8 +160,8 @@ static int tile_ttm_mgr_init(struct xe_tile *tile)struct xe_device *xe =tile_to_xe (tile);int err; -if (tile->mem.vram.usable_size) { - err =xe_ttm_vram_mgr_init (tile, &tile->mem.vram.ttm); +if (tile->mem.vram) { + err =xe_ttm_vram_mgr_init (tile, &tile->mem.vram->ttm);if (err)return err; xe->info.mem_region_mask |=BIT (tile->id) <<1 ;
@@ -168,7 +196,7 @@ int xe_tile_init_noalloc(struct xe_tile *tile)xe_wa_apply_tile_workarounds (tile);if (xe->info.has_usm &&IS_DGFX (xe)) -xe_devm_add (tile, &tile->mem.vram); +xe_devm_add (tile, tile->mem.vram);return xe_tile_sysfs_init (tile); }
drivers/gpu/drm/xe/xe_tile.h +3 -1
@@ -14,12 +14,14 @@ int xe_tile_init_early(struct xe_tile *tile, struct xe_device *xe, u8 id);int xe_tile_init_noalloc (struct xe_tile *tile);int xe_tile_init (struct xe_tile *tile); +int xe_tile_alloc_vram (struct xe_tile *tile); +void xe_tile_migrate_wait (struct xe_tile *tile);#if IS_ENABLED (CONFIG_DRM_XE_PAGEMAP )static inline struct drm_pagemap *xe_tile_local_pagemap (struct xe_tile *tile) { -return &tile->mem.vram.dpagemap; +return &tile->mem.vram->dpagemap; }#else static inline struct drm_pagemap *xe_tile_local_pagemap (struct xe_tile *tile)
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c +6 -4
@@ -25,6 +25,7 @@#include "xe_ttm_stolen_mgr.h" #include "xe_ttm_vram_mgr.h" #include "xe_wa.h" +#include "xe_vram.h" struct xe_ttm_stolen_mgr {struct xe_ttm_vram_mgr base;
@@ -82,15 +83,16 @@ static u32 get_wopcm_size(struct xe_device *xe)static s64 detect_bar2_dgfx (struct xe_device *xe,struct xe_ttm_stolen_mgr *mgr) { -struct xe_tile *tile =xe_device_get_root_tile (xe); +struct xe_vram_region *tile_vram =xe_device_get_root_tile (xe)->mem.vram;struct xe_mmio *mmio =xe_root_tile_mmio (xe);struct pci_dev *pdev =to_pci_dev (xe->drm.dev); +resource_size_t tile_io_start =xe_vram_region_io_start (tile_vram);u64 stolen_size, wopcm_size;u64 tile_offset;u64 tile_size; - tile_offset = tile->mem.vram.io_start - xe->mem.vram.io_start; - tile_size = tile->mem.vram.actual_physical_size; + tile_offset = tile_io_start -xe_vram_region_io_start (xe->mem.vram); + tile_size =xe_vram_region_actual_physical_size (tile_vram);/* Use DSM base address instead for stolen memory */ mgr->stolen_base = (xe_mmio_read64_2x32 (mmio,DSMBASE ) &BDSM_MASK ) - tile_offset;
@@ -107,7 +109,7 @@ static s64 detect_bar2_dgfx(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr)/* Verify usage fits in the actual resource available */ if (mgr->stolen_base + stolen_size <=pci_resource_len (pdev,LMEM_BAR )) - mgr->io_base = tile->mem.vram.io_start + mgr->stolen_base; + mgr->io_base = tile_io_start + mgr->stolen_base;/* * There may be few KB of platform dependent reserved memory at the end
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c +4 -3
@@ -340,10 +340,11 @@ int __xe_ttm_vram_mgr_init(struct xe_device *xe, struct xe_ttm_vram_mgr *mgr,int xe_ttm_vram_mgr_init (struct xe_tile *tile,struct xe_ttm_vram_mgr *mgr) {struct xe_device *xe =tile_to_xe (tile); -struct xe_vram_region *vram = &tile->mem.vram; +struct xe_vram_region *vram = tile->mem.vram;return __xe_ttm_vram_mgr_init (xe, mgr,XE_PL_VRAM0 + tile->id, - vram->usable_size, vram->io_size, +xe_vram_region_usable_size (vram), +xe_vram_region_io_size (vram),PAGE_SIZE ); }
@@ -392,7 +393,7 @@ int xe_ttm_vram_mgr_alloc_sgt(struct xe_device *xe,*/ xe_res_first (res, offset, length, &cursor);for_each_sgtable_sg ((*sgt), sg, i) { -phys_addr_t phys = cursor.start + tile->mem.vram.io_start; +phys_addr_t phys = cursor.start +xe_vram_region_io_start (tile->mem.vram);size_t size =min_t (u64, cursor.size,SZ_2G );dma_addr_t addr;
drivers/gpu/drm/xe/xe_vram.c +89 -30
171 lines not on this page · raw message
drivers/gpu/drm/xe/xe_vram.h +9 -0
@@ -6,8 +6,17 @@#ifndef _XE_VRAM_H_#define _XE_VRAM_H_ +#include <linux/types.h> +struct xe_device ; +struct xe_vram_region ;int xe_vram_probe (struct xe_device *xe); +resource_size_t xe_vram_region_io_start (const struct xe_vram_region *vram); +resource_size_t xe_vram_region_io_size (const struct xe_vram_region *vram); +resource_size_t xe_vram_region_dpa_base (const struct xe_vram_region *vram); +resource_size_t xe_vram_region_usable_size (const struct xe_vram_region *vram); +resource_size_t xe_vram_region_actual_physical_size (const struct xe_vram_region *vram); +#endif
Signature · 1 line
2.34.1
Re: [PATCH v8 2/4] drm/xe: Use dynamic allocation for tile and device VRAM region structures
Quoted 190 lines · Piotr
From: Piotr Piórkowski<[email protected]>
In future platforms, we will need to represent the device and tile VRAM regions in a more dynamic way, so let's abandon the static allocation of these structures and start use a dynamic allocation.
v2:
- Add a helpers for accessing fields of thexe_vram_regionstructureSigned-off-by Piotr Piórkowski<[email protected]>Cc Stuart Summers<[email protected]>Cc Matthew Auld<[email protected]>Cc Satyanarayana K V P<[email protected]>--- drivers/gpu/drm/xe/display/xe_fb_pin.c | 4 +- drivers/gpu/drm/xe/display/xe_plane_initial.c | 2 +- drivers/gpu/drm/xe/xe_assert.h | 4 +- drivers/gpu/drm/xe/xe_device.c | 19 +++ drivers/gpu/drm/xe/xe_device_types.h | 6 +- drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 2 +- drivers/gpu/drm/xe/xe_migrate.c | 25 ++-- drivers/gpu/drm/xe/xe_pci.c | 6 + drivers/gpu/drm/xe/xe_query.c | 2 +- drivers/gpu/drm/xe/xe_svm.c | 24 ++-- drivers/gpu/drm/xe/xe_tile.c | 34 ++++- drivers/gpu/drm/xe/xe_tile.h | 4 +- drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c | 10 +- drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 7 +- drivers/gpu/drm/xe/xe_vram.c | 119 +++++++++++++----- drivers/gpu/drm/xe/xe_vram.h | 9 ++ 16 files changed, 200 insertions(+), 77 deletions(-)drivers/gpu/drm/xe/display/xe_fb_pin.c +2
-2@@ -289,7 +289,7 @@ static struct i915_vma *__xe_pin_fb_vma(const struct intel_framebuffer *fb,if (IS_DGFX (to_xe_device (bo->ttm.base.dev)) &&intel_fb_rc_ccs_cc_plane (&fb->base) >=0 && !(bo->flags &XE_BO_FLAG_NEEDS_CPU_ACCESS )) { -struct xe_tile *tile =xe_device_get_root_tile (xe); +struct xe_vram_region *vram =xe_device_get_root_tile (xe)->mem.vram;/* * If we need to able to access the clear-color value stored in @@ -297,7 +297,7 @@ static struct i915_vma *__xe_pin_fb_vma(const struct intel_framebuffer *fb,* accessible. This is important on small-bar systems where * only some subset of VRAM is CPU accessible. */ -if (tile->mem.vram.io_size < tile->mem.vram.usable_size) { +if (xe_vram_region_io_size (vram) <xe_vram_region_usable_size (vram)) { ret = -EINVAL ; goto err; }drivers/gpu/drm/xe/display/xe_plane_initial.c +1
-1@@ -103,7 +103,7 @@ initial_plane_bo(struct xe_device *xe,* We don't currently expect this to ever be placed in the * stolen portion. */ -if (phys_base >= tile0->mem.vram.usable_size) { +if (phys_base >=xe_vram_region_usable_size (tile0->mem.vram)) {drm_err (&xe->drm,"Initial plane programming using invalid range, phys_base=%pa\n" , &phys_base);drivers/gpu/drm/xe/xe_assert.h +3
-1@@ -12,6 +12,7 @@#include "xe_gt_types.h" #include "xe_step.h" +#include "xe_vram.h" /** * DOC: Xe Asserts @@ -145,7 +146,8 @@const struct xe_tile *__tile = (tile); \ char __buf[10] __maybe_unused; \xe_assert_msg (tile_to_xe (__tile), condition,"tile: %u VRAM %s\n" msg, \ - __tile->id, ({string_get_size (__tile->mem.vram.actual_physical_size,1 , \ + __tile->id, ({string_get_size ( \ +xe_vram_region_actual_physical_size (__tile->mem.vram),1 , \ STRING_UNITS_2, __buf, sizeof(__buf)); __buf; }), ## arg); \ })drivers/gpu/drm/xe/xe_device.c +19
-0@@ -685,6 +685,21 @@ static void sriov_update_device_info(struct xe_device *xe) } } +static int xe_device_vram_alloc (struct xe_device *xe) +{ +struct xe_vram_region *vram; + +if (!IS_DGFX (xe)) +return 0 ; + + vram =drmm_kzalloc (&xe->drm,sizeof (*vram),GFP_KERNEL ); +if (!vram) +return -ENOMEM ; + + xe->mem.vram = vram; +return 0 ; +} +/** * xe_device_probe_early: Device early probe * @xe: xe device instance @@ -729,6 +744,10 @@ int xe_device_probe_early(struct xe_device *xe) xe->wedged.mode = xe_modparam.wedged_mode; + err =xe_device_vram_alloc (xe); +if (err) +return err; +return 0 ; }ALLOW_ERROR_INJECTION (xe_device_probe_early,ERRNO );/* See xe_pci_probe() */ drivers/gpu/drm/xe/xe_device_types.h +4
-2@@ -74,6 +74,8 @@ struct xe_pxp;* device, such as HBM memory or CXL extension memory. */ struct xe_vram_region { +/** @tile: Back pointer to tile */ +struct xe_tile *tile;/** @io_start: IO start address of this VRAM instance */ resource_size_t io_start;/** @@ -213,7 +215,7 @@ struct xe_tile {* Although VRAM is associated with a specific tile, it can * still be accessed by all tiles' GTs. */ -struct xe_vram_region vram; +struct xe_vram_region *vram;/** @mem.ggtt: Global graphics translation table */ struct xe_ggtt *ggtt;@@ -394,7 +396,7 @@ struct xe_device {/** @mem: memory info for device */ struct {/** @mem.vram: VRAM info for device */ -struct xe_vram_region vram; +struct xe_vram_region *vram;/** @mem.sys_mgr: system TTM manager */ struct ttm_resource_manager sys_mgr;/** @mem.sys_mgr: system memory shrinker. */ drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c +1
-1@@ -1574,7 +1574,7 @@ static u64 pf_query_free_lmem(struct xe_gt *gt) {struct xe_tile *tile = gt->tile; -return xe_ttm_vram_get_avail (&tile->mem.vram.ttm.manager); +return xe_ttm_vram_get_avail (&tile->mem.vram->ttm.manager); }static u64 pf_query_max_lmem (struct xe_gt *gt)drivers/gpu/drm/xe/xe_migrate.c +3
-1@@ -34,6 +34,7 @@#include "xe_sync.h" #include "xe_trace_bo.h" #include "xe_vm.h" +#include "xe_vram.h" /** * struct xe_migrate - migrate context. @@ -130,34 +131,36 @@ static u64 xe_migrate_vram_ofs(struct xe_device *xe, u64 addr, bool is_comp_pte)u64 identity_offset =IDENTITY_OFFSET ;if (GRAPHICS_VER (xe) >=20 && is_comp_pte) - identity_offset +=DIV_ROUND_UP_ULL (xe->mem.vram.actual_physical_size,SZ_1G ); + identity_offset +=DIV_ROUND_UP_ULL (xe_vram_region_actual_physical_size + (xe->mem.vram),SZ_1G );
drivers/gpu/drm/xe/xe_migrate.c static u64 xe_migrate_vram_ofs(struct xe_device *xe, u64 addr, bool is_comp_pte) · line 145
Quoted 10 lines
drivers/gpu/drm/xe/xe_migrate.c +3
-1- addr -= xe->mem.vram.dpa_base; + addr -=xe_vram_region_dpa_base (xe->mem.vram);return addr + (identity_offset <<xe_pt_shift (2 )); }static void xe_migrate_program_identity (struct xe_device *xe,struct xe_vm *vm,struct xe_bo *bo,u64 map_ofs,u64 vram_offset,u16 pat_index,u64 pt_2m_ofs) { +struct xe_vram_region *vram = xe->mem.vram; +resource_size_t dpa_base =xe_vram_region_dpa_base (xe->mem.vram);
Follow inverse xmas tree format.
Quoted 270 lines
drivers/gpu/drm/xe/xe_migrate.c +8
-9u64 pos, ofs, flags;u64 entry;/* XXX: Unclear if this should be usable_size? */ -u64 vram_limit = xe->mem.vram.actual_physical_size + - xe->mem.vram.dpa_base; +u64 vram_limit =xe_vram_region_actual_physical_size (vram) + dpa_base;u32 level =2 ; ofs = map_ofs +XE_PAGE_SIZE * level + vram_offset *8 ; flags = vm->pt_ops->pte_encode_addr (xe,0 , pat_index, level, true,0 ); -xe_assert (xe,IS_ALIGNED (xe->mem.vram.usable_size,SZ_2M )); +xe_assert (xe,IS_ALIGNED (xe_vram_region_usable_size (vram),SZ_2M ));/* * Use 1GB pages when possible, last chunk always use 2M * pages as mixing reserved memory (stolen, WOCPM) with a single * mapping is not allowed on certain platforms. */ -for (pos = xe->mem.vram.dpa_base; pos < vram_limit; +for (pos = dpa_base; pos < vram_limit; pos +=SZ_1G , ofs +=8 ) {if (pos +SZ_1G >= vram_limit) { entry = vm->pt_ops->pde_encode_bo(bo, pt_2m_ofs,@@ -307,11 +310,11 @@ static int xe_migrate_prepare_vm(struct xe_tile *tile, struct xe_migrate *m,/* Identity map the entire vram at 256GiB offset */ if (IS_DGFX (xe)) {u64 pt30_ofs =xe_bo_size (bo) -2 *XE_PAGE_SIZE ; +resource_size_t actual_phy_size =xe_vram_region_actual_physical_size (xe->mem.vram);xe_migrate_program_identity (xe, vm, bo, map_ofs,IDENTITY_OFFSET , pat_index, pt30_ofs); -xe_assert (xe, xe->mem.vram.actual_physical_size <= - (MAX_NUM_PTE -IDENTITY_OFFSET ) *SZ_1G ); +xe_assert (xe, actual_phy_size <= (MAX_NUM_PTE -IDENTITY_OFFSET ) *SZ_1G );/* * Identity map the entire vram for compressed pat_index for xe2+ @@ -320,11 +323,11 @@ static int xe_migrate_prepare_vm(struct xe_tile *tile, struct xe_migrate *m,if (GRAPHICS_VER (xe) >=20 &&xe_device_has_flat_ccs (xe)) {u16 comp_pat_index = xe->pat.idx[XE_CACHE_NONE_COMPRESSION ];u64 vram_offset =IDENTITY_OFFSET + -DIV_ROUND_UP_ULL (xe->mem.vram.actual_physical_size,SZ_1G ); +DIV_ROUND_UP_ULL (actual_phy_size,SZ_1G );u64 pt31_ofs =xe_bo_size (bo) -XE_PAGE_SIZE ; -xe_assert (xe, xe->mem.vram.actual_physical_size <= (MAX_NUM_PTE - -IDENTITY_OFFSET -IDENTITY_OFFSET /2 ) *SZ_1G ); +xe_assert (xe, actual_phy_size <= (MAX_NUM_PTE -IDENTITY_OFFSET - +IDENTITY_OFFSET /2 ) *SZ_1G );xe_migrate_program_identity (xe, vm, bo, map_ofs, vram_offset, comp_pat_index, pt31_ofs); }drivers/gpu/drm/xe/xe_pci.c +6
-0@@ -714,12 +714,18 @@ static int xe_info_init(struct xe_device *xe,* All of these together determine the overall GT count. */ for_each_tile (tile, xe, id) { +int err; + gt = tile->primary_gt; gt->info.id = xe->info.gt_count++; gt->info.type =XE_GT_TYPE_MAIN ; gt->info.has_indirect_ring_state = graphics_desc->has_indirect_ring_state; gt->info.engine_mask = graphics_desc->hw_engine_mask; + err =xe_tile_alloc_vram (tile); +if (err) +return err; +if (MEDIA_VER (xe) <13 && media_desc) gt->info.engine_mask |= media_desc->hw_engine_mask;drivers/gpu/drm/xe/xe_query.c +1
-1@@ -337,7 +337,7 @@ static int query_config(struct xe_device *xe, struct drm_xe_device_query *query) config->num_params = num_params; config->info[DRM_XE_QUERY_CONFIG_REV_AND_DEVICE_ID ] = xe->info.devid | (xe->info.revid <<16 ); -if (xe_device_get_root_tile (xe)->mem.vram.usable_size) +if (xe->mem.vram) config->info[DRM_XE_QUERY_CONFIG_FLAGS ] |=DRM_XE_QUERY_CONFIG_FLAG_HAS_VRAM ;if (xe->info.has_usm &&IS_ENABLED (CONFIG_DRM_XE_GPUSVM ))drivers/gpu/drm/xe/xe_svm.c +7
-17@@ -306,16 +306,11 @@ static struct xe_vram_region *page_to_vr(struct page *page) return container_of(page_pgmap(page), struct xe_vram_region, pagemap); } -static struct xe_tile *vr_to_tile (struct xe_vram_region *vr) -{ - return container_of(vr, struct xe_tile, mem.vram); -} -static u64 xe_vram_region_page_to_dpa (struct xe_vram_region *vr,struct page *page) {u64 dpa; -struct xe_tile *tile =vr_to_tile (vr); +struct xe_tile *tile = vr->tile;u64 pfn =page_to_pfn (page);u64 offset;@@ -370,7 +365,7 @@ static int xe_svm_copy(struct page **pages, dma_addr_t *dma_addr,if (!vr && spage) { vr =page_to_vr (spage); - tile =vr_to_tile (vr); + tile = vr->tile; }XE_WARN_ON (spage &&page_to_vr (spage) != vr);@@ -508,7 +503,7 @@ static u64 block_offset_to_pfn(struct xe_vram_region *vr, u64 offset)static struct drm_buddy *tile_to_buddy (struct xe_tile *tile) { -return &tile->mem.vram.ttm.mm; +return &tile->mem.vram->ttm.mm; } static int xe_svm_populate_devmem_pfn(struct drm_pagemap_devmem *devmem_allocation,@@ -522,7 +517,7 @@ static int xe_svm_populate_devmem_pfn(struct drm_pagemap_devmem *devmem_allocatilist_for_each_entry (block, blocks, link) {struct xe_vram_region *vr = block->private; -struct xe_tile *tile =vr_to_tile (vr); +struct xe_tile *tile = vr->tile;struct drm_buddy *buddy =tile_to_buddy (tile);u64 block_pfn =block_offset_to_pfn (vr,drm_buddy_block_offset (block));int i;@@ -683,20 +678,15 @@ u64 xe_svm_find_vma_start(struct xe_vm *vm, u64 start, u64 end, struct xe_vma *v }#if IS_ENABLED (CONFIG_DRM_XE_PAGEMAP ) -static struct xe_vram_region *tile_to_vr (struct xe_tile *tile) -{ -return &tile->mem.vram; -} -static int xe_drm_pagemap_populate_mm (struct drm_pagemap *dpagemap,unsigned long start,unsigned long end,struct mm_struct *mm,unsigned long timeslice_ms) { -struct xe_tile *tile =container_of (dpagemap,typeof (*tile), mem.vram.dpagemap); +struct xe_vram_region *vr =container_of (dpagemap,typeof (*vr), dpagemap); +struct xe_tile *tile = vr->tile;struct xe_device *xe =tile_to_xe (tile);struct device *dev = xe->drm.dev; -struct xe_vram_region *vr =tile_to_vr (tile);struct drm_buddy_block *block;struct list_head *blocks;struct xe_bo *bo;@@ -722,7 +712,7 @@ static int xe_drm_pagemap_populate_mm(struct drm_pagemap *dpagemap,drm_pagemap_devmem_init (&bo->devmem_allocation, dev, mm, &dpagemap_devmem_ops, - &tile->mem.vram.dpagemap, + &tile->mem.vram->dpagemap, end - start); blocks = &to_xe_ttm_vram_mgr_resource (bo->ttm.resource)->blocks;drivers/gpu/drm/xe/xe_tile.c +31
-3@@ -19,6 +19,7 @@#include "xe_tile_sysfs.h" #include "xe_ttm_vram_mgr.h" #include "xe_wa.h" +#include "xe_vram.h" /** * DOC: Multi-tile Design @@ -95,6 +96,33 @@ static int xe_tile_alloc(struct xe_tile *tile)return 0 ; } +/** +* xe_tile_alloc_vram - Perform per-tile VRAM structs allocation +* @tile: Tile to perform allocations for +* +* Allocates VRAM per-tile data structures using DRM-managed allocations. +* Does not touch the hardware. +* +* Returns -ENOMEM if allocations fail, otherwise 0. +*/ +int xe_tile_alloc_vram (struct xe_tile *tile) +{ +struct xe_device *xe =tile_to_xe (tile); +struct xe_vram_region *vram; + +if (!IS_DGFX (xe)) +return 0 ; + + vram =drmm_kzalloc (&xe->drm,sizeof (*vram),GFP_KERNEL ); +if (!vram) +return -ENOMEM ; + + vram->tile = tile; + tile->mem.vram = vram; + +return 0 ; +} +/** * xe_tile_init_early - Initialize the tile and primary GT * @tile: Tile to initialize @@ -132,8 +160,8 @@ static int tile_ttm_mgr_init(struct xe_tile *tile)struct xe_device *xe =tile_to_xe (tile);int err; -if (tile->mem.vram.usable_size) { - err =xe_ttm_vram_mgr_init (tile, &tile->mem.vram.ttm); +if (tile->mem.vram) { + err =xe_ttm_vram_mgr_init (tile, &tile->mem.vram->ttm);if (err)return err; xe->info.mem_region_mask |=BIT (tile->id) <<1 ;@@ -168,7 +196,7 @@ int xe_tile_init_noalloc(struct xe_tile *tile)xe_wa_apply_tile_workarounds (tile);if (xe->info.has_usm &&IS_DGFX (xe)) -xe_devm_add (tile, &tile->mem.vram); +xe_devm_add (tile, tile->mem.vram);return xe_tile_sysfs_init (tile); }drivers/gpu/drm/xe/xe_tile.h +3
-1@@ -14,12 +14,14 @@ int xe_tile_init_early(struct xe_tile *tile, struct xe_device *xe, u8 id);int xe_tile_init_noalloc (struct xe_tile *tile);int xe_tile_init (struct xe_tile *tile); +int xe_tile_alloc_vram (struct xe_tile *tile); +void xe_tile_migrate_wait (struct xe_tile *tile);#if IS_ENABLED (CONFIG_DRM_XE_PAGEMAP )static inline struct drm_pagemap *xe_tile_local_pagemap (struct xe_tile *tile) { -return &tile->mem.vram.dpagemap; +return &tile->mem.vram->dpagemap; }#else static inline struct drm_pagemap *xe_tile_local_pagemap (struct xe_tile *tile)drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c +1
-0@@ -25,6 +25,7 @@#include "xe_ttm_stolen_mgr.h" #include "xe_ttm_vram_mgr.h" #include "xe_wa.h" +#include "xe_vram.h" struct xe_ttm_stolen_mgr {struct xe_ttm_vram_mgr base;
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c static u32 get_wopcm_size(struct xe_device *xe) · line 89
Quoted 8 lines
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c +2
-1@@ -82,15 +83,16 @@ static u32 get_wopcm_size(struct xe_device *xe)static s64 detect_bar2_dgfx (struct xe_device *xe,struct xe_ttm_stolen_mgr *mgr) { -struct xe_tile *tile =xe_device_get_root_tile (xe); +struct xe_vram_region *tile_vram =xe_device_get_root_tile (xe)->mem.vram;struct xe_mmio *mmio =xe_root_tile_mmio (xe);struct pci_dev *pdev =to_pci_dev (xe->drm.dev); +resource_size_t tile_io_start =xe_vram_region_io_start (tile_vram);
Follow inverse xmas tree format.
Quoted 238 lines
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c +3
-3u64 stolen_size, wopcm_size;u64 tile_offset;u64 tile_size; - tile_offset = tile->mem.vram.io_start - xe->mem.vram.io_start; - tile_size = tile->mem.vram.actual_physical_size; + tile_offset = tile_io_start -xe_vram_region_io_start (xe->mem.vram); + tile_size =xe_vram_region_actual_physical_size (tile_vram);/* Use DSM base address instead for stolen memory */ mgr->stolen_base = (xe_mmio_read64_2x32 (mmio,DSMBASE ) &BDSM_MASK ) - tile_offset;@@ -107,7 +109,7 @@ static s64 detect_bar2_dgfx(struct xe_device *xe, struct xe_ttm_stolen_mgr *mgr)/* Verify usage fits in the actual resource available */ if (mgr->stolen_base + stolen_size <=pci_resource_len (pdev,LMEM_BAR )) - mgr->io_base = tile->mem.vram.io_start + mgr->stolen_base; + mgr->io_base = tile_io_start + mgr->stolen_base;/* * There may be few KB of platform dependent reserved memory at the end drivers/gpu/drm/xe/xe_ttm_vram_mgr.c +4
-3@@ -340,10 +340,11 @@ int __xe_ttm_vram_mgr_init(struct xe_device *xe, struct xe_ttm_vram_mgr *mgr,int xe_ttm_vram_mgr_init (struct xe_tile *tile,struct xe_ttm_vram_mgr *mgr) {struct xe_device *xe =tile_to_xe (tile); -struct xe_vram_region *vram = &tile->mem.vram; +struct xe_vram_region *vram = tile->mem.vram;return __xe_ttm_vram_mgr_init (xe, mgr,XE_PL_VRAM0 + tile->id, - vram->usable_size, vram->io_size, +xe_vram_region_usable_size (vram), +xe_vram_region_io_size (vram),PAGE_SIZE ); }@@ -392,7 +393,7 @@ int xe_ttm_vram_mgr_alloc_sgt(struct xe_device *xe,*/ xe_res_first (res, offset, length, &cursor);for_each_sgtable_sg ((*sgt), sg, i) { -phys_addr_t phys = cursor.start + tile->mem.vram.io_start; +phys_addr_t phys = cursor.start +xe_vram_region_io_start (tile->mem.vram);size_t size =min_t (u64, cursor.size,SZ_2G );dma_addr_t addr;drivers/gpu/drm/xe/xe_vram.c +89
-30@@ -147,17 +147,17 @@ static int determine_lmem_bar_size(struct xe_device *xe)resize_vram_bar (xe); - xe->mem.vram.io_start =pci_resource_start (pdev,LMEM_BAR ); - xe->mem.vram.io_size =pci_resource_len (pdev,LMEM_BAR ); -if (!xe->mem.vram.io_size) + xe->mem.vram->io_start =pci_resource_start (pdev,LMEM_BAR ); + xe->mem.vram->io_size =pci_resource_len (pdev,LMEM_BAR ); +if (!xe->mem.vram->io_size)return -EIO ;/* XXX: Need to change when xe link code is ready */ - xe->mem.vram.dpa_base =0 ; + xe->mem.vram->dpa_base =0 ;/* set up a map to the total memory area. */ - xe->mem.vram.mapping =devm_ioremap_wc (&pdev->dev, xe->mem.vram.io_start, - xe->mem.vram.io_size); + xe->mem.vram->mapping =devm_ioremap_wc (&pdev->dev, xe->mem.vram->io_start, + xe->mem.vram->io_size);return 0 ; }@@ -279,10 +279,10 @@ static void vram_fini(void *arg)struct xe_tile *tile;int id; - xe->mem.vram.mapping =NULL ; + xe->mem.vram->mapping =NULL ;for_each_tile (tile, xe, id) - tile->mem.vram.mapping =NULL ; + tile->mem.vram->mapping =NULL ; }/** @@ -318,10 +318,10 @@ int xe_vram_probe(struct xe_device *xe)if (err)return err; -drm_info (&xe->drm,"VISIBLE VRAM: %pa, %pa\n" , &xe->mem.vram.io_start, - &xe->mem.vram.io_size); +drm_info (&xe->drm,"VISIBLE VRAM: %pa, %pa\n" , &xe->mem.vram->io_start, + &xe->mem.vram->io_size); - io_size = xe->mem.vram.io_size; + io_size = xe->mem.vram->io_size;/* tile specific ranges */ for_each_tile (tile, xe, id) {@@ -329,45 +329,104 @@ int xe_vram_probe(struct xe_device *xe)if (err)return err; - tile->mem.vram.actual_physical_size = tile_size; - tile->mem.vram.io_start = xe->mem.vram.io_start + tile_offset; - tile->mem.vram.io_size =min_t (u64, vram_size, io_size); + tile->mem.vram->actual_physical_size = tile_size; + tile->mem.vram->io_start = xe->mem.vram->io_start + tile_offset; + tile->mem.vram->io_size =min_t (u64, vram_size, io_size); -if (!tile->mem.vram.io_size) { +if (!tile->mem.vram->io_size) {drm_err (&xe->drm,"Tile without any CPU visible VRAM. Aborting.\n" );return -ENODEV ; } - tile->mem.vram.dpa_base = xe->mem.vram.dpa_base + tile_offset; - tile->mem.vram.usable_size = vram_size; - tile->mem.vram.mapping = xe->mem.vram.mapping + tile_offset; + tile->mem.vram->dpa_base = xe->mem.vram->dpa_base + tile_offset; + tile->mem.vram->usable_size = vram_size; + tile->mem.vram->mapping = xe->mem.vram->mapping + tile_offset; -if (tile->mem.vram.io_size < tile->mem.vram.usable_size) +if (tile->mem.vram->io_size < tile->mem.vram->usable_size)drm_info (&xe->drm,"Small BAR device\n" ); -drm_info (&xe->drm,"VRAM[%u, %u]: Actual physical size %pa, usable size exclude stolen %pa, CPU accessible size %pa\n" , id, - tile->id, &tile->mem.vram.actual_physical_size, &tile->mem.vram.usable_size, &tile->mem.vram.io_size); -drm_info (&xe->drm,"VRAM[%u, %u]: DPA range: [%pa-%llx], io range: [%pa-%llx]\n" , id, tile->id, - &tile->mem.vram.dpa_base, tile->mem.vram.dpa_base + (u64 )tile->mem.vram.actual_physical_size, - &tile->mem.vram.io_start, tile->mem.vram.io_start + (u64 )tile->mem.vram.io_size); +drm_info (&xe->drm, +"VRAM[%u, %u]: Actual physical size %pa, usable size exclude stolen %pa, CPU accessible size %pa\n" , + id, tile->id, &tile->mem.vram->actual_physical_size, + &tile->mem.vram->usable_size, &tile->mem.vram->io_size); +drm_info (&xe->drm,"VRAM[%u, %u]: DPA range: [%pa-%llx], io range: [%pa-%llx]\n" , + id, tile->id, &tile->mem.vram->dpa_base, + tile->mem.vram->dpa_base + (u64 )tile->mem.vram->actual_physical_size, + &tile->mem.vram->io_start, + tile->mem.vram->io_start + (u64 )tile->mem.vram->io_size);/* calculate total size using tile size to get the correct HW sizing */ total_size += tile_size; available_size += vram_size; -if (total_size > xe->mem.vram.io_size) { +if (total_size > xe->mem.vram->io_size) {drm_info (&xe->drm,"VRAM: %pa is larger than resource %pa\n" , - &total_size, &xe->mem.vram.io_size); + &total_size, &xe->mem.vram->io_size); } io_size -=min_t (u64, tile_size, io_size); } - xe->mem.vram.actual_physical_size = total_size; + xe->mem.vram->actual_physical_size = total_size; -drm_info (&xe->drm,"Total VRAM: %pa, %pa\n" , &xe->mem.vram.io_start, - &xe->mem.vram.actual_physical_size); -drm_info (&xe->drm,"Available VRAM: %pa, %pa\n" , &xe->mem.vram.io_start, +drm_info (&xe->drm,"Total VRAM: %pa, %pa\n" , &xe->mem.vram->io_start, + &xe->mem.vram->actual_physical_size); +drm_info (&xe->drm,"Available VRAM: %pa, %pa\n" , &xe->mem.vram->io_start, &available_size);return devm_add_action_or_reset (xe->drm.dev, vram_fini, xe); } + +/** +* xe_vram_region_io_start - Get the IO start of a VRAM region +* @vram: the VRAM region +* +* Return: the IO start of the VRAM region, or 0 if not valid +*/ +resource_size_t xe_vram_region_io_start (const struct xe_vram_region *vram) +{ +return vram ? vram->io_start :0 ; +} + +/** +* xe_vram_region_io_size - Get the IO size of a VRAM region +* @vram: the VRAM region +* +* Return: the IO size of the VRAM region, or 0 if not valid +*/ +resource_size_t xe_vram_region_io_size (const struct xe_vram_region *vram) +{ +return vram ? vram->io_size :0 ; +} + +/** +* xe_vram_region_dpa_base - Get the DPA base of a VRAM region +* @vram: the VRAM region +* +* Return: the DPA base of the VRAM region, or 0 if not valid +*/ +resource_size_t xe_vram_region_dpa_base (const struct xe_vram_region *vram) +{ +return vram ? vram->dpa_base :0 ; +} + +/** +* xe_vram_region_usable_size - Get the usable size of a VRAM region +* @vram: the VRAM region +* +* Return: the usable size of the VRAM region, or 0 if not valid +*/ +resource_size_t xe_vram_region_usable_size (const struct xe_vram_region *vram) +{ +return vram ? vram->usable_size :0 ; +} + +/** +* xe_vram_region_actual_physical_size - Get the actual physical size of a VRAM region +* @vram: the VRAM region +* +* Return: the actual physical size of the VRAM region, or 0 if not valid +*/ +resource_size_t xe_vram_region_actual_physical_size (const struct xe_vram_region *vram) +{ +return vram ? vram->actual_physical_size :0 ; +}drivers/gpu/drm/xe/xe_vram.h +3
-0@@ -6,8 +6,17 @@#ifndef _XE_VRAM_H_#define _XE_VRAM_H_ +#include <linux/types.h> +struct xe_device ; +struct xe_vram_region ;
drivers/gpu/drm/xe/xe_vram.h line 22
Quoted 10 lines
drivers/gpu/drm/xe/xe_vram.h +6
-0int xe_vram_probe (struct xe_device *xe); +resource_size_t xe_vram_region_io_start (const struct xe_vram_region *vram); +resource_size_t xe_vram_region_io_size (const struct xe_vram_region *vram); +resource_size_t xe_vram_region_dpa_base (const struct xe_vram_region *vram); +resource_size_t xe_vram_region_usable_size (const struct xe_vram_region *vram); +resource_size_t xe_vram_region_actual_physical_size (const struct xe_vram_region *vram); +#endif
With nits fixed,
PATCH v8 3/4 drm/xe: Move struct xe_vram_region to a dedicated header
In reply to Piórkowski, PiotrFrom: Piotr Piórkowski <[email protected]>
Let's move the xe_vram_region structure to a new header dedicated to VRAM to improve modularity and avoid unnecessary dependencies when only VRAM-related structures are needed.
v2: Fix build if CONFIG_DRM_XE_DEVMEM_MIRROR is enabled
v3: Fix build if CONFIG_DRM_XE_DISPLAY is enabled
--- drivers/gpu/drm/xe/display/xe_fb_pin.c | 1 + drivers/gpu/drm/xe/display/xe_plane_initial.c | 1 + drivers/gpu/drm/xe/xe_bo.c | 1 + drivers/gpu/drm/xe/xe_bo_types.h | 1 + drivers/gpu/drm/xe/xe_device.c | 1 + drivers/gpu/drm/xe/xe_device_types.h | 60 +-------------- drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 1 + drivers/gpu/drm/xe/xe_svm.c | 3 +- drivers/gpu/drm/xe/xe_tile.c | 1 + drivers/gpu/drm/xe/xe_tile.h | 11 --- drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 1 + drivers/gpu/drm/xe/xe_vram.c | 1 + drivers/gpu/drm/xe/xe_vram_types.h | 74 +++++++++++++++++++ 13 files changed, 86 insertions(+), 71 deletions(-) create mode 100644 drivers/gpu/drm/xe/xe_vram_types.h
drivers/gpu/drm/xe/display/xe_fb_pin.c +1 -0
@@ -16,6 +16,7 @@#include "xe_device.h" #include "xe_ggtt.h" #include "xe_pm.h" +#include "xe_vram_types.h" static void write_dpt_rotated(struct xe_bo *bo, struct iosys_map *map, u32 *dpt_ofs, u32 bo_ofs,
drivers/gpu/drm/xe/display/xe_plane_initial.c +1 -0
@@ -22,6 +22,7 @@#include "intel_plane_initial.h" #include "xe_bo.h" #include "xe_wa.h" +#include "xe_vram_types.h" #include <generated/xe_wa_oob.h>
drivers/gpu/drm/xe/xe_bo.c +1 -0
@@ -34,6 +34,7 @@#include "xe_trace_bo.h" #include "xe_ttm_stolen_mgr.h" #include "xe_vm.h" +#include "xe_vram_types.h" const char *const xe_mem_type_to_name[TTM_NUM_MEM_TYPES ] = { [XE_PL_SYSTEM ] ="system" ,
drivers/gpu/drm/xe/xe_bo_types.h +1 -0
@@ -9,6 +9,7 @@#include <linux/iosys-map.h> #include <drm/drm_gpusvm.h> +#include <drm/drm_pagemap.h> #include <drm/ttm/ttm_bo.h> #include <drm/ttm/ttm_device.h> #include <drm/ttm/ttm_placement.h>
drivers/gpu/drm/xe/xe_device.c +1 -0
@@ -63,6 +63,7 @@#include "xe_ttm_sys_mgr.h" #include "xe_vm.h" #include "xe_vram.h" +#include "xe_vram_types.h" #include "xe_vsec.h" #include "xe_wait_user_fence.h" #include "xe_wa.h"
drivers/gpu/drm/xe/xe_device_types.h +1 -59
84 lines not on this page · raw message
drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c +1 -0
@@ -33,6 +33,7 @@#include "xe_migrate.h" #include "xe_sriov.h" #include "xe_ttm_vram_mgr.h" +#include "xe_vram_types.h" #include "xe_wopcm.h" #define make_u64_from_u32 (hi, lo) ((u64)((u64)(u32)(hi) << 32 | (u32)(lo)))
drivers/gpu/drm/xe/xe_svm.c +2 -1
@@ -17,6 +17,7 @@#include "xe_ttm_vram_mgr.h" #include "xe_vm.h" #include "xe_vm_types.h" +#include "xe_vram_types.h" static bool xe_svm_range_in_vram (struct xe_svm_range *range) {
@@ -1006,7 +1007,7 @@ int xe_svm_alloc_vram(struct xe_tile *tile, struct xe_svm_range *range,xe_assert (tile_to_xe (tile), range->base.flags.migrate_devmem);range_debug (range,"ALLOCATE VRAM" ); - dpagemap =xe_tile_local_pagemap (tile); + dpagemap = &tile->mem.vram->dpagemap; return drm_pagemap_populate_mm(dpagemap, xe_svm_range_start(range), xe_svm_range_end(range), range->base.gpusvm->mm,
drivers/gpu/drm/xe/xe_tile.c +1 -0
@@ -20,6 +20,7 @@#include "xe_ttm_vram_mgr.h" #include "xe_wa.h" #include "xe_vram.h" +#include "xe_vram_types.h" /** * DOC: Multi-tile Design
drivers/gpu/drm/xe/xe_tile.h +0 -11
@@ -18,15 +18,4 @@ int xe_tile_alloc_vram(struct xe_tile *tile);void xe_tile_migrate_wait (struct xe_tile *tile); -#if IS_ENABLED (CONFIG_DRM_XE_PAGEMAP ) -static inline struct drm_pagemap *xe_tile_local_pagemap (struct xe_tile *tile) -{ -return &tile->mem.vram->dpagemap; -} -#else -static inline struct drm_pagemap *xe_tile_local_pagemap (struct xe_tile *tile) -{ -return NULL ; -} -#endif #endif
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c +1 -0
@@ -15,6 +15,7 @@#include "xe_gt.h" #include "xe_res_cursor.h" #include "xe_ttm_vram_mgr.h" +#include "xe_vram_types.h" static inline struct drm_buddy_block *xe_ttm_vram_mgr_first_block (struct list_head *list)
drivers/gpu/drm/xe/xe_vram.c +1 -0
@@ -20,6 +20,7 @@#include "xe_module.h" #include "xe_sriov.h" #include "xe_vram.h" +#include "xe_vram_types.h" #define BAR_SIZE_SHIFT 20
drivers/gpu/drm/xe/xe_vram_types.h new file +74 -0
74 lines not on this page · raw message
Signature · 1 line
2.34.1
Re: [PATCH v8 3/4] drm/xe: Move struct xe_vram_region to a dedicated header
Quoted 45 lines · Piotr
From: Piotr Piórkowski<[email protected]>
Let's move the
xe_vram_regionstructure to a new header dedicated to VRAM to improve modularity and avoid unnecessary dependencies when only VRAM-related structures are needed.v2: Fix build if
CONFIG_DRM_XE_DEVMEM_MIRRORis enabled
v3: Fix build ifCONFIG_DRM_XE_DISPLAYis enabledSigned-off-by Piotr Piórkowski<[email protected]>Suggested-by Jani Nikula<[email protected]>--- drivers/gpu/drm/xe/display/xe_fb_pin.c | 1 + drivers/gpu/drm/xe/display/xe_plane_initial.c | 1 + drivers/gpu/drm/xe/xe_bo.c | 1 + drivers/gpu/drm/xe/xe_bo_types.h | 1 + drivers/gpu/drm/xe/xe_device.c | 1 + drivers/gpu/drm/xe/xe_device_types.h | 60 +-------------- drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c | 1 + drivers/gpu/drm/xe/xe_svm.c | 3 +- drivers/gpu/drm/xe/xe_tile.c | 1 + drivers/gpu/drm/xe/xe_tile.h | 11 --- drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 1 + drivers/gpu/drm/xe/xe_vram.c | 1 + drivers/gpu/drm/xe/xe_vram_types.h | 74 +++++++++++++++++++ 13 files changed, 86 insertions(+), 71 deletions(-)create mode 100644
drivers/gpu/drm/xe/xe_vram_types.hdrivers/gpu/drm/xe/display/xe_fb_pin.c +1
-0@@ -16,6 +16,7 @@#include "xe_device.h" #include "xe_ggtt.h" #include "xe_pm.h" +#include "xe_vram_types.h" static void write_dpt_rotated(struct xe_bo *bo, struct iosys_map *map, u32 *dpt_ofs, u32 bo_ofs,drivers/gpu/drm/xe/display/xe_plane_initial.c +0
-0
drivers/gpu/drm/xe/display/xe_plane_initial.c line 25
Quoted 4 lines
drivers/gpu/drm/xe/display/xe_plane_initial.c +1
-0@@ -22,6 +22,7 @@#include "intel_plane_initial.h" #include "xe_bo.h" #include "xe_wa.h" +#include "xe_vram_types.h"
Sort the header files in ascending order.
Quoted 60 lines
drivers/gpu/drm/xe/display/xe_plane_initial.c +0
-0#include <generated/xe_wa_oob.h> drivers/gpu/drm/xe/xe_bo.c +1
-0@@ -34,6 +34,7 @@#include "xe_trace_bo.h" #include "xe_ttm_stolen_mgr.h" #include "xe_vm.h" +#include "xe_vram_types.h" const char *const xe_mem_type_to_name[TTM_NUM_MEM_TYPES ] = { [XE_PL_SYSTEM ] ="system" ,drivers/gpu/drm/xe/xe_bo_types.h +1
-0@@ -9,6 +9,7 @@#include <linux/iosys-map.h> #include <drm/drm_gpusvm.h> +#include <drm/drm_pagemap.h> #include <drm/ttm/ttm_bo.h> #include <drm/ttm/ttm_device.h> #include <drm/ttm/ttm_placement.h> drivers/gpu/drm/xe/xe_device.c +1
-0@@ -63,6 +63,7 @@#include "xe_ttm_sys_mgr.h" #include "xe_vm.h" #include "xe_vram.h" +#include "xe_vram_types.h" #include "xe_vsec.h" #include "xe_wait_user_fence.h" #include "xe_wa.h" drivers/gpu/drm/xe/xe_device_types.h +0
-2@@ -10,7 +10,6 @@#include <drm/drm_device.h> #include <drm/drm_file.h> -#include <drm/drm_pagemap.h> #include <drm/ttm/ttm_device.h> #include "xe_devcoredump_types.h" @@ -24,7 +23,6 @@#include "xe_sriov_types.h" #include "xe_step_types.h" #include "xe_survivability_mode_types.h" -#include "xe_ttm_vram_mgr_types.h" #if IS_ENABLED (CONFIG_DRM_XE_DEBUG )#define TEST_VM_OPS_ERROR
drivers/gpu/drm/xe/xe_device_types.h struct intel_dg_nvm_dev; · line 37
Quoted 4 lines
drivers/gpu/drm/xe/xe_device_types.h +1
-0@@ -36,6 +34,7 @@ struct intel_dg_nvm_dev;struct xe_ggtt ;struct xe_pat_ops ;struct xe_pxp ; +struct xe_vram ;
Follow inverse xmas tree format.
Quoted 226 lines
drivers/gpu/drm/xe/xe_device_types.h +0
-57#define XE_BO_INVALID_OFFSET LONG_MAX@@ -68,63 +67,6 @@ struct xe_pxp; const struct xe_tile * : (const struct xe_device *)((tile__)->xe), \ struct xe_tile * : (tile__)->xe) -/** -* struct xe_vram_region - memory region structure -* This is used to describe a memory region in xe -* device, such as HBM memory or CXL extension memory. -*/ -struct xe_vram_region { -/** @tile: Back pointer to tile */ -struct xe_tile *tile; -/** @io_start: IO start address of this VRAM instance */ -resource_size_t io_start; -/** -* @io_size: IO size of this VRAM instance -* -* This represents how much of this VRAM we can access -* via the CPU through the VRAM BAR. This can be smaller -* than @usable_size, in which case only part of VRAM is CPU -* accessible (typically the first 256M). This -* configuration is known as small-bar. -*/ -resource_size_t io_size; -/** @dpa_base: This memory regions's DPA (device physical address) base */ -resource_size_t dpa_base; -/** -* @usable_size: usable size of VRAM -* -* Usable size of VRAM excluding reserved portions -* (e.g stolen mem) -*/ -resource_size_t usable_size; -/** -* @actual_physical_size: Actual VRAM size -* -* Actual VRAM size including reserved portions -* (e.g stolen mem) -*/ -resource_size_t actual_physical_size; -/** @mapping: pointer to VRAM mappable space */ -void __iomem *mapping; -/** @ttm: VRAM TTM manager */ -struct xe_ttm_vram_mgr ttm; -#if IS_ENABLED (CONFIG_DRM_XE_PAGEMAP ) -/** @pagemap: Used to remap device memory as ZONE_DEVICE */ -struct dev_pagemap pagemap; -/** -* @dpagemap: The struct drm_pagemap of the ZONE_DEVICE memory -* pages of this tile. -*/ -struct drm_pagemap dpagemap; -/** -* @hpa_base: base host physical address -* -* This is generated when remap device memory as ZONE_DEVICE -*/ -resource_size_t hpa_base; -#endif -}; -/** * struct xe_mmio - register mmio structure * drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c +1
-0@@ -33,6 +33,7 @@#include "xe_migrate.h" #include "xe_sriov.h" #include "xe_ttm_vram_mgr.h" +#include "xe_vram_types.h" #include "xe_wopcm.h" #define make_u64_from_u32 (hi, lo) ((u64)((u64)(u32)(hi) << 32 | (u32)(lo)))drivers/gpu/drm/xe/xe_svm.c +2
-1@@ -17,6 +17,7 @@#include "xe_ttm_vram_mgr.h" #include "xe_vm.h" #include "xe_vm_types.h" +#include "xe_vram_types.h" static bool xe_svm_range_in_vram (struct xe_svm_range *range) {@@ -1006,7 +1007,7 @@ int xe_svm_alloc_vram(struct xe_tile *tile, struct xe_svm_range *range,xe_assert (tile_to_xe (tile), range->base.flags.migrate_devmem);range_debug (range,"ALLOCATE VRAM" ); - dpagemap =xe_tile_local_pagemap (tile); + dpagemap = &tile->mem.vram->dpagemap; return drm_pagemap_populate_mm(dpagemap, xe_svm_range_start(range), xe_svm_range_end(range), range->base.gpusvm->mm,drivers/gpu/drm/xe/xe_tile.c +1
-0@@ -20,6 +20,7 @@#include "xe_ttm_vram_mgr.h" #include "xe_wa.h" #include "xe_vram.h" +#include "xe_vram_types.h" /** * DOC: Multi-tile Design drivers/gpu/drm/xe/xe_tile.h +0
-11@@ -18,15 +18,4 @@ int xe_tile_alloc_vram(struct xe_tile *tile);void xe_tile_migrate_wait (struct xe_tile *tile); -#if IS_ENABLED (CONFIG_DRM_XE_PAGEMAP ) -static inline struct drm_pagemap *xe_tile_local_pagemap (struct xe_tile *tile) -{ -return &tile->mem.vram->dpagemap; -} -#else -static inline struct drm_pagemap *xe_tile_local_pagemap (struct xe_tile *tile) -{ -return NULL ; -} -#endif #endif drivers/gpu/drm/xe/xe_ttm_vram_mgr.c +1
-0@@ -15,6 +15,7 @@#include "xe_gt.h" #include "xe_res_cursor.h" #include "xe_ttm_vram_mgr.h" +#include "xe_vram_types.h" static inline struct drm_buddy_block *xe_ttm_vram_mgr_first_block (struct list_head *list)drivers/gpu/drm/xe/xe_vram.c +1
-0@@ -20,6 +20,7 @@#include "xe_module.h" #include "xe_sriov.h" #include "xe_vram.h" +#include "xe_vram_types.h" #define BAR_SIZE_SHIFT 20drivers/gpu/drm/xe/xe_vram_types.h new file +64
-0@@ -0,0 +1,74 @@ +/* SPDX-License-Identifier: MIT */ +/* +* Copyright © 2025 Intel Corporation +*/ + +#ifndef _XE_VRAM_TYPES_H_ +#define _XE_VRAM_TYPES_H_ + +#if IS_ENABLED(CONFIG_DRM_XE_PAGEMAP) +#include <drm/drm_pagemap.h> +#endif + +#include "xe_ttm_vram_mgr_types.h" + +struct xe_tile; + +/** + * struct xe_vram_region - memory region structure + * This is used to describe a memory region in xe + * device, such as HBM memory or CXL extension memory. + */ +struct xe_vram_region { + /** @tile: Back pointer to tile */ + struct xe_tile *tile; + /** @io_start: IO start address of this VRAM instance */ + resource_size_t io_start; + /** + * @io_size: IO size of this VRAM instance + * + * This represents how much of this VRAM we can access + * via the CPU through the VRAM BAR. This can be smaller + * than @usable_size, in which case only part of VRAM is CPU + * accessible (typically the first 256M). This + * configuration is known as small-bar. + */ + resource_size_t io_size; + /** @dpa_base: This memory regions's DPA (device physical address) base */ + resource_size_t dpa_base; + /** + * @usable_size: usable size of VRAM + * + * Usable size of VRAM excluding reserved portions + * (e.g stolen mem) + */ + resource_size_t usable_size; + /** + * @actual_physical_size: Actual VRAM size + * + * Actual VRAM size including reserved portions + * (e.g stolen mem) + */ + resource_size_t actual_physical_size; + /** @mapping: pointer to VRAM mappable space */ + void __iomem *mapping; + /** @ttm: VRAM TTM manager */ + struct xe_ttm_vram_mgr ttm; +#if IS_ENABLED(CONFIG_DRM_XE_PAGEMAP) + /** @pagemap: Used to remap device memory as ZONE_DEVICE */ + struct dev_pagemap pagemap; + /** + * @dpagemap: The struct drm_pagemap of the ZONE_DEVICE memory + * pages of this tile. + */ + struct drm_pagemap dpagemap;
drivers/gpu/drm/xe/xe_vram_types.h line 74
Quoted 10 lines
drivers/gpu/drm/xe/xe_vram_types.h new file +10
-0+/** +* @hpa_base: base host physical address +* +* This is generated when remap device memory as ZONE_DEVICE +*/ +resource_size_t hpa_base; +#endif +}; + +#endif
With nits fixed,
PATCH v8 4/4 drm/xe: Unify the initialization of VRAM regions
In reply to Piórkowski, PiotrFrom: Piotr Piórkowski <[email protected]>
Currently in the drivers we have defined VRAM regions per device and per tile. Initialization of these regions is done in two completely different ways. To simplify the logic of the code and make it easier to add new regions in the future, let's unify the way we initialize VRAM regions.
v2:
- fix doc comments in struct xe_vram_region
- remove unnecessary includes (Jani)
v3:
- move code from xe_vram_init_regions_managers to xe_tile_init_noalloc (Matthew)
- replace ioremap_wc to devm_ioremap_wc for mapping VRAM BAR (Matthew)
- Replace the tile id parameter with vram region in the xe_pf_begin function.
--- drivers/gpu/drm/xe/xe_gt_pagefault.c | 13 ++- drivers/gpu/drm/xe/xe_query.c | 3 +- drivers/gpu/drm/xe/xe_tile.c | 37 +++---- drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 16 ++- drivers/gpu/drm/xe/xe_ttm_vram_mgr.h | 3 +- drivers/gpu/drm/xe/xe_vram.c | 149 ++++++++++++++++----------- drivers/gpu/drm/xe/xe_vram.h | 2 + drivers/gpu/drm/xe/xe_vram_types.h | 8 ++ 8 files changed, 134 insertions(+), 97 deletions(-)
drivers/gpu/drm/xe/xe_gt_pagefault.c +8 -5
@@ -23,6 +23,7 @@#include "xe_svm.h" #include "xe_trace_bo.h" #include "xe_vm.h" +#include "xe_vram_types.h" struct pagefault {u64 page_addr;
@@ -74,7 +75,7 @@ static bool vma_is_valid(struct xe_tile *tile, struct xe_vma *vma) }static int xe_pf_begin (struct drm_exec *exec,struct xe_vma *vma, -bool atomic,unsigned int id) +bool atomic,struct xe_vram_region *vram) {struct xe_bo *bo =xe_vma_bo (vma);struct xe_vm *vm =xe_vma_vm (vma);
@@ -84,14 +85,16 @@ static int xe_pf_begin(struct drm_exec *exec, struct xe_vma *vma,if (err)return err; -if (atomic &&IS_DGFX (vm->xe)) { +if (atomic && vram) { +xe_assert (vm->xe,IS_DGFX (vm->xe)); +if (xe_vma_is_userptr (vma)) { err = -EACCES ;return err; }/* Migrate to VRAM, move should invalidate the VMA first */ - err =xe_bo_migrate (bo,XE_PL_VRAM0 + id); + err =xe_bo_migrate (bo, vram->placement);if (err)return err; }else if (bo) {
@@ -138,7 +141,7 @@ static int handle_vma_pagefault(struct xe_gt *gt, struct xe_vma *vma,/* Lock VM and BOs dma-resv */ drm_exec_init (&exec,0 ,0 ); drm_exec_until_all_locked(&exec) { - err =xe_pf_begin (&exec, vma, atomic, tile->id); + err =xe_pf_begin (&exec, vma, atomic, tile->mem.vram);drm_exec_retry_on_contention (&exec);if (xe_vm_validate_should_retry (&exec, err, &end)) err = -EAGAIN ;
@@ -572,7 +575,7 @@ static int handle_acc(struct xe_gt *gt, struct acc *acc)/* Lock VM and BOs dma-resv */ drm_exec_init (&exec,0 ,0 ); drm_exec_until_all_locked(&exec) { - ret =xe_pf_begin (&exec, vma, true, tile->id); + ret =xe_pf_begin (&exec, vma, true, tile->mem.vram);drm_exec_retry_on_contention (&exec);if (ret)break ;
drivers/gpu/drm/xe/xe_query.c +2 -1
@@ -27,6 +27,7 @@#include "xe_oa.h" #include "xe_pxp.h" #include "xe_ttm_vram_mgr.h" +#include "xe_vram_types.h" #include "xe_wa.h" static const u16 xe_to_user_engine_class[] = {
@@ -409,7 +410,7 @@ static int query_gt_list(struct xe_device *xe, struct drm_xe_device_query *query gt_list->gt_list[id].near_mem_regions =0x1 ; else gt_list->gt_list[id].near_mem_regions = -BIT (gt_to_tile (gt)->id) <<1 ; +BIT (gt_to_tile (gt)->mem.vram->id) <<1 ; gt_list->gt_list[id].far_mem_regions = xe->info.mem_region_mask ^ gt_list->gt_list[id].near_mem_regions;
drivers/gpu/drm/xe/xe_tile.c +12 -25
@@ -7,6 +7,7 @@#include <drm/drm_managed.h> +#include "xe_bo.h" #include "xe_device.h" #include "xe_ggtt.h" #include "xe_gt.h"
@@ -114,11 +115,9 @@ int xe_tile_alloc_vram(struct xe_tile *tile)if (!IS_DGFX (xe))return 0 ; - vram =drmm_kzalloc (&xe->drm,sizeof (*vram),GFP_KERNEL ); -if (!vram) -return -ENOMEM ; - - vram->tile = tile; + vram =xe_vram_region_alloc (xe, tile->id,XE_PL_VRAM0 + tile->id); +if (IS_ERR (vram)) +return PTR_ERR (vram); tile->mem.vram = vram;return 0 ;
@@ -156,21 +155,6 @@ int xe_tile_init_early(struct xe_tile *tile, struct xe_device *xe, u8 id) }ALLOW_ERROR_INJECTION (xe_tile_init_early,ERRNO );/* See xe_pci_probe() */ -static int tile_ttm_mgr_init (struct xe_tile *tile) -{ -struct xe_device *xe =tile_to_xe (tile); -int err; - -if (tile->mem.vram) { - err =xe_ttm_vram_mgr_init (tile, &tile->mem.vram->ttm); -if (err) -return err; - xe->info.mem_region_mask |=BIT (tile->id) <<1 ; - } - -return 0 ; -} -/** * xe_tile_init_noalloc - Init tile up to the point where allocations can happen. * @tile: The tile to initialize.
@@ -188,17 +172,20 @@ static int tile_ttm_mgr_init(struct xe_tile *tile)int xe_tile_init_noalloc (struct xe_tile *tile) {struct xe_device *xe =tile_to_xe (tile); -int err; - - err =tile_ttm_mgr_init (tile); -if (err) -return err;xe_wa_apply_tile_workarounds (tile);if (xe->info.has_usm &&IS_DGFX (xe))xe_devm_add (tile, tile->mem.vram); +if (IS_DGFX (xe) && !ttm_resource_manager_used (&tile->mem.vram->ttm.manager)) { +int err =xe_ttm_vram_mgr_init (xe, tile->mem.vram); + +if (err) +return err; + xe->info.mem_region_mask |=BIT (tile->mem.vram->id) <<1 ; + } +return xe_tile_sysfs_init (tile); }
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c +11 -5
@@ -338,12 +338,18 @@ int __xe_ttm_vram_mgr_init(struct xe_device *xe, struct xe_ttm_vram_mgr *mgr,return drmm_add_action_or_reset (&xe->drm, ttm_vram_mgr_fini, mgr); } -int xe_ttm_vram_mgr_init (struct xe_tile *tile,struct xe_ttm_vram_mgr *mgr) +/** +* xe_ttm_vram_mgr_init - initialize TTM VRAM region +* @xe: pointer to Xe device +* @vram: pointer to xe_vram_region that contains the memory region attributes +* +* Initialize the Xe TTM for given @vram region using the given parameters. +* +* Returns 0 for success, negative error code otherwise. +*/ +int xe_ttm_vram_mgr_init (struct xe_device *xe,struct xe_vram_region *vram) { -struct xe_device *xe =tile_to_xe (tile); -struct xe_vram_region *vram = tile->mem.vram; - -return __xe_ttm_vram_mgr_init (xe, mgr,XE_PL_VRAM0 + tile->id, +return __xe_ttm_vram_mgr_init (xe, &vram->ttm, vram->placement,xe_vram_region_usable_size (vram),xe_vram_region_io_size (vram),PAGE_SIZE );
drivers/gpu/drm/xe/xe_ttm_vram_mgr.h +2 -1
@@ -11,11 +11,12 @@enum dma_data_direction ;struct xe_device ;struct xe_tile ; +struct xe_vram_region ;int __xe_ttm_vram_mgr_init (struct xe_device *xe,struct xe_ttm_vram_mgr *mgr,u32 mem_type,u64 size,u64 io_size,u64 default_page_size); -int xe_ttm_vram_mgr_init (struct xe_tile *tile,struct xe_ttm_vram_mgr *mgr); +int xe_ttm_vram_mgr_init (struct xe_device *xe,struct xe_vram_region *vram); int xe_ttm_vram_mgr_alloc_sgt(struct xe_device *xe, struct ttm_resource *res, u64 offset, u64 length,
drivers/gpu/drm/xe/xe_vram.c +89 -60
207 lines not on this page · raw message
drivers/gpu/drm/xe/xe_vram.h +2 -0
@@ -13,6 +13,8 @@ struct xe_vram_region;int xe_vram_probe (struct xe_device *xe); +struct xe_vram_region *xe_vram_region_alloc (struct xe_device *xe,u8 id,u32 placement); +resource_size_t xe_vram_region_io_start (const struct xe_vram_region *vram);resource_size_t xe_vram_region_io_size (const struct xe_vram_region *vram);resource_size_t xe_vram_region_dpa_base (const struct xe_vram_region *vram);
drivers/gpu/drm/xe/xe_vram_types.h +8 -0
@@ -23,6 +23,12 @@ struct xe_vram_region {/** @tile: Back pointer to tile */ struct xe_tile *tile;/** @io_start: IO start address of this VRAM instance */ +/** +* @id: VRAM region instance id +* +* The value should be unique for VRAM region. +*/ +u8 id;resource_size_t io_start;/** * @io_size: IO size of this VRAM instance
@@ -54,6 +60,8 @@ struct xe_vram_region {void __iomem *mapping;/** @ttm: VRAM TTM manager */ struct xe_ttm_vram_mgr ttm; +/** @placement: TTM placement dedicated for this region */ +u32 placement;#if IS_ENABLED (CONFIG_DRM_XE_PAGEMAP )/** @pagemap: Used to remap device memory as ZONE_DEVICE */ struct dev_pagemap pagemap;
Signature · 1 line
2.34.1
Re: [PATCH v8 4/4] drm/xe: Unify the initialization of VRAM regions
Quoted 165 lines · Piotr
From: Piotr Piórkowski <[email protected]>
Currently in the drivers we have defined VRAM regions per device and per tile. Initialization of these regions is done in two completely different ways. To simplify the logic of the code and make it easier to add new regions in the future, let's unify the way we initialize VRAM regions.
v2:
- fix doc comments in structxe_vram_region
- remove unnecessary includes (Jani)
v3:
- move code fromxe_vram_init_regions_managerstoxe_tile_init_noalloc(Matthew)
- replaceioremap_wctodevm_ioremap_wcfor mapping VRAM BAR (Matthew)
- Replace the tile id parameter with vram region in thexe_pf_beginfunction.Signed-off-by Piotr Piórkowski <[email protected]>Cc Stuart Summers <[email protected]>Cc Matthew Auld <[email protected]>Cc Jani Nikula <[email protected]>--- drivers/gpu/drm/xe/xe_gt_pagefault.c | 13 ++- drivers/gpu/drm/xe/xe_query.c | 3 +- drivers/gpu/drm/xe/xe_tile.c | 37 +++---- drivers/gpu/drm/xe/xe_ttm_vram_mgr.c | 16 ++- drivers/gpu/drm/xe/xe_ttm_vram_mgr.h | 3 +- drivers/gpu/drm/xe/xe_vram.c | 149 ++++++++++++++++----------- drivers/gpu/drm/xe/xe_vram.h | 2 + drivers/gpu/drm/xe/xe_vram_types.h | 8 ++ 8 files changed, 134 insertions(+), 97 deletions(-)drivers/gpu/drm/xe/xe_gt_pagefault.c +8
-5@@ -23,6 +23,7 @@#include "xe_svm.h" #include "xe_trace_bo.h" #include "xe_vm.h" +#include "xe_vram_types.h" struct pagefault {u64 page_addr;@@ -74,7 +75,7 @@ static bool vma_is_valid(struct xe_tile *tile, struct xe_vma *vma) }static int xe_pf_begin (struct drm_exec *exec,struct xe_vma *vma, -bool atomic,unsigned int id) +bool atomic,struct xe_vram_region *vram) {struct xe_bo *bo =xe_vma_bo (vma);struct xe_vm *vm =xe_vma_vm (vma);@@ -84,14 +85,16 @@ static int xe_pf_begin(struct drm_exec *exec, struct xe_vma *vma,if (err)return err; -if (atomic &&IS_DGFX (vm->xe)) { +if (atomic && vram) { +xe_assert (vm->xe,IS_DGFX (vm->xe)); +if (xe_vma_is_userptr (vma)) { err = -EACCES ;return err; }/* Migrate to VRAM, move should invalidate the VMA first */ - err =xe_bo_migrate (bo,XE_PL_VRAM0 + id); + err =xe_bo_migrate (bo, vram->placement);if (err)return err; }else if (bo) {@@ -138,7 +141,7 @@ static int handle_vma_pagefault(struct xe_gt *gt, struct xe_vma *vma,/* Lock VM and BOs dma-resv */ drm_exec_init (&exec,0 ,0 ); drm_exec_until_all_locked(&exec) { - err =xe_pf_begin (&exec, vma, atomic, tile->id); + err =xe_pf_begin (&exec, vma, atomic, tile->mem.vram);drm_exec_retry_on_contention (&exec);if (xe_vm_validate_should_retry (&exec, err, &end)) err = -EAGAIN ;@@ -572,7 +575,7 @@ static int handle_acc(struct xe_gt *gt, struct acc *acc)/* Lock VM and BOs dma-resv */ drm_exec_init (&exec,0 ,0 ); drm_exec_until_all_locked(&exec) { - ret =xe_pf_begin (&exec, vma, true, tile->id); + ret =xe_pf_begin (&exec, vma, true, tile->mem.vram);drm_exec_retry_on_contention (&exec);if (ret)break ;drivers/gpu/drm/xe/xe_query.c +2
-1@@ -27,6 +27,7 @@#include "xe_oa.h" #include "xe_pxp.h" #include "xe_ttm_vram_mgr.h" +#include "xe_vram_types.h" #include "xe_wa.h" static const u16 xe_to_user_engine_class[] = {@@ -409,7 +410,7 @@ static int query_gt_list(struct xe_device *xe, struct drm_xe_device_query *query gt_list->gt_list[id].near_mem_regions =0x1 ; else gt_list->gt_list[id].near_mem_regions = -BIT (gt_to_tile (gt)->id) <<1 ; +BIT (gt_to_tile (gt)->mem.vram->id) <<1 ; gt_list->gt_list[id].far_mem_regions = xe->info.mem_region_mask ^ gt_list->gt_list[id].near_mem_regions;drivers/gpu/drm/xe/xe_tile.c +4
-20@@ -7,6 +7,7 @@#include <drm/drm_managed.h> +#include "xe_bo.h" #include "xe_device.h" #include "xe_ggtt.h" #include "xe_gt.h" @@ -114,11 +115,9 @@ int xe_tile_alloc_vram(struct xe_tile *tile)if (!IS_DGFX (xe))return 0 ; - vram =drmm_kzalloc (&xe->drm,sizeof (*vram),GFP_KERNEL ); -if (!vram) -return -ENOMEM ; - - vram->tile = tile; + vram =xe_vram_region_alloc (xe, tile->id,XE_PL_VRAM0 + tile->id); +if (IS_ERR (vram)) +return PTR_ERR (vram); tile->mem.vram = vram;return 0 ;@@ -156,21 +155,6 @@ int xe_tile_init_early(struct xe_tile *tile, struct xe_device *xe, u8 id) }ALLOW_ERROR_INJECTION (xe_tile_init_early,ERRNO );/* See xe_pci_probe() */ -static int tile_ttm_mgr_init (struct xe_tile *tile) -{ -struct xe_device *xe =tile_to_xe (tile); -int err; - -if (tile->mem.vram) { - err =xe_ttm_vram_mgr_init (tile, &tile->mem.vram->ttm); -if (err) -return err; - xe->info.mem_region_mask |=BIT (tile->id) <<1 ; - } - -return 0 ; -} -/** * xe_tile_init_noalloc - Init tile up to the point where allocations can happen. * @tile: The tile to initialize. @@ -188,17 +172,20 @@ static int tile_ttm_mgr_init(struct xe_tile *tile)int xe_tile_init_noalloc (struct xe_tile *tile) {struct xe_device *xe =tile_to_xe (tile);
drivers/gpu/drm/xe/xe_tile.c static int tile_ttm_mgr_init(struct xe_tile *tile) · line 179
Quoted 10 lines
drivers/gpu/drm/xe/xe_tile.c +0
-5-int err; - - err =tile_ttm_mgr_init (tile); -if (err) -return err;xe_wa_apply_tile_workarounds (tile);if (xe->info.has_usm &&IS_DGFX (xe))xe_devm_add (tile, tile->mem.vram);
Should we move this one below? It wants to interact with the vram, which is only fully setup below. I don't think there are any current issues, but perhaps less risky to keep existing behavior?
Quoted 120 lines
drivers/gpu/drm/xe/xe_tile.c +8
-0+if (IS_DGFX (xe) && !ttm_resource_manager_used (&tile->mem.vram->ttm.manager)) { +int err =xe_ttm_vram_mgr_init (xe, tile->mem.vram); + +if (err) +return err; + xe->info.mem_region_mask |=BIT (tile->mem.vram->id) <<1 ; + } +return xe_tile_sysfs_init (tile); }drivers/gpu/drm/xe/xe_ttm_vram_mgr.c +11
-5@@ -338,12 +338,18 @@ int __xe_ttm_vram_mgr_init(struct xe_device *xe, struct xe_ttm_vram_mgr *mgr,return drmm_add_action_or_reset (&xe->drm, ttm_vram_mgr_fini, mgr); } -int xe_ttm_vram_mgr_init (struct xe_tile *tile,struct xe_ttm_vram_mgr *mgr) +/** +* xe_ttm_vram_mgr_init - initialize TTM VRAM region +* @xe: pointer to Xe device +* @vram: pointer to xe_vram_region that contains the memory region attributes +* +* Initialize the Xe TTM for given @vram region using the given parameters. +* +* Returns 0 for success, negative error code otherwise. +*/ +int xe_ttm_vram_mgr_init (struct xe_device *xe,struct xe_vram_region *vram) { -struct xe_device *xe =tile_to_xe (tile); -struct xe_vram_region *vram = tile->mem.vram; - -return __xe_ttm_vram_mgr_init (xe, mgr,XE_PL_VRAM0 + tile->id, +return __xe_ttm_vram_mgr_init (xe, &vram->ttm, vram->placement,xe_vram_region_usable_size (vram),xe_vram_region_io_size (vram),PAGE_SIZE );drivers/gpu/drm/xe/xe_ttm_vram_mgr.h +2
-1@@ -11,11 +11,12 @@enum dma_data_direction ;struct xe_device ;struct xe_tile ; +struct xe_vram_region ;int __xe_ttm_vram_mgr_init (struct xe_device *xe,struct xe_ttm_vram_mgr *mgr,u32 mem_type,u64 size,u64 io_size,u64 default_page_size); -int xe_ttm_vram_mgr_init (struct xe_tile *tile,struct xe_ttm_vram_mgr *mgr); +int xe_ttm_vram_mgr_init (struct xe_device *xe,struct xe_vram_region *vram); int xe_ttm_vram_mgr_alloc_sgt(struct xe_device *xe, struct ttm_resource *res, u64 offset, u64 length,drivers/gpu/drm/xe/xe_vram.c +21
-7@@ -19,6 +19,7 @@#include "xe_mmio.h" #include "xe_module.h" #include "xe_sriov.h" +#include "xe_ttm_vram_mgr.h" #include "xe_vram.h" #include "xe_vram_types.h" @@ -137,7 +138,7 @@ static bool resource_is_valid(struct pci_dev *pdev, int bar)return true; } -static int determine_lmem_bar_size (struct xe_device *xe) +static int determine_lmem_bar_size (struct xe_device *xe,struct xe_vram_region *lmem_bar) {struct pci_dev *pdev =to_pci_dev (xe->drm.dev);@@ -148,17 +149,16 @@ static int determine_lmem_bar_size(struct xe_device *xe)resize_vram_bar (xe); - xe->mem.vram->io_start =pci_resource_start (pdev,LMEM_BAR ); - xe->mem.vram->io_size =pci_resource_len (pdev,LMEM_BAR ); -if (!xe->mem.vram->io_size) + lmem_bar->io_start =pci_resource_start (pdev,LMEM_BAR ); + lmem_bar->io_size =pci_resource_len (pdev,LMEM_BAR ); +if (!lmem_bar->io_size)return -EIO ;/* XXX: Need to change when xe link code is ready */ - xe->mem.vram->dpa_base =0 ; + lmem_bar->dpa_base =0 ;/* set up a map to the total memory area. */ - xe->mem.vram->mapping =devm_ioremap_wc (&pdev->dev, xe->mem.vram->io_start, - xe->mem.vram->io_size); + lmem_bar->mapping =devm_ioremap_wc (&pdev->dev, lmem_bar->io_start, lmem_bar->io_size);return 0 ; }@@ -286,6 +286,65 @@ static void vram_fini(void *arg) tile->mem.vram->mapping =NULL ; } +struct xe_vram_region *xe_vram_region_alloc (struct xe_device *xe,u8 id,u32 placement) +{ +struct xe_vram_region *vram; +struct drm_device *drm = &xe->drm; + +xe_assert (xe, id < xe->info.tile_count); + + vram =drmm_kzalloc (drm,sizeof (*vram),GFP_KERNEL ); +if (!vram) +return NULL ; + + vram->id = id; + vram->placement = placement; + vram->tile = &xe->tiles[id];
drivers/gpu/drm/xe/xe_vram.c static void vram_fini(void *arg) · line 312
Quoted 10 lines
drivers/gpu/drm/xe/xe_vram.c +10
-0+ +return vram; +} + +static void print_vram_region_info (struct xe_device *xe,struct xe_vram_region *vram) +{ +struct drm_device *drm = &xe->drm; + +if (vram->io_size < vram->usable_size) +drm_info (drm,"Small BAR device\n" );
Maybe move this out into the main loop and print once at the end? Seeing "Small BAR device" potentially more than once is odd?
Quoted 162 lines
drivers/gpu/drm/xe/xe_vram.c +58
-53+ +drm_info (drm, +"VRAM[%u]: Actual physical size %pa, usable size exclude stolen %pa, CPU accessible size %pa\n" , + vram->id, &vram->actual_physical_size, &vram->usable_size, &vram->io_size); +drm_info (drm,"VRAM[%u]: DPA range: [%pa-%llx], io range: [%pa-%llx]\n" , + vram->id, &vram->dpa_base, vram->dpa_base + (u64 )vram->actual_physical_size, + &vram->io_start, vram->io_start + (u64 )vram->io_size); +} + +static int vram_region_init (struct xe_device *xe,struct xe_vram_region *vram, +struct xe_vram_region *lmem_bar,u64 offset,u64 usable_size, +u64 region_size,resource_size_t remain_io_size) +{ +/* Check if VRAM region is already initialized */ +if (vram->mapping) +return 0 ; + + vram->actual_physical_size = region_size; + vram->io_start = lmem_bar->io_start + offset; + vram->io_size =min_t (u64, usable_size, remain_io_size); + +if (!vram->io_size) { +drm_err (&xe->drm,"Tile without any CPU visible VRAM. Aborting.\n" ); +return -ENODEV ; + } + + vram->dpa_base = lmem_bar->dpa_base + offset; + vram->mapping = lmem_bar->mapping + offset; + vram->usable_size = usable_size; + +print_vram_region_info (xe, vram); + +return 0 ; +} +/** * xe_vram_probe() - Probe VRAM configuration * @xe: the &xe_device @@ -297,82 +356,52 @@ static void vram_fini(void *arg)int xe_vram_probe (struct xe_device *xe) {struct xe_tile *tile; -resource_size_t io_size; +struct xe_vram_region lmem_bar; +resource_size_t remain_io_size;u64 available_size =0 ;u64 total_size =0 ; -u64 tile_offset; -u64 tile_size; -u64 vram_size;int err;u8 id;if (!IS_DGFX (xe))return 0 ; -/* Get the size of the root tile's vram for later accessibility comparison */ - tile =xe_device_get_root_tile (xe); - err =tile_vram_size (tile, &vram_size, &tile_size, &tile_offset); -if (err) -return err; - - err =determine_lmem_bar_size (xe); + err =determine_lmem_bar_size (xe, &lmem_bar);if (err)return err; +drm_info (&xe->drm,"VISIBLE VRAM: %pa, %pa\n" , &lmem_bar.io_start, &lmem_bar.io_size); -drm_info (&xe->drm,"VISIBLE VRAM: %pa, %pa\n" , &xe->mem.vram->io_start, - &xe->mem.vram->io_size); + remain_io_size = lmem_bar.io_size; - io_size = xe->mem.vram->io_size; - -/* tile specific ranges */ for_each_tile (tile, xe, id) { - err =tile_vram_size (tile, &vram_size, &tile_size, &tile_offset); +u64 region_size; +u64 usable_size; +u64 tile_offset; + + err =tile_vram_size (tile, &usable_size, ®ion_size, &tile_offset);if (err)return err; - tile->mem.vram->actual_physical_size = tile_size; - tile->mem.vram->io_start = xe->mem.vram->io_start + tile_offset; - tile->mem.vram->io_size =min_t (u64, vram_size, io_size); + total_size += region_size; + available_size += usable_size; -if (!tile->mem.vram->io_size) { -drm_err (&xe->drm,"Tile without any CPU visible VRAM. Aborting.\n" ); -return -ENODEV ; - } + err =vram_region_init (xe, tile->mem.vram, &lmem_bar, tile_offset, usable_size, + region_size, remain_io_size); +if (err) +return err; - tile->mem.vram->dpa_base = xe->mem.vram->dpa_base + tile_offset; - tile->mem.vram->usable_size = vram_size; - tile->mem.vram->mapping = xe->mem.vram->mapping + tile_offset; - -if (tile->mem.vram->io_size < tile->mem.vram->usable_size) -drm_info (&xe->drm,"Small BAR device\n" ); -drm_info (&xe->drm, -"VRAM[%u, %u]: Actual physical size %pa, usable size exclude stolen %pa, CPU accessible size %pa\n" , - id, tile->id, &tile->mem.vram->actual_physical_size, - &tile->mem.vram->usable_size, &tile->mem.vram->io_size); -drm_info (&xe->drm,"VRAM[%u, %u]: DPA range: [%pa-%llx], io range: [%pa-%llx]\n" , - id, tile->id, &tile->mem.vram->dpa_base, - tile->mem.vram->dpa_base + (u64 )tile->mem.vram->actual_physical_size, - &tile->mem.vram->io_start, - tile->mem.vram->io_start + (u64 )tile->mem.vram->io_size); - -/* calculate total size using tile size to get the correct HW sizing */ - total_size += tile_size; - available_size += vram_size; - -if (total_size > xe->mem.vram->io_size) { +if (total_size > lmem_bar.io_size) {drm_info (&xe->drm,"VRAM: %pa is larger than resource %pa\n" , - &total_size, &xe->mem.vram->io_size); + &total_size, &lmem_bar.io_size); } - io_size -=min_t (u64, tile_size, io_size); + remain_io_size -=min_t (u64, tile->mem.vram->actual_physical_size, remain_io_size); } - xe->mem.vram->actual_physical_size = total_size; - -drm_info (&xe->drm,"Total VRAM: %pa, %pa\n" , &xe->mem.vram->io_start, - &xe->mem.vram->actual_physical_size); -drm_info (&xe->drm,"Available VRAM: %pa, %pa\n" , &xe->mem.vram->io_start, - &available_size); + err =vram_region_init (xe, xe->mem.vram, &lmem_bar,0 , available_size, total_size, + lmem_bar.io_size); +if (err) +return err;return devm_add_action_or_reset (xe->drm.dev, vram_fini, xe); }drivers/gpu/drm/xe/xe_vram.h +2
-0@@ -13,6 +13,8 @@ struct xe_vram_region;int xe_vram_probe (struct xe_device *xe); +struct xe_vram_region *xe_vram_region_alloc (struct xe_device *xe,u8 id,u32 placement); +resource_size_t xe_vram_region_io_start (const struct xe_vram_region *vram);resource_size_t xe_vram_region_io_size (const struct xe_vram_region *vram);resource_size_t xe_vram_region_dpa_base (const struct xe_vram_region *vram);drivers/gpu/drm/xe/xe_vram_types.h +0
-0
drivers/gpu/drm/xe/xe_vram_types.h struct xe_vram_region { · line 25
Quoted 3 lines
drivers/gpu/drm/xe/xe_vram_types.h +0
-0@@ -23,6 +23,12 @@ struct xe_vram_region {/** @tile: Back pointer to tile */ struct xe_tile *tile;/** @io_start: IO start address of this VRAM instance */
This kernel-doc is no longer directly above io_start member.
Quoted 18 lines
drivers/gpu/drm/xe/xe_vram_types.h +8
-0+/** +* @id: VRAM region instance id +* +* The value should be unique for VRAM region. +*/ +u8 id;resource_size_t io_start;/** * @io_size: IO size of this VRAM instance @@ -54,6 +60,8 @@ struct xe_vram_region {void __iomem *mapping;/** @ttm: VRAM TTM manager */ struct xe_ttm_vram_mgr ttm; +/** @placement: TTM placement dedicated for this region */ +u32 placement;#if IS_ENABLED (CONFIG_DRM_XE_PAGEMAP )/** @pagemap: Used to remap device memory as ZONE_DEVICE */ struct dev_pagemap pagemap;
Patchwork
CI✗ CI.checkpatch: warning for Cleaning up code related to VRAM regions and its initialization - part 2 (rev11)
In reply to Piórkowski, Piotr== Series Details ==
== Series Details ==
Series: Cleaning up code related to VRAM regions and its initialization - part 2 (rev11)
URL : https://patchwork.freedesktop.org/series/149503/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master f8ff75ae1d2127635239b134695774ed4045d05b
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 319e4479d8b6e2f0412f8bb789f68b78ef8b0f54
Author: Piotr Piórkowski <[email protected]> Date: Wed Jul 2 10:44:24 2025 +0200
drm/xe: Unify the initialization of VRAM regions
Currently in the drivers we have defined VRAM regions per device and per tile. Initialization of these regions is done in two completely different ways. To simplify the logic of the code and make it easier to add new regions in the future, let's unify the way we initialize VRAM regions.
v2:
- fix doc comments in struct xe_vram_region
- remove unnecessary includes (Jani)
v3:
- move code from xe_vram_init_regions_managers to xe_tile_init_noalloc (Matthew)
- replace ioremap_wc to devm_ioremap_wc for mapping VRAM BAR (Matthew)
- Replace the tile id parameter with vram region in the xe_pf_begin function.
+ /mt/dim checkpatch b96850785acbd7f0221629625724533cefc2481e drm-intel 4a4d1fd75262 drm/xe: Use devm_ioremap_wc for VRAM mapping and drop manual unmap 303b4885378d drm/xe: Use dynamic allocation for tile and device VRAM region structures 407848b78027 drm/xe: Move struct xe_vram_region to a dedicated header
-:261: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #261:
new file mode 100644
total: 0 errors, 1 warnings, 0 checks, 251 lines checked 319e4479d8b6 drm/xe: Unify the initialization of VRAM regions
Patchwork
CI✓ CI.KUnit: success for Cleaning up code related to VRAM regions and its initialization - part 2 (rev11)
In reply to Piórkowski, Piotr== Series Details ==
== Series Details ==
Series: Cleaning up code related to VRAM regions and its initialization - part 2 (rev11)
URL : https://patchwork.freedesktop.org/series/149503/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [08:51:16] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [08:51:20] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [08:51:47] Starting KUnit Kernel (1/1)... [08:51:47] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [08:51:47] ================== guc_buf (11 subtests) =================== [08:51:47] [PASSED] test_smallest [08:51:47] [PASSED] test_largest [08:51:47] [PASSED] test_granular [08:51:47] [PASSED] test_unique [08:51:47] [PASSED] test_overlap [08:51:47] [PASSED] test_reusable [08:51:47] [PASSED] test_too_big [08:51:47] [PASSED] test_flush [08:51:47] [PASSED] test_lookup [08:51:47] [PASSED] test_data [08:51:47] [PASSED] test_class [08:51:47] ===================== [PASSED] guc_buf ===================== [08:51:47] =================== guc_dbm (7 subtests) =================== [08:51:47] [PASSED] test_empty [08:51:47] [PASSED] test_default [08:51:47] ======================== test_size ======================== [08:51:47] [PASSED] 4 [08:51:47] [PASSED] 8 [08:51:47] [PASSED] 32 [08:51:47] [PASSED] 256 [08:51:47] ==================== [PASSED] test_size ==================== [08:51:47] ======================= test_reuse ======================== [08:51:47] [PASSED] 4 [08:51:47] [PASSED] 8 [08:51:47] [PASSED] 32 [08:51:47] [PASSED] 256 [08:51:47] =================== [PASSED] test_reuse ==================== [08:51:47] =================== test_range_overlap ==================== [08:51:47] [PASSED] 4 [08:51:47] [PASSED] 8 [08:51:47] [PASSED] 32 [08:51:47] [PASSED] 256 [08:51:47] =============== [PASSED] test_range_overlap ================ [08:51:47] =================== test_range_compact ==================== [08:51:47] [PASSED] 4 [08:51:47] [PASSED] 8 [08:51:47] [PASSED] 32 [08:51:47] [PASSED] 256 [08:51:47] =============== [PASSED] test_range_compact ================ [08:51:47] ==================== test_range_spare ===================== [08:51:47] [PASSED] 4 [08:51:47] [PASSED] 8 [08:51:47] [PASSED] 32 [08:51:47] [PASSED] 256 [08:51:47] ================ [PASSED] test_range_spare ================= [08:51:47] ===================== [PASSED] guc_dbm ===================== [08:51:47] =================== guc_idm (6 subtests) =================== [08:51:47] [PASSED] bad_init [08:51:47] [PASSED] no_init [08:51:47] [PASSED] init_fini [08:51:47] [PASSED] check_used [08:51:47] [PASSED] check_quota [08:51:47] [PASSED] check_all [08:51:47] ===================== [PASSED] guc_idm ===================== [08:51:47] ================== no_relay (3 subtests) =================== [08:51:47] [PASSED] xe_drops_guc2pf_if_not_ready [08:51:47] [PASSED] xe_drops_guc2vf_if_not_ready [08:51:47] [PASSED] xe_rejects_send_if_not_ready [08:51:47] ==================== [PASSED] no_relay ===================== [08:51:47] ================== pf_relay (14 subtests) ================== [08:51:47] [PASSED] pf_rejects_guc2pf_too_short [08:51:47] [PASSED] pf_rejects_guc2pf_too_long [08:51:47] [PASSED] pf_rejects_guc2pf_no_payload [08:51:47] [PASSED] pf_fails_no_payload [08:51:47] [PASSED] pf_fails_bad_origin [08:51:47] [PASSED] pf_fails_bad_type [08:51:47] [PASSED] pf_txn_reports_error [08:51:47] [PASSED] pf_txn_sends_pf2guc [08:51:47] [PASSED] pf_sends_pf2guc [08:51:47] [SKIPPED] pf_loopback_nop [08:51:47] [SKIPPED] pf_loopback_echo [08:51:47] [SKIPPED] pf_loopback_fail [08:51:47] [SKIPPED] pf_loopback_busy [08:51:47] [SKIPPED] pf_loopback_retry [08:51:47] ==================== [PASSED] pf_relay ===================== [08:51:47] ================== vf_relay (3 subtests) =================== [08:51:47] [PASSED] vf_rejects_guc2vf_too_short [08:51:47] [PASSED] vf_rejects_guc2vf_too_long [08:51:47] [PASSED] vf_rejects_guc2vf_no_payload [08:51:47] ==================== [PASSED] vf_relay ===================== [08:51:47] ================= pf_service (11 subtests) ================= [08:51:47] [PASSED] pf_negotiate_any [08:51:47] [PASSED] pf_negotiate_base_match [08:51:47] [PASSED] pf_negotiate_base_newer [08:51:47] [PASSED] pf_negotiate_base_next [08:51:47] [SKIPPED] pf_negotiate_base_older [08:51:47] [PASSED] pf_negotiate_base_prev [08:51:47] [PASSED] pf_negotiate_latest_match [08:51:47] [PASSED] pf_negotiate_latest_newer [08:51:47] [PASSED] pf_negotiate_latest_next [08:51:47] [SKIPPED] pf_negotiate_latest_older [08:51:47] [SKIPPED] pf_negotiate_latest_prev [08:51:47] =================== [PASSED] pf_service ==================== [08:51:47] ===================== lmtt (1 subtest) ===================== [08:51:47] ======================== test_ops ========================= [08:51:47] [PASSED] 2-level [08:51:47] [PASSED] multi-level [08:51:47] ==================== [PASSED] test_ops ===================== [08:51:47] ====================== [PASSED] lmtt ======================= [08:51:47] =================== xe_mocs (2 subtests) =================== [08:51:47] ================ xe_live_mocs_kernel_kunit ================ [08:51:47] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [08:51:47] ================ xe_live_mocs_reset_kunit ================= [08:51:47] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [08:51:47] ==================== [SKIPPED] xe_mocs ===================== [08:51:47] ================= xe_migrate (2 subtests) ================== [08:51:47] ================= xe_migrate_sanity_kunit ================= [08:51:47] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [08:51:47] ================== xe_validate_ccs_kunit ================== [08:51:47] ============= [SKIPPED] xe_validate_ccs_kunit ============== [08:51:47] =================== [SKIPPED] xe_migrate =================== [08:51:47] ================== xe_dma_buf (1 subtest) ================== [08:51:47] ==================== xe_dma_buf_kunit ===================== [08:51:47] ================ [SKIPPED] xe_dma_buf_kunit ================ [08:51:47] =================== [SKIPPED] xe_dma_buf =================== [08:51:47] ================= xe_bo_shrink (1 subtest) ================= [08:51:47] =================== xe_bo_shrink_kunit ==================== [08:51:47] =============== [SKIPPED] xe_bo_shrink_kunit =============== [08:51:47] ================== [SKIPPED] xe_bo_shrink ================== [08:51:47] ==================== xe_bo (2 subtests) ==================== [08:51:47] ================== xe_ccs_migrate_kunit =================== [08:51:47] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [08:51:47] ==================== xe_bo_evict_kunit ==================== [08:51:47] =============== [SKIPPED] xe_bo_evict_kunit ================ [08:51:47] ===================== [SKIPPED] xe_bo ====================== [08:51:47] ==================== args (11 subtests) ==================== [08:51:47] [PASSED] count_args_test [08:51:47] [PASSED] call_args_example [08:51:47] [PASSED] call_args_test [08:51:47] [PASSED] drop_first_arg_example [08:51:47] [PASSED] drop_first_arg_test [08:51:47] [PASSED] first_arg_example [08:51:47] [PASSED] first_arg_test [08:51:47] [PASSED] last_arg_example [08:51:47] [PASSED] last_arg_test [08:51:47] [PASSED] pick_arg_example [08:51:47] [PASSED] sep_comma_example [08:51:47] ====================== [PASSED] args ======================= [08:51:47] =================== xe_pci (2 subtests) ==================== [08:51:47] ==================== check_graphics_ip ==================== [08:51:47] [PASSED] 12.70 Xe_LPG [08:51:47] [PASSED] 12.71 Xe_LPG [08:51:47] [PASSED] 12.74 Xe_LPG+ [08:51:47] [PASSED] 20.01 Xe2_HPG [08:51:47] [PASSED] 20.02 Xe2_HPG [08:51:47] [PASSED] 20.04 Xe2_LPG [08:51:47] [PASSED] 30.00 Xe3_LPG [08:51:47] [PASSED] 30.01 Xe3_LPG [08:51:47] [PASSED] 30.03 Xe3_LPG [08:51:47] ================ [PASSED] check_graphics_ip ================ [08:51:47] ===================== check_media_ip ====================== [08:51:47] [PASSED] 13.00 Xe_LPM+ [08:51:47] [PASSED] 13.01 Xe2_HPM [08:51:47] [PASSED] 20.00 Xe2_LPM [08:51:47] [PASSED] 30.00 Xe3_LPM [08:51:47] [PASSED] 30.02 Xe3_LPM stty: 'standard input': Inappropriate ioctl for device [08:51:47] ================= [PASSED] check_media_ip ================== [08:51:47] ===================== [PASSED] xe_pci ====================== [08:51:47] =================== xe_rtp (2 subtests) ==================== [08:51:47] =============== xe_rtp_process_to_sr_tests ================ [08:51:47] [PASSED] coalesce-same-reg [08:51:47] [PASSED] no-match-no-add [08:51:47] [PASSED] match-or [08:51:47] [PASSED] match-or-xfail [08:51:47] [PASSED] no-match-no-add-multiple-rules [08:51:47] [PASSED] two-regs-two-entries [08:51:47] [PASSED] clr-one-set-other [08:51:47] [PASSED] set-field [08:51:47] [PASSED] conflict-duplicate [08:51:47] [PASSED] conflict-not-disjoint [08:51:47] [PASSED] conflict-reg-type [08:51:47] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [08:51:47] ================== xe_rtp_process_tests =================== [08:51:47] [PASSED] active1 [08:51:47] [PASSED] active2 [08:51:47] [PASSED] active-inactive [08:51:47] [PASSED] inactive-active [08:51:47] [PASSED] inactive-1st_or_active-inactive [08:51:47] [PASSED] inactive-2nd_or_active-inactive [08:51:47] [PASSED] inactive-last_or_active-inactive [08:51:47] [PASSED] inactive-no_or_active-inactive [08:51:47] ============== [PASSED] xe_rtp_process_tests =============== [08:51:47] ===================== [PASSED] xe_rtp ====================== [08:51:47] ==================== xe_wa (1 subtest) ===================== [08:51:47] ======================== xe_wa_gt ========================= [08:51:47] [PASSED] TIGERLAKE (B0) [08:51:47] [PASSED] DG1 (A0) [08:51:47] [PASSED] DG1 (B0) [08:51:47] [PASSED] ALDERLAKE_S (A0) [08:51:47] [PASSED] ALDERLAKE_S (B0) [08:51:47] [PASSED] ALDERLAKE_S (C0) [08:51:47] [PASSED] ALDERLAKE_S (D0) [08:51:47] [PASSED] ALDERLAKE_P (A0) [08:51:47] [PASSED] ALDERLAKE_P (B0) [08:51:47] [PASSED] ALDERLAKE_P (C0) [08:51:47] [PASSED] ALDERLAKE_S_RPLS (D0) [08:51:47] [PASSED] ALDERLAKE_P_RPLU (E0) [08:51:47] [PASSED] DG2_G10 (C0) [08:51:47] [PASSED] DG2_G11 (B1) [08:51:47] [PASSED] DG2_G12 (A1) [08:51:47] [PASSED] METEORLAKE (g:A0, m:A0) [08:51:47] [PASSED] METEORLAKE (g:A0, m:A0) [08:51:47] [PASSED] METEORLAKE (g:A0, m:A0) [08:51:47] [PASSED] LUNARLAKE (g:A0, m:A0) [08:51:47] [PASSED] LUNARLAKE (g:B0, m:A0) [08:51:47] [PASSED] BATTLEMAGE (g:A0, m:A1) [08:51:47] ==================== [PASSED] xe_wa_gt ===================== [08:51:47] ====================== [PASSED] xe_wa ====================== [08:51:47] ============================================================ [08:51:47] Testing complete. Ran 145 tests: passed: 129, skipped: 16 [08:51:47] Elapsed time: 31.352s total, 4.167s configuring, 26.869s building, 0.299s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [08:51:47] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [08:51:49] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [08:52:11] Starting KUnit Kernel (1/1)... [08:52:11] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [08:52:11] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [08:52:11] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [08:52:11] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [08:52:11] =========== drm_validate_clone_mode (2 subtests) =========== [08:52:11] ============== drm_test_check_in_clone_mode =============== [08:52:11] [PASSED] in_clone_mode [08:52:11] [PASSED] not_in_clone_mode [08:52:11] ========== [PASSED] drm_test_check_in_clone_mode =========== [08:52:11] =============== drm_test_check_valid_clones =============== [08:52:11] [PASSED] not_in_clone_mode [08:52:11] [PASSED] valid_clone [08:52:11] [PASSED] invalid_clone [08:52:11] =========== [PASSED] drm_test_check_valid_clones =========== [08:52:11] ============= [PASSED] drm_validate_clone_mode ============= [08:52:11] ============= drm_validate_modeset (1 subtest) ============= [08:52:11] [PASSED] drm_test_check_connector_changed_modeset [08:52:11] ============== [PASSED] drm_validate_modeset =============== [08:52:11] ====== drm_test_bridge_get_current_state (2 subtests) ====== [08:52:11] [PASSED] drm_test_drm_bridge_get_current_state_atomic [08:52:11] [PASSED] drm_test_drm_bridge_get_current_state_legacy [08:52:11] ======== [PASSED] drm_test_bridge_get_current_state ======== [08:52:11] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [08:52:11] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [08:52:11] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [08:52:11] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [08:52:11] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [08:52:11] ============== drm_bridge_alloc (2 subtests) =============== [08:52:11] [PASSED] drm_test_drm_bridge_alloc_basic [08:52:11] [PASSED] drm_test_drm_bridge_alloc_get_put [08:52:11] ================ [PASSED] drm_bridge_alloc ================= [08:52:11] ================== drm_buddy (7 subtests) ================== [08:52:11] [PASSED] drm_test_buddy_alloc_limit [08:52:11] [PASSED] drm_test_buddy_alloc_optimistic [08:52:11] [PASSED] drm_test_buddy_alloc_pessimistic [08:52:11] [PASSED] drm_test_buddy_alloc_pathological [08:52:11] [PASSED] drm_test_buddy_alloc_contiguous [08:52:11] [PASSED] drm_test_buddy_alloc_clear [08:52:11] [PASSED] drm_test_buddy_alloc_range_bias [08:52:11] ==================== [PASSED] drm_buddy ==================== [08:52:11] ============= drm_cmdline_parser (40 subtests) ============= [08:52:11] [PASSED] drm_test_cmdline_force_d_only [08:52:11] [PASSED] drm_test_cmdline_force_D_only_dvi [08:52:11] [PASSED] drm_test_cmdline_force_D_only_hdmi [08:52:11] [PASSED] drm_test_cmdline_force_D_only_not_digital [08:52:11] [PASSED] drm_test_cmdline_force_e_only [08:52:11] [PASSED] drm_test_cmdline_res [08:52:11] [PASSED] drm_test_cmdline_res_vesa [08:52:11] [PASSED] drm_test_cmdline_res_vesa_rblank [08:52:11] [PASSED] drm_test_cmdline_res_rblank [08:52:11] [PASSED] drm_test_cmdline_res_bpp [08:52:11] [PASSED] drm_test_cmdline_res_refresh [08:52:11] [PASSED] drm_test_cmdline_res_bpp_refresh [08:52:11] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [08:52:11] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [08:52:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [08:52:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [08:52:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [08:52:11] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [08:52:11] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [08:52:11] [PASSED] drm_test_cmdline_res_margins_force_on [08:52:11] [PASSED] drm_test_cmdline_res_vesa_margins [08:52:11] [PASSED] drm_test_cmdline_name [08:52:11] [PASSED] drm_test_cmdline_name_bpp [08:52:11] [PASSED] drm_test_cmdline_name_option [08:52:11] [PASSED] drm_test_cmdline_name_bpp_option [08:52:11] [PASSED] drm_test_cmdline_rotate_0 [08:52:11] [PASSED] drm_test_cmdline_rotate_90 [08:52:11] [PASSED] drm_test_cmdline_rotate_180 [08:52:11] [PASSED] drm_test_cmdline_rotate_270 [08:52:11] [PASSED] drm_test_cmdline_hmirror [08:52:11] [PASSED] drm_test_cmdline_vmirror [08:52:11] [PASSED] drm_test_cmdline_margin_options [08:52:11] [PASSED] drm_test_cmdline_multiple_options [08:52:11] [PASSED] drm_test_cmdline_bpp_extra_and_option [08:52:11] [PASSED] drm_test_cmdline_extra_and_option [08:52:11] [PASSED] drm_test_cmdline_freestanding_options [08:52:11] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [08:52:11] [PASSED] drm_test_cmdline_panel_orientation [08:52:11] ================ drm_test_cmdline_invalid ================= [08:52:11] [PASSED] margin_only [08:52:11] [PASSED] interlace_only [08:52:11] [PASSED] res_missing_x [08:52:11] [PASSED] res_missing_y [08:52:11] [PASSED] res_bad_y [08:52:11] [PASSED] res_missing_y_bpp [08:52:11] [PASSED] res_bad_bpp [08:52:11] [PASSED] res_bad_refresh [08:52:11] [PASSED] res_bpp_refresh_force_on_off [08:52:11] [PASSED] res_invalid_mode [08:52:11] [PASSED] res_bpp_wrong_place_mode [08:52:11] [PASSED] name_bpp_refresh [08:52:11] [PASSED] name_refresh [08:52:11] [PASSED] name_refresh_wrong_mode [08:52:11] [PASSED] name_refresh_invalid_mode [08:52:11] [PASSED] rotate_multiple [08:52:11] [PASSED] rotate_invalid_val [08:52:11] [PASSED] rotate_truncated [08:52:11] [PASSED] invalid_option [08:52:11] [PASSED] invalid_tv_option [08:52:11] [PASSED] truncated_tv_option [08:52:11] ============ [PASSED] drm_test_cmdline_invalid ============= [08:52:11] =============== drm_test_cmdline_tv_options =============== [08:52:11] [PASSED] NTSC [08:52:11] [PASSED] NTSC_443 [08:52:11] [PASSED] NTSC_J [08:52:11] [PASSED] PAL [08:52:11] [PASSED] PAL_M [08:52:11] [PASSED] PAL_N [08:52:11] [PASSED] SECAM [08:52:11] [PASSED] MONO_525 [08:52:11] [PASSED] MONO_625 [08:52:11] =========== [PASSED] drm_test_cmdline_tv_options =========== [08:52:11] =============== [PASSED] drm_cmdline_parser ================ [08:52:11] ========== drmm_connector_hdmi_init (20 subtests) ========== [08:52:11] [PASSED] drm_test_connector_hdmi_init_valid [08:52:11] [PASSED] drm_test_connector_hdmi_init_bpc_8 [08:52:11] [PASSED] drm_test_connector_hdmi_init_bpc_10 [08:52:11] [PASSED] drm_test_connector_hdmi_init_bpc_12 [08:52:11] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [08:52:11] [PASSED] drm_test_connector_hdmi_init_bpc_null [08:52:11] [PASSED] drm_test_connector_hdmi_init_formats_empty [08:52:11] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [08:52:11] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [08:52:11] [PASSED] supported_formats=0x9 yuv420_allowed=1 [08:52:11] [PASSED] supported_formats=0x9 yuv420_allowed=0 [08:52:11] [PASSED] supported_formats=0x3 yuv420_allowed=1 [08:52:11] [PASSED] supported_formats=0x3 yuv420_allowed=0 [08:52:11] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [08:52:11] [PASSED] drm_test_connector_hdmi_init_null_ddc [08:52:11] [PASSED] drm_test_connector_hdmi_init_null_product [08:52:11] [PASSED] drm_test_connector_hdmi_init_null_vendor [08:52:11] [PASSED] drm_test_connector_hdmi_init_product_length_exact [08:52:11] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [08:52:11] [PASSED] drm_test_connector_hdmi_init_product_valid [08:52:11] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [08:52:11] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [08:52:11] [PASSED] drm_test_connector_hdmi_init_vendor_valid [08:52:11] ========= drm_test_connector_hdmi_init_type_valid ========= [08:52:11] [PASSED] HDMI-A [08:52:11] [PASSED] HDMI-B [08:52:11] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [08:52:11] ======== drm_test_connector_hdmi_init_type_invalid ======== [08:52:11] [PASSED] Unknown [08:52:11] [PASSED] VGA [08:52:11] [PASSED] DVI-I [08:52:11] [PASSED] DVI-D [08:52:11] [PASSED] DVI-A [08:52:11] [PASSED] Composite [08:52:11] [PASSED] SVIDEO [08:52:11] [PASSED] LVDS [08:52:11] [PASSED] Component [08:52:11] [PASSED] DIN [08:52:11] [PASSED] DP [08:52:11] [PASSED] TV [08:52:11] [PASSED] eDP [08:52:11] [PASSED] Virtual [08:52:11] [PASSED] DSI [08:52:11] [PASSED] DPI [08:52:11] [PASSED] Writeback [08:52:11] [PASSED] SPI [08:52:11] [PASSED] USB [08:52:11] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [08:52:11] ============ [PASSED] drmm_connector_hdmi_init ============= [08:52:11] ============= drmm_connector_init (3 subtests) ============= [08:52:11] [PASSED] drm_test_drmm_connector_init [08:52:11] [PASSED] drm_test_drmm_connector_init_null_ddc [08:52:11] ========= drm_test_drmm_connector_init_type_valid ========= [08:52:11] [PASSED] Unknown [08:52:11] [PASSED] VGA [08:52:11] [PASSED] DVI-I [08:52:11] [PASSED] DVI-D [08:52:11] [PASSED] DVI-A [08:52:11] [PASSED] Composite [08:52:11] [PASSED] SVIDEO [08:52:11] [PASSED] LVDS [08:52:11] [PASSED] Component [08:52:11] [PASSED] DIN [08:52:11] [PASSED] DP [08:52:11] [PASSED] HDMI-A [08:52:11] [PASSED] HDMI-B [08:52:11] [PASSED] TV [08:52:11] [PASSED] eDP [08:52:11] [PASSED] Virtual [08:52:11] [PASSED] DSI [08:52:11] [PASSED] DPI [08:52:11] [PASSED] Writeback [08:52:11] [PASSED] SPI [08:52:11] [PASSED] USB [08:52:11] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [08:52:11] =============== [PASSED] drmm_connector_init =============== [08:52:11] ========= drm_connector_dynamic_init (6 subtests) ========== [08:52:11] [PASSED] drm_test_drm_connector_dynamic_init [08:52:11] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [08:52:11] [PASSED] drm_test_drm_connector_dynamic_init_not_added [08:52:11] [PASSED] drm_test_drm_connector_dynamic_init_properties [08:52:11] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [08:52:11] [PASSED] Unknown [08:52:11] [PASSED] VGA [08:52:11] [PASSED] DVI-I [08:52:11] [PASSED] DVI-D [08:52:11] [PASSED] DVI-A [08:52:11] [PASSED] Composite [08:52:11] [PASSED] SVIDEO [08:52:11] [PASSED] LVDS [08:52:11] [PASSED] Component [08:52:11] [PASSED] DIN [08:52:11] [PASSED] DP [08:52:11] [PASSED] HDMI-A [08:52:11] [PASSED] HDMI-B [08:52:11] [PASSED] TV [08:52:11] [PASSED] eDP [08:52:11] [PASSED] Virtual [08:52:11] [PASSED] DSI [08:52:11] [PASSED] DPI [08:52:11] [PASSED] Writeback [08:52:11] [PASSED] SPI [08:52:11] [PASSED] USB [08:52:11] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [08:52:11] ======== drm_test_drm_connector_dynamic_init_name ========= [08:52:11] [PASSED] Unknown [08:52:11] [PASSED] VGA [08:52:11] [PASSED] DVI-I [08:52:11] [PASSED] DVI-D [08:52:11] [PASSED] DVI-A [08:52:11] [PASSED] Composite [08:52:11] [PASSED] SVIDEO [08:52:11] [PASSED] LVDS [08:52:11] [PASSED] Component [08:52:11] [PASSED] DIN [08:52:11] [PASSED] DP [08:52:11] [PASSED] HDMI-A [08:52:11] [PASSED] HDMI-B [08:52:11] [PASSED] TV [08:52:11] [PASSED] eDP [08:52:11] [PASSED] Virtual [08:52:11] [PASSED] DSI [08:52:11] [PASSED] DPI [08:52:11] [PASSED] Writeback [08:52:11] [PASSED] SPI [08:52:11] [PASSED] USB [08:52:11] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [08:52:11] =========== [PASSED] drm_connector_dynamic_init ============ [08:52:11] ==== drm_connector_dynamic_register_early (4 subtests) ===== [08:52:11] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [08:52:11] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [08:52:11] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [08:52:11] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [08:52:11] ====== [PASSED] drm_connector_dynamic_register_early ======= [08:52:11] ======= drm_connector_dynamic_register (7 subtests) ======== [08:52:11] [PASSED] drm_test_drm_connector_dynamic_register_on_list [08:52:11] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [08:52:11] [PASSED] drm_test_drm_connector_dynamic_register_no_init [08:52:11] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [08:52:11] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [08:52:11] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [08:52:11] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [08:52:11] ========= [PASSED] drm_connector_dynamic_register ========== [08:52:11] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [08:52:11] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [08:52:11] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [08:52:11] === [PASSED] drm_connector_attach_broadcast_rgb_property === [08:52:11] ========== drm_get_tv_mode_from_name (2 subtests) ========== [08:52:11] ========== drm_test_get_tv_mode_from_name_valid =========== [08:52:11] [PASSED] NTSC [08:52:11] [PASSED] NTSC-443 [08:52:11] [PASSED] NTSC-J [08:52:11] [PASSED] PAL [08:52:11] [PASSED] PAL-M [08:52:11] [PASSED] PAL-N [08:52:11] [PASSED] SECAM [08:52:11] [PASSED] Mono [08:52:11] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [08:52:11] [PASSED] drm_test_get_tv_mode_from_name_truncated [08:52:11] ============ [PASSED] drm_get_tv_mode_from_name ============ [08:52:11] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [08:52:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [08:52:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [08:52:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [08:52:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [08:52:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [08:52:11] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [08:52:11] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [08:52:11] [PASSED] VIC 96 [08:52:11] [PASSED] VIC 97 [08:52:11] [PASSED] VIC 101 [08:52:11] [PASSED] VIC 102 [08:52:11] [PASSED] VIC 106 [08:52:11] [PASSED] VIC 107 [08:52:11] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [08:52:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [08:52:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [08:52:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [08:52:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [08:52:11] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [08:52:11] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [08:52:11] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [08:52:11] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [08:52:11] [PASSED] Automatic [08:52:11] [PASSED] Full [08:52:11] [PASSED] Limited 16:235 [08:52:11] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [08:52:11] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [08:52:11] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [08:52:11] == drm_hdmi_connector_get_output_format_name (2 subtests) == [08:52:11] === drm_test_drm_hdmi_connector_get_output_format_name ==== [08:52:11] [PASSED] RGB [08:52:11] [PASSED] YUV 4:2:0 [08:52:11] [PASSED] YUV 4:2:2 [08:52:11] [PASSED] YUV 4:4:4 [08:52:11] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [08:52:11] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [08:52:11] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [08:52:11] ============= drm_damage_helper (21 subtests) ============== [08:52:11] [PASSED] drm_test_damage_iter_no_damage [08:52:11] [PASSED] drm_test_damage_iter_no_damage_fractional_src [08:52:11] [PASSED] drm_test_damage_iter_no_damage_src_moved [08:52:11] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [08:52:11] [PASSED] drm_test_damage_iter_no_damage_not_visible [08:52:11] [PASSED] drm_test_damage_iter_no_damage_no_crtc [08:52:11] [PASSED] drm_test_damage_iter_no_damage_no_fb [08:52:11] [PASSED] drm_test_damage_iter_simple_damage [08:52:11] [PASSED] drm_test_damage_iter_single_damage [08:52:11] [PASSED] drm_test_damage_iter_single_damage_intersect_src [08:52:11] [PASSED] drm_test_damage_iter_single_damage_outside_src [08:52:11] [PASSED] drm_test_damage_iter_single_damage_fractional_src [08:52:11] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [08:52:11] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [08:52:11] [PASSED] drm_test_damage_iter_single_damage_src_moved [08:52:11] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [08:52:11] [PASSED] drm_test_damage_iter_damage [08:52:11] [PASSED] drm_test_damage_iter_damage_one_intersect [08:52:11] [PASSED] drm_test_damage_iter_damage_one_outside [08:52:11] [PASSED] drm_test_damage_iter_damage_src_moved [08:52:11] [PASSED] drm_test_damage_iter_damage_not_visible [08:52:11] ================ [PASSED] drm_damage_helper ================ [08:52:11] ============== drm_dp_mst_helper (3 subtests) ============== [08:52:11] ============== drm_test_dp_mst_calc_pbn_mode ============== [08:52:11] [PASSED] Clock 154000 BPP 30 DSC disabled [08:52:11] [PASSED] Clock 234000 BPP 30 DSC disabled [08:52:11] [PASSED] Clock 297000 BPP 24 DSC disabled [08:52:11] [PASSED] Clock 332880 BPP 24 DSC enabled [08:52:11] [PASSED] Clock 324540 BPP 24 DSC enabled [08:52:11] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [08:52:11] ============== drm_test_dp_mst_calc_pbn_div =============== [08:52:11] [PASSED] Link rate 2000000 lane count 4 [08:52:11] [PASSED] Link rate 2000000 lane count 2 [08:52:11] [PASSED] Link rate 2000000 lane count 1 [08:52:11] [PASSED] Link rate 1350000 lane count 4 [08:52:11] [PASSED] Link rate 1350000 lane count 2 [08:52:11] [PASSED] Link rate 1350000 lane count 1 [08:52:11] [PASSED] Link rate 1000000 lane count 4 [08:52:11] [PASSED] Link rate 1000000 lane count 2 [08:52:11] [PASSED] Link rate 1000000 lane count 1 [08:52:11] [PASSED] Link rate 810000 lane count 4 [08:52:11] [PASSED] Link rate 810000 lane count 2 [08:52:11] [PASSED] Link rate 810000 lane count 1 [08:52:11] [PASSED] Link rate 540000 lane count 4 [08:52:11] [PASSED] Link rate 540000 lane count 2 [08:52:11] [PASSED] Link rate 540000 lane count 1 [08:52:11] [PASSED] Link rate 270000 lane count 4 [08:52:11] [PASSED] Link rate 270000 lane count 2 [08:52:11] [PASSED] Link rate 270000 lane count 1 [08:52:11] [PASSED] Link rate 162000 lane count 4 [08:52:11] [PASSED] Link rate 162000 lane count 2 [08:52:11] [PASSED] Link rate 162000 lane count 1 [08:52:11] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [08:52:11] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [08:52:11] [PASSED] DP_ENUM_PATH_RESOURCES with port number [08:52:11] [PASSED] DP_POWER_UP_PHY with port number [08:52:11] [PASSED] DP_POWER_DOWN_PHY with port number [08:52:11] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [08:52:11] [PASSED] DP_ALLOCATE_PAYLOAD with port number [08:52:11] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [08:52:11] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [08:52:11] [PASSED] DP_QUERY_PAYLOAD with port number [08:52:11] [PASSED] DP_QUERY_PAYLOAD with VCPI [08:52:11] [PASSED] DP_REMOTE_DPCD_READ with port number [08:52:11] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [08:52:11] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [08:52:11] [PASSED] DP_REMOTE_DPCD_WRITE with port number [08:52:11] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [08:52:11] [PASSED] DP_REMOTE_DPCD_WRITE with data array [08:52:11] [PASSED] DP_REMOTE_I2C_READ with port number [08:52:11] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [08:52:11] [PASSED] DP_REMOTE_I2C_READ with transactions array [08:52:11] [PASSED] DP_REMOTE_I2C_WRITE with port number [08:52:11] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [08:52:11] [PASSED] DP_REMOTE_I2C_WRITE with data array [08:52:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [08:52:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [08:52:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [08:52:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [08:52:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [08:52:11] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [08:52:11] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [08:52:11] ================ [PASSED] drm_dp_mst_helper ================ [08:52:11] ================== drm_exec (7 subtests) =================== [08:52:11] [PASSED] sanitycheck [08:52:11] [PASSED] test_lock [08:52:11] [PASSED] test_lock_unlock [08:52:11] [PASSED] test_duplicates [08:52:11] [PASSED] test_prepare [08:52:11] [PASSED] test_prepare_array [08:52:11] [PASSED] test_multiple_loops [08:52:11] ==================== [PASSED] drm_exec ===================== [08:52:11] =========== drm_format_helper_test (17 subtests) =========== [08:52:11] ============== drm_test_fb_xrgb8888_to_gray8 ============== [08:52:11] [PASSED] single_pixel_source_buffer [08:52:11] [PASSED] single_pixel_clip_rectangle [08:52:11] [PASSED] well_known_colors [08:52:11] [PASSED] destination_pitch [08:52:11] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [08:52:11] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [08:52:11] [PASSED] single_pixel_source_buffer [08:52:11] [PASSED] single_pixel_clip_rectangle [08:52:11] [PASSED] well_known_colors [08:52:11] [PASSED] destination_pitch [08:52:11] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [08:52:11] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [08:52:11] [PASSED] single_pixel_source_buffer [08:52:11] [PASSED] single_pixel_clip_rectangle [08:52:11] [PASSED] well_known_colors [08:52:11] [PASSED] destination_pitch [08:52:11] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [08:52:11] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [08:52:11] [PASSED] single_pixel_source_buffer [08:52:11] [PASSED] single_pixel_clip_rectangle [08:52:11] [PASSED] well_known_colors [08:52:11] [PASSED] destination_pitch [08:52:11] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [08:52:11] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [08:52:11] [PASSED] single_pixel_source_buffer [08:52:11] [PASSED] single_pixel_clip_rectangle [08:52:11] [PASSED] well_known_colors [08:52:11] [PASSED] destination_pitch [08:52:11] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [08:52:11] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [08:52:11] [PASSED] single_pixel_source_buffer [08:52:11] [PASSED] single_pixel_clip_rectangle [08:52:11] [PASSED] well_known_colors [08:52:11] [PASSED] destination_pitch [08:52:11] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [08:52:11] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [08:52:11] [PASSED] single_pixel_source_buffer [08:52:11] [PASSED] single_pixel_clip_rectangle [08:52:11] [PASSED] well_known_colors [08:52:11] [PASSED] destination_pitch [08:52:11] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [08:52:11] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [08:52:11] [PASSED] single_pixel_source_buffer [08:52:11] [PASSED] single_pixel_clip_rectangle [08:52:11] [PASSED] well_known_colors [08:52:11] [PASSED] destination_pitch [08:52:11] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [08:52:11] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [08:52:11] [PASSED] single_pixel_source_buffer [08:52:11] [PASSED] single_pixel_clip_rectangle [08:52:11] [PASSED] well_known_colors [08:52:11] [PASSED] destination_pitch [08:52:11] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [08:52:11] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [08:52:11] [PASSED] single_pixel_source_buffer [08:52:11] [PASSED] single_pixel_clip_rectangle [08:52:11] [PASSED] well_known_colors [08:52:11] [PASSED] destination_pitch [08:52:11] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [08:52:11] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [08:52:11] [PASSED] single_pixel_source_buffer [08:52:11] [PASSED] single_pixel_clip_rectangle [08:52:11] [PASSED] well_known_colors [08:52:11] [PASSED] destination_pitch [08:52:11] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [08:52:11] ============== drm_test_fb_xrgb8888_to_mono =============== [08:52:11] [PASSED] single_pixel_source_buffer [08:52:11] [PASSED] single_pixel_clip_rectangle [08:52:11] [PASSED] well_known_colors [08:52:11] [PASSED] destination_pitch [08:52:11] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [08:52:11] ==================== drm_test_fb_swab ===================== [08:52:11] [PASSED] single_pixel_source_buffer [08:52:11] [PASSED] single_pixel_clip_rectangle [08:52:11] [PASSED] well_known_colors [08:52:11] [PASSED] destination_pitch [08:52:11] ================ [PASSED] drm_test_fb_swab ================= [08:52:11] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [08:52:11] [PASSED] single_pixel_source_buffer [08:52:11] [PASSED] single_pixel_clip_rectangle [08:52:11] [PASSED] well_known_colors [08:52:11] [PASSED] destination_pitch [08:52:11] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [08:52:11] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [08:52:11] [PASSED] single_pixel_source_buffer [08:52:11] [PASSED] single_pixel_clip_rectangle [08:52:11] [PASSED] well_known_colors [08:52:11] [PASSED] destination_pitch [08:52:11] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [08:52:11] ================= drm_test_fb_clip_offset ================= [08:52:11] [PASSED] pass through [08:52:11] [PASSED] horizontal offset [08:52:11] [PASSED] vertical offset [08:52:11] [PASSED] horizontal and vertical offset [08:52:11] [PASSED] horizontal offset (custom pitch) [08:52:11] [PASSED] vertical offset (custom pitch) [08:52:11] [PASSED] horizontal and vertical offset (custom pitch) [08:52:11] ============= [PASSED] drm_test_fb_clip_offset ============= [08:52:11] =================== drm_test_fb_memcpy ==================== [08:52:11] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [08:52:11] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [08:52:11] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [08:52:11] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [08:52:11] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [08:52:11] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [08:52:11] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [08:52:11] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [08:52:11] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [08:52:11] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [08:52:11] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [08:52:11] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [08:52:11] =============== [PASSED] drm_test_fb_memcpy ================ [08:52:11] ============= [PASSED] drm_format_helper_test ============== [08:52:11] ================= drm_format (18 subtests) ================= [08:52:11] [PASSED] drm_test_format_block_width_invalid [08:52:11] [PASSED] drm_test_format_block_width_one_plane [08:52:11] [PASSED] drm_test_format_block_width_two_plane [08:52:11] [PASSED] drm_test_format_block_width_three_plane [08:52:11] [PASSED] drm_test_format_block_width_tiled [08:52:11] [PASSED] drm_test_format_block_height_invalid [08:52:11] [PASSED] drm_test_format_block_height_one_plane [08:52:11] [PASSED] drm_test_format_block_height_two_plane [08:52:11] [PASSED] drm_test_format_block_height_three_plane [08:52:11] [PASSED] drm_test_format_block_height_tiled [08:52:11] [PASSED] drm_test_format_min_pitch_invalid [08:52:11] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [08:52:11] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [08:52:11] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [08:52:11] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [08:52:11] [PASSED] drm_test_format_min_pitch_two_plane [08:52:11] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [08:52:11] [PASSED] drm_test_format_min_pitch_tiled [08:52:11] =================== [PASSED] drm_format ==================== [08:52:11] ============== drm_framebuffer (10 subtests) =============== [08:52:11] ========== drm_test_framebuffer_check_src_coords ========== [08:52:11] [PASSED] Success: source fits into fb [08:52:11] [PASSED] Fail: overflowing fb with x-axis coordinate [08:52:11] [PASSED] Fail: overflowing fb with y-axis coordinate [08:52:11] [PASSED] Fail: overflowing fb with source width [08:52:11] [PASSED] Fail: overflowing fb with source height [08:52:11] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [08:52:11] [PASSED] drm_test_framebuffer_cleanup [08:52:11] =============== drm_test_framebuffer_create =============== [08:52:11] [PASSED] ABGR8888 normal sizes [08:52:11] [PASSED] ABGR8888 max sizes [08:52:11] [PASSED] ABGR8888 pitch greater than min required [08:52:11] [PASSED] ABGR8888 pitch less than min required [08:52:11] [PASSED] ABGR8888 Invalid width [08:52:11] [PASSED] ABGR8888 Invalid buffer handle [08:52:11] [PASSED] No pixel format [08:52:11] [PASSED] ABGR8888 Width 0 [08:52:11] [PASSED] ABGR8888 Height 0 [08:52:11] [PASSED] ABGR8888 Out of bound height * pitch combination [08:52:11] [PASSED] ABGR8888 Large buffer offset [08:52:11] [PASSED] ABGR8888 Buffer offset for inexistent plane [08:52:11] [PASSED] ABGR8888 Invalid flag [08:52:11] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [08:52:11] [PASSED] ABGR8888 Valid buffer modifier [08:52:11] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [08:52:11] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [08:52:11] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [08:52:11] [PASSED] NV12 Normal sizes [08:52:11] [PASSED] NV12 Max sizes [08:52:11] [PASSED] NV12 Invalid pitch [08:52:11] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [08:52:11] [PASSED] NV12 different modifier per-plane [08:52:11] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [08:52:11] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [08:52:11] [PASSED] NV12 Modifier for inexistent plane [08:52:11] [PASSED] NV12 Handle for inexistent plane [08:52:11] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [08:52:11] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [08:52:11] [PASSED] YVU420 Normal sizes [08:52:11] [PASSED] YVU420 Max sizes [08:52:11] [PASSED] YVU420 Invalid pitch [08:52:11] [PASSED] YVU420 Different pitches [08:52:11] [PASSED] YVU420 Different buffer offsets/pitches [08:52:11] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [08:52:11] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [08:52:11] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [08:52:11] [PASSED] YVU420 Valid modifier [08:52:11] [PASSED] YVU420 Different modifiers per plane [08:52:11] [PASSED] YVU420 Modifier for inexistent plane [08:52:11] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [08:52:11] [PASSED] X0L2 Normal sizes [08:52:11] [PASSED] X0L2 Max sizes [08:52:11] [PASSED] X0L2 Invalid pitch [08:52:11] [PASSED] X0L2 Pitch greater than minimum required [08:52:11] [PASSED] X0L2 Handle for inexistent plane [08:52:11] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [08:52:11] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [08:52:11] [PASSED] X0L2 Valid modifier [08:52:11] [PASSED] X0L2 Modifier for inexistent plane [08:52:11] =========== [PASSED] drm_test_framebuffer_create =========== [08:52:11] [PASSED] drm_test_framebuffer_free [08:52:11] [PASSED] drm_test_framebuffer_init [08:52:11] [PASSED] drm_test_framebuffer_init_bad_format [08:52:11] [PASSED] drm_test_framebuffer_init_dev_mismatch [08:52:11] [PASSED] drm_test_framebuffer_lookup [08:52:11] [PASSED] drm_test_framebuffer_lookup_inexistent [08:52:11] [PASSED] drm_test_framebuffer_modifiers_not_supported [08:52:11] ================= [PASSED] drm_framebuffer ================= [08:52:11] ================ drm_gem_shmem (8 subtests) ================ [08:52:11] [PASSED] drm_gem_shmem_test_obj_create [08:52:11] [PASSED] drm_gem_shmem_test_obj_create_private [08:52:11] [PASSED] drm_gem_shmem_test_pin_pages [08:52:11] [PASSED] drm_gem_shmem_test_vmap [08:52:11] [PASSED] drm_gem_shmem_test_get_pages_sgt [08:52:11] [PASSED] drm_gem_shmem_test_get_sg_table [08:52:11] [PASSED] drm_gem_shmem_test_madvise [08:52:11] [PASSED] drm_gem_shmem_test_purge [08:52:11] ================== [PASSED] drm_gem_shmem ================== [08:52:11] === drm_atomic_helper_connector_hdmi_check (27 subtests) === [08:52:11] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [08:52:11] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [08:52:11] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [08:52:11] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [08:52:11] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [08:52:11] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [08:52:11] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [08:52:11] [PASSED] Automatic [08:52:11] [PASSED] Full [08:52:11] [PASSED] Limited 16:235 [08:52:11] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [08:52:11] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [08:52:11] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [08:52:11] [PASSED] drm_test_check_disable_connector [08:52:11] [PASSED] drm_test_check_hdmi_funcs_reject_rate [08:52:11] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [08:52:11] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [08:52:11] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [08:52:11] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [08:52:11] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [08:52:11] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [08:52:11] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [08:52:11] [PASSED] drm_test_check_output_bpc_dvi [08:52:11] [PASSED] drm_test_check_output_bpc_format_vic_1 [08:52:11] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [08:52:11] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [08:52:11] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [08:52:11] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [08:52:11] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [08:52:11] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [08:52:11] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [08:52:11] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [08:52:11] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [08:52:11] [PASSED] drm_test_check_broadcast_rgb_value [08:52:11] [PASSED] drm_test_check_bpc_8_value [08:52:11] [PASSED] drm_test_check_bpc_10_value [08:52:11] [PASSED] drm_test_check_bpc_12_value [08:52:11] [PASSED] drm_test_check_format_value [08:52:11] [PASSED] drm_test_check_tmds_char_value [08:52:11] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [08:52:11] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) = [08:52:11] [PASSED] drm_test_check_mode_valid [08:52:11] [PASSED] drm_test_check_mode_valid_reject [08:52:11] [PASSED] drm_test_check_mode_valid_reject_rate [08:52:11] [PASSED] drm_test_check_mode_valid_reject_max_clock [08:52:11] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [08:52:11] ================= drm_managed (2 subtests) ================= [08:52:11] [PASSED] drm_test_managed_release_action [08:52:11] [PASSED] drm_test_managed_run_action [08:52:11] =================== [PASSED] drm_managed =================== [08:52:11] =================== drm_mm (6 subtests) ==================== [08:52:11] [PASSED] drm_test_mm_init [08:52:11] [PASSED] drm_test_mm_debug [08:52:11] [PASSED] drm_test_mm_align32 [08:52:11] [PASSED] drm_test_mm_align64 [08:52:11] [PASSED] drm_test_mm_lowest [08:52:11] [PASSED] drm_test_mm_highest [08:52:11] ===================== [PASSED] drm_mm ====================== [08:52:11] ============= drm_modes_analog_tv (5 subtests) ============= [08:52:11] [PASSED] drm_test_modes_analog_tv_mono_576i [08:52:11] [PASSED] drm_test_modes_analog_tv_ntsc_480i [08:52:11] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [08:52:11] [PASSED] drm_test_modes_analog_tv_pal_576i [08:52:11] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [08:52:11] =============== [PASSED] drm_modes_analog_tv =============== [08:52:11] ============== drm_plane_helper (2 subtests) =============== [08:52:11] =============== drm_test_check_plane_state ================ [08:52:11] [PASSED] clipping_simple [08:52:11] [PASSED] clipping_rotate_reflect [08:52:11] [PASSED] positioning_simple [08:52:11] [PASSED] upscaling [08:52:11] [PASSED] downscaling [08:52:11] [PASSED] rounding1 [08:52:11] [PASSED] rounding2 [08:52:11] [PASSED] rounding3 [08:52:11] [PASSED] rounding4 [08:52:11] =========== [PASSED] drm_test_check_plane_state ============ [08:52:11] =========== drm_test_check_invalid_plane_state ============ [08:52:11] [PASSED] positioning_invalid [08:52:11] [PASSED] upscaling_invalid [08:52:11] [PASSED] downscaling_invalid [08:52:11] ======= [PASSED] drm_test_check_invalid_plane_state ======== [08:52:11] ================ [PASSED] drm_plane_helper ================= [08:52:11] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [08:52:11] ====== drm_test_connector_helper_tv_get_modes_check ======= [08:52:11] [PASSED] None [08:52:11] [PASSED] PAL [08:52:11] [PASSED] NTSC [08:52:11] [PASSED] Both, NTSC Default [08:52:11] [PASSED] Both, PAL Default [08:52:11] [PASSED] Both, NTSC Default, with PAL on command-line [08:52:11] [PASSED] Both, PAL Default, with NTSC on command-line [08:52:11] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [08:52:11] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [08:52:11] ================== drm_rect (9 subtests) =================== [08:52:11] [PASSED] drm_test_rect_clip_scaled_div_by_zero [08:52:11] [PASSED] drm_test_rect_clip_scaled_not_clipped [08:52:11] [PASSED] drm_test_rect_clip_scaled_clipped [08:52:11] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [08:52:11] ================= drm_test_rect_intersect ================= [08:52:11] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [08:52:11] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [08:52:11] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [08:52:11] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [08:52:11] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [08:52:11] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [08:52:11] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [08:52:11] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [08:52:11] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [08:52:11] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [08:52:11] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [08:52:11] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [08:52:11] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [08:52:11] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [08:52:11] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [08:52:11] ============= [PASSED] drm_test_rect_intersect ============= [08:52:11] ================ drm_test_rect_calc_hscale ================ [08:52:11] [PASSED] normal use [08:52:11] [PASSED] out of max range [08:52:11] [PASSED] out of min range [08:52:11] [PASSED] zero dst [08:52:11] [PASSED] negative src [08:52:11] [PASSED] negative dst [08:52:11] ============ [PASSED] drm_test_rect_calc_hscale ============ [08:52:11] ================ drm_test_rect_calc_vscale ================ [08:52:11] [PASSED] normal use [08:52:11] [PASSED] out of max range [08:52:11] [PASSED] out of min range [08:52:11] [PASSED] zero dst [08:52:11] [PASSED] negative src [08:52:11] [PASSED] negative dst [08:52:11] ============ [PASSED] drm_test_rect_calc_vscale ============ [08:52:11] ================== drm_test_rect_rotate =================== [08:52:11] [PASSED] reflect-x [08:52:11] [PASSED] reflect-y [08:52:11] [PASSED] rotate-0 [08:52:11] [PASSED] rotate-90 [08:52:11] [PASSED] rotate-180 [08:52:11] [PASSED] rotate-270 stty: 'standard input': Inappropriate ioctl for device [08:52:11] ============== [PASSED] drm_test_rect_rotate =============== [08:52:11] ================ drm_test_rect_rotate_inv ================= [08:52:11] [PASSED] reflect-x [08:52:11] [PASSED] reflect-y [08:52:11] [PASSED] rotate-0 [08:52:11] [PASSED] rotate-90 [08:52:11] [PASSED] rotate-180 [08:52:11] [PASSED] rotate-270 [08:52:11] ============ [PASSED] drm_test_rect_rotate_inv ============= [08:52:11] ==================== [PASSED] drm_rect ===================== [08:52:11] ============ drm_sysfb_modeset_test (1 subtest) ============ [08:52:11] ============ drm_test_sysfb_build_fourcc_list ============= [08:52:11] [PASSED] no native formats [08:52:11] [PASSED] XRGB8888 as native format [08:52:11] [PASSED] remove duplicates [08:52:11] [PASSED] convert alpha formats [08:52:11] [PASSED] random formats [08:52:11] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [08:52:11] ============= [PASSED] drm_sysfb_modeset_test ============== [08:52:11] ============================================================ [08:52:11] Testing complete. Ran 616 tests: passed: 616 [08:52:11] Elapsed time: 23.583s total, 1.649s configuring, 21.768s building, 0.138s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [08:52:11] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [08:52:13] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [08:52:20] Starting KUnit Kernel (1/1)... [08:52:20] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [08:52:20] ================= ttm_device (5 subtests) ================== [08:52:20] [PASSED] ttm_device_init_basic [08:52:20] [PASSED] ttm_device_init_multiple [08:52:20] [PASSED] ttm_device_fini_basic [08:52:20] [PASSED] ttm_device_init_no_vma_man [08:52:20] ================== ttm_device_init_pools ================== [08:52:20] [PASSED] No DMA allocations, no DMA32 required [08:52:20] [PASSED] DMA allocations, DMA32 required [08:52:20] [PASSED] No DMA allocations, DMA32 required [08:52:20] [PASSED] DMA allocations, no DMA32 required [08:52:20] ============== [PASSED] ttm_device_init_pools ============== [08:52:20] =================== [PASSED] ttm_device ==================== [08:52:20] ================== ttm_pool (8 subtests) =================== [08:52:20] ================== ttm_pool_alloc_basic =================== [08:52:20] [PASSED] One page [08:52:20] [PASSED] More than one page [08:52:20] [PASSED] Above the allocation limit [08:52:20] [PASSED] One page, with coherent DMA mappings enabled [08:52:20] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [08:52:20] ============== [PASSED] ttm_pool_alloc_basic =============== [08:52:20] ============== ttm_pool_alloc_basic_dma_addr ============== [08:52:20] [PASSED] One page [08:52:20] [PASSED] More than one page [08:52:20] [PASSED] Above the allocation limit [08:52:20] [PASSED] One page, with coherent DMA mappings enabled [08:52:20] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [08:52:20] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [08:52:20] [PASSED] ttm_pool_alloc_order_caching_match [08:52:20] [PASSED] ttm_pool_alloc_caching_mismatch [08:52:20] [PASSED] ttm_pool_alloc_order_mismatch [08:52:20] [PASSED] ttm_pool_free_dma_alloc [08:52:20] [PASSED] ttm_pool_free_no_dma_alloc [08:52:20] [PASSED] ttm_pool_fini_basic [08:52:20] ==================== [PASSED] ttm_pool ===================== [08:52:20] ================ ttm_resource (8 subtests) ================= [08:52:20] ================= ttm_resource_init_basic ================= [08:52:20] [PASSED] Init resource in TTM_PL_SYSTEM [08:52:20] [PASSED] Init resource in TTM_PL_VRAM [08:52:20] [PASSED] Init resource in a private placement [08:52:20] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [08:52:20] ============= [PASSED] ttm_resource_init_basic ============= [08:52:20] [PASSED] ttm_resource_init_pinned [08:52:20] [PASSED] ttm_resource_fini_basic [08:52:20] [PASSED] ttm_resource_manager_init_basic [08:52:20] [PASSED] ttm_resource_manager_usage_basic [08:52:20] [PASSED] ttm_resource_manager_set_used_basic [08:52:20] [PASSED] ttm_sys_man_alloc_basic [08:52:20] [PASSED] ttm_sys_man_free_basic [08:52:20] ================== [PASSED] ttm_resource =================== [08:52:20] =================== ttm_tt (15 subtests) =================== [08:52:20] ==================== ttm_tt_init_basic ==================== [08:52:20] [PASSED] Page-aligned size [08:52:20] [PASSED] Extra pages requested [08:52:20] ================ [PASSED] ttm_tt_init_basic ================ [08:52:20] [PASSED] ttm_tt_init_misaligned [08:52:20] [PASSED] ttm_tt_fini_basic [08:52:20] [PASSED] ttm_tt_fini_sg [08:52:20] [PASSED] ttm_tt_fini_shmem [08:52:20] [PASSED] ttm_tt_create_basic [08:52:20] [PASSED] ttm_tt_create_invalid_bo_type [08:52:20] [PASSED] ttm_tt_create_ttm_exists [08:52:20] [PASSED] ttm_tt_create_failed [08:52:20] [PASSED] ttm_tt_destroy_basic [08:52:20] [PASSED] ttm_tt_populate_null_ttm [08:52:20] [PASSED] ttm_tt_populate_populated_ttm [08:52:20] [PASSED] ttm_tt_unpopulate_basic [08:52:20] [PASSED] ttm_tt_unpopulate_empty_ttm [08:52:20] [PASSED] ttm_tt_swapin_basic [08:52:20] ===================== [PASSED] ttm_tt ====================== [08:52:20] =================== ttm_bo (14 subtests) =================== [08:52:20] =========== ttm_bo_reserve_optimistic_no_ticket =========== [08:52:20] [PASSED] Cannot be interrupted and sleeps [08:52:20] [PASSED] Cannot be interrupted, locks straight away [08:52:20] [PASSED] Can be interrupted, sleeps [08:52:21] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [08:52:21] [PASSED] ttm_bo_reserve_locked_no_sleep [08:52:21] [PASSED] ttm_bo_reserve_no_wait_ticket [08:52:21] [PASSED] ttm_bo_reserve_double_resv [08:52:21] [PASSED] ttm_bo_reserve_interrupted [08:52:21] [PASSED] ttm_bo_reserve_deadlock [08:52:21] [PASSED] ttm_bo_unreserve_basic [08:52:21] [PASSED] ttm_bo_unreserve_pinned [08:52:21] [PASSED] ttm_bo_unreserve_bulk [08:52:21] [PASSED] ttm_bo_put_basic [08:52:21] [PASSED] ttm_bo_put_shared_resv [08:52:21] [PASSED] ttm_bo_pin_basic [08:52:21] [PASSED] ttm_bo_pin_unpin_resource [08:52:21] [PASSED] ttm_bo_multiple_pin_one_unpin [08:52:21] ===================== [PASSED] ttm_bo ====================== [08:52:21] ============== ttm_bo_validate (22 subtests) =============== [08:52:21] ============== ttm_bo_init_reserved_sys_man =============== [08:52:21] [PASSED] Buffer object for userspace [08:52:21] [PASSED] Kernel buffer object [08:52:21] [PASSED] Shared buffer object [08:52:21] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [08:52:21] ============== ttm_bo_init_reserved_mock_man ============== [08:52:21] [PASSED] Buffer object for userspace [08:52:21] [PASSED] Kernel buffer object [08:52:21] [PASSED] Shared buffer object [08:52:21] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [08:52:21] [PASSED] ttm_bo_init_reserved_resv [08:52:21] ================== ttm_bo_validate_basic ================== [08:52:21] [PASSED] Buffer object for userspace [08:52:21] [PASSED] Kernel buffer object [08:52:21] [PASSED] Shared buffer object [08:52:21] ============== [PASSED] ttm_bo_validate_basic ============== [08:52:21] [PASSED] ttm_bo_validate_invalid_placement [08:52:21] ============= ttm_bo_validate_same_placement ============== [08:52:21] [PASSED] System manager [08:52:21] [PASSED] VRAM manager [08:52:21] ========= [PASSED] ttm_bo_validate_same_placement ========== [08:52:21] [PASSED] ttm_bo_validate_failed_alloc [08:52:21] [PASSED] ttm_bo_validate_pinned [08:52:21] [PASSED] ttm_bo_validate_busy_placement [08:52:21] ================ ttm_bo_validate_multihop ================= [08:52:21] [PASSED] Buffer object for userspace [08:52:21] [PASSED] Kernel buffer object [08:52:21] [PASSED] Shared buffer object [08:52:21] ============ [PASSED] ttm_bo_validate_multihop ============= [08:52:21] ========== ttm_bo_validate_no_placement_signaled ========== [08:52:21] [PASSED] Buffer object in system domain, no page vector [08:52:21] [PASSED] Buffer object in system domain with an existing page vector [08:52:21] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [08:52:21] ======== ttm_bo_validate_no_placement_not_signaled ======== [08:52:21] [PASSED] Buffer object for userspace [08:52:21] [PASSED] Kernel buffer object [08:52:21] [PASSED] Shared buffer object [08:52:21] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [08:52:21] [PASSED] ttm_bo_validate_move_fence_signaled [08:52:21] ========= ttm_bo_validate_move_fence_not_signaled ========= [08:52:21] [PASSED] Waits for GPU [08:52:21] [PASSED] Tries to lock straight away [08:52:21] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [08:52:21] [PASSED] ttm_bo_validate_swapout [08:52:21] [PASSED] ttm_bo_validate_happy_evict [08:52:21] [PASSED] ttm_bo_validate_all_pinned_evict [08:52:21] [PASSED] ttm_bo_validate_allowed_only_evict [08:52:21] [PASSED] ttm_bo_validate_deleted_evict [08:52:21] [PASSED] ttm_bo_validate_busy_domain_evict [08:52:21] [PASSED] ttm_bo_validate_evict_gutting [08:52:21] [PASSED] ttm_bo_validate_recrusive_evict stty: 'standard input': Inappropriate ioctl for device [08:52:21] ================= [PASSED] ttm_bo_validate ================= [08:52:21] ============================================================ [08:52:21] Testing complete. Ran 102 tests: passed: 102 [08:52:21] Elapsed time: 10.016s total, 1.679s configuring, 7.721s building, 0.528s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✓ Xe.CI.BAT: success for Cleaning up code related to VRAM regions and its initialization - part 2 (rev11)
In reply to Piórkowski, Piotr== Series Details ==
== Series Details ==
Series: Cleaning up code related to VRAM regions and its initialization - part 2 (rev11)
URL : https://patchwork.freedesktop.org/series/149503/
State : success
== Summary ==
CI Bug Log - changes from xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd_BAT -> xe-pw-149503v11_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (9 -> 8)
------------------------------
Missing (1): bat-adlp-vm
Changes
-------
No changes found
Build changes
-------------
* Linux: xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd -> xe-pw-149503v11
IGT_8432: 4871829d8b7117553eb2dc1bdb9a0d18de428a98 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd: 149b15e02e6496a37621cd5bf8a28f7d8c1869cd
xe-pw-149503v11: 149503v11
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/index.html
Patchwork
CI✓ Xe.CI.Full: success for Cleaning up code related to VRAM regions and its initialization - part 2 (rev11)
In reply to Piórkowski, Piotr== Series Details ==
== Series Details ==
Series: Cleaning up code related to VRAM regions and its initialization - part 2 (rev11)
URL : https://patchwork.freedesktop.org/series/149503/
State : success
== Summary ==
CI Bug Log - changes from xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd_FULL -> xe-pw-149503v11_FULL
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (4 -> 4)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-149503v11_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels:
- shard-bmg: NOTRUN -> [SKIP][1] ([Intel XE#2370])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-8/igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels.html
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-async-flip:
- shard-adlp: [PASS][2] -> [DMESG-FAIL][3] ([Intel XE#4543])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-adlp-4/igt@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-adlp-4/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][4] ([Intel XE#1124]) +1 other test skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-8/igt@[email protected]
- shard-dg2-set2: NOTRUN -> [SKIP][5] ([Intel XE#1124]) +4 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-464/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-2-displays-1920x1080p:
- shard-bmg: [PASS][6] -> [SKIP][7] ([Intel XE#2314] / [Intel XE#2894]) +1 other test skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-8/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-5/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-4-displays-3840x2160p:
- shard-bmg: NOTRUN -> [SKIP][8] ([Intel XE#2314] / [Intel XE#2894])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-8/igt@[email protected]
- shard-dg2-set2: NOTRUN -> [SKIP][9] ([Intel XE#2191])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-464/igt@[email protected]
* igt@kms_bw@linear-tiling-3-displays-2160x1440p:
- shard-dg2-set2: NOTRUN -> [SKIP][10] ([Intel XE#367])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@[email protected]
* igt@kms_ccs@ccs-on-another-bo-y-tiled-gen12-rc-ccs-cc@pipe-d-dp-4:
- shard-dg2-set2: NOTRUN -> [SKIP][11] ([Intel XE#455] / [Intel XE#787]) +16 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-464/igt@kms_ccs@[email protected]
* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
- shard-bmg: [PASS][12] -> [INCOMPLETE][13] ([Intel XE#3862])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-6/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-2/igt@[email protected]
* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs@pipe-d-dp-2:
- shard-bmg: NOTRUN -> [INCOMPLETE][14] ([Intel XE#3862])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-2/igt@kms_ccs@[email protected]
* igt@kms_ccs@crc-primary-suspend-y-tiled-gen12-rc-ccs@pipe-c-hdmi-a-2:
- shard-dg2-set2: NOTRUN -> [SKIP][15] ([Intel XE#787]) +111 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@kms_ccs@[email protected]
* igt@kms_ccs@crc-sprite-planes-basic-4-tiled-bmg-ccs:
- shard-bmg: [PASS][16] -> [FAIL][17] ([Intel XE#5376]) +1 other test fail
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-5/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-5/igt@[email protected]
* igt@kms_ccs@crc-sprite-planes-basic-4-tiled-dg2-rc-ccs:
- shard-bmg: NOTRUN -> [SKIP][18] ([Intel XE#2887])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-8/igt@[email protected]
* igt@kms_cdclk@mode-transition@pipe-a-dp-2:
- shard-dg2-set2: NOTRUN -> [SKIP][19] ([Intel XE#4417]) +3 other tests skip
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@kms_cdclk@[email protected]
* igt@kms_cdclk@plane-scaling@pipe-b-dp-2:
- shard-dg2-set2: NOTRUN -> [SKIP][20] ([Intel XE#4416]) +3 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@kms_cdclk@[email protected]
* igt@kms_chamelium_frames@hdmi-crc-nonplanar-formats:
- shard-dg2-set2: NOTRUN -> [SKIP][21] ([Intel XE#373]) +2 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@[email protected]
* igt@kms_chamelium_hpd@dp-hpd-for-each-pipe:
- shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#2252])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-8/igt@[email protected]
* igt@kms_content_protection@srm@pipe-a-dp-4:
- shard-dg2-set2: NOTRUN -> [FAIL][23] ([Intel XE#1178])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-464/igt@kms_content_protection@[email protected]
* igt@kms_content_protection@uevent@pipe-a-dp-4:
- shard-dg2-set2: NOTRUN -> [FAIL][24] ([Intel XE#1188])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-436/igt@kms_content_protection@[email protected]
* igt@kms_cursor_crc@cursor-offscreen-64x21:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#2320])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-8/igt@[email protected]
* igt@kms_cursor_crc@cursor-rapid-movement-512x512:
- shard-bmg: NOTRUN -> [SKIP][26] ([Intel XE#2321])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-5/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb-varying-size:
- shard-bmg: [PASS][27] -> [SKIP][28] ([Intel XE#2291]) +1 other test skip
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-4/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-6/igt@[email protected]
* igt@kms_display_modes@extended-mode-basic:
- shard-bmg: [PASS][29] -> [SKIP][30] ([Intel XE#4302])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-8/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-5/igt@[email protected]
* igt@kms_dither@fb-8bpc-vs-panel-6bpc@pipe-a-hdmi-a-2:
- shard-dg2-set2: NOTRUN -> [SKIP][31] ([Intel XE#4494])
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@kms_dither@[email protected]
* igt@kms_feature_discovery@psr1:
- shard-dg2-set2: NOTRUN -> [SKIP][32] ([Intel XE#1135])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@[email protected]
* igt@kms_flip@2x-plain-flip-ts-check-interruptible:
- shard-bmg: [PASS][33] -> [SKIP][34] ([Intel XE#2316]) +10 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-7/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-6/igt@[email protected]
* igt@kms_flip@flip-vs-rmfb@b-hdmi-a1:
- shard-adlp: [PASS][35] -> [DMESG-WARN][36] ([Intel XE#4543]) +1 other test dmesg-warn
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-adlp-2/igt@kms_flip@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-adlp-8/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#2293] / [Intel XE#2380])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-8/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling@pipe-a-valid-mode:
- shard-dg2-set2: NOTRUN -> [SKIP][38] ([Intel XE#455]) +3 other tests skip
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-464/igt@kms_flip_scaled_crc@[email protected]
- shard-bmg: NOTRUN -> [SKIP][39] ([Intel XE#2293])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-8/igt@kms_flip_scaled_crc@[email protected]
* igt@kms_frontbuffer_tracking@drrs-indfb-scaledprimary:
- shard-dg2-set2: NOTRUN -> [SKIP][40] ([Intel XE#651]) +12 other tests skip
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-464/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-indfb-pgflip-blt:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#4141])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-pri-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#2311]) +1 other test skip
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-8/igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcdrrs-tiling-y:
- shard-dg2-set2: NOTRUN -> [SKIP][43] ([Intel XE#658])
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-tiling-4:
- shard-dg2-set2: NOTRUN -> [SKIP][44] ([Intel XE#653]) +3 other tests skip
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-464/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][45] ([Intel XE#2313])
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-8/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc:
- shard-bmg: [PASS][46] -> [INCOMPLETE][47] ([Intel XE#5108])
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-4/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-6/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-a-hdmi-a-3:
- shard-bmg: NOTRUN -> [INCOMPLETE][48] ([Intel XE#5108])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-6/igt@kms_pipe_crc_basic@[email protected]
* igt@kms_plane_cursor@primary@pipe-a-hdmi-a-6-size-256:
- shard-dg2-set2: NOTRUN -> [FAIL][49] ([Intel XE#616]) +2 other tests fail
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-436/igt@kms_plane_cursor@[email protected]
* igt@kms_psr2_sf@pr-cursor-plane-update-sf:
- shard-dg2-set2: NOTRUN -> [SKIP][50] ([Intel XE#1489])
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@[email protected]
* igt@kms_psr@pr-cursor-plane-onoff:
- shard-bmg: NOTRUN -> [SKIP][51] ([Intel XE#2234] / [Intel XE#2850]) +2 other tests skip
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-8/igt@[email protected]
* igt@kms_psr@psr-dpms:
- shard-dg2-set2: NOTRUN -> [SKIP][52] ([Intel XE#2850] / [Intel XE#929]) +4 other tests skip
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-464/igt@[email protected]
* igt@kms_rotation_crc@primary-y-tiled-reflect-x-90:
- shard-dg2-set2: NOTRUN -> [SKIP][53] ([Intel XE#3414])
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@[email protected]
* igt@xe_eu_stall@invalid-gt-id:
- shard-dg2-set2: NOTRUN -> [SKIP][54] ([Intel XE#5308])
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@[email protected]
* igt@xe_eudebug_online@writes-caching-sram-bb-vram-target-sram:
- shard-dg2-set2: NOTRUN -> [SKIP][55] ([Intel XE#4837]) +3 other tests skip
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@[email protected]
* igt@xe_exec_basic@multigpu-no-exec-basic-defer-mmap:
- shard-dg2-set2: [PASS][56] -> [SKIP][57] ([Intel XE#1392]) +5 other tests skip
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-dg2-463/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@[email protected]
* igt@xe_exec_basic@multigpu-no-exec-rebind:
- shard-dg2-set2: NOTRUN -> [SKIP][58] ([Intel XE#1392]) +1 other test skip
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@[email protected]
* igt@xe_exec_fault_mode@once-userptr:
- shard-dg2-set2: NOTRUN -> [SKIP][59] ([Intel XE#288]) +3 other tests skip
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@[email protected]
* igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-new-bo-map-nomemset:
- shard-lnl: [PASS][60] -> [FAIL][61] ([Intel XE#5018]) +1 other test fail
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-lnl-7/igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-new-bo-map-nomemset.html
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-lnl-7/igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-new-bo-map-nomemset.html
* igt@xe_exec_system_allocator@twice-large-new-bo-map-nomemset:
- shard-dg2-set2: NOTRUN -> [SKIP][62] ([Intel XE#4915]) +49 other tests skip
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-464/igt@[email protected]
* igt@xe_exec_threads@threads-hang-fd-rebind:
- shard-dg2-set2: [PASS][63] -> [DMESG-WARN][64] ([Intel XE#3876])
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-dg2-466/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-466/igt@[email protected]
* igt@xe_huc_copy@huc_copy:
- shard-dg2-set2: NOTRUN -> [SKIP][65] ([Intel XE#255])
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@xe_huc_copy@huc_copy.html
* igt@xe_oa@privileged-forked-access-vaddr:
- shard-dg2-set2: NOTRUN -> [SKIP][66] ([Intel XE#2541] / [Intel XE#3573])
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@[email protected]
* igt@xe_pm@s2idle-basic-exec:
- shard-adlp: [PASS][67] -> [DMESG-WARN][68] ([Intel XE#2953] / [Intel XE#4173]) +3 other tests dmesg-warn
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-adlp-8/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-adlp-2/igt@[email protected]
* igt@xe_pm@s3-vm-bind-prefetch:
- shard-bmg: [PASS][69] -> [INCOMPLETE][70] ([Intel XE#569])
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-6/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-6/igt@[email protected]
* igt@xe_pmu@gt-frequency:
- shard-dg2-set2: [PASS][71] -> [FAIL][72] ([Intel XE#4819]) +1 other test fail
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-dg2-466/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-434/igt@[email protected]
* igt@xe_query@multigpu-query-pxp-status:
- shard-dg2-set2: NOTRUN -> [SKIP][73] ([Intel XE#944])
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@[email protected]
* igt@xe_sriov_flr@flr-each-isolation:
- shard-dg2-set2: NOTRUN -> [SKIP][74] ([Intel XE#3342])
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-464/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][75] ([Intel XE#3342])
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-8/igt@[email protected]
#### Possible fixes ####
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs:
- shard-dg2-set2: [INCOMPLETE][76] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#3124] / [Intel XE#4345]) -> [PASS][77]
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-dg2-463/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@[email protected]
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc:
- shard-dg2-set2: [INCOMPLETE][78] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#3124]) -> [PASS][79]
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-dg2-436/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-432/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipa-legacy:
- shard-bmg: [SKIP][80] ([Intel XE#2291]) -> [PASS][81] +3 other tests pass
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-5/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-4/igt@[email protected]
* igt@kms_dp_aux_dev:
- shard-bmg: [SKIP][82] ([Intel XE#3009]) -> [PASS][83]
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-6/igt@kms_dp_aux_dev.html
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-2/igt@kms_dp_aux_dev.html
* igt@kms_dp_link_training@non-uhbr-sst:
- shard-bmg: [SKIP][84] ([Intel XE#4354]) -> [PASS][85]
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-5/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-4/igt@[email protected]
* igt@kms_flip@2x-blocking-wf_vblank:
- shard-bmg: [FAIL][86] -> [PASS][87] +1 other test pass
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-1/igt@kms_flip@2x-blocking-wf_vblank.html
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-2/igt@kms_flip@2x-blocking-wf_vblank.html
* igt@kms_flip@2x-busy-flip:
- shard-bmg: [SKIP][88] ([Intel XE#2316]) -> [PASS][89] +3 other tests pass
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-5/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-4/igt@[email protected]
* igt@kms_flip@flip-vs-rmfb-interruptible@b-hdmi-a1:
- shard-adlp: [DMESG-WARN][90] ([Intel XE#4543]) -> [PASS][91] +3 other tests pass
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-adlp-8/igt@kms_flip@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-adlp-2/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-bmg: [INCOMPLETE][92] ([Intel XE#2049] / [Intel XE#2597]) -> [PASS][93] +1 other test pass
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-8/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-8/igt@[email protected]
- shard-dg2-set2: [INCOMPLETE][94] ([Intel XE#2049] / [Intel XE#2597]) -> [PASS][95] +1 other test pass
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-dg2-435/igt@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-464/igt@[email protected]
* igt@kms_flip@plain-flip-ts-check-interruptible:
- shard-dg2-set2: [FAIL][96] ([Intel XE#2882] / [Intel XE#886]) -> [PASS][97]
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-dg2-432/igt@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-464/igt@[email protected]
* igt@kms_hdr@invalid-hdr:
- shard-bmg: [SKIP][98] ([Intel XE#1503]) -> [PASS][99]
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-5/igt@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-4/igt@[email protected]
* igt@kms_joiner@invalid-modeset-force-big-joiner:
- shard-bmg: [SKIP][100] ([Intel XE#3012]) -> [PASS][101]
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-6/igt@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-7/igt@[email protected]
* igt@kms_plane_multiple@2x-tiling-4:
- shard-bmg: [SKIP][102] ([Intel XE#4596]) -> [PASS][103]
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-6/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-2/igt@[email protected]
* igt@kms_pm_rpm@basic-pci-d3-state:
- shard-dg2-set2: [FAIL][104] ([Intel XE#4741]) -> [PASS][105]
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-dg2-433/igt@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-433/igt@[email protected]
* igt@kms_vrr@negative-basic:
- shard-bmg: [SKIP][106] ([Intel XE#1499]) -> [PASS][107]
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-6/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-7/igt@[email protected]
* igt@xe_exec_basic@multigpu-no-exec-null-defer-bind:
- shard-dg2-set2: [SKIP][108] ([Intel XE#1392]) -> [PASS][109] +5 other tests pass
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-dg2-432/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-436/igt@[email protected]
* igt@xe_exec_reset@parallel-gt-reset:
- shard-dg2-set2: [DMESG-WARN][110] ([Intel XE#3876]) -> [PASS][111]
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-dg2-433/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-dg2-433/igt@[email protected]
#### Warnings ####
* igt@kms_content_protection@legacy:
- shard-bmg: [FAIL][112] ([Intel XE#1178]) -> [SKIP][113] ([Intel XE#2341])
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-2/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-6/igt@[email protected]
* igt@kms_cursor_legacy@cursora-vs-flipb-varying-size:
- shard-bmg: [SKIP][114] ([Intel XE#2291]) -> [DMESG-WARN][115] ([Intel XE#5354])
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-6/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-7/igt@[email protected]
* igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-pri-indfb-draw-mmap-wc:
- shard-bmg: [SKIP][116] ([Intel XE#2311]) -> [SKIP][117] ([Intel XE#2312]) +19 other tests skip
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-8/igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-pri-indfb-draw-mmap-wc.html
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-5/igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-pri-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-shrfb-pgflip-blt:
- shard-bmg: [SKIP][118] ([Intel XE#4141]) -> [SKIP][119] ([Intel XE#2312]) +9 other tests skip
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-2/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-move:
- shard-bmg: [SKIP][120] ([Intel XE#2312]) -> [SKIP][121] ([Intel XE#4141]) +3 other tests skip
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-6/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-draw-mmap-wc:
- shard-bmg: [SKIP][122] ([Intel XE#2312]) -> [SKIP][123] ([Intel XE#2311]) +11 other tests skip
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-draw-mmap-wc.html
[123]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-7/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-render:
- shard-bmg: [SKIP][124] ([Intel XE#2312]) -> [SKIP][125] ([Intel XE#2313]) +13 other tests skip
[124]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-render.html
[125]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-7/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-plflip-blt:
- shard-bmg: [SKIP][126] ([Intel XE#2313]) -> [SKIP][127] ([Intel XE#2312]) +16 other tests skip
[126]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-2/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-plflip-blt.html
[127]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-plflip-blt.html
* igt@kms_plane_multiple@2x-tiling-yf:
- shard-bmg: [SKIP][128] ([Intel XE#4596]) -> [SKIP][129] ([Intel XE#5021])
[128]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd/shard-bmg-5/igt@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/shard-bmg-4/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1135]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1135
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1188]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1188
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#1727]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1727
[Intel XE#2049]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2049
[Intel XE#2191]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2191
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2291]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2291
[Intel XE#2293]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2293
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2312
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2314]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2314
[Intel XE#2316]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2316
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[Intel XE#2341]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2341
[Intel XE#2370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2370
[Intel XE#2380]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2380
[Intel XE#2541]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2541
[Intel XE#255]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/255
[Intel XE#2597]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2597
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#288]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/288
[Intel XE#2882]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2882
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2894]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2894
[Intel XE#2953]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2953
[Intel XE#3009]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3009
[Intel XE#3012]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3012
[Intel XE#3113]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3113
[Intel XE#3124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3124
[Intel XE#3342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3342
[Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
[Intel XE#3573]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3573
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#3862]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3862
[Intel XE#3876]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3876
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4173]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4173
[Intel XE#4302]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4302
[Intel XE#4345]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4345
[Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354
[Intel XE#4416]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4416
[Intel XE#4417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4417
[Intel XE#4494]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4494
[Intel XE#4543]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4543
[Intel XE#455]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/455
[Intel XE#4596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4596
[Intel XE#4741]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4741
[Intel XE#4819]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4819
[Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
[Intel XE#4915]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4915
[Intel XE#5018]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5018
[Intel XE#5021]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5021
[Intel XE#5108]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5108
[Intel XE#5300]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5300
[Intel XE#5308]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5308
[Intel XE#5354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5354
[Intel XE#5376]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5376
[Intel XE#569]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/569
[Intel XE#616]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/616
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#653]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/653
[Intel XE#658]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/658
[Intel XE#787]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/787
[Intel XE#886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/886
[Intel XE#929]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/929
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* Linux: xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd -> xe-pw-149503v11
IGT_8432: 4871829d8b7117553eb2dc1bdb9a0d18de428a98 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-3333-149b15e02e6496a37621cd5bf8a28f7d8c1869cd: 149b15e02e6496a37621cd5bf8a28f7d8c1869cd
xe-pw-149503v11: 149503v11
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-149503v11/index.html