drm/xe/kunit: Add fake GTTMMADR
Subsystems (2)
cover drm/xe/kunit: Add fake GTTMMADR
By defining fake GTTMMADR we can more easily enable more xe components to run under kunit, and at the end we can stop using stub for the xe_bo allocation and we can rely on the regular function as on the real device.
The fake GTTMMADR will also allow us to write more tests, where we could verify if the xe code is accessing registers or GGTT in the expected way.
Michal Wajdeczko (16):
drm/xe/mmio: Assert MMIO is available
drm/xe/mmio: Map MMIO BAR using managed version of pci_iomap drm/xe/mmio: Add check for minimal BAR size drm/xe/mmio: Drop tiles_fini action
drm/xe/mmio: Check MMIO BAR size when initializing tiles drm/xe/mmio: Allow to replace xe_mmio_probe_early() with stub drm/xe: Add helper to detect real vs kunit xe_device drm/xe/kunit: Skip forcewake operations on fake device drm/xe/kunit: Claim minimal RPM support for fake xe device drm/xe/tests: Fix fake xe_managed_bo_create_pin_map drm/xe/tests: Increase DUT_GGTT_START
drm/xe/ggtt: Expand __xe_ggtt_init_early() drm/xe/kunit: Add fake GTTMMADR
drm/xe/kunit: Promote GGTT initialization to test_init() drm/xe/kunit: Assume fake GGTT is online drm/xe/tests: Use regular xe_managed_bo_create_pin_map()
drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c | 62 ++++------ drivers/gpu/drm/xe/tests/xe_kunit_helpers.c | 8 ++ drivers/gpu/drm/xe/tests/xe_pci.c | 118 ++++++++++++++++++++ drivers/gpu/drm/xe/tests/xe_pci_test.h | 13 +++ drivers/gpu/drm/xe/xe_device.h | 9 ++ drivers/gpu/drm/xe/xe_force_wake.c | 4 +- drivers/gpu/drm/xe/xe_ggtt.c | 102 ++++++++++------- drivers/gpu/drm/xe/xe_mmio.c | 86 +++++++++----- 8 files changed, 290 insertions(+), 112 deletions(-)
Signature · 1 line
2.47.1
PATCH 1/16 drm/xe/mmio: Assert MMIO is available
We shouldn't access device registers after the device was unplugged or the MMIO bar (GTTMMADR) was unmapped. Instead of relying on the NPD splat due to zeroed tile->mmio.regs, which might be unreliable anyway as not all xe_mmio structs are using that directly, add an explicit assert during all xe_mmio read/write operations to test zeroed xe->mmio.regs.
---
v2: don't rely on drm_dev_is_unplugged (CI)
--- drivers/gpu/drm/xe/xe_mmio.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
drivers/gpu/drm/xe/xe_mmio.c +10 -0
@@ -128,6 +128,11 @@ void xe_mmio_init(struct xe_mmio *mmio, struct xe_tile *tile, void __iomem *ptr, mmio->tile = tile; } +static void mmio_assert_available (struct xe_mmio *mmio) +{ +xe_tile_assert (mmio->tile, mmio->tile->xe->mmio.regs); +} +static void mmio_flush_pending_writes (struct xe_mmio *mmio) {#define DUMMY_REG_OFFSET 0x130030
@@ -146,6 +151,7 @@ u8 xe_mmio_read8(struct xe_mmio *mmio, struct xe_reg reg)u32 addr =xe_mmio_adjusted_addr (mmio, reg.addr);u8 val; +mmio_assert_available (mmio);mmio_flush_pending_writes (mmio); val =readb (mmio->regs + addr);
@@ -158,6 +164,7 @@ void xe_mmio_write8(struct xe_mmio *mmio, struct xe_reg reg, u8 val) {u32 addr =xe_mmio_adjusted_addr (mmio, reg.addr); +mmio_assert_available (mmio);trace_xe_reg_rw (mmio, true, addr, val,sizeof (val));writeb (val, mmio->regs + addr);
@@ -168,6 +175,7 @@ u16 xe_mmio_read16(struct xe_mmio *mmio, struct xe_reg reg)u32 addr =xe_mmio_adjusted_addr (mmio, reg.addr);u16 val; +mmio_assert_available (mmio);mmio_flush_pending_writes (mmio); val =readw (mmio->regs + addr);
@@ -180,6 +188,7 @@ void xe_mmio_write32(struct xe_mmio *mmio, struct xe_reg reg, u32 val) {u32 addr =xe_mmio_adjusted_addr (mmio, reg.addr); +mmio_assert_available (mmio);trace_xe_reg_rw (mmio, true, addr, val,sizeof (val));if (!reg.vf &&IS_SRIOV_VF (mmio->tile->xe))
@@ -194,6 +203,7 @@ u32 xe_mmio_read32(struct xe_mmio *mmio, struct xe_reg reg)u32 addr =xe_mmio_adjusted_addr (mmio, reg.addr);u32 val; +mmio_assert_available (mmio);mmio_flush_pending_writes (mmio);if (!reg.vf &&IS_SRIOV_VF (mmio->tile->xe))
Signature · 1 line
2.47.1
PATCH 2/16 drm/xe/mmio: Map MMIO BAR using managed version of pci_iomap
In reply to Michal WajdeczkoThis will allow us to simplify our custom release action where we will keep only zeroing of the xe->mmio.regs as we rely on it in asserts during all xe_mmio operations. While around, add missing kernel-doc for the function and update error message.
---
v2: keep fini action to zero xe->mmio.regs (Matthew)
--- drivers/gpu/drm/xe/xe_mmio.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-)
drivers/gpu/drm/xe/xe_mmio.c +14 -10
@@ -16,6 +16,7 @@#include "regs/xe_bars.h" #include "xe_device.h" #include "xe_gt_sriov_vf.h" +#include "xe_printk.h" #include "xe_sriov.h" #include "xe_trace.h" #include "xe_wa.h"
@@ -79,27 +80,30 @@ int xe_mmio_probe_tiles(struct xe_device *xe)static void mmio_fini (void *arg) {struct xe_device *xe = arg; -struct xe_tile *root_tile =xe_device_get_root_tile (xe); -pci_iounmap (to_pci_dev (xe->drm.dev), xe->mmio.regs); xe->mmio.regs =NULL ; - root_tile->mmio.regs =NULL ; } +/** +* xe_mmio_probe_early() - Probe and initialize device's MMIO +* @xe: the &xe_device +* +* Map the entire GTTMMADR_BAR and initialize the first tile's MMIO instance. +* +* The first 16MB of the GTTMMADR_BAR always belongs to the root tile, and +* includes: registers (0-4MB), reserved space (4MB-8MB) and GGTT (8MB-16MB). +* +* Return: 0 on success or a negative error code on failure. +*/ int xe_mmio_probe_early (struct xe_device *xe) {struct xe_tile *root_tile =xe_device_get_root_tile (xe);struct pci_dev *pdev =to_pci_dev (xe->drm.dev); -/* -* Map the entire BAR. -* The first 16MB of the BAR, belong to the root tile, and include: -* registers (0-4MB), reserved space (4MB-8MB) and GGTT (8MB-16MB). -*/ xe->mmio.size =pci_resource_len (pdev,GTTMMADR_BAR ); - xe->mmio.regs =pci_iomap (pdev,GTTMMADR_BAR ,0 ); + xe->mmio.regs =pcim_iomap (pdev,GTTMMADR_BAR ,0 );if (!xe->mmio.regs) { -drm_err (&xe->drm,"failed to map registers\n" ); +xe_err (xe,"Failed to map GTTMMADR_BAR\n" );return -EIO ; }
Signature · 1 line
2.47.1
PATCH 3/16 drm/xe/mmio: Add check for minimal BAR size
In reply to Michal WajdeczkoWe initialized the root tile's xe_mmio structure with a new size of 4MiB without sanity checks to see if mapped GTTMMADR_BAR was actually at least that size.
--- drivers/gpu/drm/xe/xe_mmio.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_mmio.c +6 -1
@@ -100,13 +100,18 @@ int xe_mmio_probe_early(struct xe_device *xe)struct xe_tile *root_tile =xe_device_get_root_tile (xe);struct pci_dev *pdev =to_pci_dev (xe->drm.dev); - xe->mmio.size =pci_resource_len (pdev,GTTMMADR_BAR ); xe->mmio.regs =pcim_iomap (pdev,GTTMMADR_BAR ,0 );if (!xe->mmio.regs) {xe_err (xe,"Failed to map GTTMMADR_BAR\n" );return -EIO ; } + xe->mmio.size =pci_resource_len (pdev,GTTMMADR_BAR ); +if (xe->mmio.size <SZ_4M ) { +xe_err (xe,"GTTMMADR_BAR is too small: %zd\n" , xe->mmio.size); +return -EIO ; + } +/* Setup first tile; other tiles (if present) will be setup later. */ xe_mmio_init (&root_tile->mmio, root_tile, xe->mmio.regs,SZ_4M );
Signature · 1 line
2.47.1
PATCH 4/16 drm/xe/mmio: Drop tiles_fini action
In reply to Michal WajdeczkoThe pointer zeroing is not required, as we check xe->mmio.regs to test if code is not trying to access MMIO after a driver unwind.
---
v2: update commit message (Michal)
--- drivers/gpu/drm/xe/xe_mmio.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
drivers/gpu/drm/xe/xe_mmio.c +1 -12
@@ -23,16 +23,6 @@#include "generated/xe_device_wa_oob.h" -static void tiles_fini (void *arg) -{ -struct xe_device *xe = arg; -struct xe_tile *tile; -int id; - -for_each_remote_tile (tile, xe, id) - tile->mmio.regs =NULL ; -} -/* * On multi-tile devices, partition the BAR space for MMIO on each tile, * possibly accounting for register override on the number of tiles available.
@@ -73,8 +63,7 @@ int xe_mmio_probe_tiles(struct xe_device *xe)size_t tile_mmio_size =SZ_16M ;mmio_multi_tile_setup (xe, tile_mmio_size); - -return devm_add_action_or_reset (xe->drm.dev, tiles_fini, xe); +return 0 ; }static void mmio_fini (void *arg)
Signature · 1 line
2.47.1
PATCH 5/16 drm/xe/mmio: Check MMIO BAR size when initializing tiles
In reply to Michal WajdeczkoWe initialized all remote tiles' xe_mmio structures with a new size of 4MiB and offsets of 16MiB without sanity checks to see if mapped GTTMMADR_BAR was actually at least that size.
--- drivers/gpu/drm/xe/xe_mmio.c | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-)
drivers/gpu/drm/xe/xe_mmio.c +21 -7
@@ -47,21 +47,35 @@ static void mmio_multi_tile_setup(struct xe_device *xe, size_t tile_mmio_size)struct xe_tile *tile;u8 id; -/* -* Nothing to be done as tile 0 has already been setup earlier with the -* entire BAR mapped - see xe_mmio_probe_early() -*/ -if (xe->info.tile_count ==1 ) -return ; -for_each_remote_tile (tile, xe, id)xe_mmio_init (&tile->mmio, tile, xe->mmio.regs + id * tile_mmio_size,SZ_4M ); } +/** +* xe_mmio_probe_tiles() - Initialize all tiles' MMIO +* @xe: the &xe_device +* +* Initialize the remaining tiles' MMIO instances. +* +* Return: 0 on success or a negative error code on failure. +*/ int xe_mmio_probe_tiles (struct xe_device *xe) {size_t tile_mmio_size =SZ_16M ; +/* +* Nothing to be done as tile 0 has already been setup earlier with the +* entire BAR mapped - see xe_mmio_probe_early() +*/ +if (xe->info.tile_count ==1 ) +return 0 ; + +if (xe->mmio.size < xe->info.tile_count * tile_mmio_size) { +xe_err (xe,"GTTMMADR_BAR is too small for %d tiles: %zd\n" , + xe->info.tile_count, xe->mmio.size); +return -EIO ; + } +mmio_multi_tile_setup (xe, tile_mmio_size);return 0 ; }
Signature · 1 line
2.47.1
PATCH 6/16 drm/xe/mmio: Allow to replace xe_mmio_probe_early() with stub
In reply to Michal WajdeczkoWe want to use replacement function in upcoming kunit helpers.
--- drivers/gpu/drm/xe/xe_mmio.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpu/drm/xe/xe_mmio.c +4 -0
@@ -10,6 +10,8 @@#include <linux/minmax.h> #include <linux/pci.h> +#include <kunit/static_stub.h> +#include <drm/drm_managed.h> #include <drm/drm_print.h>
@@ -103,6 +105,8 @@ int xe_mmio_probe_early(struct xe_device *xe)struct xe_tile *root_tile =xe_device_get_root_tile (xe);struct pci_dev *pdev =to_pci_dev (xe->drm.dev); +KUNIT_STATIC_STUB_REDIRECT (xe_mmio_probe_early, xe); + xe->mmio.regs =pcim_iomap (pdev,GTTMMADR_BAR ,0 );if (!xe->mmio.regs) {xe_err (xe,"Failed to map GTTMMADR_BAR\n" );
Signature · 1 line
2.47.1
PATCH 7/16 drm/xe: Add helper to detect real vs kunit xe_device
In reply to Michal WajdeczkoIn some cases we might want to know if we are running our test code on real vs kunit xe device; also use of static kunit stub might be not possible as test code might be use other threads.
As only real xe_device instances will be on the true PCI bus, and all kunit fake devices are attached to the kunit_bus_type, add helper that checks underlying bus to determine xe status.
---
v2: make if always true if no KUNIT_TEST (Michal)
--- drivers/gpu/drm/xe/tests/xe_kunit_helpers.c | 2 ++ drivers/gpu/drm/xe/xe_device.h | 9 +++++++++ 2 files changed, 11 insertions(+)
drivers/gpu/drm/xe/tests/xe_kunit_helpers.c +2 -0
@@ -39,6 +39,7 @@ struct xe_device *xe_kunit_helper_alloc_xe_device(struct kunit *test, struct xe_device, drm, DRIVER_GEM);KUNIT_ASSERT_NOT_ERR_OR_NULL (test, xe); +KUNIT_ASSERT_FALSE (test,xe_device_is_real (xe));return xe; }EXPORT_SYMBOL_IF_KUNIT (xe_kunit_helper_alloc_xe_device);
@@ -118,6 +119,7 @@ int xe_kunit_helper_xe_device_live_test_init(struct kunit *test)KUNIT_ASSERT_NOT_ERR_OR_NULL (test, xe);kunit_info (test,"running on %s device\n" , xe->info.platform_name); +KUNIT_ASSERT_TRUE (test,xe_device_is_real (xe));KUNIT_ASSERT_FALSE (test,xe_device_wedged (xe));xe_pm_runtime_get (xe);
drivers/gpu/drm/xe/xe_device.h +9 -0
@@ -220,6 +220,15 @@ static inline bool xe_device_is_admin_only(const struct xe_device *xe) }#endif +static inline bool xe_device_is_real (const struct xe_device *xe) +{ +#if IS_ENABLED (CONFIG_DRM_XE_KUNIT_TEST ) +return xe->drm.dev->bus == &pci_bus_type; +#else +return true; +#endif +} +/* * Occasionally it is seen that the G2H worker starts running after a delay of more than * a second even after being queued and activated by the Linux workqueue subsystem. This
Signature · 1 line
2.47.1
PATCH 8/16 drm/xe/kunit: Skip forcewake operations on fake device
In reply to Michal WajdeczkoDuring some of the kunit tests we might want to use unmodified xe functions that in turn may internally use xe_force_wake component. Skip low-level forcewake MMIO operations, in similar way as VFs, when running on the fake xe_device.
--- drivers/gpu/drm/xe/xe_force_wake.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_force_wake.c +2 -2
@@ -95,7 +95,7 @@ void xe_force_wake_init_engines(struct xe_gt *gt, struct xe_force_wake *fw)static void __domain_ctl (struct xe_gt *gt,struct xe_force_wake_domain *domain,bool wake) { -if (IS_SRIOV_VF (gt_to_xe (gt))) +if (IS_SRIOV_VF (gt_to_xe (gt)) || !xe_device_is_real (gt_to_xe (gt)))return ;xe_mmio_write32 (>->mmio, domain->reg_ctl, domain->mask | (wake ? domain->val :0 ));
@@ -106,7 +106,7 @@ static int __domain_wait(struct xe_gt *gt, struct xe_force_wake_domain *domain,u32 value;int ret; -if (IS_SRIOV_VF (gt_to_xe (gt))) +if (IS_SRIOV_VF (gt_to_xe (gt)) || !xe_device_is_real (gt_to_xe (gt)))return 0 ; ret = xe_mmio_wait32(>->mmio, domain->reg_ack, domain->val, wake ? domain->val : 0,
Signature · 1 line
2.47.1
PATCH 9/16 drm/xe/kunit: Claim minimal RPM support for fake xe device
In reply to Michal WajdeczkoThis will allow us to use more unmodified xe code in kunit tests.
--- drivers/gpu/drm/xe/tests/xe_kunit_helpers.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/xe/tests/xe_kunit_helpers.c +3 -0
@@ -87,6 +87,9 @@ int xe_kunit_helper_xe_device_test_init(struct kunit *test) err =kunit_add_action_or_reset (test, kunit_action_restore_priv, test->priv);KUNIT_ASSERT_EQ (test, err,0 ); +pm_runtime_enable (xe->drm.dev); +pm_runtime_forbid (xe->drm.dev); + test->priv = xe;return 0 ; }
Signature · 1 line
2.47.1
PATCH 10/16 drm/xe/tests: Fix fake xe_managed_bo_create_pin_map
In reply to Michal WajdeczkoTo better mimic the behavior of the xe_managed_bo_create_pin_map() we should also attempt to remove the GGTT node.
--- drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c | 11 +++++++++++ 1 file changed, 11 insertions(+)
drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c +11 -0
@@ -16,6 +16,13 @@#define DUT_GGTT_START SZ_1M#define DUT_GGTT_SIZE SZ_2M +static void remove_ggtt_node (void *arg) +{ +struct xe_ggtt_node *node = arg; + +xe_ggtt_node_remove (node, false); +} +static struct xe_bo *replacement_xe_managed_bo_create_pin_map (struct xe_device *xe,struct xe_tile *tile,size_t size,u32 flags)
@@ -40,6 +47,10 @@ static struct xe_bo *replacement_xe_managed_bo_create_pin_map(struct xe_device * bo->ggtt_node[tile->id] =xe_ggtt_insert_node (ggtt,xe_bo_size (bo),SZ_4K );KUNIT_ASSERT_NOT_ERR_OR_NULL (test, bo->ggtt_node[tile->id]); +KUNIT_ASSERT_EQ (test,0 , +devm_add_action_or_reset (xe->drm.dev, + remove_ggtt_node, + bo->ggtt_node[tile->id])); }return bo;
Signature · 1 line
2.47.1
PATCH 11/16 drm/xe/tests: Increase DUT_GGTT_START
In reply to Michal WajdeczkoAs we want to use more original xe_ggtt code, our fake GGTT range should be still within expected [WOPCM, GUC_TOP) range.
--- drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c +1 -1
@@ -13,7 +13,7 @@#include "xe_kunit_helpers.h" #include "xe_pci_test.h" -#define DUT_GGTT_START SZ_1M +#define DUT_GGTT_START SZ_8M/* more than WOPCM */ #define DUT_GGTT_SIZE SZ_2Mstatic void remove_ggtt_node (void *arg)
Signature · 1 line
2.47.1
PATCH 12/16 drm/xe/ggtt: Expand __xe_ggtt_init_early()
In reply to Michal WajdeczkoWe can do more stuff in this software-only initialization function, even under kunit. This will allow us to develop some xe_ggtt tests. Note that we keep the GGTT offline for the kunit, as we don't have access to the GTTMMADR (regs and gsm) from there.
--- drivers/gpu/drm/xe/xe_ggtt.c | 106 ++++++++++++++++++++++------------- 1 file changed, 66 insertions(+), 40 deletions(-)
drivers/gpu/drm/xe/xe_ggtt.c +66 -40
@@ -6,6 +6,8 @@#include "xe_ggtt.h" #include <kunit/visibility.h> +#include <kunit/test-bug.h> +#include <linux/fault-inject.h> #include <linux/io-64-nonatomic-lo-hi.h> #include <linux/sizes.h>
@@ -329,6 +331,15 @@ static void ggtt_fini(void *arg) ggtt->scratch =NULL ; } +static void dev_fini_ggtt (void *arg) +{ +struct xe_ggtt *ggtt = arg; + +scoped_guard (mutex, &ggtt->lock) + ggtt->flags &= ~XE_GGTT_FLAGS_ONLINE; +drain_workqueue (ggtt->wq); +} +#ifdef CONFIG_LOCKDEP void xe_ggtt_might_lock (struct xe_ggtt *ggtt) {
@@ -354,29 +365,66 @@ static const struct xe_ggtt_pt_ops xelpg_pt_wa_ops = { .ggtt_get_pte = xe_ggtt_get_pte, }; -static void __xe_ggtt_init_early (struct xe_ggtt *ggtt,u64 start,u64 size) +static int __xe_ggtt_init_early (struct xe_ggtt *ggtt,u64 start,u64 size) { +struct xe_device *xe =tile_to_xe (ggtt->tile); +int err; + +xe_tile_assert (ggtt->tile,IS_ALIGNED (start,XE_PAGE_SIZE )); +xe_tile_assert (ggtt->tile,IS_ALIGNED (size,XE_PAGE_SIZE )); +xe_tile_assert (ggtt->tile, start >=xe_wopcm_size (xe)); +xe_tile_assert (ggtt->tile, start + size <=GUC_GGTT_TOP ); + ggtt->start = start; ggtt->size = size; + ggtt->gsm = ggtt->tile->mmio.regs +SZ_8M ; + +if (IS_DGFX (xe) && xe->info.vram_flags &XE_VRAM_FLAGS_NEED64K ) + ggtt->flags |=XE_GGTT_FLAGS_64K ; + +if (GRAPHICS_VERx100 (xe) >=1270 ) + ggtt->pt_ops = + (ggtt->tile->media_gt &&XE_GT_WA (ggtt->tile->media_gt,22019338487 )) || + (ggtt->tile->primary_gt &&XE_GT_WA (ggtt->tile->primary_gt,22019338487 )) ? + &xelpg_pt_wa_ops : &xelpg_pt_ops; +else + ggtt->pt_ops = &xelp_pt_ops; + + ggtt->wq =alloc_workqueue ("xe-ggtt-wq" ,WQ_MEM_RECLAIM |WQ_PERCPU ,0 ); +if (!ggtt->wq) +return -ENOMEM ; +drm_mm_init (&ggtt->mm,0 , size); + + err =drmm_add_action_or_reset (&xe->drm, ggtt_fini_early, ggtt); +if (err) +return err; + + err =devm_add_action_or_reset (xe->drm.dev, dev_fini_ggtt, ggtt); +if (err) +return err; + + ggtt->flags |=XE_GGTT_FLAGS_ONLINE ; +return 0 ; }int xe_ggtt_init_kunit (struct xe_ggtt *ggtt,u32 start,u32 size) { -__xe_ggtt_init_early (ggtt, start, size); +int err; + +/* this is kunit only function - do not abuse! */ +xe_tile_assert (ggtt->tile,kunit_get_current_test ()); + + err =__xe_ggtt_init_early (ggtt, start, size); +if (err) +return err; + +/* we don't have GTTMMADR on kunit (yet) */ + ggtt->flags &= ~XE_GGTT_FLAGS_ONLINE ;return 0 ; }EXPORT_SYMBOL_IF_KUNIT (xe_ggtt_init_kunit); -static void dev_fini_ggtt (void *arg) -{ -struct xe_ggtt *ggtt = arg; - -scoped_guard (mutex, &ggtt->lock) - ggtt->flags &= ~XE_GGTT_FLAGS_ONLINE; -drain_workqueue (ggtt->wq); -} -/** * xe_ggtt_init_early - Early GGTT initialization * @ggtt: the &xe_ggtt to be initialized
@@ -392,9 +440,9 @@ int xe_ggtt_init_early(struct xe_ggtt *ggtt) {struct xe_device *xe =tile_to_xe (ggtt->tile);struct pci_dev *pdev =to_pci_dev (xe->drm.dev); +u64 wopcm =xe_wopcm_size (xe); +u64 ggtt_start, ggtt_size;unsigned int gsm_size; -u64 ggtt_start, wopcm =xe_wopcm_size (xe), ggtt_size; -int err;if (!IS_SRIOV_VF (xe)) {if (GRAPHICS_VERx100 (xe) >=1250 )
@@ -407,6 +455,10 @@ int xe_ggtt_init_early(struct xe_ggtt *ggtt) } ggtt_start = wopcm; ggtt_size = (gsm_size /8 ) * (u64 )XE_PAGE_SIZE - ggtt_start; + +if (ggtt_size + ggtt_start >GUC_GGTT_TOP ) + ggtt_size =GUC_GGTT_TOP - ggtt_start; + }else { ggtt_start =xe_tile_sriov_vf_ggtt_base (ggtt->tile); ggtt_size =xe_tile_sriov_vf_ggtt (ggtt->tile);
@@ -419,33 +471,7 @@ int xe_ggtt_init_early(struct xe_ggtt *ggtt) } } - ggtt->gsm = ggtt->tile->mmio.regs +SZ_8M ; -if (IS_DGFX (xe) && xe->info.vram_flags &XE_VRAM_FLAGS_NEED64K ) - ggtt->flags |=XE_GGTT_FLAGS_64K ; - -if (ggtt_size + ggtt_start >GUC_GGTT_TOP ) - ggtt_size =GUC_GGTT_TOP - ggtt_start; - -if (GRAPHICS_VERx100 (xe) >=1270 ) - ggtt->pt_ops = - (ggtt->tile->media_gt &&XE_GT_WA (ggtt->tile->media_gt,22019338487 )) || - (ggtt->tile->primary_gt &&XE_GT_WA (ggtt->tile->primary_gt,22019338487 )) ? - &xelpg_pt_wa_ops : &xelpg_pt_ops; -else - ggtt->pt_ops = &xelp_pt_ops; - - ggtt->wq =alloc_workqueue ("xe-ggtt-wq" ,WQ_MEM_RECLAIM |WQ_PERCPU ,0 ); -if (!ggtt->wq) -return -ENOMEM ; - -__xe_ggtt_init_early (ggtt, ggtt_start, ggtt_size); - - err =drmm_add_action_or_reset (&xe->drm, ggtt_fini_early, ggtt); -if (err) -return err; - - ggtt->flags |=XE_GGTT_FLAGS_ONLINE ; -return devm_add_action_or_reset (xe->drm.dev, dev_fini_ggtt, ggtt); +return __xe_ggtt_init_early (ggtt, ggtt_start, ggtt_size); }ALLOW_ERROR_INJECTION (xe_ggtt_init_early,ERRNO );/* See xe_pci_probe() */
Signature · 1 line
2.47.1
PATCH 13/16 drm/xe/kunit: Add fake GTTMMADR
In reply to Michal WajdeczkoWe want to reuse more unmodified xe code during initialization of our fake xe_device, but in many cases this code is accessing the MMIO BAR to either access the HW registers or update the GGTT. To avoid adding stubs all over the places, it is easier to add fake GTTMMADR implementation using logic_iomem and map that instead.
Note that by default we will ignore all writes to the GTTMMADR and we will fail the test after any read operations except the VF_CAP register, as all other read operations should be implemented by the tests themselves, using custom logic_iomem ops.
--- drivers/gpu/drm/xe/tests/xe_pci.c | 101 +++++++++++++++++++++++++ drivers/gpu/drm/xe/tests/xe_pci_test.h | 5 ++ 2 files changed, 106 insertions(+)
drivers/gpu/drm/xe/tests/xe_pci.c +101 -0
@@ -7,6 +7,8 @@#include "tests/xe_test.h" +#include <linux/logic_iomem.h> +#include <kunit/test-bug.h> #include <kunit/test.h> #include <kunit/test-bug.h>
@@ -338,6 +340,101 @@ static void fake_xe_info_probe_tile_count(struct xe_device *xe)/* Nothing to do, just use the statically defined value. */ } +static unsigned long __gttmmadr_read (void *priv,unsigned int offset,int size,bool vf) +{ +struct kunit *test = priv; +unsigned long val =ULONG_MAX ; + +if (offset ==VF_CAP_REG .addr) + val = vf ?VF_CAP :0 ; +else +kunit_set_failure (test); + +/* can't use kunit_info() as it allocates memory */ +pr_info ("fake GTTMMADR read %x %u %lx\n" , offset, size, val); +return val; +} + +static unsigned long fake_gttmmadr_read (void *priv,unsigned int offset,int size) +{ +return __gttmmadr_read (priv, offset, size, false); +} + +static unsigned long fake_vf_gttmmadr_read (void *priv,unsigned int offset,int size) +{ +return __gttmmadr_read (priv, offset, size, true); +} + +static void fake_gttmmadr_write (void *priv,unsigned int offset,int size,unsigned long val) +{ +/* can't use kunit_info() as it allocates memory */ +pr_info ("fake GTTMMADR write %x %u %#lx\n" , offset, size, val); +} + +static const struct logic_iomem_ops fake_gttmmadr_ops = { + .read = fake_gttmmadr_read, + .write = fake_gttmmadr_write, +}; + +static const struct logic_iomem_ops fake_vf_gttmmadr_ops = { + .read = fake_vf_gttmmadr_read, + .write = fake_gttmmadr_write, +}; + +#define FAKE_GTTMMADR_ADDR 0xe0000 +#define FAKE_GTTMMADR_SIZE (XE_MAX_TILES_PER_DEVICE * SZ_16M) + +struct resource fake_gttmmadr =DEFINE_RES_MEM (FAKE_GTTMMADR_ADDR ,FAKE_GTTMMADR_SIZE ); + +static long fake_gttmmadr_map (unsigned long offset,size_t size, +const struct logic_iomem_ops **ops, +void **priv) +{ +struct kunit *test =kunit_get_current_test (); +struct xe_pci_fake_data *data; + +if (WARN_ON (size >FAKE_GTTMMADR_SIZE || offset %FAKE_GTTMMADR_SIZE )) +return -EINVAL ; + +if (WARN_ON (!test)) +return -ENOPKG ; + + data = test->priv; +if (data && data->gttmmadr.ops) { + *ops = data->gttmmadr.ops; + *priv = data->gttmmadr.priv ?: test; + }else if (data && data->sriov_mode ==XE_SRIOV_MODE_VF ) { + *ops = &fake_vf_gttmmadr_ops; + *priv = test; + }else { + *ops = &fake_gttmmadr_ops; + *priv = test; + } +return 0 ; +} + +static const struct logic_iomem_region_ops fake_gttmmadr_region_ops = { + .map = fake_gttmmadr_map, +}; + +static void add_fake_gttmmadr (struct kunit *test) +{ +KUNIT_ASSERT_EQ (test,0 ,logic_iomem_add_region (&fake_gttmmadr, &fake_gttmmadr_region_ops)); +} + +static int fake_xe_mmio_probe_early (struct xe_device *xe) +{ +struct xe_tile *root_tile =xe_device_get_root_tile (xe); +struct kunit *test =kunit_get_current_test (); + + xe->mmio.size = xe->info.tile_count *SZ_16M ; + xe->mmio.regs =devm_ioremap (xe->drm.dev,FAKE_GTTMMADR_ADDR , xe->mmio.size); +KUNIT_ASSERT_NOT_ERR_OR_NULL (test, xe->mmio.regs); + +xe_mmio_init (&root_tile->mmio, root_tile, xe->mmio.regs,SZ_4M ); +return 0 ; +} +int xe_pci_fake_device_init (struct xe_device *xe) {struct kunit *test =kunit_get_current_test ();
@@ -378,6 +475,10 @@ int xe_pci_fake_device_init(struct xe_device *xe)kunit_activate_static_stub (test, read_gmdid, fake_read_gmdid);kunit_activate_static_stub (test, xe_info_probe_tile_count, fake_xe_info_probe_tile_count); +kunit_activate_static_stub (test, xe_mmio_probe_early, fake_xe_mmio_probe_early); + +if (IS_ENABLED (CONFIG_INDIRECT_IOMEM )) +DO_ONCE_LITE (add_fake_gttmmadr, test);xe_info_init_early (xe, desc, subplatform_desc);xe_info_init (xe, desc);
drivers/gpu/drm/xe/tests/xe_pci_test.h +5 -0
@@ -22,6 +22,11 @@ struct xe_pci_fake_data {struct xe_step_info step;u32 graphics_verx100;u32 media_verx100; + +struct { +const struct logic_iomem_ops *ops; +void *priv; + } gttmmadr; };int xe_pci_fake_device_init (struct xe_device *xe);
Signature · 1 line
2.47.1
PATCH 14/16 drm/xe/kunit: Promote GGTT initialization to test_init()
In reply to Michal WajdeczkoOur test_init() helper already do a minimal initialization of the kunit fake xe_device, including basic setup of main components like xe_tile and xe_gt, but some other main components, like xe_ggtt, were completely untouched. Move basic GGTT initialization to the test_init() helper function, as it does not require much work and will allow us to simplify other tests' init functions.
--- drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c | 9 +++------ drivers/gpu/drm/xe/tests/xe_kunit_helpers.c | 3 +++ drivers/gpu/drm/xe/tests/xe_pci.c | 14 ++++++++++++++ drivers/gpu/drm/xe/tests/xe_pci_test.h | 8 ++++++++ 4 files changed, 28 insertions(+), 6 deletions(-)
drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c +3 -6
@@ -62,19 +62,16 @@ static int guc_buf_test_init(struct kunit *test) .sriov_mode = XE_SRIOV_MODE_PF, .platform = XE_TIGERLAKE, /* some random platform */ .subplatform = XE_SUBPLATFORM_NONE, + .ggtt.start = DUT_GGTT_START, + .ggtt.size = DUT_GGTT_SIZE, }; -struct xe_ggtt *ggtt;struct xe_guc *guc; test->priv = &fake;xe_kunit_helper_xe_device_test_init (test); - ggtt =xe_device_get_root_tile (test->priv)->mem.ggtt; guc = &xe_device_get_gt (test->priv,0 )->uc.guc; - -KUNIT_ASSERT_EQ (test,0 , -xe_ggtt_init_kunit (ggtt,DUT_GGTT_START , -DUT_GGTT_SIZE )); +KUNIT_ASSERT_NOT_ERR_OR_NULL (test, guc);kunit_activate_static_stub (test, xe_managed_bo_create_pin_map, replacement_xe_managed_bo_create_pin_map);
drivers/gpu/drm/xe/tests/xe_kunit_helpers.c +3 -0
@@ -65,6 +65,9 @@ static void kunit_action_restore_priv(void *priv)* in &kunit.priv pointer to the struct xe_pci_fake_data supplemented with * desired parameters prior to calling this function. * +* If xe_pci_fake_data->ggtt.size and .start are set then this function will +* also do a minimal GGTT initialization. +* * This function uses KUNIT_ASSERT to detect any failures. * * Return: Always 0.
drivers/gpu/drm/xe/tests/xe_pci.c +14 -0
@@ -14,6 +14,8 @@#include <kunit/test-bug.h> #include <kunit/visibility.h> +#include "xe_ggtt.h" +#define PLATFORM_CASE (platform__, graphics_step__) \ { \ .platform = XE_ ## platform__, \
@@ -483,6 +485,18 @@ int xe_pci_fake_device_init(struct xe_device *xe)xe_info_init_early (xe, desc, subplatform_desc);xe_info_init (xe, desc); +if (data && data->ggtt.size) { +struct xe_tile *tile; +unsigned int id; + +KUNIT_ASSERT_NE (test,0 , data->ggtt.start); +for_each_tile (tile, xe, id) +KUNIT_ASSERT_EQ (test,0 , +xe_ggtt_init_kunit (tile->mem.ggtt, + data->ggtt.start, + data->ggtt.size)); + } +return 0 ; }EXPORT_SYMBOL_IF_KUNIT (xe_pci_fake_device_init);
drivers/gpu/drm/xe/tests/xe_pci_test.h +8 -0
@@ -27,6 +27,14 @@ struct xe_pci_fake_data {const struct logic_iomem_ops *ops;void *priv; } gttmmadr; + +/** @ggtt: fake GGTT configuration */ +struct { +/** @ggtt.start: start address, or 0 if unavailable */ +u64 start; +/** @ggtt.size: size, or 0 if unavailable */ +u64 size; + } ggtt; };int xe_pci_fake_device_init (struct xe_device *xe);
Signature · 1 line
2.47.1
PATCH 15/16 drm/xe/kunit: Assume fake GGTT is online
In reply to Michal WajdeczkoAs we can mimic writes to the GTTMMADR BAR, we can also assume that the GGTT is online and allow the xe_ggtt code to update the PTEs.
--- drivers/gpu/drm/xe/tests/xe_pci.c | 3 +++ drivers/gpu/drm/xe/xe_ggtt.c | 12 +++--------- 2 files changed, 6 insertions(+), 9 deletions(-)
drivers/gpu/drm/xe/tests/xe_pci.c +3 -0
@@ -489,6 +489,9 @@ int xe_pci_fake_device_init(struct xe_device *xe)struct xe_tile *tile;unsigned int id; +xe_mmio_probe_early (xe); +xe_mmio_probe_tiles (xe); +KUNIT_ASSERT_NE (test,0 , data->ggtt.start);for_each_tile (tile, xe, id) KUNIT_ASSERT_EQ(test, 0,
drivers/gpu/drm/xe/xe_ggtt.c +3 -9
@@ -410,18 +410,12 @@ static int __xe_ggtt_init_early(struct xe_ggtt *ggtt, u64 start, u64 size)int xe_ggtt_init_kunit (struct xe_ggtt *ggtt,u32 start,u32 size) { -int err; -/* this is kunit only function - do not abuse! */ xe_tile_assert (ggtt->tile,kunit_get_current_test ()); +/* verify that we have GTTMMADR mapped */ +xe_tile_assert (ggtt->tile, ggtt->tile->xe->mmio.regs); - err =__xe_ggtt_init_early (ggtt, start, size); -if (err) -return err; - -/* we don't have GTTMMADR on kunit (yet) */ - ggtt->flags &= ~XE_GGTT_FLAGS_ONLINE ; -return 0 ; +return __xe_ggtt_init_early (ggtt, start, size); }EXPORT_SYMBOL_IF_KUNIT (xe_ggtt_init_kunit);
Signature · 1 line
2.47.1
PATCH 16/16 drm/xe/tests: Use regular xe_managed_bo_create_pin_map()
In reply to Michal WajdeczkoInstead of defining the stub for the xe_managed_bo_create_pin_map() we can now just initialize more xe components, like we do on the real device, and call regular function to use obtained xe_bo object in more other functions without crashing.
--- drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c | 66 +++++++-------------- 1 file changed, 21 insertions(+), 45 deletions(-)
drivers/gpu/drm/xe/tests/xe_guc_buf_kunit.c +21 -45
@@ -8,54 +8,19 @@#include <kunit/test-bug.h> #include "xe_device.h" +#include "xe_force_wake.h" #include "xe_ggtt.h" #include "xe_guc_ct.h" #include "xe_kunit_helpers.h" #include "xe_pci_test.h" +#include "xe_pm.h" +#include "xe_tlb_inval.h" +#include "xe_ttm_sys_mgr.h" +#include "xe_wa.h" #define DUT_GGTT_START SZ_8M/* more than WOPCM */ #define DUT_GGTT_SIZE SZ_2M -static void remove_ggtt_node (void *arg) -{ -struct xe_ggtt_node *node = arg; - -xe_ggtt_node_remove (node, false); -} - -static struct xe_bo *replacement_xe_managed_bo_create_pin_map (struct xe_device *xe, -struct xe_tile *tile, -size_t size,u32 flags) -{ -struct kunit *test =kunit_get_current_test (); -struct xe_bo *bo; -void *buf; - - bo =drmm_kzalloc (&xe->drm,sizeof (*bo),GFP_KERNEL ); -KUNIT_ASSERT_NOT_ERR_OR_NULL (test, bo); - - buf =drmm_kzalloc (&xe->drm, size,GFP_KERNEL ); -KUNIT_ASSERT_NOT_ERR_OR_NULL (test, buf); - - bo->tile = tile; - bo->ttm.bdev = &xe->ttm; - bo->ttm.base.size = size; -iosys_map_set_vaddr (&bo->vmap, buf); - -if (flags &XE_BO_FLAG_GGTT ) { -struct xe_ggtt *ggtt = tile->mem.ggtt; - - bo->ggtt_node[tile->id] =xe_ggtt_insert_node (ggtt,xe_bo_size (bo),SZ_4K ); -KUNIT_ASSERT_NOT_ERR_OR_NULL (test, bo->ggtt_node[tile->id]); -KUNIT_ASSERT_EQ (test,0 , -devm_add_action_or_reset (xe->drm.dev, - remove_ggtt_node, - bo->ggtt_node[tile->id])); - } - -return bo; -} -static int guc_buf_test_init (struct kunit *test) {struct xe_pci_fake_data fake = {
@@ -65,17 +30,28 @@ static int guc_buf_test_init(struct kunit *test) .ggtt.start = DUT_GGTT_START, .ggtt.size = DUT_GGTT_SIZE, }; +struct xe_device *xe;struct xe_guc *guc; +struct xe_gt *gt; +int id; test->priv = &fake;xe_kunit_helper_xe_device_test_init (test); - guc = &xe_device_get_gt (test->priv,0 )->uc.guc; + xe = test->priv; +KUNIT_ASSERT_EQ (test,0 ,xe_device_init_early (xe)); +xe_wa_device_init (xe); +xe_wa_process_device_oob (xe); +KUNIT_ASSERT_EQ (test,0 ,xe_ttm_sys_mgr_init (xe)); + +for_each_gt (gt, xe, id) { +xe_force_wake_init_gt (gt,gt_to_fw (gt)); +xe_gt_tlb_inval_init_early (gt); +xe_gt_mmio_init (gt); + } + + guc = &xe_device_get_gt (xe,0 )->uc.guc;KUNIT_ASSERT_NOT_ERR_OR_NULL (test, guc); - -kunit_activate_static_stub (test, xe_managed_bo_create_pin_map, - replacement_xe_managed_bo_create_pin_map); -KUNIT_ASSERT_EQ (test,0 ,xe_guc_buf_cache_init (&guc->buf)); test->priv = &guc->buf;
Signature · 1 line
2.47.1
Patchwork
CI✓ CI.KUnit: success for drm/xe/kunit: Add fake GTTMMADR
In reply to Michal Wajdeczko== Series Details ==
== Series Details ==
Series: drm/xe/kunit: Add fake GTTMMADR
URL : https://patchwork.freedesktop.org/series/168108/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [17:05:59] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [17:06:03] 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 [17:06:35] Starting KUnit Kernel (1/1)... [17:06:35] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [17:06:35] ================== guc_buf (11 subtests) =================== [17:06:35] [PASSED] test_smallest [17:06:35] [PASSED] test_largest [17:06:35] [PASSED] test_granular [17:06:35] [PASSED] test_unique [17:06:35] [PASSED] test_overlap [17:06:35] [PASSED] test_reusable [17:06:35] [PASSED] test_too_big [17:06:35] [PASSED] test_flush [17:06:35] [PASSED] test_lookup [17:06:35] [PASSED] test_data [17:06:35] [PASSED] test_class [17:06:35] ===================== [PASSED] guc_buf ===================== [17:06:35] =================== guc_dbm (7 subtests) =================== [17:06:35] [PASSED] test_empty [17:06:35] [PASSED] test_default [17:06:35] ======================== test_size ======================== [17:06:35] [PASSED] 4 [17:06:35] [PASSED] 8 [17:06:35] [PASSED] 32 [17:06:35] [PASSED] 256 [17:06:35] ==================== [PASSED] test_size ==================== [17:06:35] ======================= test_reuse ======================== [17:06:35] [PASSED] 4 [17:06:35] [PASSED] 8 [17:06:35] [PASSED] 32 [17:06:35] [PASSED] 256 [17:06:35] =================== [PASSED] test_reuse ==================== [17:06:35] =================== test_range_overlap ==================== [17:06:35] [PASSED] 4 [17:06:35] [PASSED] 8 [17:06:35] [PASSED] 32 [17:06:35] [PASSED] 256 [17:06:35] =============== [PASSED] test_range_overlap ================ [17:06:35] =================== test_range_compact ==================== [17:06:35] [PASSED] 4 [17:06:35] [PASSED] 8 [17:06:35] [PASSED] 32 [17:06:35] [PASSED] 256 [17:06:35] =============== [PASSED] test_range_compact ================ [17:06:35] ==================== test_range_spare ===================== [17:06:35] [PASSED] 4 [17:06:35] [PASSED] 8 [17:06:35] [PASSED] 32 [17:06:35] [PASSED] 256 [17:06:35] ================ [PASSED] test_range_spare ================= [17:06:35] ===================== [PASSED] guc_dbm ===================== [17:06:35] =================== guc_idm (6 subtests) =================== [17:06:35] [PASSED] bad_init [17:06:35] [PASSED] no_init [17:06:35] [PASSED] init_fini [17:06:35] [PASSED] check_used [17:06:35] [PASSED] check_quota [17:06:35] [PASSED] check_all [17:06:35] ===================== [PASSED] guc_idm ===================== [17:06:35] ================== no_relay (3 subtests) =================== [17:06:35] [PASSED] xe_drops_guc2pf_if_not_ready [17:06:35] [PASSED] xe_drops_guc2vf_if_not_ready [17:06:35] [PASSED] xe_rejects_send_if_not_ready [17:06:35] ==================== [PASSED] no_relay ===================== [17:06:35] ================== pf_relay (14 subtests) ================== [17:06:35] [PASSED] pf_rejects_guc2pf_too_short [17:06:35] [PASSED] pf_rejects_guc2pf_too_long [17:06:35] [PASSED] pf_rejects_guc2pf_no_payload [17:06:35] [PASSED] pf_fails_no_payload [17:06:35] [PASSED] pf_fails_bad_origin [17:06:35] [PASSED] pf_fails_bad_type [17:06:35] [PASSED] pf_txn_reports_error [17:06:35] [PASSED] pf_txn_sends_pf2guc [17:06:35] [PASSED] pf_sends_pf2guc [17:06:35] [SKIPPED] pf_loopback_nop [17:06:35] [SKIPPED] pf_loopback_echo [17:06:35] [SKIPPED] pf_loopback_fail [17:06:35] [SKIPPED] pf_loopback_busy [17:06:35] [SKIPPED] pf_loopback_retry [17:06:35] ==================== [PASSED] pf_relay ===================== [17:06:35] ================== vf_relay (3 subtests) =================== [17:06:35] [PASSED] vf_rejects_guc2vf_too_short [17:06:35] [PASSED] vf_rejects_guc2vf_too_long [17:06:35] [PASSED] vf_rejects_guc2vf_no_payload [17:06:35] ==================== [PASSED] vf_relay ===================== [17:06:35] ================ pf_gt_config (9 subtests) ================= [17:06:35] [PASSED] fair_contexts_1vf [17:06:35] [PASSED] fair_doorbells_1vf [17:06:35] [PASSED] fair_ggtt_1vf [17:06:35] ====================== fair_vram_1vf ====================== [17:06:35] [PASSED] 3.50 GiB [17:06:35] [PASSED] 11.5 GiB [17:06:35] [PASSED] 15.5 GiB [17:06:35] [PASSED] 31.5 GiB [17:06:35] [PASSED] 63.5 GiB [17:06:35] [PASSED] 1.91 GiB [17:06:35] ================== [PASSED] fair_vram_1vf ================== [17:06:35] ================ fair_vram_1vf_admin_only ================= [17:06:35] [PASSED] 3.50 GiB [17:06:35] [PASSED] 11.5 GiB [17:06:35] [PASSED] 15.5 GiB [17:06:35] [PASSED] 31.5 GiB [17:06:35] [PASSED] 63.5 GiB [17:06:35] [PASSED] 1.91 GiB [17:06:35] ============ [PASSED] fair_vram_1vf_admin_only ============= [17:06:35] ====================== fair_contexts ====================== [17:06:35] [PASSED] 1 VF [17:06:35] [PASSED] 2 VFs [17:06:35] [PASSED] 3 VFs [17:06:35] [PASSED] 4 VFs [17:06:35] [PASSED] 5 VFs [17:06:35] [PASSED] 6 VFs [17:06:35] [PASSED] 7 VFs [17:06:35] [PASSED] 8 VFs [17:06:35] [PASSED] 9 VFs [17:06:35] [PASSED] 10 VFs [17:06:35] [PASSED] 11 VFs [17:06:35] [PASSED] 12 VFs [17:06:35] [PASSED] 13 VFs [17:06:35] [PASSED] 14 VFs [17:06:35] [PASSED] 15 VFs [17:06:35] [PASSED] 16 VFs [17:06:35] [PASSED] 17 VFs [17:06:35] [PASSED] 18 VFs [17:06:35] [PASSED] 19 VFs [17:06:35] [PASSED] 20 VFs [17:06:35] [PASSED] 21 VFs [17:06:35] [PASSED] 22 VFs [17:06:35] [PASSED] 23 VFs [17:06:35] [PASSED] 24 VFs [17:06:35] [PASSED] 25 VFs [17:06:35] [PASSED] 26 VFs [17:06:35] [PASSED] 27 VFs [17:06:35] [PASSED] 28 VFs [17:06:35] [PASSED] 29 VFs [17:06:35] [PASSED] 30 VFs [17:06:35] [PASSED] 31 VFs [17:06:35] [PASSED] 32 VFs [17:06:35] [PASSED] 33 VFs [17:06:35] [PASSED] 34 VFs [17:06:35] [PASSED] 35 VFs [17:06:35] [PASSED] 36 VFs [17:06:35] [PASSED] 37 VFs [17:06:35] [PASSED] 38 VFs [17:06:35] [PASSED] 39 VFs [17:06:35] [PASSED] 40 VFs [17:06:35] [PASSED] 41 VFs [17:06:35] [PASSED] 42 VFs [17:06:35] [PASSED] 43 VFs [17:06:35] [PASSED] 44 VFs [17:06:35] [PASSED] 45 VFs [17:06:35] [PASSED] 46 VFs [17:06:35] [PASSED] 47 VFs [17:06:35] [PASSED] 48 VFs [17:06:35] [PASSED] 49 VFs [17:06:35] [PASSED] 50 VFs [17:06:35] [PASSED] 51 VFs [17:06:35] [PASSED] 52 VFs [17:06:35] [PASSED] 53 VFs [17:06:35] [PASSED] 54 VFs [17:06:35] [PASSED] 55 VFs [17:06:35] [PASSED] 56 VFs [17:06:35] [PASSED] 57 VFs [17:06:35] [PASSED] 58 VFs [17:06:35] [PASSED] 59 VFs [17:06:35] [PASSED] 60 VFs [17:06:35] [PASSED] 61 VFs [17:06:35] [PASSED] 62 VFs [17:06:35] [PASSED] 63 VFs [17:06:35] ================== [PASSED] fair_contexts ================== [17:06:35] ===================== fair_doorbells ====================== [17:06:35] [PASSED] 1 VF [17:06:35] [PASSED] 2 VFs [17:06:35] [PASSED] 3 VFs [17:06:35] [PASSED] 4 VFs [17:06:35] [PASSED] 5 VFs [17:06:35] [PASSED] 6 VFs [17:06:35] [PASSED] 7 VFs [17:06:35] [PASSED] 8 VFs [17:06:35] [PASSED] 9 VFs [17:06:35] [PASSED] 10 VFs [17:06:35] [PASSED] 11 VFs [17:06:35] [PASSED] 12 VFs [17:06:35] [PASSED] 13 VFs [17:06:35] [PASSED] 14 VFs [17:06:35] [PASSED] 15 VFs [17:06:35] [PASSED] 16 VFs [17:06:35] [PASSED] 17 VFs [17:06:35] [PASSED] 18 VFs [17:06:35] [PASSED] 19 VFs [17:06:35] [PASSED] 20 VFs [17:06:35] [PASSED] 21 VFs [17:06:35] [PASSED] 22 VFs [17:06:35] [PASSED] 23 VFs [17:06:35] [PASSED] 24 VFs [17:06:35] [PASSED] 25 VFs [17:06:35] [PASSED] 26 VFs [17:06:35] [PASSED] 27 VFs [17:06:35] [PASSED] 28 VFs [17:06:35] [PASSED] 29 VFs [17:06:35] [PASSED] 30 VFs [17:06:35] [PASSED] 31 VFs [17:06:35] [PASSED] 32 VFs [17:06:35] [PASSED] 33 VFs [17:06:35] [PASSED] 34 VFs [17:06:35] [PASSED] 35 VFs [17:06:35] [PASSED] 36 VFs [17:06:35] [PASSED] 37 VFs [17:06:35] [PASSED] 38 VFs [17:06:35] [PASSED] 39 VFs [17:06:35] [PASSED] 40 VFs [17:06:35] [PASSED] 41 VFs [17:06:35] [PASSED] 42 VFs [17:06:35] [PASSED] 43 VFs [17:06:35] [PASSED] 44 VFs [17:06:35] [PASSED] 45 VFs [17:06:35] [PASSED] 46 VFs [17:06:35] [PASSED] 47 VFs [17:06:35] [PASSED] 48 VFs [17:06:35] [PASSED] 49 VFs [17:06:35] [PASSED] 50 VFs [17:06:35] [PASSED] 51 VFs [17:06:35] [PASSED] 52 VFs [17:06:35] [PASSED] 53 VFs [17:06:35] [PASSED] 54 VFs [17:06:35] [PASSED] 55 VFs [17:06:35] [PASSED] 56 VFs [17:06:35] [PASSED] 57 VFs [17:06:35] [PASSED] 58 VFs [17:06:35] [PASSED] 59 VFs [17:06:35] [PASSED] 60 VFs [17:06:35] [PASSED] 61 VFs [17:06:35] [PASSED] 62 VFs [17:06:35] [PASSED] 63 VFs [17:06:35] ================= [PASSED] fair_doorbells ================== [17:06:35] ======================== fair_ggtt ======================== [17:06:35] [PASSED] 1 VF [17:06:35] [PASSED] 2 VFs [17:06:35] [PASSED] 3 VFs [17:06:35] [PASSED] 4 VFs [17:06:35] [PASSED] 5 VFs [17:06:35] [PASSED] 6 VFs [17:06:35] [PASSED] 7 VFs [17:06:35] [PASSED] 8 VFs [17:06:35] [PASSED] 9 VFs [17:06:35] [PASSED] 10 VFs [17:06:35] [PASSED] 11 VFs [17:06:35] [PASSED] 12 VFs [17:06:35] [PASSED] 13 VFs [17:06:35] [PASSED] 14 VFs [17:06:35] [PASSED] 15 VFs [17:06:35] [PASSED] 16 VFs [17:06:35] [PASSED] 17 VFs [17:06:35] [PASSED] 18 VFs [17:06:35] [PASSED] 19 VFs [17:06:35] [PASSED] 20 VFs [17:06:35] [PASSED] 21 VFs [17:06:35] [PASSED] 22 VFs [17:06:35] [PASSED] 23 VFs [17:06:35] [PASSED] 24 VFs [17:06:35] [PASSED] 25 VFs [17:06:35] [PASSED] 26 VFs [17:06:35] [PASSED] 27 VFs [17:06:35] [PASSED] 28 VFs [17:06:35] [PASSED] 29 VFs [17:06:35] [PASSED] 30 VFs [17:06:35] [PASSED] 31 VFs [17:06:35] [PASSED] 32 VFs [17:06:35] [PASSED] 33 VFs [17:06:35] [PASSED] 34 VFs [17:06:35] [PASSED] 35 VFs [17:06:35] [PASSED] 36 VFs [17:06:35] [PASSED] 37 VFs [17:06:35] [PASSED] 38 VFs [17:06:35] [PASSED] 39 VFs [17:06:35] [PASSED] 40 VFs [17:06:35] [PASSED] 41 VFs [17:06:35] [PASSED] 42 VFs [17:06:35] [PASSED] 43 VFs [17:06:35] [PASSED] 44 VFs [17:06:35] [PASSED] 45 VFs [17:06:35] [PASSED] 46 VFs [17:06:35] [PASSED] 47 VFs [17:06:35] [PASSED] 48 VFs [17:06:35] [PASSED] 49 VFs [17:06:35] [PASSED] 50 VFs [17:06:35] [PASSED] 51 VFs [17:06:35] [PASSED] 52 VFs [17:06:35] [PASSED] 53 VFs [17:06:35] [PASSED] 54 VFs [17:06:35] [PASSED] 55 VFs [17:06:35] [PASSED] 56 VFs [17:06:35] [PASSED] 57 VFs [17:06:35] [PASSED] 58 VFs [17:06:35] [PASSED] 59 VFs [17:06:35] [PASSED] 60 VFs [17:06:35] [PASSED] 61 VFs [17:06:35] [PASSED] 62 VFs [17:06:35] [PASSED] 63 VFs [17:06:35] ==================== [PASSED] fair_ggtt ==================== [17:06:35] ======================== fair_vram ======================== [17:06:35] [PASSED] 1 VF [17:06:35] [PASSED] 2 VFs [17:06:35] [PASSED] 3 VFs [17:06:35] [PASSED] 4 VFs [17:06:35] [PASSED] 5 VFs [17:06:35] [PASSED] 6 VFs [17:06:35] [PASSED] 7 VFs [17:06:35] [PASSED] 8 VFs [17:06:35] [PASSED] 9 VFs [17:06:35] [PASSED] 10 VFs [17:06:35] [PASSED] 11 VFs [17:06:35] [PASSED] 12 VFs [17:06:35] [PASSED] 13 VFs [17:06:35] [PASSED] 14 VFs [17:06:35] [PASSED] 15 VFs [17:06:35] [PASSED] 16 VFs [17:06:35] [PASSED] 17 VFs [17:06:35] [PASSED] 18 VFs [17:06:35] [PASSED] 19 VFs [17:06:35] [PASSED] 20 VFs [17:06:35] [PASSED] 21 VFs [17:06:35] [PASSED] 22 VFs [17:06:35] [PASSED] 23 VFs [17:06:35] [PASSED] 24 VFs [17:06:35] [PASSED] 25 VFs [17:06:35] [PASSED] 26 VFs [17:06:35] [PASSED] 27 VFs [17:06:35] [PASSED] 28 VFs [17:06:35] [PASSED] 29 VFs [17:06:35] [PASSED] 30 VFs [17:06:35] [PASSED] 31 VFs [17:06:35] [PASSED] 32 VFs [17:06:35] [PASSED] 33 VFs [17:06:35] [PASSED] 34 VFs [17:06:35] [PASSED] 35 VFs [17:06:35] [PASSED] 36 VFs [17:06:35] [PASSED] 37 VFs [17:06:35] [PASSED] 38 VFs [17:06:35] [PASSED] 39 VFs [17:06:35] [PASSED] 40 VFs [17:06:35] [PASSED] 41 VFs [17:06:35] [PASSED] 42 VFs [17:06:35] [PASSED] 43 VFs [17:06:35] [PASSED] 44 VFs [17:06:35] [PASSED] 45 VFs [17:06:35] [PASSED] 46 VFs [17:06:35] [PASSED] 47 VFs [17:06:35] [PASSED] 48 VFs [17:06:35] [PASSED] 49 VFs [17:06:35] [PASSED] 50 VFs [17:06:35] [PASSED] 51 VFs [17:06:35] [PASSED] 52 VFs [17:06:35] [PASSED] 53 VFs [17:06:35] [PASSED] 54 VFs [17:06:35] [PASSED] 55 VFs [17:06:35] [PASSED] 56 VFs [17:06:35] [PASSED] 57 VFs [17:06:35] [PASSED] 58 VFs [17:06:35] [PASSED] 59 VFs [17:06:35] [PASSED] 60 VFs [17:06:35] [PASSED] 61 VFs [17:06:35] [PASSED] 62 VFs [17:06:35] [PASSED] 63 VFs [17:06:35] ==================== [PASSED] fair_vram ==================== [17:06:35] ================== [PASSED] pf_gt_config =================== [17:06:35] ===================== lmtt (1 subtest) ===================== [17:06:35] ======================== test_ops ========================= [17:06:35] [PASSED] 2-level [17:06:35] [PASSED] multi-level [17:06:35] ==================== [PASSED] test_ops ===================== [17:06:35] ====================== [PASSED] lmtt ======================= [17:06:35] ================= pf_service (11 subtests) ================= [17:06:35] [PASSED] pf_negotiate_any [17:06:35] [PASSED] pf_negotiate_base_match [17:06:35] [PASSED] pf_negotiate_base_newer [17:06:35] [PASSED] pf_negotiate_base_next [17:06:35] [SKIPPED] pf_negotiate_base_older [17:06:35] [PASSED] pf_negotiate_base_prev [17:06:35] [PASSED] pf_negotiate_latest_match [17:06:35] [PASSED] pf_negotiate_latest_newer [17:06:35] [PASSED] pf_negotiate_latest_next [17:06:35] [SKIPPED] pf_negotiate_latest_older [17:06:35] [SKIPPED] pf_negotiate_latest_prev [17:06:35] =================== [PASSED] pf_service ==================== [17:06:35] ================= xe_guc_g2g (2 subtests) ================== [17:06:35] ============== xe_live_guc_g2g_kunit_default ============== [17:06:35] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [17:06:35] ============== xe_live_guc_g2g_kunit_allmem =============== [17:06:35] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [17:06:35] =================== [SKIPPED] xe_guc_g2g =================== [17:06:35] =================== xe_mocs (2 subtests) =================== [17:06:35] ================ xe_live_mocs_kernel_kunit ================ [17:06:35] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [17:06:35] ================ xe_live_mocs_reset_kunit ================= [17:06:35] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [17:06:35] ==================== [SKIPPED] xe_mocs ===================== [17:06:35] ================= xe_migrate (2 subtests) ================== [17:06:35] ================= xe_migrate_sanity_kunit ================= [17:06:35] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [17:06:35] ================== xe_validate_ccs_kunit ================== [17:06:35] ============= [SKIPPED] xe_validate_ccs_kunit ============== [17:06:35] =================== [SKIPPED] xe_migrate =================== [17:06:35] ================== xe_dma_buf (1 subtest) ================== [17:06:35] ==================== xe_dma_buf_kunit ===================== [17:06:35] ================ [SKIPPED] xe_dma_buf_kunit ================ [17:06:35] =================== [SKIPPED] xe_dma_buf =================== [17:06:35] ================= xe_bo_shrink (1 subtest) ================= [17:06:35] =================== xe_bo_shrink_kunit ==================== [17:06:35] =============== [SKIPPED] xe_bo_shrink_kunit =============== [17:06:35] ================== [SKIPPED] xe_bo_shrink ================== [17:06:35] ==================== xe_bo (2 subtests) ==================== [17:06:35] ================== xe_ccs_migrate_kunit =================== [17:06:35] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [17:06:35] ==================== xe_bo_evict_kunit ==================== [17:06:35] =============== [SKIPPED] xe_bo_evict_kunit ================ [17:06:35] ===================== [SKIPPED] xe_bo ====================== [17:06:35] ==================== args (13 subtests) ==================== [17:06:35] [PASSED] count_args_test [17:06:35] [PASSED] call_args_example [17:06:35] [PASSED] call_args_test [17:06:35] [PASSED] drop_first_arg_example [17:06:35] [PASSED] drop_first_arg_test [17:06:35] [PASSED] first_arg_example [17:06:35] [PASSED] first_arg_test [17:06:35] [PASSED] last_arg_example [17:06:35] [PASSED] last_arg_test [17:06:35] [PASSED] pick_arg_example [17:06:35] [PASSED] if_args_example [17:06:35] [PASSED] if_args_test [17:06:35] [PASSED] sep_comma_example [17:06:35] ====================== [PASSED] args ======================= [17:06:35] =================== xe_pci (3 subtests) ==================== [17:06:35] ==================== check_graphics_ip ==================== [17:06:35] [PASSED] 12.00 Xe_LP [17:06:35] [PASSED] 12.10 Xe_LP+ [17:06:35] [PASSED] 12.55 Xe_HPG [17:06:35] [PASSED] 12.60 Xe_HPC [17:06:35] [PASSED] 12.70 Xe_LPG [17:06:35] [PASSED] 12.71 Xe_LPG [17:06:35] [PASSED] 12.74 Xe_LPG+ [17:06:35] [PASSED] 20.01 Xe2_HPG [17:06:35] [PASSED] 20.02 Xe2_HPG [17:06:35] [PASSED] 20.04 Xe2_LPG [17:06:35] [PASSED] 30.00 Xe3_LPG [17:06:35] [PASSED] 30.01 Xe3_LPG [17:06:35] [PASSED] 30.03 Xe3_LPG [17:06:35] [PASSED] 30.04 Xe3_LPG [17:06:35] [PASSED] 30.05 Xe3_LPG [17:06:35] [PASSED] 35.10 Xe3p_LPG [17:06:35] [PASSED] 35.11 Xe3p_XPC [17:06:35] ================ [PASSED] check_graphics_ip ================ [17:06:35] ===================== check_media_ip ====================== [17:06:35] [PASSED] 12.00 Xe_M [17:06:35] [PASSED] 12.55 Xe_HPM [17:06:35] [PASSED] 13.00 Xe_LPM+ [17:06:35] [PASSED] 13.01 Xe2_HPM [17:06:35] [PASSED] 20.00 Xe2_LPM [17:06:35] [PASSED] 30.00 Xe3_LPM [17:06:35] [PASSED] 30.02 Xe3_LPM [17:06:35] [PASSED] 35.00 Xe3p_LPM [17:06:35] [PASSED] 35.03 Xe3p_HPM [17:06:35] ================= [PASSED] check_media_ip ================== [17:06:35] =================== check_platform_desc =================== [17:06:35] [PASSED] 0x9A60 (TIGERLAKE) [17:06:35] [PASSED] 0x9A68 (TIGERLAKE) [17:06:35] [PASSED] 0x9A70 (TIGERLAKE) [17:06:35] [PASSED] 0x9A40 (TIGERLAKE) [17:06:35] [PASSED] 0x9A49 (TIGERLAKE) [17:06:35] [PASSED] 0x9A59 (TIGERLAKE) [17:06:35] [PASSED] 0x9A78 (TIGERLAKE) [17:06:35] [PASSED] 0x9AC0 (TIGERLAKE) [17:06:35] [PASSED] 0x9AC9 (TIGERLAKE) [17:06:35] [PASSED] 0x9AD9 (TIGERLAKE) [17:06:35] [PASSED] 0x9AF8 (TIGERLAKE) [17:06:35] [PASSED] 0x4C80 (ROCKETLAKE) [17:06:35] [PASSED] 0x4C8A (ROCKETLAKE) [17:06:35] [PASSED] 0x4C8B (ROCKETLAKE) [17:06:35] [PASSED] 0x4C8C (ROCKETLAKE) [17:06:35] [PASSED] 0x4C90 (ROCKETLAKE) [17:06:35] [PASSED] 0x4C9A (ROCKETLAKE) [17:06:35] [PASSED] 0x4680 (ALDERLAKE_S) [17:06:35] [PASSED] 0x4682 (ALDERLAKE_S) [17:06:35] [PASSED] 0x4688 (ALDERLAKE_S) [17:06:35] [PASSED] 0x468A (ALDERLAKE_S) [17:06:35] [PASSED] 0x468B (ALDERLAKE_S) [17:06:35] [PASSED] 0x4690 (ALDERLAKE_S) [17:06:35] [PASSED] 0x4692 (ALDERLAKE_S) [17:06:35] [PASSED] 0x4693 (ALDERLAKE_S) [17:06:35] [PASSED] 0x46A0 (ALDERLAKE_P) [17:06:35] [PASSED] 0x46A1 (ALDERLAKE_P) [17:06:35] [PASSED] 0x46A2 (ALDERLAKE_P) [17:06:35] [PASSED] 0x46A3 (ALDERLAKE_P) [17:06:35] [PASSED] 0x46A6 (ALDERLAKE_P) [17:06:35] [PASSED] 0x46A8 (ALDERLAKE_P) [17:06:35] [PASSED] 0x46AA (ALDERLAKE_P) [17:06:35] [PASSED] 0x462A (ALDERLAKE_P) [17:06:35] [PASSED] 0x4626 (ALDERLAKE_P) [17:06:35] [PASSED] 0x4628 (ALDERLAKE_P) [17:06:35] [PASSED] 0x46B0 (ALDERLAKE_P) [17:06:35] [PASSED] 0x46B1 (ALDERLAKE_P) [17:06:35] [PASSED] 0x46B2 (ALDERLAKE_P) [17:06:35] [PASSED] 0x46B3 (ALDERLAKE_P) [17:06:35] [PASSED] 0x46C0 (ALDERLAKE_P) [17:06:35] [PASSED] 0x46C1 (ALDERLAKE_P) [17:06:35] [PASSED] 0x46C2 (ALDERLAKE_P) [17:06:35] [PASSED] 0x46C3 (ALDERLAKE_P) [17:06:35] [PASSED] 0x46D0 (ALDERLAKE_N) [17:06:35] [PASSED] 0x46D1 (ALDERLAKE_N) [17:06:35] [PASSED] 0x46D2 (ALDERLAKE_N) [17:06:35] [PASSED] 0x46D3 (ALDERLAKE_N) [17:06:35] [PASSED] 0x46D4 (ALDERLAKE_N) [17:06:35] [PASSED] 0xA721 (ALDERLAKE_P) [17:06:35] [PASSED] 0xA7A1 (ALDERLAKE_P) [17:06:35] [PASSED] 0xA7A9 (ALDERLAKE_P) [17:06:35] [PASSED] 0xA7AC (ALDERLAKE_P) [17:06:35] [PASSED] 0xA7AD (ALDERLAKE_P) [17:06:35] [PASSED] 0xA720 (ALDERLAKE_P) [17:06:35] [PASSED] 0xA7A0 (ALDERLAKE_P) [17:06:35] [PASSED] 0xA7A8 (ALDERLAKE_P) [17:06:35] [PASSED] 0xA7AA (ALDERLAKE_P) [17:06:35] [PASSED] 0xA7AB (ALDERLAKE_P) [17:06:35] [PASSED] 0xA780 (ALDERLAKE_S) [17:06:35] [PASSED] 0xA781 (ALDERLAKE_S) [17:06:35] [PASSED] 0xA782 (ALDERLAKE_S) [17:06:35] [PASSED] 0xA783 (ALDERLAKE_S) [17:06:35] [PASSED] 0xA788 (ALDERLAKE_S) [17:06:35] [PASSED] 0xA789 (ALDERLAKE_S) [17:06:35] [PASSED] 0xA78A (ALDERLAKE_S) [17:06:35] [PASSED] 0xA78B (ALDERLAKE_S) [17:06:35] [PASSED] 0x4905 (DG1) [17:06:35] [PASSED] 0x4906 (DG1) [17:06:35] [PASSED] 0x4907 (DG1) [17:06:35] [PASSED] 0x4908 (DG1) [17:06:35] [PASSED] 0x4909 (DG1) [17:06:35] [PASSED] 0x56C0 (DG2) [17:06:35] [PASSED] 0x56C2 (DG2) [17:06:35] [PASSED] 0x56C1 (DG2) [17:06:35] [PASSED] 0x7D51 (METEORLAKE) [17:06:35] [PASSED] 0x7DD1 (METEORLAKE) [17:06:35] [PASSED] 0x7D41 (METEORLAKE) [17:06:35] [PASSED] 0x7D67 (METEORLAKE) [17:06:35] [PASSED] 0xB640 (METEORLAKE) [17:06:35] [PASSED] 0x56A0 (DG2) [17:06:35] [PASSED] 0x56A1 (DG2) [17:06:35] [PASSED] 0x56A2 (DG2) [17:06:35] [PASSED] 0x56BE (DG2) [17:06:35] [PASSED] 0x56BF (DG2) [17:06:35] [PASSED] 0x5690 (DG2) [17:06:35] [PASSED] 0x5691 (DG2) [17:06:35] [PASSED] 0x5692 (DG2) [17:06:35] [PASSED] 0x56A5 (DG2) [17:06:35] [PASSED] 0x56A6 (DG2) [17:06:35] [PASSED] 0x56B0 (DG2) [17:06:35] [PASSED] 0x56B1 (DG2) [17:06:35] [PASSED] 0x56BA (DG2) [17:06:35] [PASSED] 0x56BB (DG2) [17:06:35] [PASSED] 0x56BC (DG2) [17:06:35] [PASSED] 0x56BD (DG2) [17:06:35] [PASSED] 0x5693 (DG2) [17:06:35] [PASSED] 0x5694 (DG2) [17:06:35] [PASSED] 0x5695 (DG2) [17:06:35] [PASSED] 0x56A3 (DG2) [17:06:35] [PASSED] 0x56A4 (DG2) [17:06:35] [PASSED] 0x56B2 (DG2) [17:06:35] [PASSED] 0x56B3 (DG2) [17:06:35] [PASSED] 0x5696 (DG2) [17:06:35] [PASSED] 0x5697 (DG2) [17:06:35] [PASSED] 0xB69 (PVC) [17:06:35] [PASSED] 0xB6E (PVC) [17:06:35] [PASSED] 0xBD4 (PVC) [17:06:35] [PASSED] 0xBD5 (PVC) [17:06:35] [PASSED] 0xBD6 (PVC) [17:06:35] [PASSED] 0xBD7 (PVC) [17:06:35] [PASSED] 0xBD8 (PVC) [17:06:35] [PASSED] 0xBD9 (PVC) [17:06:35] [PASSED] 0xBDA (PVC) [17:06:35] [PASSED] 0xBDB (PVC) [17:06:35] [PASSED] 0xBE0 (PVC) [17:06:35] [PASSED] 0xBE1 (PVC) [17:06:35] [PASSED] 0xBE5 (PVC) [17:06:35] [PASSED] 0x7D40 (METEORLAKE) [17:06:35] [PASSED] 0x7D45 (METEORLAKE) [17:06:35] [PASSED] 0x7D55 (METEORLAKE) [17:06:35] [PASSED] 0x7D60 (METEORLAKE) [17:06:35] [PASSED] 0x7DD5 (METEORLAKE) [17:06:35] [PASSED] 0x6420 (LUNARLAKE) [17:06:35] [PASSED] 0x64A0 (LUNARLAKE) [17:06:35] [PASSED] 0x64B0 (LUNARLAKE) [17:06:35] [PASSED] 0xE202 (BATTLEMAGE) [17:06:35] [PASSED] 0xE209 (BATTLEMAGE) [17:06:35] [PASSED] 0xE20B (BATTLEMAGE) [17:06:35] [PASSED] 0xE20C (BATTLEMAGE) [17:06:35] [PASSED] 0xE20D (BATTLEMAGE) [17:06:35] [PASSED] 0xE210 (BATTLEMAGE) [17:06:35] [PASSED] 0xE211 (BATTLEMAGE) [17:06:35] [PASSED] 0xE212 (BATTLEMAGE) [17:06:35] [PASSED] 0xE216 (BATTLEMAGE) [17:06:35] [PASSED] 0xE220 (BATTLEMAGE) [17:06:35] [PASSED] 0xE221 (BATTLEMAGE) [17:06:35] [PASSED] 0xE222 (BATTLEMAGE) [17:06:35] [PASSED] 0xE223 (BATTLEMAGE) [17:06:35] [PASSED] 0xB080 (PANTHERLAKE) [17:06:35] [PASSED] 0xB081 (PANTHERLAKE) [17:06:35] [PASSED] 0xB082 (PANTHERLAKE) [17:06:35] [PASSED] 0xB083 (PANTHERLAKE) [17:06:35] [PASSED] 0xB084 (PANTHERLAKE) [17:06:35] [PASSED] 0xB085 (PANTHERLAKE) [17:06:35] [PASSED] 0xB086 (PANTHERLAKE) [17:06:35] [PASSED] 0xB087 (PANTHERLAKE) [17:06:35] [PASSED] 0xB08F (PANTHERLAKE) [17:06:35] [PASSED] 0xB090 (PANTHERLAKE) [17:06:35] [PASSED] 0xB0A0 (PANTHERLAKE) [17:06:35] [PASSED] 0xB0B0 (PANTHERLAKE) [17:06:35] [PASSED] 0xFD80 (PANTHERLAKE) [17:06:35] [PASSED] 0xFD81 (PANTHERLAKE) [17:06:35] [PASSED] 0xD740 (NOVALAKE_S) [17:06:35] [PASSED] 0xD741 (NOVALAKE_S) [17:06:35] [PASSED] 0xD742 (NOVALAKE_S) [17:06:35] [PASSED] 0xD743 (NOVALAKE_S) [17:06:35] [PASSED] 0xD744 (NOVALAKE_S) [17:06:35] [PASSED] 0xD745 (NOVALAKE_S) [17:06:35] [PASSED] 0x674C (CRESCENTISLAND) [17:06:35] [PASSED] 0x674D (CRESCENTISLAND) [17:06:35] [PASSED] 0x674E (CRESCENTISLAND) [17:06:35] [PASSED] 0x674F (CRESCENTISLAND) [17:06:35] [PASSED] 0x6750 (CRESCENTISLAND) [17:06:35] [PASSED] 0xD750 (NOVALAKE_P) [17:06:35] [PASSED] 0xD751 (NOVALAKE_P) [17:06:35] [PASSED] 0xD752 (NOVALAKE_P) [17:06:35] [PASSED] 0xD753 (NOVALAKE_P) [17:06:35] [PASSED] 0xD754 (NOVALAKE_P) [17:06:35] [PASSED] 0xD755 (NOVALAKE_P) [17:06:35] [PASSED] 0xD756 (NOVALAKE_P) [17:06:35] [PASSED] 0xD757 (NOVALAKE_P) [17:06:35] [PASSED] 0xD75F (NOVALAKE_P) [17:06:35] =============== [PASSED] check_platform_desc =============== [17:06:35] ===================== [PASSED] xe_pci ====================== [17:06:35] ============= xe_rtp_tables_test (4 subtests) ============== [17:06:35] ================== xe_rtp_table_gt_test =================== [17:06:35] [PASSED] gt_was/14011060649 [17:06:35] [PASSED] gt_was/14011059788 [17:06:35] [PASSED] gt_was/14015795083 [17:06:35] [PASSED] gt_was/16021867713 [17:06:35] [PASSED] gt_was/14019449301 [17:06:35] [PASSED] gt_was/16028005424 [17:06:35] [PASSED] gt_was/14026578760 [17:06:35] [PASSED] gt_was/1409420604 [17:06:35] [PASSED] gt_was/1408615072 [17:06:35] [PASSED] gt_was/22010523718 [17:06:35] [PASSED] gt_was/14011006942 [17:06:35] [PASSED] gt_was/14014830051 [17:06:35] [PASSED] gt_was/18018781329 [17:06:35] [PASSED] gt_was/1509235366 [17:06:35] [PASSED] gt_was/18018781329 [17:06:35] [PASSED] gt_was/16016694945 [17:06:35] [PASSED] gt_was/14018575942 [17:06:35] [PASSED] gt_was/22016670082 [17:06:35] [PASSED] gt_was/22016670082 [17:06:35] [PASSED] gt_was/14017421178 [17:06:35] [PASSED] gt_was/16025250150 [17:06:35] [PASSED] gt_was/14021871409 [17:06:35] [PASSED] gt_was/16021865536 [17:06:35] [PASSED] gt_was/14021486841 [17:06:35] [PASSED] gt_was/14025160223 [17:06:35] [PASSED] gt_was/14026144927, 16029437861 [17:06:35] [PASSED] gt_was/14025635424 [17:06:35] [PASSED] gt_was/16028005424 [17:06:35] ============== [PASSED] xe_rtp_table_gt_test =============== [17:06:35] ================== xe_rtp_table_gt_test =================== [17:06:35] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable [17:06:35] [PASSED] gt_tunings/Tuning: 32B Access Enable [17:06:35] [PASSED] gt_tunings/Tuning: L3 cache [17:06:35] [PASSED] gt_tunings/Tuning: L3 cache - media [17:06:35] [PASSED] gt_tunings/Tuning: Compression Overfetch [17:06:35] [PASSED] gt_tunings/Tuning: Compression Overfetch - media [17:06:35] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 [17:06:35] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media [17:06:35] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only [17:06:35] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media [17:06:35] [PASSED] gt_tunings/Tuning: Stateless compression control [17:06:35] [PASSED] gt_tunings/Tuning: Stateless compression control - media [17:06:35] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache [17:06:35] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media [17:06:35] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB [17:06:35] ============== [PASSED] xe_rtp_table_gt_test =============== [17:06:35] ================== xe_rtp_table_oob_test ================== [17:06:35] [PASSED] oob_was/1607983814 [17:06:35] [PASSED] oob_was/16010904313 [17:06:35] [PASSED] oob_was/18022495364 [17:06:35] [PASSED] oob_was/22012773006 [17:06:35] [PASSED] oob_was/14014475959 [17:06:35] [PASSED] oob_was/22011391025 [17:06:35] [PASSED] oob_was/22012727170 [17:06:35] [PASSED] oob_was/22012727685 [17:06:35] [PASSED] oob_was/22016596838 [17:06:35] [PASSED] oob_was/18020744125 [17:06:35] [PASSED] oob_was/1409600907 [17:06:35] [PASSED] oob_was/22014953428 [17:06:35] [PASSED] oob_was/16017236439 [17:06:35] [PASSED] oob_was/14019821291 [17:06:35] [PASSED] oob_was/14015076503 [17:06:35] [PASSED] oob_was/14018913170 [17:06:35] [PASSED] oob_was/14018094691 [17:06:35] [PASSED] oob_was/18024947630 [17:06:35] [PASSED] oob_was/16022287689 [17:06:35] [PASSED] oob_was/13011645652 [17:06:35] [PASSED] oob_was/14022293748 [17:06:35] [PASSED] oob_was/22019794406 [17:06:35] [PASSED] oob_was/22019338487 [17:06:35] [PASSED] oob_was/16023588340 [17:06:35] [PASSED] oob_was/14019789679 [17:06:35] [PASSED] oob_was/14022866841 [17:06:35] [PASSED] oob_was/16021333562 [17:06:35] [PASSED] oob_was/14016712196 [17:06:35] [PASSED] oob_was/14015568240 [17:06:35] [PASSED] oob_was/18013179988 [17:06:35] [PASSED] oob_was/1508761755 [17:06:35] [PASSED] oob_was/16023105232 [17:06:35] [PASSED] oob_was/16026508708 [17:06:35] [PASSED] oob_was/14020001231 [17:06:35] [PASSED] oob_was/16023683509 [17:06:35] [PASSED] oob_was/14025515070 [17:06:35] [PASSED] oob_was/15015404425_disable [17:06:35] [PASSED] oob_was/16026007364 [17:06:35] [PASSED] oob_was/14020316580 [17:06:35] [PASSED] oob_was/14025883347 [17:06:35] ============== [PASSED] xe_rtp_table_oob_test ============== [17:06:35] ================ xe_rtp_table_dev_oob_test ================ [17:06:35] [PASSED] device_oob_was/22010954014 [17:06:35] [PASSED] device_oob_was/15015404425 [17:06:35] [PASSED] device_oob_was/22019338487_display [17:06:35] [PASSED] device_oob_was/14022085890 [17:06:35] [PASSED] device_oob_was/14026539277 [17:06:35] [PASSED] device_oob_was/14026633728 [17:06:35] [PASSED] device_oob_was/14026746987 [17:06:35] [PASSED] device_oob_was/14026779378 [17:06:35] ============ [PASSED] xe_rtp_table_dev_oob_test ============ [17:06:35] =============== [PASSED] xe_rtp_tables_test ================ [17:06:35] =================== xe_rtp (3 subtests) ==================== [17:06:35] =================== xe_rtp_rules_tests ==================== [17:06:35] [PASSED] no [17:06:35] [PASSED] yes [17:06:35] [PASSED] no-and-no [17:06:35] [PASSED] no-and-yes [17:06:35] [PASSED] yes-and-no [17:06:35] [PASSED] yes-and-yes [17:06:35] [PASSED] no-or-no [17:06:35] [PASSED] no-or-yes [17:06:35] [PASSED] yes-or-no [17:06:35] [PASSED] yes-or-yes [17:06:35] [PASSED] no-yes-or-yes-no [17:06:35] [PASSED] no-yes-or-yes-yes [17:06:35] [PASSED] yes-yes-or-no-yes [17:06:35] [PASSED] yes-yes-or-yes-yes [17:06:35] [PASSED] no-no-or-yes-or-no [17:06:35] [PASSED] or [17:06:35] [PASSED] or-yes [17:06:35] [PASSED] or-no [17:06:35] [PASSED] yes-or [17:06:35] [PASSED] no-or [17:06:35] [PASSED] no-or-or-yes [17:06:35] [PASSED] yes-or-or-no [17:06:35] [PASSED] no-or-or-no [17:06:35] [PASSED] missing-context-engine-class [17:06:35] [PASSED] missing-context-engine-class-or-yes [17:06:35] [PASSED] missing-context-engine-class-or-or-yes [17:06:35] =============== [PASSED] xe_rtp_rules_tests ================ [17:06:35] =============== xe_rtp_process_to_sr_tests ================ [17:06:35] [PASSED] coalesce-same-reg [17:06:35] [PASSED] no-match-no-add [17:06:35] [PASSED] two-regs-two-entries [17:06:35] [PASSED] clr-one-set-other [17:06:35] [PASSED] set-field [17:06:35] [PASSED] conflict-duplicate [17:06:35] [PASSED] conflict-not-disjoint [17:06:35] [PASSED] conflict-reg-type [17:06:35] [PASSED] bad-mcr-reg-forced-to-regular [17:06:35] [PASSED] bad-regular-reg-forced-to-mcr [17:06:35] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [17:06:35] ================== xe_rtp_process_tests =================== [17:06:35] [PASSED] active1 [17:06:35] [PASSED] active2 [17:06:35] [PASSED] active-inactive [17:06:35] [PASSED] inactive-active [17:06:35] [PASSED] inactive-active-inactive [17:06:35] [PASSED] inactive-inactive-inactive [17:06:35] ============== [PASSED] xe_rtp_process_tests =============== [17:06:35] ===================== [PASSED] xe_rtp ====================== [17:06:35] ==================== xe_wa (1 subtest) ===================== [17:06:35] ======================== xe_wa_gt ========================= [17:06:35] [PASSED] TIGERLAKE B0 [17:06:35] [PASSED] DG1 A0 [17:06:35] [PASSED] DG1 B0 [17:06:35] [PASSED] ALDERLAKE_S A0 [17:06:35] [PASSED] ALDERLAKE_S B0 [17:06:35] [PASSED] ALDERLAKE_S C0 [17:06:35] [PASSED] ALDERLAKE_S D0 [17:06:35] [PASSED] ALDERLAKE_P A0 [17:06:35] [PASSED] ALDERLAKE_P B0 [17:06:35] [PASSED] ALDERLAKE_P C0 [17:06:35] [PASSED] ALDERLAKE_S RPLS D0 [17:06:35] [PASSED] ALDERLAKE_P RPLU E0 [17:06:35] [PASSED] DG2 G10 C0 [17:06:35] [PASSED] DG2 G11 B1 [17:06:35] [PASSED] DG2 G12 A1 [17:06:35] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [17:06:35] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [17:06:35] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [17:06:35] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [17:06:35] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [17:06:35] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [17:06:35] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [17:06:35] ==================== [PASSED] xe_wa_gt ===================== [17:06:35] ====================== [PASSED] xe_wa ====================== [17:06:35] ============================================================ [17:06:35] Testing complete. Ran 715 tests: passed: 697, skipped: 18 [17:06:35] Elapsed time: 36.113s total, 4.277s configuring, 31.220s building, 0.604s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [17:06:35] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [17:06:37] 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 [17:07:01] Starting KUnit Kernel (1/1)... [17:07:01] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [17:07:01] ============ drm_test_pick_cmdline (2 subtests) ============ [17:07:01] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [17:07:01] =============== drm_test_pick_cmdline_named =============== [17:07:01] [PASSED] NTSC [17:07:01] [PASSED] NTSC-J [17:07:01] [PASSED] PAL [17:07:01] [PASSED] PAL-M [17:07:01] =========== [PASSED] drm_test_pick_cmdline_named =========== [17:07:01] ============== [PASSED] drm_test_pick_cmdline ============== [17:07:01] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [17:07:01] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [17:07:01] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [17:07:01] =========== drm_validate_clone_mode (2 subtests) =========== [17:07:01] ============== drm_test_check_in_clone_mode =============== [17:07:01] [PASSED] in_clone_mode [17:07:01] [PASSED] not_in_clone_mode [17:07:01] ========== [PASSED] drm_test_check_in_clone_mode =========== [17:07:01] =============== drm_test_check_valid_clones =============== [17:07:01] [PASSED] not_in_clone_mode [17:07:01] [PASSED] valid_clone [17:07:01] [PASSED] invalid_clone [17:07:01] =========== [PASSED] drm_test_check_valid_clones =========== [17:07:01] ============= [PASSED] drm_validate_clone_mode ============= [17:07:01] ============= drm_validate_modeset (1 subtest) ============= [17:07:01] [PASSED] drm_test_check_connector_changed_modeset [17:07:01] ============== [PASSED] drm_validate_modeset =============== [17:07:01] ====== drm_test_bridge_get_current_state (2 subtests) ====== [17:07:01] [PASSED] drm_test_drm_bridge_get_current_state_atomic [17:07:01] [PASSED] drm_test_drm_bridge_get_current_state_legacy [17:07:01] ======== [PASSED] drm_test_bridge_get_current_state ======== [17:07:01] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [17:07:01] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [17:07:01] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [17:07:01] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [17:07:01] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [17:07:01] ============== drm_bridge_alloc (2 subtests) =============== [17:07:01] [PASSED] drm_test_drm_bridge_alloc_basic [17:07:01] [PASSED] drm_test_drm_bridge_alloc_get_put [17:07:01] ================ [PASSED] drm_bridge_alloc ================= [17:07:01] ============= drm_cmdline_parser (40 subtests) ============= [17:07:01] [PASSED] drm_test_cmdline_force_d_only [17:07:01] [PASSED] drm_test_cmdline_force_D_only_dvi [17:07:01] [PASSED] drm_test_cmdline_force_D_only_hdmi [17:07:01] [PASSED] drm_test_cmdline_force_D_only_not_digital [17:07:01] [PASSED] drm_test_cmdline_force_e_only [17:07:01] [PASSED] drm_test_cmdline_res [17:07:01] [PASSED] drm_test_cmdline_res_vesa [17:07:01] [PASSED] drm_test_cmdline_res_vesa_rblank [17:07:01] [PASSED] drm_test_cmdline_res_rblank [17:07:01] [PASSED] drm_test_cmdline_res_bpp [17:07:01] [PASSED] drm_test_cmdline_res_refresh [17:07:01] [PASSED] drm_test_cmdline_res_bpp_refresh [17:07:01] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [17:07:01] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [17:07:01] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [17:07:01] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [17:07:01] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [17:07:01] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [17:07:01] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [17:07:01] [PASSED] drm_test_cmdline_res_margins_force_on [17:07:01] [PASSED] drm_test_cmdline_res_vesa_margins [17:07:01] [PASSED] drm_test_cmdline_name [17:07:01] [PASSED] drm_test_cmdline_name_bpp [17:07:01] [PASSED] drm_test_cmdline_name_option [17:07:01] [PASSED] drm_test_cmdline_name_bpp_option [17:07:01] [PASSED] drm_test_cmdline_rotate_0 [17:07:01] [PASSED] drm_test_cmdline_rotate_90 [17:07:01] [PASSED] drm_test_cmdline_rotate_180 [17:07:01] [PASSED] drm_test_cmdline_rotate_270 [17:07:01] [PASSED] drm_test_cmdline_hmirror [17:07:01] [PASSED] drm_test_cmdline_vmirror [17:07:01] [PASSED] drm_test_cmdline_margin_options [17:07:01] [PASSED] drm_test_cmdline_multiple_options [17:07:01] [PASSED] drm_test_cmdline_bpp_extra_and_option [17:07:01] [PASSED] drm_test_cmdline_extra_and_option [17:07:01] [PASSED] drm_test_cmdline_freestanding_options [17:07:01] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [17:07:01] [PASSED] drm_test_cmdline_panel_orientation [17:07:01] ================ drm_test_cmdline_invalid ================= [17:07:01] [PASSED] margin_only [17:07:01] [PASSED] interlace_only [17:07:01] [PASSED] res_missing_x [17:07:01] [PASSED] res_missing_y [17:07:01] [PASSED] res_bad_y [17:07:01] [PASSED] res_missing_y_bpp [17:07:01] [PASSED] res_bad_bpp [17:07:01] [PASSED] res_bad_refresh [17:07:01] [PASSED] res_bpp_refresh_force_on_off [17:07:01] [PASSED] res_invalid_mode [17:07:01] [PASSED] res_bpp_wrong_place_mode [17:07:01] [PASSED] name_bpp_refresh [17:07:01] [PASSED] name_refresh [17:07:01] [PASSED] name_refresh_wrong_mode [17:07:01] [PASSED] name_refresh_invalid_mode [17:07:01] [PASSED] rotate_multiple [17:07:01] [PASSED] rotate_invalid_val [17:07:01] [PASSED] rotate_truncated [17:07:01] [PASSED] invalid_option [17:07:01] [PASSED] invalid_tv_option [17:07:01] [PASSED] truncated_tv_option [17:07:01] ============ [PASSED] drm_test_cmdline_invalid ============= [17:07:01] =============== drm_test_cmdline_tv_options =============== [17:07:01] [PASSED] NTSC [17:07:01] [PASSED] NTSC_443 [17:07:01] [PASSED] NTSC_J [17:07:01] [PASSED] PAL [17:07:01] [PASSED] PAL_M [17:07:01] [PASSED] PAL_N [17:07:01] [PASSED] SECAM [17:07:01] [PASSED] MONO_525 [17:07:01] [PASSED] MONO_625 [17:07:01] =========== [PASSED] drm_test_cmdline_tv_options =========== [17:07:01] =============== [PASSED] drm_cmdline_parser ================ [17:07:01] ========== drmm_connector_hdmi_init (20 subtests) ========== [17:07:01] [PASSED] drm_test_connector_hdmi_init_valid [17:07:01] [PASSED] drm_test_connector_hdmi_init_bpc_8 [17:07:01] [PASSED] drm_test_connector_hdmi_init_bpc_10 [17:07:01] [PASSED] drm_test_connector_hdmi_init_bpc_12 [17:07:01] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [17:07:01] [PASSED] drm_test_connector_hdmi_init_bpc_null [17:07:01] [PASSED] drm_test_connector_hdmi_init_formats_empty [17:07:01] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [17:07:01] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [17:07:01] [PASSED] supported_formats=0x9 yuv420_allowed=1 [17:07:01] [PASSED] supported_formats=0x9 yuv420_allowed=0 [17:07:01] [PASSED] supported_formats=0x5 yuv420_allowed=1 [17:07:01] [PASSED] supported_formats=0x5 yuv420_allowed=0 [17:07:01] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [17:07:01] [PASSED] drm_test_connector_hdmi_init_null_ddc [17:07:01] [PASSED] drm_test_connector_hdmi_init_null_product [17:07:01] [PASSED] drm_test_connector_hdmi_init_null_vendor [17:07:01] [PASSED] drm_test_connector_hdmi_init_product_length_exact [17:07:01] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [17:07:01] [PASSED] drm_test_connector_hdmi_init_product_valid [17:07:01] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [17:07:01] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [17:07:01] [PASSED] drm_test_connector_hdmi_init_vendor_valid [17:07:01] ========= drm_test_connector_hdmi_init_type_valid ========= [17:07:01] [PASSED] HDMI-A [17:07:01] [PASSED] HDMI-B [17:07:01] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [17:07:01] ======== drm_test_connector_hdmi_init_type_invalid ======== [17:07:01] [PASSED] Unknown [17:07:01] [PASSED] VGA [17:07:01] [PASSED] DVI-I [17:07:01] [PASSED] DVI-D [17:07:01] [PASSED] DVI-A [17:07:01] [PASSED] Composite [17:07:01] [PASSED] SVIDEO [17:07:01] [PASSED] LVDS [17:07:01] [PASSED] Component [17:07:01] [PASSED] DIN [17:07:01] [PASSED] DP [17:07:01] [PASSED] TV [17:07:01] [PASSED] eDP [17:07:01] [PASSED] Virtual [17:07:01] [PASSED] DSI [17:07:01] [PASSED] DPI [17:07:01] [PASSED] Writeback [17:07:01] [PASSED] SPI [17:07:01] [PASSED] USB [17:07:01] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [17:07:01] ============ [PASSED] drmm_connector_hdmi_init ============= [17:07:01] ============= drmm_connector_init (3 subtests) ============= [17:07:01] [PASSED] drm_test_drmm_connector_init [17:07:01] [PASSED] drm_test_drmm_connector_init_null_ddc [17:07:01] ========= drm_test_drmm_connector_init_type_valid ========= [17:07:01] [PASSED] Unknown [17:07:01] [PASSED] VGA [17:07:01] [PASSED] DVI-I [17:07:01] [PASSED] DVI-D [17:07:01] [PASSED] DVI-A [17:07:01] [PASSED] Composite [17:07:01] [PASSED] SVIDEO [17:07:01] [PASSED] LVDS [17:07:01] [PASSED] Component [17:07:01] [PASSED] DIN [17:07:01] [PASSED] DP [17:07:01] [PASSED] HDMI-A [17:07:01] [PASSED] HDMI-B [17:07:01] [PASSED] TV [17:07:01] [PASSED] eDP [17:07:01] [PASSED] Virtual [17:07:01] [PASSED] DSI [17:07:01] [PASSED] DPI [17:07:01] [PASSED] Writeback [17:07:01] [PASSED] SPI [17:07:01] [PASSED] USB [17:07:01] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [17:07:01] =============== [PASSED] drmm_connector_init =============== [17:07:01] ========= drm_connector_dynamic_init (6 subtests) ========== [17:07:01] [PASSED] drm_test_drm_connector_dynamic_init [17:07:01] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [17:07:01] [PASSED] drm_test_drm_connector_dynamic_init_not_added [17:07:01] [PASSED] drm_test_drm_connector_dynamic_init_properties [17:07:01] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [17:07:01] [PASSED] Unknown [17:07:01] [PASSED] VGA [17:07:01] [PASSED] DVI-I [17:07:01] [PASSED] DVI-D [17:07:01] [PASSED] DVI-A [17:07:01] [PASSED] Composite [17:07:01] [PASSED] SVIDEO [17:07:01] [PASSED] LVDS [17:07:01] [PASSED] Component [17:07:01] [PASSED] DIN [17:07:01] [PASSED] DP [17:07:01] [PASSED] HDMI-A [17:07:01] [PASSED] HDMI-B [17:07:01] [PASSED] TV [17:07:01] [PASSED] eDP [17:07:01] [PASSED] Virtual [17:07:01] [PASSED] DSI [17:07:01] [PASSED] DPI [17:07:01] [PASSED] Writeback [17:07:01] [PASSED] SPI [17:07:01] [PASSED] USB [17:07:01] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [17:07:01] ======== drm_test_drm_connector_dynamic_init_name ========= [17:07:01] [PASSED] Unknown [17:07:01] [PASSED] VGA [17:07:01] [PASSED] DVI-I [17:07:01] [PASSED] DVI-D [17:07:01] [PASSED] DVI-A [17:07:01] [PASSED] Composite [17:07:01] [PASSED] SVIDEO [17:07:01] [PASSED] LVDS [17:07:01] [PASSED] Component [17:07:01] [PASSED] DIN [17:07:01] [PASSED] DP [17:07:01] [PASSED] HDMI-A [17:07:01] [PASSED] HDMI-B [17:07:01] [PASSED] TV [17:07:01] [PASSED] eDP [17:07:01] [PASSED] Virtual [17:07:01] [PASSED] DSI [17:07:01] [PASSED] DPI [17:07:01] [PASSED] Writeback [17:07:01] [PASSED] SPI [17:07:01] [PASSED] USB [17:07:01] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [17:07:01] =========== [PASSED] drm_connector_dynamic_init ============ [17:07:01] ==== drm_connector_dynamic_register_early (4 subtests) ===== [17:07:01] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [17:07:01] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [17:07:01] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [17:07:01] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [17:07:01] ====== [PASSED] drm_connector_dynamic_register_early ======= [17:07:01] ======= drm_connector_dynamic_register (7 subtests) ======== [17:07:01] [PASSED] drm_test_drm_connector_dynamic_register_on_list [17:07:01] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [17:07:01] [PASSED] drm_test_drm_connector_dynamic_register_no_init [17:07:01] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [17:07:01] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [17:07:01] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [17:07:01] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [17:07:01] ========= [PASSED] drm_connector_dynamic_register ========== [17:07:01] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [17:07:01] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [17:07:01] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [17:07:01] === [PASSED] drm_connector_attach_broadcast_rgb_property === [17:07:01] ========== drm_get_tv_mode_from_name (2 subtests) ========== [17:07:01] ========== drm_test_get_tv_mode_from_name_valid =========== [17:07:01] [PASSED] NTSC [17:07:01] [PASSED] NTSC-443 [17:07:01] [PASSED] NTSC-J [17:07:01] [PASSED] PAL [17:07:01] [PASSED] PAL-M [17:07:01] [PASSED] PAL-N [17:07:01] [PASSED] SECAM [17:07:01] [PASSED] Mono [17:07:01] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [17:07:01] [PASSED] drm_test_get_tv_mode_from_name_truncated [17:07:01] ============ [PASSED] drm_get_tv_mode_from_name ============ [17:07:01] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [17:07:01] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [17:07:01] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [17:07:01] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [17:07:01] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [17:07:01] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [17:07:01] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [17:07:01] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [17:07:01] [PASSED] VIC 96 [17:07:01] [PASSED] VIC 97 [17:07:01] [PASSED] VIC 101 [17:07:01] [PASSED] VIC 102 [17:07:01] [PASSED] VIC 106 [17:07:01] [PASSED] VIC 107 [17:07:01] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [17:07:01] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [17:07:01] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [17:07:01] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [17:07:01] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [17:07:01] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [17:07:01] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [17:07:01] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [17:07:01] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [17:07:01] [PASSED] Automatic [17:07:01] [PASSED] Full [17:07:01] [PASSED] Limited 16:235 [17:07:01] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [17:07:01] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [17:07:01] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [17:07:01] == drm_hdmi_connector_get_output_format_name (2 subtests) == [17:07:01] === drm_test_drm_hdmi_connector_get_output_format_name ==== [17:07:01] [PASSED] RGB [17:07:01] [PASSED] YUV 4:2:0 [17:07:01] [PASSED] YUV 4:2:2 [17:07:01] [PASSED] YUV 4:4:4 [17:07:01] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [17:07:01] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [17:07:01] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [17:07:01] ============= drm_damage_helper (21 subtests) ============== [17:07:01] [PASSED] drm_test_damage_iter_no_damage [17:07:01] [PASSED] drm_test_damage_iter_no_damage_fractional_src [17:07:01] [PASSED] drm_test_damage_iter_no_damage_src_moved [17:07:01] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [17:07:01] [PASSED] drm_test_damage_iter_no_damage_not_visible [17:07:01] [PASSED] drm_test_damage_iter_no_damage_no_crtc [17:07:01] [PASSED] drm_test_damage_iter_no_damage_no_fb [17:07:01] [PASSED] drm_test_damage_iter_simple_damage [17:07:01] [PASSED] drm_test_damage_iter_single_damage [17:07:01] [PASSED] drm_test_damage_iter_single_damage_intersect_src [17:07:01] [PASSED] drm_test_damage_iter_single_damage_outside_src [17:07:01] [PASSED] drm_test_damage_iter_single_damage_fractional_src [17:07:01] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [17:07:01] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [17:07:01] [PASSED] drm_test_damage_iter_single_damage_src_moved [17:07:01] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [17:07:01] [PASSED] drm_test_damage_iter_damage [17:07:01] [PASSED] drm_test_damage_iter_damage_one_intersect [17:07:01] [PASSED] drm_test_damage_iter_damage_one_outside [17:07:01] [PASSED] drm_test_damage_iter_damage_src_moved [17:07:01] [PASSED] drm_test_damage_iter_damage_not_visible [17:07:01] ================ [PASSED] drm_damage_helper ================ [17:07:01] ============== drm_dp_mst_helper (3 subtests) ============== [17:07:01] ============== drm_test_dp_mst_calc_pbn_mode ============== [17:07:01] [PASSED] Clock 154000 BPP 30 DSC disabled [17:07:01] [PASSED] Clock 234000 BPP 30 DSC disabled [17:07:01] [PASSED] Clock 297000 BPP 24 DSC disabled [17:07:01] [PASSED] Clock 332880 BPP 24 DSC enabled [17:07:01] [PASSED] Clock 324540 BPP 24 DSC enabled [17:07:01] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [17:07:01] ============== drm_test_dp_mst_calc_pbn_div =============== [17:07:01] [PASSED] Link rate 2000000 lane count 4 [17:07:01] [PASSED] Link rate 2000000 lane count 2 [17:07:01] [PASSED] Link rate 2000000 lane count 1 [17:07:01] [PASSED] Link rate 1350000 lane count 4 [17:07:01] [PASSED] Link rate 1350000 lane count 2 [17:07:01] [PASSED] Link rate 1350000 lane count 1 [17:07:01] [PASSED] Link rate 1000000 lane count 4 [17:07:01] [PASSED] Link rate 1000000 lane count 2 [17:07:01] [PASSED] Link rate 1000000 lane count 1 [17:07:01] [PASSED] Link rate 810000 lane count 4 [17:07:01] [PASSED] Link rate 810000 lane count 2 [17:07:01] [PASSED] Link rate 810000 lane count 1 [17:07:01] [PASSED] Link rate 540000 lane count 4 [17:07:01] [PASSED] Link rate 540000 lane count 2 [17:07:01] [PASSED] Link rate 540000 lane count 1 [17:07:01] [PASSED] Link rate 270000 lane count 4 [17:07:01] [PASSED] Link rate 270000 lane count 2 [17:07:01] [PASSED] Link rate 270000 lane count 1 [17:07:01] [PASSED] Link rate 162000 lane count 4 [17:07:01] [PASSED] Link rate 162000 lane count 2 [17:07:01] [PASSED] Link rate 162000 lane count 1 [17:07:01] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [17:07:01] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [17:07:01] [PASSED] DP_ENUM_PATH_RESOURCES with port number [17:07:01] [PASSED] DP_POWER_UP_PHY with port number [17:07:01] [PASSED] DP_POWER_DOWN_PHY with port number [17:07:01] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [17:07:01] [PASSED] DP_ALLOCATE_PAYLOAD with port number [17:07:01] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [17:07:01] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [17:07:01] [PASSED] DP_QUERY_PAYLOAD with port number [17:07:01] [PASSED] DP_QUERY_PAYLOAD with VCPI [17:07:01] [PASSED] DP_REMOTE_DPCD_READ with port number [17:07:01] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [17:07:01] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [17:07:01] [PASSED] DP_REMOTE_DPCD_WRITE with port number [17:07:01] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [17:07:01] [PASSED] DP_REMOTE_DPCD_WRITE with data array [17:07:01] [PASSED] DP_REMOTE_I2C_READ with port number [17:07:01] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [17:07:01] [PASSED] DP_REMOTE_I2C_READ with transactions array [17:07:01] [PASSED] DP_REMOTE_I2C_WRITE with port number [17:07:01] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [17:07:01] [PASSED] DP_REMOTE_I2C_WRITE with data array [17:07:01] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [17:07:01] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [17:07:01] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [17:07:01] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [17:07:01] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [17:07:01] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [17:07:01] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [17:07:01] ================ [PASSED] drm_dp_mst_helper ================ [17:07:01] ================== drm_exec (7 subtests) =================== [17:07:01] [PASSED] sanitycheck [17:07:01] [PASSED] test_lock [17:07:01] [PASSED] test_lock_unlock [17:07:01] [PASSED] test_duplicates [17:07:01] [PASSED] test_prepare [17:07:01] [PASSED] test_prepare_array [17:07:01] [PASSED] test_multiple_loops [17:07:01] ==================== [PASSED] drm_exec ===================== [17:07:01] =========== drm_format_helper_test (17 subtests) =========== [17:07:01] ============== drm_test_fb_xrgb8888_to_gray8 ============== [17:07:01] [PASSED] single_pixel_source_buffer [17:07:01] [PASSED] single_pixel_clip_rectangle [17:07:01] [PASSED] well_known_colors [17:07:01] [PASSED] destination_pitch [17:07:01] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [17:07:01] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [17:07:01] [PASSED] single_pixel_source_buffer [17:07:01] [PASSED] single_pixel_clip_rectangle [17:07:01] [PASSED] well_known_colors [17:07:01] [PASSED] destination_pitch [17:07:01] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [17:07:01] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [17:07:01] [PASSED] single_pixel_source_buffer [17:07:01] [PASSED] single_pixel_clip_rectangle [17:07:01] [PASSED] well_known_colors [17:07:01] [PASSED] destination_pitch [17:07:02] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [17:07:02] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [17:07:02] [PASSED] single_pixel_source_buffer [17:07:02] [PASSED] single_pixel_clip_rectangle [17:07:02] [PASSED] well_known_colors [17:07:02] [PASSED] destination_pitch [17:07:02] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [17:07:02] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [17:07:02] [PASSED] single_pixel_source_buffer [17:07:02] [PASSED] single_pixel_clip_rectangle [17:07:02] [PASSED] well_known_colors [17:07:02] [PASSED] destination_pitch [17:07:02] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [17:07:02] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [17:07:02] [PASSED] single_pixel_source_buffer [17:07:02] [PASSED] single_pixel_clip_rectangle [17:07:02] [PASSED] well_known_colors [17:07:02] [PASSED] destination_pitch [17:07:02] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [17:07:02] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [17:07:02] [PASSED] single_pixel_source_buffer [17:07:02] [PASSED] single_pixel_clip_rectangle [17:07:02] [PASSED] well_known_colors [17:07:02] [PASSED] destination_pitch [17:07:02] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [17:07:02] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [17:07:02] [PASSED] single_pixel_source_buffer [17:07:02] [PASSED] single_pixel_clip_rectangle [17:07:02] [PASSED] well_known_colors [17:07:02] [PASSED] destination_pitch [17:07:02] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [17:07:02] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [17:07:02] [PASSED] single_pixel_source_buffer [17:07:02] [PASSED] single_pixel_clip_rectangle [17:07:02] [PASSED] well_known_colors [17:07:02] [PASSED] destination_pitch [17:07:02] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [17:07:02] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [17:07:02] [PASSED] single_pixel_source_buffer [17:07:02] [PASSED] single_pixel_clip_rectangle [17:07:02] [PASSED] well_known_colors [17:07:02] [PASSED] destination_pitch [17:07:02] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [17:07:02] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [17:07:02] [PASSED] single_pixel_source_buffer [17:07:02] [PASSED] single_pixel_clip_rectangle [17:07:02] [PASSED] well_known_colors [17:07:02] [PASSED] destination_pitch [17:07:02] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [17:07:02] ============== drm_test_fb_xrgb8888_to_mono =============== [17:07:02] [PASSED] single_pixel_source_buffer [17:07:02] [PASSED] single_pixel_clip_rectangle [17:07:02] [PASSED] well_known_colors [17:07:02] [PASSED] destination_pitch [17:07:02] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [17:07:02] ==================== drm_test_fb_swab ===================== [17:07:02] [PASSED] single_pixel_source_buffer [17:07:02] [PASSED] single_pixel_clip_rectangle [17:07:02] [PASSED] well_known_colors [17:07:02] [PASSED] destination_pitch [17:07:02] ================ [PASSED] drm_test_fb_swab ================= [17:07:02] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [17:07:02] [PASSED] single_pixel_source_buffer [17:07:02] [PASSED] single_pixel_clip_rectangle [17:07:02] [PASSED] well_known_colors [17:07:02] [PASSED] destination_pitch [17:07:02] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [17:07:02] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [17:07:02] [PASSED] single_pixel_source_buffer [17:07:02] [PASSED] single_pixel_clip_rectangle [17:07:02] [PASSED] well_known_colors [17:07:02] [PASSED] destination_pitch [17:07:02] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [17:07:02] ================= drm_test_fb_clip_offset ================= [17:07:02] [PASSED] pass through [17:07:02] [PASSED] horizontal offset [17:07:02] [PASSED] vertical offset [17:07:02] [PASSED] horizontal and vertical offset [17:07:02] [PASSED] horizontal offset (custom pitch) [17:07:02] [PASSED] vertical offset (custom pitch) [17:07:02] [PASSED] horizontal and vertical offset (custom pitch) [17:07:02] ============= [PASSED] drm_test_fb_clip_offset ============= [17:07:02] =================== drm_test_fb_memcpy ==================== [17:07:02] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [17:07:02] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [17:07:02] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [17:07:02] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [17:07:02] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [17:07:02] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [17:07:02] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [17:07:02] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [17:07:02] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [17:07:02] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [17:07:02] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [17:07:02] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [17:07:02] =============== [PASSED] drm_test_fb_memcpy ================ [17:07:02] ============= [PASSED] drm_format_helper_test ============== [17:07:02] ================= drm_format (18 subtests) ================= [17:07:02] [PASSED] drm_test_format_block_width_invalid [17:07:02] [PASSED] drm_test_format_block_width_one_plane [17:07:02] [PASSED] drm_test_format_block_width_two_plane [17:07:02] [PASSED] drm_test_format_block_width_three_plane [17:07:02] [PASSED] drm_test_format_block_width_tiled [17:07:02] [PASSED] drm_test_format_block_height_invalid [17:07:02] [PASSED] drm_test_format_block_height_one_plane [17:07:02] [PASSED] drm_test_format_block_height_two_plane [17:07:02] [PASSED] drm_test_format_block_height_three_plane [17:07:02] [PASSED] drm_test_format_block_height_tiled [17:07:02] [PASSED] drm_test_format_min_pitch_invalid [17:07:02] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [17:07:02] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [17:07:02] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [17:07:02] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [17:07:02] [PASSED] drm_test_format_min_pitch_two_plane [17:07:02] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [17:07:02] [PASSED] drm_test_format_min_pitch_tiled [17:07:02] =================== [PASSED] drm_format ==================== [17:07:02] ============== drm_framebuffer (10 subtests) =============== [17:07:02] ========== drm_test_framebuffer_check_src_coords ========== [17:07:02] [PASSED] Success: source fits into fb [17:07:02] [PASSED] Fail: overflowing fb with x-axis coordinate [17:07:02] [PASSED] Fail: overflowing fb with y-axis coordinate [17:07:02] [PASSED] Fail: overflowing fb with source width [17:07:02] [PASSED] Fail: overflowing fb with source height [17:07:02] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [17:07:02] [PASSED] drm_test_framebuffer_cleanup [17:07:02] =============== drm_test_framebuffer_create =============== [17:07:02] [PASSED] ABGR8888 normal sizes [17:07:02] [PASSED] ABGR8888 max sizes [17:07:02] [PASSED] ABGR8888 pitch greater than min required [17:07:02] [PASSED] ABGR8888 pitch less than min required [17:07:02] [PASSED] ABGR8888 Invalid width [17:07:02] [PASSED] ABGR8888 Invalid buffer handle [17:07:02] [PASSED] No pixel format [17:07:02] [PASSED] ABGR8888 Width 0 [17:07:02] [PASSED] ABGR8888 Height 0 [17:07:02] [PASSED] ABGR8888 Out of bound height * pitch combination [17:07:02] [PASSED] ABGR8888 Large buffer offset [17:07:02] [PASSED] ABGR8888 Buffer offset for inexistent plane [17:07:02] [PASSED] ABGR8888 Invalid flag [17:07:02] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [17:07:02] [PASSED] ABGR8888 Valid buffer modifier [17:07:02] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [17:07:02] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [17:07:02] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [17:07:02] [PASSED] NV12 Normal sizes [17:07:02] [PASSED] NV12 Max sizes [17:07:02] [PASSED] NV12 Invalid pitch [17:07:02] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [17:07:02] [PASSED] NV12 different modifier per-plane [17:07:02] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [17:07:02] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [17:07:02] [PASSED] NV12 Modifier for inexistent plane [17:07:02] [PASSED] NV12 Handle for inexistent plane [17:07:02] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [17:07:02] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [17:07:02] [PASSED] YVU420 Normal sizes [17:07:02] [PASSED] YVU420 Max sizes [17:07:02] [PASSED] YVU420 Invalid pitch [17:07:02] [PASSED] YVU420 Different pitches [17:07:02] [PASSED] YVU420 Different buffer offsets/pitches [17:07:02] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [17:07:02] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [17:07:02] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [17:07:02] [PASSED] YVU420 Valid modifier [17:07:02] [PASSED] YVU420 Different modifiers per plane [17:07:02] [PASSED] YVU420 Modifier for inexistent plane [17:07:02] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [17:07:02] [PASSED] X0L2 Normal sizes [17:07:02] [PASSED] X0L2 Max sizes [17:07:02] [PASSED] X0L2 Invalid pitch [17:07:02] [PASSED] X0L2 Pitch greater than minimum required [17:07:02] [PASSED] X0L2 Handle for inexistent plane [17:07:02] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [17:07:02] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [17:07:02] [PASSED] X0L2 Valid modifier [17:07:02] [PASSED] X0L2 Modifier for inexistent plane [17:07:02] =========== [PASSED] drm_test_framebuffer_create =========== [17:07:02] [PASSED] drm_test_framebuffer_free [17:07:02] [PASSED] drm_test_framebuffer_init [17:07:02] [PASSED] drm_test_framebuffer_init_bad_format [17:07:02] [PASSED] drm_test_framebuffer_init_dev_mismatch [17:07:02] [PASSED] drm_test_framebuffer_lookup [17:07:02] [PASSED] drm_test_framebuffer_lookup_inexistent [17:07:02] [PASSED] drm_test_framebuffer_modifiers_not_supported [17:07:02] ================= [PASSED] drm_framebuffer ================= [17:07:02] ================ drm_gem_shmem (8 subtests) ================ [17:07:02] [PASSED] drm_gem_shmem_test_obj_create [17:07:02] [PASSED] drm_gem_shmem_test_obj_create_private [17:07:02] [PASSED] drm_gem_shmem_test_pin_pages [17:07:02] [PASSED] drm_gem_shmem_test_vmap [17:07:02] [PASSED] drm_gem_shmem_test_get_sg_table [17:07:02] [PASSED] drm_gem_shmem_test_get_pages_sgt [17:07:02] [PASSED] drm_gem_shmem_test_madvise [17:07:02] [PASSED] drm_gem_shmem_test_purge [17:07:02] ================== [PASSED] drm_gem_shmem ================== [17:07:02] === drm_atomic_helper_connector_hdmi_check (27 subtests) === [17:07:02] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [17:07:02] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [17:07:02] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [17:07:02] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [17:07:02] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [17:07:02] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [17:07:02] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [17:07:02] [PASSED] Automatic [17:07:02] [PASSED] Full [17:07:02] [PASSED] Limited 16:235 [17:07:02] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [17:07:02] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [17:07:02] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [17:07:02] [PASSED] drm_test_check_disable_connector [17:07:02] [PASSED] drm_test_check_hdmi_funcs_reject_rate [17:07:02] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [17:07:02] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [17:07:02] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [17:07:02] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [17:07:02] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [17:07:02] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [17:07:02] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [17:07:02] [PASSED] drm_test_check_output_bpc_dvi [17:07:02] [PASSED] drm_test_check_output_bpc_format_vic_1 [17:07:02] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [17:07:02] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [17:07:02] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [17:07:02] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [17:07:02] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [17:07:02] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [17:07:02] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [17:07:02] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [17:07:02] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [17:07:02] [PASSED] drm_test_check_broadcast_rgb_value [17:07:02] [PASSED] drm_test_check_bpc_8_value [17:07:02] [PASSED] drm_test_check_bpc_10_value [17:07:02] [PASSED] drm_test_check_bpc_12_value [17:07:02] [PASSED] drm_test_check_format_value [17:07:02] [PASSED] drm_test_check_tmds_char_value [17:07:02] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [17:07:02] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) = [17:07:02] [PASSED] drm_test_check_mode_valid [17:07:02] [PASSED] drm_test_check_mode_valid_reject [17:07:02] [PASSED] drm_test_check_mode_valid_reject_rate [17:07:02] [PASSED] drm_test_check_mode_valid_reject_max_clock [17:07:02] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [17:07:02] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [17:07:02] [PASSED] drm_test_check_infoframes [17:07:02] [PASSED] drm_test_check_reject_avi_infoframe [17:07:02] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [17:07:02] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [17:07:02] [PASSED] drm_test_check_reject_audio_infoframe [17:07:02] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [17:07:02] ================= drm_managed (2 subtests) ================= [17:07:02] [PASSED] drm_test_managed_release_action [17:07:02] [PASSED] drm_test_managed_run_action [17:07:02] =================== [PASSED] drm_managed =================== [17:07:02] =================== drm_mm (6 subtests) ==================== [17:07:02] [PASSED] drm_test_mm_init [17:07:02] [PASSED] drm_test_mm_debug [17:07:02] [PASSED] drm_test_mm_align32 [17:07:02] [PASSED] drm_test_mm_align64 [17:07:02] [PASSED] drm_test_mm_lowest [17:07:02] [PASSED] drm_test_mm_highest [17:07:02] ===================== [PASSED] drm_mm ====================== [17:07:02] ============= drm_modes_analog_tv (5 subtests) ============= [17:07:02] [PASSED] drm_test_modes_analog_tv_mono_576i [17:07:02] [PASSED] drm_test_modes_analog_tv_ntsc_480i [17:07:02] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [17:07:02] [PASSED] drm_test_modes_analog_tv_pal_576i [17:07:02] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [17:07:02] =============== [PASSED] drm_modes_analog_tv =============== [17:07:02] ============== drm_plane_helper (2 subtests) =============== [17:07:02] =============== drm_test_check_plane_state ================ [17:07:02] [PASSED] clipping_simple [17:07:02] [PASSED] clipping_rotate_reflect [17:07:02] [PASSED] positioning_simple [17:07:02] [PASSED] upscaling [17:07:02] [PASSED] downscaling [17:07:02] [PASSED] rounding1 [17:07:02] [PASSED] rounding2 [17:07:02] [PASSED] rounding3 [17:07:02] [PASSED] rounding4 [17:07:02] =========== [PASSED] drm_test_check_plane_state ============ [17:07:02] =========== drm_test_check_invalid_plane_state ============ [17:07:02] [PASSED] positioning_invalid [17:07:02] [PASSED] upscaling_invalid [17:07:02] [PASSED] downscaling_invalid [17:07:02] ======= [PASSED] drm_test_check_invalid_plane_state ======== [17:07:02] ================ [PASSED] drm_plane_helper ================= [17:07:02] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [17:07:02] ====== drm_test_connector_helper_tv_get_modes_check ======= [17:07:02] [PASSED] None [17:07:02] [PASSED] PAL [17:07:02] [PASSED] NTSC [17:07:02] [PASSED] Both, NTSC Default [17:07:02] [PASSED] Both, PAL Default [17:07:02] [PASSED] Both, NTSC Default, with PAL on command-line [17:07:02] [PASSED] Both, PAL Default, with NTSC on command-line [17:07:02] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [17:07:02] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [17:07:02] ================== drm_rect (9 subtests) =================== [17:07:02] [PASSED] drm_test_rect_clip_scaled_div_by_zero [17:07:02] [PASSED] drm_test_rect_clip_scaled_not_clipped [17:07:02] [PASSED] drm_test_rect_clip_scaled_clipped [17:07:02] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [17:07:02] ================= drm_test_rect_intersect ================= [17:07:02] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [17:07:02] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [17:07:02] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [17:07:02] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [17:07:02] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [17:07:02] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [17:07:02] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [17:07:02] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [17:07:02] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [17:07:02] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [17:07:02] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [17:07:02] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [17:07:02] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [17:07:02] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [17:07:02] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [17:07:02] ============= [PASSED] drm_test_rect_intersect ============= [17:07:02] ================ drm_test_rect_calc_hscale ================ [17:07:02] [PASSED] normal use [17:07:02] [PASSED] out of max range [17:07:02] [PASSED] out of min range [17:07:02] [PASSED] zero dst [17:07:02] [PASSED] negative src [17:07:02] [PASSED] negative dst [17:07:02] ============ [PASSED] drm_test_rect_calc_hscale ============ [17:07:02] ================ drm_test_rect_calc_vscale ================ [17:07:02] [PASSED] normal use [17:07:02] [PASSED] out of max range [17:07:02] [PASSED] out of min range [17:07:02] [PASSED] zero dst [17:07:02] [PASSED] negative src [17:07:02] [PASSED] negative dst [17:07:02] ============ [PASSED] drm_test_rect_calc_vscale ============ [17:07:02] ================== drm_test_rect_rotate =================== [17:07:02] [PASSED] reflect-x [17:07:02] [PASSED] reflect-y [17:07:02] [PASSED] rotate-0 [17:07:02] [PASSED] rotate-90 [17:07:02] [PASSED] rotate-180 [17:07:02] [PASSED] rotate-270 [17:07:02] ============== [PASSED] drm_test_rect_rotate =============== [17:07:02] ================ drm_test_rect_rotate_inv ================= [17:07:02] [PASSED] reflect-x [17:07:02] [PASSED] reflect-y [17:07:02] [PASSED] rotate-0 [17:07:02] [PASSED] rotate-90 [17:07:02] [PASSED] rotate-180 [17:07:02] [PASSED] rotate-270 [17:07:02] ============ [PASSED] drm_test_rect_rotate_inv ============= [17:07:02] ==================== [PASSED] drm_rect ===================== [17:07:02] ============ drm_sysfb_modeset_test (1 subtest) ============ [17:07:02] ============ drm_test_sysfb_build_fourcc_list ============= [17:07:02] [PASSED] no native formats [17:07:02] [PASSED] XRGB8888 as native format [17:07:02] [PASSED] remove duplicates [17:07:02] [PASSED] convert alpha formats [17:07:02] [PASSED] random formats [17:07:02] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [17:07:02] ============= [PASSED] drm_sysfb_modeset_test ============== [17:07:02] ================== drm_fixp (2 subtests) =================== [17:07:02] [PASSED] drm_test_int2fixp [17:07:02] [PASSED] drm_test_sm2fixp [17:07:02] ==================== [PASSED] drm_fixp ===================== [17:07:02] ============================================================ [17:07:02] Testing complete. Ran 621 tests: passed: 621 [17:07:02] Elapsed time: 26.209s total, 1.791s configuring, 24.229s building, 0.189s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [17:07:02] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [17:07:03] 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 [17:07:13] Starting KUnit Kernel (1/1)... [17:07:13] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [17:07:13] ================= ttm_device (5 subtests) ================== [17:07:13] [PASSED] ttm_device_init_basic [17:07:13] [PASSED] ttm_device_init_multiple [17:07:13] [PASSED] ttm_device_fini_basic [17:07:13] [PASSED] ttm_device_init_no_vma_man [17:07:13] ================== ttm_device_init_pools ================== [17:07:13] [PASSED] No DMA allocations, no DMA32 required [17:07:13] [PASSED] DMA allocations, DMA32 required [17:07:13] [PASSED] No DMA allocations, DMA32 required [17:07:13] [PASSED] DMA allocations, no DMA32 required [17:07:13] ============== [PASSED] ttm_device_init_pools ============== [17:07:13] =================== [PASSED] ttm_device ==================== [17:07:13] ================== ttm_pool (8 subtests) =================== [17:07:13] ================== ttm_pool_alloc_basic =================== [17:07:13] [PASSED] One page [17:07:13] [PASSED] More than one page [17:07:13] [PASSED] Above the allocation limit [17:07:13] [PASSED] One page, with coherent DMA mappings enabled [17:07:13] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [17:07:13] ============== [PASSED] ttm_pool_alloc_basic =============== [17:07:13] ============== ttm_pool_alloc_basic_dma_addr ============== [17:07:13] [PASSED] One page [17:07:13] [PASSED] More than one page [17:07:13] [PASSED] Above the allocation limit [17:07:13] [PASSED] One page, with coherent DMA mappings enabled [17:07:13] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [17:07:13] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [17:07:13] [PASSED] ttm_pool_alloc_order_caching_match [17:07:13] [PASSED] ttm_pool_alloc_caching_mismatch [17:07:13] [PASSED] ttm_pool_alloc_order_mismatch [17:07:13] [PASSED] ttm_pool_free_dma_alloc [17:07:13] [PASSED] ttm_pool_free_no_dma_alloc [17:07:13] [PASSED] ttm_pool_fini_basic [17:07:13] ==================== [PASSED] ttm_pool ===================== [17:07:13] ================ ttm_resource (8 subtests) ================= [17:07:13] ================= ttm_resource_init_basic ================= [17:07:13] [PASSED] Init resource in TTM_PL_SYSTEM [17:07:13] [PASSED] Init resource in TTM_PL_VRAM [17:07:13] [PASSED] Init resource in a private placement [17:07:13] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [17:07:13] ============= [PASSED] ttm_resource_init_basic ============= [17:07:13] [PASSED] ttm_resource_init_pinned [17:07:13] [PASSED] ttm_resource_fini_basic [17:07:13] [PASSED] ttm_resource_manager_init_basic [17:07:13] [PASSED] ttm_resource_manager_usage_basic [17:07:13] [PASSED] ttm_resource_manager_set_used_basic [17:07:13] [PASSED] ttm_sys_man_alloc_basic [17:07:13] [PASSED] ttm_sys_man_free_basic [17:07:13] ================== [PASSED] ttm_resource =================== [17:07:13] =================== ttm_tt (15 subtests) =================== [17:07:13] ==================== ttm_tt_init_basic ==================== [17:07:13] [PASSED] Page-aligned size [17:07:13] [PASSED] Extra pages requested [17:07:13] ================ [PASSED] ttm_tt_init_basic ================ [17:07:13] [PASSED] ttm_tt_init_misaligned [17:07:13] [PASSED] ttm_tt_fini_basic [17:07:13] [PASSED] ttm_tt_fini_sg [17:07:13] [PASSED] ttm_tt_fini_shmem [17:07:13] [PASSED] ttm_tt_create_basic [17:07:13] [PASSED] ttm_tt_create_invalid_bo_type [17:07:13] [PASSED] ttm_tt_create_ttm_exists [17:07:13] [PASSED] ttm_tt_create_failed [17:07:13] [PASSED] ttm_tt_destroy_basic [17:07:13] [PASSED] ttm_tt_populate_null_ttm [17:07:13] [PASSED] ttm_tt_populate_populated_ttm [17:07:13] [PASSED] ttm_tt_unpopulate_basic [17:07:13] [PASSED] ttm_tt_unpopulate_empty_ttm [17:07:13] [PASSED] ttm_tt_swapin_basic [17:07:13] ===================== [PASSED] ttm_tt ====================== [17:07:13] =================== ttm_bo (14 subtests) =================== [17:07:13] =========== ttm_bo_reserve_optimistic_no_ticket =========== [17:07:13] [PASSED] Cannot be interrupted and sleeps [17:07:13] [PASSED] Cannot be interrupted, locks straight away [17:07:13] [PASSED] Can be interrupted, sleeps [17:07:13] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [17:07:13] [PASSED] ttm_bo_reserve_locked_no_sleep [17:07:13] [PASSED] ttm_bo_reserve_no_wait_ticket [17:07:13] [PASSED] ttm_bo_reserve_double_resv [17:07:13] [PASSED] ttm_bo_reserve_interrupted [17:07:13] [PASSED] ttm_bo_reserve_deadlock [17:07:13] [PASSED] ttm_bo_unreserve_basic [17:07:13] [PASSED] ttm_bo_unreserve_pinned [17:07:13] [PASSED] ttm_bo_unreserve_bulk [17:07:13] [PASSED] ttm_bo_fini_basic [17:07:13] [PASSED] ttm_bo_fini_shared_resv [17:07:13] [PASSED] ttm_bo_pin_basic [17:07:13] [PASSED] ttm_bo_pin_unpin_resource [17:07:13] [PASSED] ttm_bo_multiple_pin_one_unpin [17:07:13] ===================== [PASSED] ttm_bo ====================== [17:07:13] ============== ttm_bo_validate (22 subtests) =============== [17:07:13] ============== ttm_bo_init_reserved_sys_man =============== [17:07:13] [PASSED] Buffer object for userspace [17:07:13] [PASSED] Kernel buffer object [17:07:13] [PASSED] Shared buffer object [17:07:13] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [17:07:13] ============== ttm_bo_init_reserved_mock_man ============== [17:07:13] [PASSED] Buffer object for userspace [17:07:13] [PASSED] Kernel buffer object [17:07:13] [PASSED] Shared buffer object [17:07:13] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [17:07:13] [PASSED] ttm_bo_init_reserved_resv [17:07:13] ================== ttm_bo_validate_basic ================== [17:07:13] [PASSED] Buffer object for userspace [17:07:13] [PASSED] Kernel buffer object [17:07:13] [PASSED] Shared buffer object [17:07:13] ============== [PASSED] ttm_bo_validate_basic ============== [17:07:13] [PASSED] ttm_bo_validate_invalid_placement [17:07:13] ============= ttm_bo_validate_same_placement ============== [17:07:13] [PASSED] System manager [17:07:13] [PASSED] VRAM manager [17:07:13] ========= [PASSED] ttm_bo_validate_same_placement ========== [17:07:13] [PASSED] ttm_bo_validate_failed_alloc [17:07:13] [PASSED] ttm_bo_validate_pinned [17:07:13] [PASSED] ttm_bo_validate_busy_placement [17:07:13] ================ ttm_bo_validate_multihop ================= [17:07:13] [PASSED] Buffer object for userspace [17:07:13] [PASSED] Kernel buffer object [17:07:13] [PASSED] Shared buffer object [17:07:13] ============ [PASSED] ttm_bo_validate_multihop ============= [17:07:13] ========== ttm_bo_validate_no_placement_signaled ========== [17:07:13] [PASSED] Buffer object in system domain, no page vector [17:07:13] [PASSED] Buffer object in system domain with an existing page vector [17:07:13] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [17:07:13] ======== ttm_bo_validate_no_placement_not_signaled ======== [17:07:13] [PASSED] Buffer object for userspace [17:07:13] [PASSED] Kernel buffer object [17:07:13] [PASSED] Shared buffer object [17:07:13] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [17:07:13] [PASSED] ttm_bo_validate_move_fence_signaled [17:07:13] ========= ttm_bo_validate_move_fence_not_signaled ========= [17:07:13] [PASSED] Waits for GPU [17:07:13] [PASSED] Tries to lock straight away [17:07:13] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [17:07:13] [PASSED] ttm_bo_validate_swapout [17:07:13] [PASSED] ttm_bo_validate_happy_evict [17:07:13] [PASSED] ttm_bo_validate_all_pinned_evict [17:07:13] [PASSED] ttm_bo_validate_allowed_only_evict [17:07:13] [PASSED] ttm_bo_validate_deleted_evict [17:07:13] [PASSED] ttm_bo_validate_busy_domain_evict [17:07:13] [PASSED] ttm_bo_validate_evict_gutting [17:07:13] [PASSED] ttm_bo_validate_recrusive_evict [17:07:13] ================= [PASSED] ttm_bo_validate ================= [17:07:13] ============================================================ [17:07:13] Testing complete. Ran 102 tests: passed: 102 [17:07:13] Elapsed time: 11.563s total, 1.754s configuring, 9.544s building, 0.224s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel