drm/xe/configfs: Add disable_multi_queue attribute
Subsystems (2)
PATCH 1/1 drm/xe/configfs: Add disable_multi_queue attribute
Add a new configfs boolean attribute 'disable_multi_queue' that lets an administrator force-disable multi-queue support on a device before it binds to the driver. This is intended for debugging and for validating non-multi-queue code paths on hardware that would otherwise expose multi-queue.
The hook disables multi-queue at two levels:
- UAPI: In alloc_primary_gt(), clear gt->info.multi_queue_engine_class_mask on the primary GT so that xe_gt_supports_multi_queue() returns false and attempts to create a multi-queue group via DRM_XE_EXEC_QUEUE_SET_PROPERTY_MULTI_GROUP are rejected.
- GuC: In guc_ctl_feature_flags(), set the GUC_CTL_DISABLE_MULTI_QUEUE (BIT(24)) init-params bit on GuC firmware older than 70.66. On GuC firmware 70.66 and above, guc_waklv_init() emits the new GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE Feature KLV (0x5001) via the ADS WA/Feature KLV buffer instead. Feature KLVs share the WA KLV buffer.
The attribute is rejected after the device has been bound, so it only takes effect during probe:
# echo 1 > /sys/kernel/config/xe/0000:03:00.0/disable_multi_queue # echo 0000:03:00.0 > /sys/bus/pci/drivers/xe/bind
---
Cc: Stuart Summers <[email protected]>
Cc: Niranjana Vishwanathapura <[email protected]>
--- drivers/gpu/drm/xe/abi/guc_klvs_abi.h | 3 +- drivers/gpu/drm/xe/xe_configfs.c | 63 +++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_configfs.h | 2 + drivers/gpu/drm/xe/xe_guc.c | 8 ++++ drivers/gpu/drm/xe/xe_guc_ads.c | 14 ++++++ drivers/gpu/drm/xe/xe_guc_fwif.h | 1 + drivers/gpu/drm/xe/xe_pci.c | 2 + 7 files changed, 92 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +2 -1
@@ -491,9 +491,10 @@ enum {#define GUC_KLV_VF_CFG_ENGINE_GROUP_PREEMPT_TIMEOUT_MIN_LEN 1u#define GUC_KLV_VF_CFG_ENGINE_GROUP_PREEMPT_TIMEOUT_MAX_LEN GUC_MAX_SCHED_GROUPS/* -* Workaround keys: +* Feature and Workaround keys: */ enum xe_guc_klv_ids { +GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE =0x5001 ,GUC_WORKAROUND_KLV_BLOCK_INTERRUPTS_WHEN_MGSR_BLOCKED =0x9002 ,GUC_WORKAROUND_KLV_DISABLE_PSMI_INTERRUPTS_AT_C6_ENTRY_RESTORE_AT_EXIT =0x9004 ,GUC_WORKAROUND_KLV_ID_GAM_PFQ_SHADOW_TAIL_POLLING =0x9005 ,
drivers/gpu/drm/xe/xe_configfs.c +63 -0
111 lines not on this page · raw message
drivers/gpu/drm/xe/xe_configfs.h +2 -0
@@ -23,6 +23,7 @@ bool xe_configfs_primary_gt_allowed(struct pci_dev *pdev);bool xe_configfs_media_gt_allowed (struct pci_dev *pdev);u64 xe_configfs_get_engines_allowed (struct pci_dev *pdev);bool xe_configfs_get_psmi_enabled (struct pci_dev *pdev); +bool xe_configfs_get_disable_multi_queue (struct pci_dev *pdev);u32 xe_configfs_get_ctx_restore_mid_bb (struct pci_dev *pdev,enum xe_engine_class class,const u32 **cs);
@@ -42,6 +43,7 @@ static inline bool xe_configfs_primary_gt_allowed(struct pci_dev *pdev) { returnstatic inline bool xe_configfs_media_gt_allowed (struct pci_dev *pdev) {return true; }static inline u64 xe_configfs_get_engines_allowed (struct pci_dev *pdev) {return U64_MAX ; }static inline bool xe_configfs_get_psmi_enabled (struct pci_dev *pdev) {return false; } +static inline bool xe_configfs_get_disable_multi_queue (struct pci_dev *pdev) {return false; }static inline u32 xe_configfs_get_ctx_restore_mid_bb (struct pci_dev *pdev,enum xe_engine_class class,const u32 **cs) {return 0 ; }
drivers/gpu/drm/xe/xe_guc.c +8 -0
@@ -101,6 +101,14 @@ static u32 guc_ctl_feature_flags(struct xe_guc *guc)if (xe_device_is_l2_flush_optimized (xe) &&xe_gt_is_media_type (guc_to_gt (guc))) flags |=GUC_CTL_ENABLE_L2FLUSH_OPT ; +/* +* On GuC firmware 70.66 and above, the GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE +* Feature KLV is used instead. +*/ +if (xe_configfs_get_disable_multi_queue (to_pci_dev (xe->drm.dev)) && + !GUC_FIRMWARE_VER_AT_LEAST (guc,70 ,66 )) + flags |=GUC_CTL_DISABLE_MULTI_QUEUE ; +return flags; }
drivers/gpu/drm/xe/xe_guc_ads.c +14 -0
@@ -16,6 +16,7 @@#include "regs/xe_gt_regs.h" #include "regs/xe_guc_regs.h" #include "xe_bo.h" +#include "xe_configfs.h" #include "xe_gt.h" #include "xe_gt_ccs_mode.h" #include "xe_gt_mcr.h"
@@ -364,6 +365,19 @@ static void guc_waklv_init(struct xe_guc_ads *ads)guc_waklv_enable (ads,NULL ,0 , &offset, &remain,GUC_WA_KLV_CLR_CS_INDIRECT_RING_STATE_IF_IDLE_AT_CTX_REG ); +/* +* On GuC firmware 70.66 and above, use the Feature KLV (shared with the +* WA KLV buffer); older firmware uses GUC_CTL_DISABLE_MULTI_QUEUE in +* the init params instead. +*/ +if (xe_configfs_get_disable_multi_queue (to_pci_dev (gt_to_xe (gt)->drm.dev)) && +GUC_FIRMWARE_VER_AT_LEAST (>->uc.guc,70 ,66 )) { +u32 data =1 ; + +guc_waklv_enable (ads, &data,1 , &offset, &remain, +GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE ); + } + size =guc_ads_waklv_size (ads) - remain;if (!size)return ;
drivers/gpu/drm/xe/xe_guc_fwif.h +1 -0
@@ -68,6 +68,7 @@ struct guc_update_exec_queue_policy {#define GUC_CTL_MAIN_GAMCTRL_QUEUES BIT(9)#define GUC_CTL_DISABLE_SCHEDULER BIT(14)#define GUC_CTL_ENABLE_L2FLUSH_OPT BIT(15) +#define GUC_CTL_DISABLE_MULTI_QUEUE BIT(24)#define GUC_CTL_DEBUG 3#define GUC_LOG_VERBOSITY REG_GENMASK(1, 0)
drivers/gpu/drm/xe/xe_pci.c +2 -0
@@ -862,6 +862,8 @@ static struct xe_gt *alloc_primary_gt(struct xe_tile *tile, gt->info.id = tile->id * xe->info.max_gt_per_tile; gt->info.has_indirect_ring_state = graphics_desc->has_indirect_ring_state; gt->info.multi_queue_engine_class_mask = graphics_desc->multi_queue_engine_class_mask; +if (xe_configfs_get_disable_multi_queue (to_pci_dev (xe->drm.dev))) + gt->info.multi_queue_engine_class_mask =0 ; gt->info.engine_mask = graphics_desc->hw_engine_mask; gt->info.num_geometry_xecore_fuse_regs = graphics_desc->num_geometry_xecore_fuse_regs; gt->info.num_compute_xecore_fuse_regs = graphics_desc->num_compute_xecore_fuse_regs;
Signature · 1 line
2.43.0
Patchwork
CI✓ CI.KUnit: success for drm/xe/configfs: Add disable_multi_queue attribute
== Series Details ==
== Series Details ==
Series: drm/xe/configfs: Add disable_multi_queue attribute
URL : https://patchwork.freedesktop.org/series/169651/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [21:10:48] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[21:10:52] 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
../drivers/gpu/drm/xe/xe_pt.c:1420:13: warning: ‘xe_pt_svm_userptr_notifier_lock’ defined but not used [-Wunused-function]
1420 | static void xe_pt_svm_userptr_notifier_lock(struct xe_vm *vm)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[21:11:24] Starting KUnit Kernel (1/1)...
[21:11:24] ============================================================ Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [21:11:24] ================== guc_buf (11 subtests) =================== [21:11:24] [PASSED] test_smallest [21:11:24] [PASSED] test_largest [21:11:24] [PASSED] test_granular [21:11:24] [PASSED] test_unique [21:11:24] [PASSED] test_overlap [21:11:24] [PASSED] test_reusable [21:11:24] [PASSED] test_too_big [21:11:24] [PASSED] test_flush [21:11:24] [PASSED] test_lookup [21:11:24] [PASSED] test_data [21:11:24] [PASSED] test_class [21:11:24] ===================== [PASSED] guc_buf ===================== [21:11:24] =================== guc_dbm (7 subtests) =================== [21:11:24] [PASSED] test_empty [21:11:24] [PASSED] test_default [21:11:24] ======================== test_size ======================== [21:11:24] [PASSED] 4 [21:11:24] [PASSED] 8 [21:11:24] [PASSED] 32 [21:11:24] [PASSED] 256 [21:11:24] ==================== [PASSED] test_size ==================== [21:11:24] ======================= test_reuse ======================== [21:11:24] [PASSED] 4 [21:11:24] [PASSED] 8 [21:11:24] [PASSED] 32 [21:11:24] [PASSED] 256 [21:11:24] =================== [PASSED] test_reuse ==================== [21:11:24] =================== test_range_overlap ==================== [21:11:24] [PASSED] 4 [21:11:24] [PASSED] 8 [21:11:24] [PASSED] 32 [21:11:24] [PASSED] 256 [21:11:24] =============== [PASSED] test_range_overlap ================ [21:11:24] =================== test_range_compact ==================== [21:11:24] [PASSED] 4 [21:11:24] [PASSED] 8 [21:11:24] [PASSED] 32 [21:11:24] [PASSED] 256 [21:11:24] =============== [PASSED] test_range_compact ================ [21:11:24] ==================== test_range_spare ===================== [21:11:24] [PASSED] 4 [21:11:24] [PASSED] 8 [21:11:24] [PASSED] 32 [21:11:24] [PASSED] 256 [21:11:24] ================ [PASSED] test_range_spare ================= [21:11:24] ===================== [PASSED] guc_dbm ===================== [21:11:24] =================== guc_idm (6 subtests) =================== [21:11:24] [PASSED] bad_init [21:11:24] [PASSED] no_init [21:11:24] [PASSED] init_fini [21:11:24] [PASSED] check_used [21:11:24] [PASSED] check_quota [21:11:24] [PASSED] check_all [21:11:24] ===================== [PASSED] guc_idm ===================== [21:11:24] ================== no_relay (3 subtests) =================== [21:11:24] [PASSED] xe_drops_guc2pf_if_not_ready [21:11:24] [PASSED] xe_drops_guc2vf_if_not_ready [21:11:24] [PASSED] xe_rejects_send_if_not_ready [21:11:24] ==================== [PASSED] no_relay ===================== [21:11:24] ================== pf_relay (14 subtests) ================== [21:11:24] [PASSED] pf_rejects_guc2pf_too_short [21:11:24] [PASSED] pf_rejects_guc2pf_too_long [21:11:24] [PASSED] pf_rejects_guc2pf_no_payload [21:11:24] [PASSED] pf_fails_no_payload [21:11:24] [PASSED] pf_fails_bad_origin [21:11:24] [PASSED] pf_fails_bad_type [21:11:24] [PASSED] pf_txn_reports_error [21:11:24] [PASSED] pf_txn_sends_pf2guc [21:11:24] [PASSED] pf_sends_pf2guc [21:11:24] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV) [21:11:24] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV) [21:11:24] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV) [21:11:24] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV) [21:11:24] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV) [21:11:24] ==================== [PASSED] pf_relay ===================== [21:11:24] ================== vf_relay (3 subtests) =================== [21:11:24] [PASSED] vf_rejects_guc2vf_too_short [21:11:24] [PASSED] vf_rejects_guc2vf_too_long [21:11:24] [PASSED] vf_rejects_guc2vf_no_payload [21:11:24] ==================== [PASSED] vf_relay ===================== [21:11:24] ================ pf_gt_config (9 subtests) ================= [21:11:24] [PASSED] fair_contexts_1vf [21:11:24] [PASSED] fair_doorbells_1vf [21:11:24] [PASSED] fair_ggtt_1vf [21:11:24] ====================== fair_vram_1vf ====================== [21:11:24] [PASSED] 3.50 GiB [21:11:24] [PASSED] 11.5 GiB [21:11:24] [PASSED] 15.5 GiB [21:11:24] [PASSED] 31.5 GiB [21:11:24] [PASSED] 63.5 GiB [21:11:24] [PASSED] 1.91 GiB [21:11:24] ================== [PASSED] fair_vram_1vf ================== [21:11:24] ================ fair_vram_1vf_admin_only ================= [21:11:24] [PASSED] 3.50 GiB [21:11:24] [PASSED] 11.5 GiB [21:11:24] [PASSED] 15.5 GiB [21:11:24] [PASSED] 31.5 GiB [21:11:24] [PASSED] 63.5 GiB [21:11:24] [PASSED] 1.91 GiB [21:11:24] ============ [PASSED] fair_vram_1vf_admin_only ============= [21:11:24] ====================== fair_contexts ====================== [21:11:24] [PASSED] 1 VF [21:11:24] [PASSED] 2 VFs [21:11:24] [PASSED] 3 VFs [21:11:24] [PASSED] 4 VFs [21:11:24] [PASSED] 5 VFs [21:11:24] [PASSED] 6 VFs [21:11:24] [PASSED] 7 VFs [21:11:24] [PASSED] 8 VFs [21:11:24] [PASSED] 9 VFs [21:11:24] [PASSED] 10 VFs [21:11:24] [PASSED] 11 VFs [21:11:24] [PASSED] 12 VFs [21:11:24] [PASSED] 13 VFs [21:11:24] [PASSED] 14 VFs [21:11:24] [PASSED] 15 VFs [21:11:24] [PASSED] 16 VFs [21:11:24] [PASSED] 17 VFs [21:11:24] [PASSED] 18 VFs [21:11:24] [PASSED] 19 VFs [21:11:24] [PASSED] 20 VFs [21:11:24] [PASSED] 21 VFs [21:11:24] [PASSED] 22 VFs [21:11:24] [PASSED] 23 VFs [21:11:24] [PASSED] 24 VFs [21:11:24] [PASSED] 25 VFs [21:11:24] [PASSED] 26 VFs [21:11:24] [PASSED] 27 VFs [21:11:24] [PASSED] 28 VFs [21:11:24] [PASSED] 29 VFs [21:11:24] [PASSED] 30 VFs [21:11:24] [PASSED] 31 VFs [21:11:24] [PASSED] 32 VFs [21:11:24] [PASSED] 33 VFs [21:11:24] [PASSED] 34 VFs [21:11:24] [PASSED] 35 VFs [21:11:24] [PASSED] 36 VFs [21:11:24] [PASSED] 37 VFs [21:11:24] [PASSED] 38 VFs [21:11:24] [PASSED] 39 VFs [21:11:24] [PASSED] 40 VFs [21:11:24] [PASSED] 41 VFs [21:11:24] [PASSED] 42 VFs [21:11:24] [PASSED] 43 VFs [21:11:24] [PASSED] 44 VFs [21:11:24] [PASSED] 45 VFs [21:11:24] [PASSED] 46 VFs [21:11:24] [PASSED] 47 VFs [21:11:24] [PASSED] 48 VFs [21:11:24] [PASSED] 49 VFs [21:11:24] [PASSED] 50 VFs [21:11:24] [PASSED] 51 VFs [21:11:24] [PASSED] 52 VFs [21:11:24] [PASSED] 53 VFs [21:11:24] [PASSED] 54 VFs [21:11:24] [PASSED] 55 VFs [21:11:24] [PASSED] 56 VFs [21:11:24] [PASSED] 57 VFs [21:11:24] [PASSED] 58 VFs [21:11:24] [PASSED] 59 VFs [21:11:24] [PASSED] 60 VFs [21:11:24] [PASSED] 61 VFs [21:11:24] [PASSED] 62 VFs [21:11:24] [PASSED] 63 VFs [21:11:24] ================== [PASSED] fair_contexts ================== [21:11:24] ===================== fair_doorbells ====================== [21:11:24] [PASSED] 1 VF [21:11:24] [PASSED] 2 VFs [21:11:24] [PASSED] 3 VFs [21:11:24] [PASSED] 4 VFs [21:11:24] [PASSED] 5 VFs [21:11:24] [PASSED] 6 VFs [21:11:24] [PASSED] 7 VFs [21:11:24] [PASSED] 8 VFs [21:11:24] [PASSED] 9 VFs [21:11:24] [PASSED] 10 VFs [21:11:24] [PASSED] 11 VFs [21:11:24] [PASSED] 12 VFs [21:11:24] [PASSED] 13 VFs [21:11:24] [PASSED] 14 VFs [21:11:24] [PASSED] 15 VFs [21:11:24] [PASSED] 16 VFs [21:11:24] [PASSED] 17 VFs [21:11:24] [PASSED] 18 VFs [21:11:24] [PASSED] 19 VFs [21:11:24] [PASSED] 20 VFs [21:11:24] [PASSED] 21 VFs [21:11:24] [PASSED] 22 VFs [21:11:24] [PASSED] 23 VFs [21:11:24] [PASSED] 24 VFs [21:11:24] [PASSED] 25 VFs [21:11:24] [PASSED] 26 VFs [21:11:24] [PASSED] 27 VFs [21:11:24] [PASSED] 28 VFs [21:11:24] [PASSED] 29 VFs [21:11:24] [PASSED] 30 VFs [21:11:24] [PASSED] 31 VFs [21:11:24] [PASSED] 32 VFs [21:11:24] [PASSED] 33 VFs [21:11:24] [PASSED] 34 VFs [21:11:24] [PASSED] 35 VFs [21:11:24] [PASSED] 36 VFs [21:11:24] [PASSED] 37 VFs [21:11:24] [PASSED] 38 VFs [21:11:24] [PASSED] 39 VFs [21:11:24] [PASSED] 40 VFs [21:11:24] [PASSED] 41 VFs [21:11:24] [PASSED] 42 VFs [21:11:24] [PASSED] 43 VFs [21:11:24] [PASSED] 44 VFs [21:11:24] [PASSED] 45 VFs [21:11:24] [PASSED] 46 VFs [21:11:24] [PASSED] 47 VFs [21:11:24] [PASSED] 48 VFs [21:11:24] [PASSED] 49 VFs [21:11:24] [PASSED] 50 VFs [21:11:24] [PASSED] 51 VFs [21:11:24] [PASSED] 52 VFs [21:11:24] [PASSED] 53 VFs [21:11:24] [PASSED] 54 VFs [21:11:24] [PASSED] 55 VFs [21:11:24] [PASSED] 56 VFs [21:11:24] [PASSED] 57 VFs [21:11:24] [PASSED] 58 VFs [21:11:24] [PASSED] 59 VFs [21:11:24] [PASSED] 60 VFs [21:11:24] [PASSED] 61 VFs [21:11:24] [PASSED] 62 VFs [21:11:24] [PASSED] 63 VFs [21:11:24] ================= [PASSED] fair_doorbells ================== [21:11:24] ======================== fair_ggtt ======================== [21:11:24] [PASSED] 1 VF [21:11:24] [PASSED] 2 VFs [21:11:24] [PASSED] 3 VFs [21:11:24] [PASSED] 4 VFs [21:11:24] [PASSED] 5 VFs [21:11:24] [PASSED] 6 VFs [21:11:24] [PASSED] 7 VFs [21:11:24] [PASSED] 8 VFs [21:11:24] [PASSED] 9 VFs [21:11:24] [PASSED] 10 VFs [21:11:24] [PASSED] 11 VFs [21:11:24] [PASSED] 12 VFs [21:11:24] [PASSED] 13 VFs [21:11:24] [PASSED] 14 VFs [21:11:24] [PASSED] 15 VFs [21:11:24] [PASSED] 16 VFs [21:11:24] [PASSED] 17 VFs [21:11:24] [PASSED] 18 VFs [21:11:24] [PASSED] 19 VFs [21:11:24] [PASSED] 20 VFs [21:11:24] [PASSED] 21 VFs [21:11:24] [PASSED] 22 VFs [21:11:24] [PASSED] 23 VFs [21:11:24] [PASSED] 24 VFs [21:11:24] [PASSED] 25 VFs [21:11:24] [PASSED] 26 VFs [21:11:24] [PASSED] 27 VFs [21:11:24] [PASSED] 28 VFs [21:11:24] [PASSED] 29 VFs [21:11:24] [PASSED] 30 VFs [21:11:24] [PASSED] 31 VFs [21:11:24] [PASSED] 32 VFs [21:11:24] [PASSED] 33 VFs [21:11:24] [PASSED] 34 VFs [21:11:24] [PASSED] 35 VFs [21:11:24] [PASSED] 36 VFs [21:11:24] [PASSED] 37 VFs [21:11:24] [PASSED] 38 VFs [21:11:24] [PASSED] 39 VFs [21:11:24] [PASSED] 40 VFs [21:11:24] [PASSED] 41 VFs [21:11:24] [PASSED] 42 VFs [21:11:24] [PASSED] 43 VFs [21:11:24] [PASSED] 44 VFs [21:11:24] [PASSED] 45 VFs [21:11:24] [PASSED] 46 VFs [21:11:24] [PASSED] 47 VFs [21:11:24] [PASSED] 48 VFs [21:11:24] [PASSED] 49 VFs [21:11:24] [PASSED] 50 VFs [21:11:24] [PASSED] 51 VFs [21:11:24] [PASSED] 52 VFs [21:11:24] [PASSED] 53 VFs [21:11:24] [PASSED] 54 VFs [21:11:24] [PASSED] 55 VFs [21:11:24] [PASSED] 56 VFs [21:11:24] [PASSED] 57 VFs [21:11:24] [PASSED] 58 VFs [21:11:24] [PASSED] 59 VFs [21:11:24] [PASSED] 60 VFs [21:11:24] [PASSED] 61 VFs [21:11:24] [PASSED] 62 VFs [21:11:24] [PASSED] 63 VFs [21:11:24] ==================== [PASSED] fair_ggtt ==================== [21:11:24] ======================== fair_vram ======================== [21:11:24] [PASSED] 1 VF [21:11:24] [PASSED] 2 VFs [21:11:24] [PASSED] 3 VFs [21:11:24] [PASSED] 4 VFs [21:11:24] [PASSED] 5 VFs [21:11:24] [PASSED] 6 VFs [21:11:24] [PASSED] 7 VFs [21:11:24] [PASSED] 8 VFs [21:11:24] [PASSED] 9 VFs [21:11:24] [PASSED] 10 VFs [21:11:24] [PASSED] 11 VFs [21:11:24] [PASSED] 12 VFs [21:11:24] [PASSED] 13 VFs [21:11:24] [PASSED] 14 VFs [21:11:24] [PASSED] 15 VFs [21:11:24] [PASSED] 16 VFs [21:11:24] [PASSED] 17 VFs [21:11:24] [PASSED] 18 VFs [21:11:24] [PASSED] 19 VFs [21:11:24] [PASSED] 20 VFs [21:11:24] [PASSED] 21 VFs [21:11:24] [PASSED] 22 VFs [21:11:24] [PASSED] 23 VFs [21:11:24] [PASSED] 24 VFs [21:11:24] [PASSED] 25 VFs [21:11:24] [PASSED] 26 VFs [21:11:24] [PASSED] 27 VFs [21:11:24] [PASSED] 28 VFs [21:11:24] [PASSED] 29 VFs [21:11:24] [PASSED] 30 VFs [21:11:24] [PASSED] 31 VFs [21:11:24] [PASSED] 32 VFs [21:11:24] [PASSED] 33 VFs [21:11:24] [PASSED] 34 VFs [21:11:24] [PASSED] 35 VFs [21:11:24] [PASSED] 36 VFs [21:11:24] [PASSED] 37 VFs [21:11:24] [PASSED] 38 VFs [21:11:24] [PASSED] 39 VFs [21:11:24] [PASSED] 40 VFs [21:11:24] [PASSED] 41 VFs [21:11:24] [PASSED] 42 VFs [21:11:24] [PASSED] 43 VFs [21:11:24] [PASSED] 44 VFs [21:11:24] [PASSED] 45 VFs [21:11:24] [PASSED] 46 VFs [21:11:24] [PASSED] 47 VFs [21:11:24] [PASSED] 48 VFs [21:11:24] [PASSED] 49 VFs [21:11:24] [PASSED] 50 VFs [21:11:24] [PASSED] 51 VFs [21:11:24] [PASSED] 52 VFs [21:11:24] [PASSED] 53 VFs [21:11:24] [PASSED] 54 VFs [21:11:24] [PASSED] 55 VFs [21:11:24] [PASSED] 56 VFs [21:11:24] [PASSED] 57 VFs [21:11:24] [PASSED] 58 VFs [21:11:24] [PASSED] 59 VFs [21:11:24] [PASSED] 60 VFs [21:11:24] [PASSED] 61 VFs [21:11:24] [PASSED] 62 VFs [21:11:24] [PASSED] 63 VFs [21:11:24] ==================== [PASSED] fair_vram ==================== [21:11:24] ================== [PASSED] pf_gt_config =================== [21:11:24] ===================== lmtt (1 subtest) ===================== [21:11:24] ======================== test_ops ========================= [21:11:24] [PASSED] 2-level [21:11:24] [PASSED] multi-level [21:11:24] ==================== [PASSED] test_ops ===================== [21:11:24] ====================== [PASSED] lmtt ======================= [21:11:24] ================= pf_service (11 subtests) ================= [21:11:24] [PASSED] pf_negotiate_any [21:11:24] [PASSED] pf_negotiate_base_match [21:11:24] [PASSED] pf_negotiate_base_newer [21:11:24] [PASSED] pf_negotiate_base_next [21:11:24] [SKIPPED] pf_negotiate_base_older (no older minor) [21:11:24] [PASSED] pf_negotiate_base_prev [21:11:24] [PASSED] pf_negotiate_latest_match [21:11:24] [PASSED] pf_negotiate_latest_newer [21:11:24] [PASSED] pf_negotiate_latest_next [21:11:24] [SKIPPED] pf_negotiate_latest_older (no older minor) [21:11:24] [SKIPPED] pf_negotiate_latest_prev (no prev major) [21:11:24] =================== [PASSED] pf_service ==================== [21:11:24] ================= xe_guc_g2g (2 subtests) ================== [21:11:24] ============== xe_live_guc_g2g_kunit_default ============== [21:11:24] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [21:11:24] ============== xe_live_guc_g2g_kunit_allmem =============== [21:11:24] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [21:11:24] =================== [SKIPPED] xe_guc_g2g =================== [21:11:24] =================== xe_mocs (2 subtests) =================== [21:11:24] ================ xe_live_mocs_kernel_kunit ================ [21:11:24] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [21:11:24] ================ xe_live_mocs_reset_kunit ================= [21:11:24] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [21:11:24] ==================== [SKIPPED] xe_mocs ===================== [21:11:24] ================= xe_migrate (2 subtests) ================== [21:11:24] ================= xe_migrate_sanity_kunit ================= [21:11:24] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [21:11:24] ================== xe_validate_ccs_kunit ================== [21:11:24] ============= [SKIPPED] xe_validate_ccs_kunit ============== [21:11:24] =================== [SKIPPED] xe_migrate =================== [21:11:24] ================== xe_dma_buf (1 subtest) ================== [21:11:24] ==================== xe_dma_buf_kunit ===================== [21:11:24] ================ [SKIPPED] xe_dma_buf_kunit ================ [21:11:24] =================== [SKIPPED] xe_dma_buf =================== [21:11:24] ================= xe_bo_shrink (1 subtest) ================= [21:11:24] =================== xe_bo_shrink_kunit ==================== [21:11:24] =============== [SKIPPED] xe_bo_shrink_kunit =============== [21:11:24] ================== [SKIPPED] xe_bo_shrink ================== [21:11:24] ==================== xe_bo (2 subtests) ==================== [21:11:24] ================== xe_ccs_migrate_kunit =================== [21:11:24] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [21:11:24] ==================== xe_bo_evict_kunit ==================== [21:11:24] =============== [SKIPPED] xe_bo_evict_kunit ================ [21:11:24] ===================== [SKIPPED] xe_bo ====================== [21:11:24] ==================== args (13 subtests) ==================== [21:11:24] [PASSED] count_args_test [21:11:24] [PASSED] call_args_example [21:11:24] [PASSED] call_args_test [21:11:24] [PASSED] drop_first_arg_example [21:11:24] [PASSED] drop_first_arg_test [21:11:24] [PASSED] first_arg_example [21:11:24] [PASSED] first_arg_test [21:11:24] [PASSED] last_arg_example [21:11:24] [PASSED] last_arg_test [21:11:24] [PASSED] pick_arg_example [21:11:24] [PASSED] if_args_example [21:11:24] [PASSED] if_args_test [21:11:24] [PASSED] sep_comma_example [21:11:24] ====================== [PASSED] args ======================= [21:11:24] =================== xe_pci (3 subtests) ==================== [21:11:24] ==================== check_graphics_ip ==================== [21:11:24] [PASSED] 12.00 Xe_LP [21:11:24] [PASSED] 12.10 Xe_LP+ [21:11:24] [PASSED] 12.55 Xe_HPG [21:11:24] [PASSED] 12.60 Xe_HPC [21:11:24] [PASSED] 12.70 Xe_LPG [21:11:24] [PASSED] 12.71 Xe_LPG [21:11:24] [PASSED] 12.74 Xe_LPG+ [21:11:24] [PASSED] 20.01 Xe2_HPG [21:11:24] [PASSED] 20.02 Xe2_HPG [21:11:24] [PASSED] 20.04 Xe2_LPG [21:11:24] [PASSED] 30.00 Xe3_LPG [21:11:24] [PASSED] 30.01 Xe3_LPG [21:11:24] [PASSED] 30.03 Xe3_LPG [21:11:24] [PASSED] 30.04 Xe3_LPG [21:11:24] [PASSED] 30.05 Xe3_LPG [21:11:24] [PASSED] 35.10 Xe3p_LPG [21:11:24] [PASSED] 35.11 Xe3p_XPC [21:11:24] ================ [PASSED] check_graphics_ip ================ [21:11:24] ===================== check_media_ip ====================== [21:11:24] [PASSED] 12.00 Xe_M [21:11:24] [PASSED] 12.55 Xe_HPM [21:11:24] [PASSED] 13.00 Xe_LPM+ [21:11:24] [PASSED] 13.01 Xe2_HPM [21:11:24] [PASSED] 20.00 Xe2_LPM [21:11:24] [PASSED] 30.00 Xe3_LPM [21:11:24] [PASSED] 30.02 Xe3_LPM [21:11:24] [PASSED] 35.00 Xe3p_LPM [21:11:24] [PASSED] 35.03 Xe3p_HPM [21:11:24] ================= [PASSED] check_media_ip ================== [21:11:24] =================== check_platform_desc =================== [21:11:24] [PASSED] 0x9A60 (TIGERLAKE) [21:11:24] [PASSED] 0x9A68 (TIGERLAKE) [21:11:24] [PASSED] 0x9A70 (TIGERLAKE) [21:11:24] [PASSED] 0x9A40 (TIGERLAKE) [21:11:24] [PASSED] 0x9A49 (TIGERLAKE) [21:11:24] [PASSED] 0x9A59 (TIGERLAKE) [21:11:24] [PASSED] 0x9A78 (TIGERLAKE) [21:11:24] [PASSED] 0x9AC0 (TIGERLAKE) [21:11:24] [PASSED] 0x9AC9 (TIGERLAKE) [21:11:24] [PASSED] 0x9AD9 (TIGERLAKE) [21:11:24] [PASSED] 0x9AF8 (TIGERLAKE) [21:11:24] [PASSED] 0x4C80 (ROCKETLAKE) [21:11:24] [PASSED] 0x4C8A (ROCKETLAKE) [21:11:24] [PASSED] 0x4C8B (ROCKETLAKE) [21:11:24] [PASSED] 0x4C8C (ROCKETLAKE) [21:11:24] [PASSED] 0x4C90 (ROCKETLAKE) [21:11:24] [PASSED] 0x4C9A (ROCKETLAKE) [21:11:24] [PASSED] 0x4680 (ALDERLAKE_S) [21:11:24] [PASSED] 0x4682 (ALDERLAKE_S) [21:11:24] [PASSED] 0x4688 (ALDERLAKE_S) [21:11:24] [PASSED] 0x468A (ALDERLAKE_S) [21:11:24] [PASSED] 0x468B (ALDERLAKE_S) [21:11:24] [PASSED] 0x4690 (ALDERLAKE_S) [21:11:24] [PASSED] 0x4692 (ALDERLAKE_S) [21:11:24] [PASSED] 0x4693 (ALDERLAKE_S) [21:11:24] [PASSED] 0x46A0 (ALDERLAKE_P) [21:11:24] [PASSED] 0x46A1 (ALDERLAKE_P) [21:11:24] [PASSED] 0x46A2 (ALDERLAKE_P) [21:11:24] [PASSED] 0x46A3 (ALDERLAKE_P) [21:11:24] [PASSED] 0x46A6 (ALDERLAKE_P) [21:11:24] [PASSED] 0x46A8 (ALDERLAKE_P) [21:11:24] [PASSED] 0x46AA (ALDERLAKE_P) [21:11:24] [PASSED] 0x462A (ALDERLAKE_P) [21:11:24] [PASSED] 0x4626 (ALDERLAKE_P) [21:11:24] [PASSED] 0x4628 (ALDERLAKE_P) [21:11:24] [PASSED] 0x46B0 (ALDERLAKE_P) [21:11:24] [PASSED] 0x46B1 (ALDERLAKE_P) [21:11:24] [PASSED] 0x46B2 (ALDERLAKE_P) [21:11:24] [PASSED] 0x46B3 (ALDERLAKE_P) [21:11:24] [PASSED] 0x46C0 (ALDERLAKE_P) [21:11:24] [PASSED] 0x46C1 (ALDERLAKE_P) [21:11:24] [PASSED] 0x46C2 (ALDERLAKE_P) [21:11:24] [PASSED] 0x46C3 (ALDERLAKE_P) [21:11:24] [PASSED] 0x46D0 (ALDERLAKE_N) [21:11:24] [PASSED] 0x46D1 (ALDERLAKE_N) [21:11:24] [PASSED] 0x46D2 (ALDERLAKE_N) [21:11:24] [PASSED] 0x46D3 (ALDERLAKE_N) [21:11:24] [PASSED] 0x46D4 (ALDERLAKE_N) [21:11:24] [PASSED] 0xA721 (ALDERLAKE_P) [21:11:24] [PASSED] 0xA7A1 (ALDERLAKE_P) [21:11:24] [PASSED] 0xA7A9 (ALDERLAKE_P) [21:11:24] [PASSED] 0xA7AC (ALDERLAKE_P) [21:11:24] [PASSED] 0xA7AD (ALDERLAKE_P) [21:11:24] [PASSED] 0xA720 (ALDERLAKE_P) [21:11:24] [PASSED] 0xA7A0 (ALDERLAKE_P) [21:11:24] [PASSED] 0xA7A8 (ALDERLAKE_P) [21:11:24] [PASSED] 0xA7AA (ALDERLAKE_P) [21:11:24] [PASSED] 0xA7AB (ALDERLAKE_P) [21:11:24] [PASSED] 0xA780 (ALDERLAKE_S) [21:11:24] [PASSED] 0xA781 (ALDERLAKE_S) [21:11:24] [PASSED] 0xA782 (ALDERLAKE_S) [21:11:24] [PASSED] 0xA783 (ALDERLAKE_S) [21:11:24] [PASSED] 0xA788 (ALDERLAKE_S) [21:11:24] [PASSED] 0xA789 (ALDERLAKE_S) [21:11:24] [PASSED] 0xA78A (ALDERLAKE_S) [21:11:24] [PASSED] 0xA78B (ALDERLAKE_S) [21:11:24] [PASSED] 0x4905 (DG1) [21:11:24] [PASSED] 0x4906 (DG1) [21:11:24] [PASSED] 0x4907 (DG1) [21:11:24] [PASSED] 0x4908 (DG1) [21:11:24] [PASSED] 0x4909 (DG1) [21:11:24] [PASSED] 0x56C0 (DG2) [21:11:24] [PASSED] 0x56C2 (DG2) [21:11:24] [PASSED] 0x56C1 (DG2) [21:11:24] [PASSED] 0x7D51 (METEORLAKE) [21:11:24] [PASSED] 0x7DD1 (METEORLAKE) [21:11:24] [PASSED] 0x7D41 (METEORLAKE) [21:11:24] [PASSED] 0x7D67 (METEORLAKE) [21:11:24] [PASSED] 0xB640 (METEORLAKE) [21:11:24] [PASSED] 0x56A0 (DG2) [21:11:24] [PASSED] 0x56A1 (DG2) [21:11:24] [PASSED] 0x56A2 (DG2) [21:11:24] [PASSED] 0x56BE (DG2) [21:11:24] [PASSED] 0x56BF (DG2) [21:11:24] [PASSED] 0x5690 (DG2) [21:11:24] [PASSED] 0x5691 (DG2) [21:11:24] [PASSED] 0x5692 (DG2) [21:11:24] [PASSED] 0x56A5 (DG2) [21:11:24] [PASSED] 0x56A6 (DG2) [21:11:24] [PASSED] 0x56B0 (DG2) [21:11:24] [PASSED] 0x56B1 (DG2) [21:11:24] [PASSED] 0x56BA (DG2) [21:11:24] [PASSED] 0x56BB (DG2) [21:11:24] [PASSED] 0x56BC (DG2) [21:11:24] [PASSED] 0x56BD (DG2) [21:11:24] [PASSED] 0x5693 (DG2) [21:11:24] [PASSED] 0x5694 (DG2) [21:11:24] [PASSED] 0x5695 (DG2) [21:11:24] [PASSED] 0x56A3 (DG2) [21:11:24] [PASSED] 0x56A4 (DG2) [21:11:24] [PASSED] 0x56B2 (DG2) [21:11:24] [PASSED] 0x56B3 (DG2) [21:11:24] [PASSED] 0x5696 (DG2) [21:11:24] [PASSED] 0x5697 (DG2) [21:11:24] [PASSED] 0xB69 (PVC) [21:11:24] [PASSED] 0xB6E (PVC) [21:11:24] [PASSED] 0xBD4 (PVC) [21:11:24] [PASSED] 0xBD5 (PVC) [21:11:24] [PASSED] 0xBD6 (PVC) [21:11:24] [PASSED] 0xBD7 (PVC) [21:11:24] [PASSED] 0xBD8 (PVC) [21:11:24] [PASSED] 0xBD9 (PVC) [21:11:24] [PASSED] 0xBDA (PVC) [21:11:24] [PASSED] 0xBDB (PVC) [21:11:24] [PASSED] 0xBE0 (PVC) [21:11:24] [PASSED] 0xBE1 (PVC) [21:11:24] [PASSED] 0xBE5 (PVC) [21:11:24] [PASSED] 0x7D40 (METEORLAKE) [21:11:24] [PASSED] 0x7D45 (METEORLAKE) [21:11:24] [PASSED] 0x7D55 (METEORLAKE) [21:11:24] [PASSED] 0x7D60 (METEORLAKE) [21:11:24] [PASSED] 0x7DD5 (METEORLAKE) [21:11:24] [PASSED] 0x6420 (LUNARLAKE) [21:11:24] [PASSED] 0x64A0 (LUNARLAKE) [21:11:24] [PASSED] 0x64B0 (LUNARLAKE) [21:11:24] [PASSED] 0xE202 (BATTLEMAGE) [21:11:24] [PASSED] 0xE209 (BATTLEMAGE) [21:11:24] [PASSED] 0xE20B (BATTLEMAGE) [21:11:24] [PASSED] 0xE20C (BATTLEMAGE) [21:11:24] [PASSED] 0xE20D (BATTLEMAGE) [21:11:24] [PASSED] 0xE210 (BATTLEMAGE) [21:11:24] [PASSED] 0xE211 (BATTLEMAGE) [21:11:24] [PASSED] 0xE212 (BATTLEMAGE) [21:11:24] [PASSED] 0xE216 (BATTLEMAGE) [21:11:24] [PASSED] 0xE220 (BATTLEMAGE) [21:11:24] [PASSED] 0xE221 (BATTLEMAGE) [21:11:24] [PASSED] 0xE222 (BATTLEMAGE) [21:11:24] [PASSED] 0xE223 (BATTLEMAGE) [21:11:24] [PASSED] 0xB080 (PANTHERLAKE) [21:11:24] [PASSED] 0xB081 (PANTHERLAKE) [21:11:24] [PASSED] 0xB082 (PANTHERLAKE) [21:11:24] [PASSED] 0xB083 (PANTHERLAKE) [21:11:24] [PASSED] 0xB084 (PANTHERLAKE) [21:11:24] [PASSED] 0xB085 (PANTHERLAKE) [21:11:24] [PASSED] 0xB086 (PANTHERLAKE) [21:11:24] [PASSED] 0xB087 (PANTHERLAKE) [21:11:24] [PASSED] 0xB08F (PANTHERLAKE) [21:11:24] [PASSED] 0xB090 (PANTHERLAKE) [21:11:24] [PASSED] 0xB0A0 (PANTHERLAKE) [21:11:24] [PASSED] 0xB0B0 (PANTHERLAKE) [21:11:24] [PASSED] 0xFD80 (PANTHERLAKE) [21:11:24] [PASSED] 0xFD81 (PANTHERLAKE) [21:11:24] [PASSED] 0xD740 (NOVALAKE_S) [21:11:24] [PASSED] 0xD741 (NOVALAKE_S) [21:11:24] [PASSED] 0xD742 (NOVALAKE_S) [21:11:24] [PASSED] 0xD743 (NOVALAKE_S) [21:11:24] [PASSED] 0xD745 (NOVALAKE_S) [21:11:24] [PASSED] 0xD74A (NOVALAKE_S) [21:11:24] [PASSED] 0xD74B (NOVALAKE_S) [21:11:24] [PASSED] 0x674C (CRESCENTISLAND) [21:11:24] [PASSED] 0x674D (CRESCENTISLAND) [21:11:24] [PASSED] 0x674E (CRESCENTISLAND) [21:11:24] [PASSED] 0x674F (CRESCENTISLAND) [21:11:24] [PASSED] 0x6750 (CRESCENTISLAND) [21:11:24] [PASSED] 0xD750 (NOVALAKE_P) [21:11:24] [PASSED] 0xD751 (NOVALAKE_P) [21:11:24] [PASSED] 0xD752 (NOVALAKE_P) [21:11:24] [PASSED] 0xD753 (NOVALAKE_P) [21:11:24] [PASSED] 0xD754 (NOVALAKE_P) [21:11:24] [PASSED] 0xD755 (NOVALAKE_P) [21:11:24] [PASSED] 0xD756 (NOVALAKE_P) [21:11:24] [PASSED] 0xD757 (NOVALAKE_P) [21:11:24] [PASSED] 0xD75F (NOVALAKE_P) [21:11:24] =============== [PASSED] check_platform_desc =============== [21:11:24] ===================== [PASSED] xe_pci ====================== [21:11:24] ============= xe_rtp_tables_test (5 subtests) ============== [21:11:24] ================== xe_rtp_table_gt_test =================== [21:11:24] [PASSED] gt_was/14011060649 [21:11:24] [PASSED] gt_was/14011059788 [21:11:24] [PASSED] gt_was/14015795083 [21:11:24] [PASSED] gt_was/16021867713 [21:11:24] [PASSED] gt_was/14019449301 [21:11:24] [PASSED] gt_was/16028005424 [21:11:24] [PASSED] gt_was/14026578760 [21:11:24] [PASSED] gt_was/1409420604 [21:11:24] [PASSED] gt_was/1408615072 [21:11:24] [PASSED] gt_was/22010523718 [21:11:24] [PASSED] gt_was/14011006942 [21:11:24] [PASSED] gt_was/14014830051 [21:11:24] [PASSED] gt_was/18018781329 [21:11:24] [PASSED] gt_was/1509235366 [21:11:24] [PASSED] gt_was/18018781329 [21:11:24] [PASSED] gt_was/16016694945 [21:11:24] [PASSED] gt_was/14018575942 [21:11:24] [PASSED] gt_was/22016670082 [21:11:24] [PASSED] gt_was/22016670082 [21:11:24] [PASSED] gt_was/14017421178 [21:11:24] [PASSED] gt_was/16025250150 [21:11:24] [PASSED] gt_was/14021871409 [21:11:24] [PASSED] gt_was/16021865536 [21:11:24] [PASSED] gt_was/14021486841 [21:11:24] [PASSED] gt_was/14025160223 [21:11:24] [PASSED] gt_was/14026144927, 16029437861, 14026127056 [21:11:24] [PASSED] gt_was/14025635424 [21:11:24] [PASSED] gt_was/16028005424 [21:11:24] ============== [PASSED] xe_rtp_table_gt_test =============== [21:11:24] ================== xe_rtp_table_gt_test =================== [21:11:24] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable [21:11:24] [PASSED] gt_tunings/Tuning: 32B Access Enable [21:11:24] [PASSED] gt_tunings/Tuning: L3 cache [21:11:24] [PASSED] gt_tunings/Tuning: L3 cache - media [21:11:24] [PASSED] gt_tunings/Tuning: Compression Overfetch [21:11:24] [PASSED] gt_tunings/Tuning: Compression Overfetch - media [21:11:24] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 [21:11:24] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media [21:11:24] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only [21:11:24] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media [21:11:24] [PASSED] gt_tunings/Tuning: Stateless compression control [21:11:24] [PASSED] gt_tunings/Tuning: Stateless compression control - media [21:11:24] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache [21:11:24] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media [21:11:24] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB [21:11:24] ============== [PASSED] xe_rtp_table_gt_test =============== [21:11:24] ================== xe_rtp_table_oob_test ================== [21:11:24] [PASSED] oob_was/1607983814 [21:11:24] [PASSED] oob_was/16010904313 [21:11:24] [PASSED] oob_was/18022495364 [21:11:24] [PASSED] oob_was/22012773006 [21:11:24] [PASSED] oob_was/14014475959 [21:11:24] [PASSED] oob_was/22011391025 [21:11:24] [PASSED] oob_was/22012727170 [21:11:24] [PASSED] oob_was/22012727685 [21:11:24] [PASSED] oob_was/22016596838 [21:11:24] [PASSED] oob_was/18020744125 [21:11:24] [PASSED] oob_was/1409600907 [21:11:24] [PASSED] oob_was/22014953428 [21:11:24] [PASSED] oob_was/16017236439 [21:11:24] [PASSED] oob_was/14019821291 [21:11:24] [PASSED] oob_was/14015076503 [21:11:24] [PASSED] oob_was/14018913170 [21:11:24] [PASSED] oob_was/14018094691 [21:11:24] [PASSED] oob_was/18024947630 [21:11:24] [PASSED] oob_was/16022287689 [21:11:24] [PASSED] oob_was/13011645652 [21:11:24] [PASSED] oob_was/14022293748 [21:11:24] [PASSED] oob_was/22019794406 [21:11:24] [PASSED] oob_was/22019338487 [21:11:24] [PASSED] oob_was/16023588340 [21:11:24] [PASSED] oob_was/14019789679 [21:11:24] [PASSED] oob_was/14022866841 [21:11:24] [PASSED] oob_was/16021333562 [21:11:24] [PASSED] oob_was/14016712196 [21:11:24] [PASSED] oob_was/14015568240 [21:11:24] [PASSED] oob_was/18013179988 [21:11:24] [PASSED] oob_was/1508761755 [21:11:24] [PASSED] oob_was/16023105232 [21:11:24] [PASSED] oob_was/16026508708 [21:11:24] [PASSED] oob_was/14020001231 [21:11:24] [PASSED] oob_was/16023683509 [21:11:24] [PASSED] oob_was/14025515070 [21:11:24] [PASSED] oob_was/15015404425_disable [21:11:24] [PASSED] oob_was/16026007364 [21:11:24] [PASSED] oob_was/14020316580 [21:11:24] [PASSED] oob_was/14025883347 [21:11:24] [PASSED] oob_was/16029380221 [21:11:24] ============== [PASSED] xe_rtp_table_oob_test ============== [21:11:24] ================ xe_rtp_table_dev_oob_test ================ [21:11:24] [PASSED] device_oob_was/22010954014 [21:11:24] [PASSED] device_oob_was/15015404425 [21:11:24] [PASSED] device_oob_was/22019338487_display [21:11:24] [PASSED] device_oob_was/14022085890 [21:11:24] [PASSED] device_oob_was/14026539277 [21:11:24] [PASSED] device_oob_was/14026633728 [21:11:24] [PASSED] device_oob_was/14026746987 [21:11:24] [PASSED] device_oob_was/14026779378 [21:11:24] ============ [PASSED] xe_rtp_table_dev_oob_test ============ [21:11:24] ========== xe_rtp_table_missing_upper_bound_test ========== [21:11:24] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865 [21:11:24] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037 [21:11:24] [PASSED] register_whitelist/1806527549 [21:11:24] [PASSED] register_whitelist/allow_read_ctx_timestamp [21:11:24] [PASSED] register_whitelist/allow_read_queue_timestamp [21:11:24] [PASSED] register_whitelist/16014440446 [21:11:24] [PASSED] register_whitelist/16017236439 [21:11:24] [PASSED] register_whitelist/16020183090 [21:11:24] [PASSED] register_whitelist/14024997852 [21:11:24] [PASSED] register_whitelist/14024997852 [21:11:24] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ====== [21:11:24] =============== [PASSED] xe_rtp_tables_test ================ [21:11:24] =================== xe_rtp (3 subtests) ==================== [21:11:24] =================== xe_rtp_rules_tests ==================== [21:11:24] [PASSED] no [21:11:24] [PASSED] yes [21:11:24] [PASSED] no-and-no [21:11:24] [PASSED] no-and-yes [21:11:24] [PASSED] yes-and-no [21:11:24] [PASSED] yes-and-yes [21:11:24] [PASSED] no-or-no [21:11:24] [PASSED] no-or-yes [21:11:24] [PASSED] yes-or-no [21:11:24] [PASSED] yes-or-yes [21:11:24] [PASSED] no-yes-or-yes-no [21:11:24] [PASSED] no-yes-or-yes-yes [21:11:24] [PASSED] yes-yes-or-no-yes [21:11:24] [PASSED] yes-yes-or-yes-yes [21:11:24] [PASSED] no-no-or-yes-or-no [21:11:24] [PASSED] or [21:11:24] [PASSED] or-yes [21:11:24] [PASSED] or-no [21:11:24] [PASSED] yes-or [21:11:24] [PASSED] no-or [21:11:24] [PASSED] no-or-or-yes [21:11:24] [PASSED] yes-or-or-no [21:11:24] [PASSED] no-or-or-no [21:11:24] [PASSED] missing-context-engine-class [21:11:24] [PASSED] missing-context-engine-class-or-yes [21:11:24] [PASSED] missing-context-engine-class-or-or-yes [21:11:24] =============== [PASSED] xe_rtp_rules_tests ================ [21:11:24] =============== xe_rtp_process_to_sr_tests ================ [21:11:24] [PASSED] coalesce-same-reg [21:11:24] [PASSED] coalesce-same-reg-literal-and-func [21:11:24] [PASSED] no-match-no-add [21:11:24] [PASSED] two-regs-two-entries [21:11:24] [PASSED] clr-one-set-other [21:11:24] [PASSED] set-field [21:11:24] [PASSED] conflict-duplicate [21:11:24] [PASSED] conflict-not-disjoint [21:11:24] [PASSED] conflict-not-disjoint-literal-and-func [21:11:24] [PASSED] conflict-reg-type [21:11:24] [PASSED] bad-mcr-reg-forced-to-regular [21:11:24] [PASSED] bad-regular-reg-forced-to-mcr [21:11:24] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [21:11:24] ================== xe_rtp_process_tests =================== [21:11:24] [PASSED] active1 [21:11:24] [PASSED] active2 [21:11:24] [PASSED] active-inactive [21:11:24] [PASSED] inactive-active [21:11:24] [PASSED] inactive-active-inactive [21:11:24] [PASSED] inactive-inactive-inactive [21:11:24] ============== [PASSED] xe_rtp_process_tests =============== [21:11:24] ===================== [PASSED] xe_rtp ====================== [21:11:24] ==================== xe_wa (1 subtest) ===================== [21:11:24] ======================== xe_wa_gt ========================= [21:11:24] [PASSED] TIGERLAKE B0 [21:11:24] [PASSED] DG1 A0 [21:11:24] [PASSED] DG1 B0 [21:11:24] [PASSED] ALDERLAKE_S A0 [21:11:24] [PASSED] ALDERLAKE_S B0 [21:11:24] [PASSED] ALDERLAKE_S C0 [21:11:24] [PASSED] ALDERLAKE_S D0 [21:11:24] [PASSED] ALDERLAKE_P A0 [21:11:24] [PASSED] ALDERLAKE_P B0 [21:11:24] [PASSED] ALDERLAKE_P C0 [21:11:24] [PASSED] ALDERLAKE_S RPLS D0 [21:11:24] [PASSED] ALDERLAKE_P RPLU E0 [21:11:24] [PASSED] DG2 G10 C0 [21:11:24] [PASSED] DG2 G11 B1 [21:11:24] [PASSED] DG2 G12 A1 [21:11:24] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [21:11:24] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [21:11:24] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [21:11:24] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [21:11:24] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [21:11:24] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [21:11:24] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [21:11:24] ==================== [PASSED] xe_wa_gt ===================== [21:11:24] ====================== [PASSED] xe_wa ====================== [21:11:24] ============================================================ [21:11:24] Testing complete. Ran 729 tests: passed: 711, skipped: 18 [21:11:24] Elapsed time: 36.760s total, 4.324s configuring, 31.771s building, 0.648s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [21:11:25] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [21:11:26] 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 [21:11:51] Starting KUnit Kernel (1/1)... [21:11:51] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [21:11:51] ============ drm_test_pick_cmdline (2 subtests) ============ [21:11:51] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [21:11:51] =============== drm_test_pick_cmdline_named =============== [21:11:51] [PASSED] NTSC [21:11:51] [PASSED] NTSC-J [21:11:51] [PASSED] PAL [21:11:51] [PASSED] PAL-M [21:11:51] =========== [PASSED] drm_test_pick_cmdline_named =========== [21:11:51] ============== [PASSED] drm_test_pick_cmdline ============== [21:11:51] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [21:11:51] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [21:11:51] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [21:11:51] =========== drm_validate_clone_mode (2 subtests) =========== [21:11:51] ============== drm_test_check_in_clone_mode =============== [21:11:51] [PASSED] in_clone_mode [21:11:51] [PASSED] not_in_clone_mode [21:11:51] ========== [PASSED] drm_test_check_in_clone_mode =========== [21:11:51] =============== drm_test_check_valid_clones =============== [21:11:51] [PASSED] not_in_clone_mode [21:11:51] [PASSED] valid_clone [21:11:51] [PASSED] invalid_clone [21:11:51] =========== [PASSED] drm_test_check_valid_clones =========== [21:11:51] ============= [PASSED] drm_validate_clone_mode ============= [21:11:51] ============= drm_validate_modeset (1 subtest) ============= [21:11:51] [PASSED] drm_test_check_connector_changed_modeset [21:11:51] ============== [PASSED] drm_validate_modeset =============== [21:11:51] ====== drm_test_bridge_get_current_state (2 subtests) ====== [21:11:51] [PASSED] drm_test_drm_bridge_get_current_state_atomic [21:11:51] [PASSED] drm_test_drm_bridge_get_current_state_legacy [21:11:51] ======== [PASSED] drm_test_bridge_get_current_state ======== [21:11:51] ====== drm_test_bridge_helper_reset_crtc (4 subtests) ====== [21:11:51] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [21:11:51] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [21:11:51] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [21:11:51] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts [21:11:51] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [21:11:51] ============== drm_bridge_alloc (2 subtests) =============== [21:11:51] [PASSED] drm_test_drm_bridge_alloc_basic [21:11:51] [PASSED] drm_test_drm_bridge_alloc_get_put [21:11:51] ================ [PASSED] drm_bridge_alloc ================= [21:11:51] ============= drm_bridge_bus_fmt (5 subtests) ============== [21:11:51] [PASSED] drm_test_bridge_rgb_yuv_rgb [21:11:51] [PASSED] drm_test_bridge_must_convert_to_yuv444 [21:11:51] [PASSED] drm_test_bridge_hdmi_auto_rgb [21:11:51] [PASSED] drm_test_bridge_auto_first [21:11:51] [PASSED] drm_test_bridge_rgb_yuv_no_path [21:11:51] =============== [PASSED] drm_bridge_bus_fmt ================ [21:11:51] ============= drm_cmdline_parser (40 subtests) ============= [21:11:51] [PASSED] drm_test_cmdline_force_d_only [21:11:51] [PASSED] drm_test_cmdline_force_D_only_dvi [21:11:51] [PASSED] drm_test_cmdline_force_D_only_hdmi [21:11:51] [PASSED] drm_test_cmdline_force_D_only_not_digital [21:11:51] [PASSED] drm_test_cmdline_force_e_only [21:11:51] [PASSED] drm_test_cmdline_res [21:11:51] [PASSED] drm_test_cmdline_res_vesa [21:11:51] [PASSED] drm_test_cmdline_res_vesa_rblank [21:11:51] [PASSED] drm_test_cmdline_res_rblank [21:11:51] [PASSED] drm_test_cmdline_res_bpp [21:11:51] [PASSED] drm_test_cmdline_res_refresh [21:11:51] [PASSED] drm_test_cmdline_res_bpp_refresh [21:11:51] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [21:11:51] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [21:11:51] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [21:11:51] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [21:11:51] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [21:11:51] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [21:11:51] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [21:11:51] [PASSED] drm_test_cmdline_res_margins_force_on [21:11:51] [PASSED] drm_test_cmdline_res_vesa_margins [21:11:51] [PASSED] drm_test_cmdline_name [21:11:51] [PASSED] drm_test_cmdline_name_bpp [21:11:51] [PASSED] drm_test_cmdline_name_option [21:11:51] [PASSED] drm_test_cmdline_name_bpp_option [21:11:51] [PASSED] drm_test_cmdline_rotate_0 [21:11:51] [PASSED] drm_test_cmdline_rotate_90 [21:11:51] [PASSED] drm_test_cmdline_rotate_180 [21:11:51] [PASSED] drm_test_cmdline_rotate_270 [21:11:51] [PASSED] drm_test_cmdline_hmirror [21:11:51] [PASSED] drm_test_cmdline_vmirror [21:11:51] [PASSED] drm_test_cmdline_margin_options [21:11:51] [PASSED] drm_test_cmdline_multiple_options [21:11:51] [PASSED] drm_test_cmdline_bpp_extra_and_option [21:11:51] [PASSED] drm_test_cmdline_extra_and_option [21:11:51] [PASSED] drm_test_cmdline_freestanding_options [21:11:51] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [21:11:51] [PASSED] drm_test_cmdline_panel_orientation [21:11:51] ================ drm_test_cmdline_invalid ================= [21:11:51] [PASSED] margin_only [21:11:51] [PASSED] interlace_only [21:11:51] [PASSED] res_missing_x [21:11:51] [PASSED] res_missing_y [21:11:51] [PASSED] res_bad_y [21:11:51] [PASSED] res_missing_y_bpp [21:11:51] [PASSED] res_bad_bpp [21:11:51] [PASSED] res_bad_refresh [21:11:51] [PASSED] res_bpp_refresh_force_on_off [21:11:51] [PASSED] res_invalid_mode [21:11:51] [PASSED] res_bpp_wrong_place_mode [21:11:51] [PASSED] name_bpp_refresh [21:11:51] [PASSED] name_refresh [21:11:51] [PASSED] name_refresh_wrong_mode [21:11:51] [PASSED] name_refresh_invalid_mode [21:11:51] [PASSED] rotate_multiple [21:11:51] [PASSED] rotate_invalid_val [21:11:51] [PASSED] rotate_truncated [21:11:51] [PASSED] invalid_option [21:11:51] [PASSED] invalid_tv_option [21:11:51] [PASSED] truncated_tv_option [21:11:51] ============ [PASSED] drm_test_cmdline_invalid ============= [21:11:51] =============== drm_test_cmdline_tv_options =============== [21:11:51] [PASSED] NTSC [21:11:51] [PASSED] NTSC_443 [21:11:51] [PASSED] NTSC_J [21:11:51] [PASSED] PAL [21:11:51] [PASSED] PAL_M [21:11:51] [PASSED] PAL_N [21:11:51] [PASSED] SECAM [21:11:51] [PASSED] MONO_525 [21:11:51] [PASSED] MONO_625 [21:11:51] =========== [PASSED] drm_test_cmdline_tv_options =========== [21:11:51] =============== [PASSED] drm_cmdline_parser ================ [21:11:51] ========== drmm_connector_hdmi_init (20 subtests) ========== [21:11:51] [PASSED] drm_test_connector_hdmi_init_valid [21:11:51] [PASSED] drm_test_connector_hdmi_init_bpc_8 [21:11:51] [PASSED] drm_test_connector_hdmi_init_bpc_10 [21:11:51] [PASSED] drm_test_connector_hdmi_init_bpc_12 [21:11:51] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [21:11:51] [PASSED] drm_test_connector_hdmi_init_bpc_null [21:11:51] [PASSED] drm_test_connector_hdmi_init_formats_empty [21:11:51] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [21:11:51] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [21:11:51] [PASSED] supported_formats=0x9 yuv420_allowed=1 [21:11:51] [PASSED] supported_formats=0x9 yuv420_allowed=0 [21:11:51] [PASSED] supported_formats=0x5 yuv420_allowed=1 [21:11:51] [PASSED] supported_formats=0x5 yuv420_allowed=0 [21:11:51] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [21:11:51] [PASSED] drm_test_connector_hdmi_init_null_ddc [21:11:51] [PASSED] drm_test_connector_hdmi_init_null_product [21:11:51] [PASSED] drm_test_connector_hdmi_init_null_vendor [21:11:51] [PASSED] drm_test_connector_hdmi_init_product_length_exact [21:11:51] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [21:11:51] [PASSED] drm_test_connector_hdmi_init_product_valid [21:11:51] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [21:11:51] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [21:11:51] [PASSED] drm_test_connector_hdmi_init_vendor_valid [21:11:51] ========= drm_test_connector_hdmi_init_type_valid ========= [21:11:51] [PASSED] HDMI-A [21:11:51] [PASSED] HDMI-B [21:11:51] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [21:11:51] ======== drm_test_connector_hdmi_init_type_invalid ======== [21:11:51] [PASSED] Unknown [21:11:51] [PASSED] VGA [21:11:51] [PASSED] DVI-I [21:11:51] [PASSED] DVI-D [21:11:51] [PASSED] DVI-A [21:11:51] [PASSED] Composite [21:11:51] [PASSED] SVIDEO [21:11:51] [PASSED] LVDS [21:11:51] [PASSED] Component [21:11:51] [PASSED] DIN [21:11:51] [PASSED] DP [21:11:51] [PASSED] TV [21:11:51] [PASSED] eDP [21:11:51] [PASSED] Virtual [21:11:51] [PASSED] DSI [21:11:51] [PASSED] DPI [21:11:51] [PASSED] Writeback [21:11:51] [PASSED] SPI [21:11:51] [PASSED] USB [21:11:51] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [21:11:51] ============ [PASSED] drmm_connector_hdmi_init ============= [21:11:51] ============= drmm_connector_init (3 subtests) ============= [21:11:51] [PASSED] drm_test_drmm_connector_init [21:11:51] [PASSED] drm_test_drmm_connector_init_null_ddc [21:11:51] ========= drm_test_drmm_connector_init_type_valid ========= [21:11:51] [PASSED] Unknown [21:11:51] [PASSED] VGA [21:11:51] [PASSED] DVI-I [21:11:51] [PASSED] DVI-D [21:11:51] [PASSED] DVI-A [21:11:51] [PASSED] Composite [21:11:51] [PASSED] SVIDEO [21:11:51] [PASSED] LVDS [21:11:51] [PASSED] Component [21:11:51] [PASSED] DIN [21:11:51] [PASSED] DP [21:11:51] [PASSED] HDMI-A [21:11:51] [PASSED] HDMI-B [21:11:51] [PASSED] TV [21:11:51] [PASSED] eDP [21:11:51] [PASSED] Virtual [21:11:51] [PASSED] DSI [21:11:51] [PASSED] DPI [21:11:51] [PASSED] Writeback [21:11:51] [PASSED] SPI [21:11:51] [PASSED] USB [21:11:51] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [21:11:51] =============== [PASSED] drmm_connector_init =============== [21:11:51] ========= drm_connector_dynamic_init (6 subtests) ========== [21:11:51] [PASSED] drm_test_drm_connector_dynamic_init [21:11:51] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [21:11:51] [PASSED] drm_test_drm_connector_dynamic_init_not_added [21:11:51] [PASSED] drm_test_drm_connector_dynamic_init_properties [21:11:51] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [21:11:51] [PASSED] Unknown [21:11:51] [PASSED] VGA [21:11:51] [PASSED] DVI-I [21:11:51] [PASSED] DVI-D [21:11:51] [PASSED] DVI-A [21:11:51] [PASSED] Composite [21:11:51] [PASSED] SVIDEO [21:11:51] [PASSED] LVDS [21:11:51] [PASSED] Component [21:11:51] [PASSED] DIN [21:11:51] [PASSED] DP [21:11:51] [PASSED] HDMI-A [21:11:51] [PASSED] HDMI-B [21:11:51] [PASSED] TV [21:11:51] [PASSED] eDP [21:11:51] [PASSED] Virtual [21:11:51] [PASSED] DSI [21:11:51] [PASSED] DPI [21:11:51] [PASSED] Writeback [21:11:51] [PASSED] SPI [21:11:51] [PASSED] USB [21:11:51] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [21:11:51] ======== drm_test_drm_connector_dynamic_init_name ========= [21:11:51] [PASSED] Unknown [21:11:51] [PASSED] VGA [21:11:51] [PASSED] DVI-I [21:11:51] [PASSED] DVI-D [21:11:51] [PASSED] DVI-A [21:11:51] [PASSED] Composite [21:11:51] [PASSED] SVIDEO [21:11:51] [PASSED] LVDS [21:11:51] [PASSED] Component [21:11:51] [PASSED] DIN [21:11:51] [PASSED] DP [21:11:51] [PASSED] HDMI-A [21:11:51] [PASSED] HDMI-B [21:11:51] [PASSED] TV [21:11:51] [PASSED] eDP [21:11:51] [PASSED] Virtual [21:11:51] [PASSED] DSI [21:11:51] [PASSED] DPI [21:11:51] [PASSED] Writeback [21:11:51] [PASSED] SPI [21:11:51] [PASSED] USB [21:11:51] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [21:11:51] =========== [PASSED] drm_connector_dynamic_init ============ [21:11:51] ==== drm_connector_dynamic_register_early (4 subtests) ===== [21:11:51] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [21:11:51] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [21:11:51] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [21:11:51] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [21:11:51] ====== [PASSED] drm_connector_dynamic_register_early ======= [21:11:51] ======= drm_connector_dynamic_register (7 subtests) ======== [21:11:51] [PASSED] drm_test_drm_connector_dynamic_register_on_list [21:11:51] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [21:11:51] [PASSED] drm_test_drm_connector_dynamic_register_no_init [21:11:51] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [21:11:51] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [21:11:51] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [21:11:51] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [21:11:51] ========= [PASSED] drm_connector_dynamic_register ========== [21:11:51] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [21:11:51] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [21:11:51] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [21:11:51] === [PASSED] drm_connector_attach_broadcast_rgb_property === [21:11:51] ========== drm_get_tv_mode_from_name (2 subtests) ========== [21:11:51] ========== drm_test_get_tv_mode_from_name_valid =========== [21:11:51] [PASSED] NTSC [21:11:51] [PASSED] NTSC-443 [21:11:51] [PASSED] NTSC-J [21:11:51] [PASSED] PAL [21:11:51] [PASSED] PAL-M [21:11:51] [PASSED] PAL-N [21:11:51] [PASSED] SECAM [21:11:51] [PASSED] Mono [21:11:51] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [21:11:51] [PASSED] drm_test_get_tv_mode_from_name_truncated [21:11:51] ============ [PASSED] drm_get_tv_mode_from_name ============ [21:11:51] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [21:11:51] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [21:11:51] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [21:11:51] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [21:11:51] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [21:11:51] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [21:11:51] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [21:11:51] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [21:11:51] [PASSED] VIC 96 [21:11:51] [PASSED] VIC 97 [21:11:51] [PASSED] VIC 101 [21:11:51] [PASSED] VIC 102 [21:11:51] [PASSED] VIC 106 [21:11:51] [PASSED] VIC 107 [21:11:51] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [21:11:51] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [21:11:51] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [21:11:51] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [21:11:51] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [21:11:51] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [21:11:51] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [21:11:51] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [21:11:51] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [21:11:51] [PASSED] Automatic [21:11:51] [PASSED] Full [21:11:51] [PASSED] Limited 16:235 [21:11:51] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [21:11:51] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [21:11:51] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [21:11:51] == drm_hdmi_connector_get_output_format_name (2 subtests) == [21:11:51] === drm_test_drm_hdmi_connector_get_output_format_name ==== [21:11:51] [PASSED] RGB [21:11:51] [PASSED] YUV 4:2:0 [21:11:51] [PASSED] YUV 4:2:2 [21:11:51] [PASSED] YUV 4:4:4 [21:11:51] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [21:11:51] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [21:11:51] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [21:11:51] ============= drm_damage_helper (21 subtests) ============== [21:11:51] [PASSED] drm_test_damage_iter_no_damage [21:11:51] [PASSED] drm_test_damage_iter_no_damage_fractional_src [21:11:51] [PASSED] drm_test_damage_iter_no_damage_src_moved [21:11:51] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [21:11:51] [PASSED] drm_test_damage_iter_no_damage_not_visible [21:11:51] [PASSED] drm_test_damage_iter_no_damage_no_crtc [21:11:51] [PASSED] drm_test_damage_iter_no_damage_no_fb [21:11:51] [PASSED] drm_test_damage_iter_simple_damage [21:11:51] [PASSED] drm_test_damage_iter_single_damage [21:11:51] [PASSED] drm_test_damage_iter_single_damage_intersect_src [21:11:51] [PASSED] drm_test_damage_iter_single_damage_outside_src [21:11:51] [PASSED] drm_test_damage_iter_single_damage_fractional_src [21:11:51] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [21:11:51] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [21:11:51] [PASSED] drm_test_damage_iter_single_damage_src_moved [21:11:51] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [21:11:51] [PASSED] drm_test_damage_iter_damage [21:11:51] [PASSED] drm_test_damage_iter_damage_one_intersect [21:11:51] [PASSED] drm_test_damage_iter_damage_one_outside [21:11:51] [PASSED] drm_test_damage_iter_damage_src_moved [21:11:51] [PASSED] drm_test_damage_iter_damage_not_visible [21:11:51] ================ [PASSED] drm_damage_helper ================ [21:11:51] ============== drm_dp_mst_helper (3 subtests) ============== [21:11:51] ============== drm_test_dp_mst_calc_pbn_mode ============== [21:11:51] [PASSED] Clock 154000 BPP 30 DSC disabled [21:11:51] [PASSED] Clock 234000 BPP 30 DSC disabled [21:11:51] [PASSED] Clock 297000 BPP 24 DSC disabled [21:11:51] [PASSED] Clock 332880 BPP 24 DSC enabled [21:11:51] [PASSED] Clock 324540 BPP 24 DSC enabled [21:11:51] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [21:11:51] ============== drm_test_dp_mst_calc_pbn_div =============== [21:11:51] [PASSED] Link rate 2000000 lane count 4 [21:11:51] [PASSED] Link rate 2000000 lane count 2 [21:11:51] [PASSED] Link rate 2000000 lane count 1 [21:11:51] [PASSED] Link rate 1350000 lane count 4 [21:11:51] [PASSED] Link rate 1350000 lane count 2 [21:11:51] [PASSED] Link rate 1350000 lane count 1 [21:11:51] [PASSED] Link rate 1000000 lane count 4 [21:11:51] [PASSED] Link rate 1000000 lane count 2 [21:11:51] [PASSED] Link rate 1000000 lane count 1 [21:11:51] [PASSED] Link rate 810000 lane count 4 [21:11:51] [PASSED] Link rate 810000 lane count 2 [21:11:51] [PASSED] Link rate 810000 lane count 1 [21:11:51] [PASSED] Link rate 540000 lane count 4 [21:11:51] [PASSED] Link rate 540000 lane count 2 [21:11:51] [PASSED] Link rate 540000 lane count 1 [21:11:51] [PASSED] Link rate 270000 lane count 4 [21:11:51] [PASSED] Link rate 270000 lane count 2 [21:11:51] [PASSED] Link rate 270000 lane count 1 [21:11:51] [PASSED] Link rate 162000 lane count 4 [21:11:51] [PASSED] Link rate 162000 lane count 2 [21:11:51] [PASSED] Link rate 162000 lane count 1 [21:11:51] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [21:11:51] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [21:11:51] [PASSED] DP_ENUM_PATH_RESOURCES with port number [21:11:51] [PASSED] DP_POWER_UP_PHY with port number [21:11:51] [PASSED] DP_POWER_DOWN_PHY with port number [21:11:51] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [21:11:51] [PASSED] DP_ALLOCATE_PAYLOAD with port number [21:11:51] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [21:11:51] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [21:11:51] [PASSED] DP_QUERY_PAYLOAD with port number [21:11:51] [PASSED] DP_QUERY_PAYLOAD with VCPI [21:11:51] [PASSED] DP_REMOTE_DPCD_READ with port number [21:11:51] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [21:11:51] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [21:11:51] [PASSED] DP_REMOTE_DPCD_WRITE with port number [21:11:51] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [21:11:51] [PASSED] DP_REMOTE_DPCD_WRITE with data array [21:11:51] [PASSED] DP_REMOTE_I2C_READ with port number [21:11:51] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [21:11:51] [PASSED] DP_REMOTE_I2C_READ with transactions array [21:11:51] [PASSED] DP_REMOTE_I2C_WRITE with port number [21:11:51] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [21:11:51] [PASSED] DP_REMOTE_I2C_WRITE with data array [21:11:51] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [21:11:51] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [21:11:51] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [21:11:51] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [21:11:51] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [21:11:51] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [21:11:51] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [21:11:51] ================ [PASSED] drm_dp_mst_helper ================ [21:11:51] ================== drm_exec (7 subtests) =================== [21:11:51] [PASSED] sanitycheck [21:11:51] [PASSED] test_lock [21:11:51] [PASSED] test_lock_unlock [21:11:51] [PASSED] test_duplicates [21:11:51] [PASSED] test_prepare [21:11:51] [PASSED] test_prepare_array [21:11:51] [PASSED] test_multiple_loops [21:11:51] ==================== [PASSED] drm_exec ===================== [21:11:51] =========== drm_format_helper_test (17 subtests) =========== [21:11:51] ============== drm_test_fb_xrgb8888_to_gray8 ============== [21:11:51] [PASSED] single_pixel_source_buffer [21:11:51] [PASSED] single_pixel_clip_rectangle [21:11:51] [PASSED] well_known_colors [21:11:51] [PASSED] destination_pitch [21:11:51] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [21:11:51] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [21:11:51] [PASSED] single_pixel_source_buffer [21:11:51] [PASSED] single_pixel_clip_rectangle [21:11:51] [PASSED] well_known_colors [21:11:51] [PASSED] destination_pitch [21:11:51] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [21:11:51] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [21:11:51] [PASSED] single_pixel_source_buffer [21:11:51] [PASSED] single_pixel_clip_rectangle [21:11:51] [PASSED] well_known_colors [21:11:51] [PASSED] destination_pitch [21:11:51] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [21:11:51] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [21:11:51] [PASSED] single_pixel_source_buffer [21:11:51] [PASSED] single_pixel_clip_rectangle [21:11:51] [PASSED] well_known_colors [21:11:51] [PASSED] destination_pitch [21:11:51] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [21:11:51] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [21:11:51] [PASSED] single_pixel_source_buffer [21:11:51] [PASSED] single_pixel_clip_rectangle [21:11:51] [PASSED] well_known_colors [21:11:51] [PASSED] destination_pitch [21:11:51] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [21:11:51] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [21:11:51] [PASSED] single_pixel_source_buffer [21:11:51] [PASSED] single_pixel_clip_rectangle [21:11:51] [PASSED] well_known_colors [21:11:51] [PASSED] destination_pitch [21:11:51] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [21:11:51] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [21:11:51] [PASSED] single_pixel_source_buffer [21:11:51] [PASSED] single_pixel_clip_rectangle [21:11:51] [PASSED] well_known_colors [21:11:51] [PASSED] destination_pitch [21:11:51] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [21:11:51] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [21:11:51] [PASSED] single_pixel_source_buffer [21:11:51] [PASSED] single_pixel_clip_rectangle [21:11:51] [PASSED] well_known_colors [21:11:51] [PASSED] destination_pitch [21:11:51] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [21:11:51] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [21:11:51] [PASSED] single_pixel_source_buffer [21:11:51] [PASSED] single_pixel_clip_rectangle [21:11:51] [PASSED] well_known_colors [21:11:51] [PASSED] destination_pitch [21:11:51] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [21:11:51] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [21:11:51] [PASSED] single_pixel_source_buffer [21:11:51] [PASSED] single_pixel_clip_rectangle [21:11:51] [PASSED] well_known_colors [21:11:51] [PASSED] destination_pitch [21:11:51] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [21:11:51] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [21:11:51] [PASSED] single_pixel_source_buffer [21:11:51] [PASSED] single_pixel_clip_rectangle [21:11:51] [PASSED] well_known_colors [21:11:51] [PASSED] destination_pitch [21:11:51] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [21:11:51] ============== drm_test_fb_xrgb8888_to_mono =============== [21:11:51] [PASSED] single_pixel_source_buffer [21:11:51] [PASSED] single_pixel_clip_rectangle [21:11:51] [PASSED] well_known_colors [21:11:51] [PASSED] destination_pitch [21:11:51] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [21:11:51] ==================== drm_test_fb_swab ===================== [21:11:51] [PASSED] single_pixel_source_buffer [21:11:51] [PASSED] single_pixel_clip_rectangle [21:11:51] [PASSED] well_known_colors [21:11:51] [PASSED] destination_pitch [21:11:51] ================ [PASSED] drm_test_fb_swab ================= [21:11:51] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [21:11:51] [PASSED] single_pixel_source_buffer [21:11:51] [PASSED] single_pixel_clip_rectangle [21:11:51] [PASSED] well_known_colors [21:11:51] [PASSED] destination_pitch [21:11:51] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [21:11:51] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [21:11:51] [PASSED] single_pixel_source_buffer [21:11:51] [PASSED] single_pixel_clip_rectangle [21:11:51] [PASSED] well_known_colors [21:11:51] [PASSED] destination_pitch [21:11:51] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [21:11:51] ================= drm_test_fb_clip_offset ================= [21:11:51] [PASSED] pass through [21:11:51] [PASSED] horizontal offset [21:11:51] [PASSED] vertical offset [21:11:51] [PASSED] horizontal and vertical offset [21:11:51] [PASSED] horizontal offset (custom pitch) [21:11:51] [PASSED] vertical offset (custom pitch) [21:11:51] [PASSED] horizontal and vertical offset (custom pitch) [21:11:51] ============= [PASSED] drm_test_fb_clip_offset ============= [21:11:51] =================== drm_test_fb_memcpy ==================== [21:11:51] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [21:11:51] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [21:11:51] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [21:11:51] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [21:11:51] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [21:11:51] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [21:11:51] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [21:11:51] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [21:11:51] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [21:11:51] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [21:11:51] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [21:11:51] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [21:11:51] =============== [PASSED] drm_test_fb_memcpy ================ [21:11:51] ============= [PASSED] drm_format_helper_test ============== [21:11:51] ================= drm_format (18 subtests) ================= [21:11:51] [PASSED] drm_test_format_block_width_invalid [21:11:51] [PASSED] drm_test_format_block_width_one_plane [21:11:51] [PASSED] drm_test_format_block_width_two_plane [21:11:51] [PASSED] drm_test_format_block_width_three_plane [21:11:51] [PASSED] drm_test_format_block_width_tiled [21:11:51] [PASSED] drm_test_format_block_height_invalid [21:11:51] [PASSED] drm_test_format_block_height_one_plane [21:11:51] [PASSED] drm_test_format_block_height_two_plane [21:11:51] [PASSED] drm_test_format_block_height_three_plane [21:11:51] [PASSED] drm_test_format_block_height_tiled [21:11:51] [PASSED] drm_test_format_min_pitch_invalid [21:11:51] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [21:11:51] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [21:11:51] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [21:11:51] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [21:11:51] [PASSED] drm_test_format_min_pitch_two_plane [21:11:51] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [21:11:51] [PASSED] drm_test_format_min_pitch_tiled [21:11:51] =================== [PASSED] drm_format ==================== [21:11:51] ============== drm_framebuffer (10 subtests) =============== [21:11:51] ========== drm_test_framebuffer_check_src_coords ========== [21:11:51] [PASSED] Success: source fits into fb [21:11:51] [PASSED] Fail: overflowing fb with x-axis coordinate [21:11:51] [PASSED] Fail: overflowing fb with y-axis coordinate [21:11:51] [PASSED] Fail: overflowing fb with source width [21:11:51] [PASSED] Fail: overflowing fb with source height [21:11:51] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [21:11:51] [PASSED] drm_test_framebuffer_cleanup [21:11:51] =============== drm_test_framebuffer_create =============== [21:11:51] [PASSED] ABGR8888 normal sizes [21:11:51] [PASSED] ABGR8888 max sizes [21:11:51] [PASSED] ABGR8888 pitch greater than min required [21:11:51] [PASSED] ABGR8888 pitch less than min required [21:11:51] [PASSED] ABGR8888 Invalid width [21:11:51] [PASSED] ABGR8888 Invalid buffer handle [21:11:51] [PASSED] No pixel format [21:11:51] [PASSED] ABGR8888 Width 0 [21:11:51] [PASSED] ABGR8888 Height 0 [21:11:51] [PASSED] ABGR8888 Out of bound height * pitch combination [21:11:51] [PASSED] ABGR8888 Large buffer offset [21:11:51] [PASSED] ABGR8888 Buffer offset for inexistent plane [21:11:51] [PASSED] ABGR8888 Invalid flag [21:11:51] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [21:11:51] [PASSED] ABGR8888 Valid buffer modifier [21:11:51] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [21:11:51] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [21:11:51] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [21:11:51] [PASSED] NV12 Normal sizes [21:11:51] [PASSED] NV12 Max sizes [21:11:51] [PASSED] NV12 Invalid pitch [21:11:51] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [21:11:51] [PASSED] NV12 different modifier per-plane [21:11:51] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [21:11:51] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [21:11:51] [PASSED] NV12 Modifier for inexistent plane [21:11:51] [PASSED] NV12 Handle for inexistent plane [21:11:51] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [21:11:51] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [21:11:51] [PASSED] YVU420 Normal sizes [21:11:51] [PASSED] YVU420 Max sizes [21:11:51] [PASSED] YVU420 Invalid pitch [21:11:51] [PASSED] YVU420 Different pitches [21:11:51] [PASSED] YVU420 Different buffer offsets/pitches [21:11:51] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [21:11:51] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [21:11:51] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [21:11:51] [PASSED] YVU420 Valid modifier [21:11:51] [PASSED] YVU420 Different modifiers per plane [21:11:51] [PASSED] YVU420 Modifier for inexistent plane [21:11:51] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [21:11:51] [PASSED] X0L2 Normal sizes [21:11:51] [PASSED] X0L2 Max sizes [21:11:51] [PASSED] X0L2 Invalid pitch [21:11:51] [PASSED] X0L2 Pitch greater than minimum required [21:11:51] [PASSED] X0L2 Handle for inexistent plane [21:11:51] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [21:11:51] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [21:11:51] [PASSED] X0L2 Valid modifier [21:11:51] [PASSED] X0L2 Modifier for inexistent plane [21:11:51] =========== [PASSED] drm_test_framebuffer_create =========== [21:11:51] [PASSED] drm_test_framebuffer_free [21:11:51] [PASSED] drm_test_framebuffer_init [21:11:51] [PASSED] drm_test_framebuffer_init_bad_format [21:11:51] [PASSED] drm_test_framebuffer_init_dev_mismatch [21:11:51] [PASSED] drm_test_framebuffer_lookup [21:11:51] [PASSED] drm_test_framebuffer_lookup_inexistent [21:11:51] [PASSED] drm_test_framebuffer_modifiers_not_supported [21:11:51] ================= [PASSED] drm_framebuffer ================= [21:11:51] ================ drm_gem_shmem (8 subtests) ================ [21:11:51] [PASSED] drm_gem_shmem_test_obj_create [21:11:51] [PASSED] drm_gem_shmem_test_obj_create_private [21:11:51] [PASSED] drm_gem_shmem_test_pin_pages [21:11:51] [PASSED] drm_gem_shmem_test_vmap [21:11:51] [PASSED] drm_gem_shmem_test_get_sg_table [21:11:51] [PASSED] drm_gem_shmem_test_get_pages_sgt [21:11:51] [PASSED] drm_gem_shmem_test_madvise [21:11:51] [PASSED] drm_gem_shmem_test_purge [21:11:51] ================== [PASSED] drm_gem_shmem ================== [21:11:51] === drm_atomic_helper_connector_hdmi_check (29 subtests) === [21:11:51] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [21:11:51] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [21:11:51] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [21:11:51] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [21:11:51] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [21:11:51] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [21:11:51] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [21:11:51] [PASSED] Automatic [21:11:51] [PASSED] Full [21:11:51] [PASSED] Limited 16:235 [21:11:51] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [21:11:51] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [21:11:51] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [21:11:51] [PASSED] drm_test_check_disable_connector [21:11:51] [PASSED] drm_test_check_hdmi_funcs_reject_rate [21:11:51] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [21:11:51] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [21:11:51] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [21:11:51] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [21:11:51] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [21:11:51] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [21:11:51] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [21:11:51] [PASSED] drm_test_check_output_bpc_dvi [21:11:51] [PASSED] drm_test_check_output_bpc_format_vic_1 [21:11:51] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [21:11:51] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [21:11:51] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [21:11:51] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [21:11:51] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [21:11:51] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [21:11:51] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [21:11:51] ============ drm_test_check_hdmi_color_format ============= [21:11:51] [PASSED] AUTO -> RGB [21:11:51] [PASSED] YCBCR422 -> YUV422 [21:11:51] [PASSED] YCBCR420 -> YUV420 [21:11:51] [PASSED] YCBCR444 -> YUV444 [21:11:51] [PASSED] RGB -> RGB [21:11:51] ======== [PASSED] drm_test_check_hdmi_color_format ========= [21:11:51] ======== drm_test_check_hdmi_color_format_420_only ======== [21:11:51] [PASSED] RGB should fail [21:11:51] [PASSED] YUV444 should fail [21:11:51] [PASSED] YUV422 should fail [21:11:51] [PASSED] YUV420 should work [21:11:51] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ==== [21:11:51] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [21:11:51] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [21:11:51] [PASSED] drm_test_check_broadcast_rgb_value [21:11:51] [PASSED] drm_test_check_bpc_8_value [21:11:51] [PASSED] drm_test_check_bpc_10_value [21:11:51] [PASSED] drm_test_check_bpc_12_value [21:11:51] [PASSED] drm_test_check_format_value [21:11:51] [PASSED] drm_test_check_tmds_char_value [21:11:51] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [21:11:51] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) = [21:11:51] [PASSED] drm_test_check_mode_valid [21:11:51] [PASSED] drm_test_check_mode_valid_reject [21:11:51] [PASSED] drm_test_check_mode_valid_reject_rate [21:11:51] [PASSED] drm_test_check_mode_valid_reject_max_clock [21:11:51] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock [21:11:51] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector [21:11:51] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb [21:11:51] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [21:11:51] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [21:11:51] [PASSED] drm_test_check_infoframes [21:11:51] [PASSED] drm_test_check_reject_avi_infoframe [21:11:51] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [21:11:51] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [21:11:51] [PASSED] drm_test_check_reject_audio_infoframe [21:11:51] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [21:11:51] ================= drm_managed (2 subtests) ================= [21:11:51] [PASSED] drm_test_managed_release_action [21:11:51] [PASSED] drm_test_managed_run_action [21:11:51] =================== [PASSED] drm_managed =================== [21:11:51] =================== drm_mm (6 subtests) ==================== [21:11:51] [PASSED] drm_test_mm_init [21:11:51] [PASSED] drm_test_mm_debug [21:11:51] [PASSED] drm_test_mm_align32 [21:11:51] [PASSED] drm_test_mm_align64 [21:11:51] [PASSED] drm_test_mm_lowest [21:11:51] [PASSED] drm_test_mm_highest [21:11:51] ===================== [PASSED] drm_mm ====================== [21:11:51] ============= drm_modes_analog_tv (5 subtests) ============= [21:11:51] [PASSED] drm_test_modes_analog_tv_mono_576i [21:11:51] [PASSED] drm_test_modes_analog_tv_ntsc_480i [21:11:51] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [21:11:51] [PASSED] drm_test_modes_analog_tv_pal_576i [21:11:51] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [21:11:51] =============== [PASSED] drm_modes_analog_tv =============== [21:11:51] ============== drm_plane_helper (2 subtests) =============== [21:11:51] =============== drm_test_check_plane_state ================ [21:11:51] [PASSED] clipping_simple [21:11:51] [PASSED] clipping_rotate_reflect [21:11:51] [PASSED] positioning_simple [21:11:51] [PASSED] upscaling [21:11:51] [PASSED] downscaling [21:11:51] [PASSED] rounding1 [21:11:51] [PASSED] rounding2 [21:11:51] [PASSED] rounding3 [21:11:51] [PASSED] rounding4 [21:11:51] =========== [PASSED] drm_test_check_plane_state ============ [21:11:51] =========== drm_test_check_invalid_plane_state ============ [21:11:51] [PASSED] positioning_invalid [21:11:51] [PASSED] upscaling_invalid [21:11:51] [PASSED] downscaling_invalid [21:11:51] ======= [PASSED] drm_test_check_invalid_plane_state ======== [21:11:51] ================ [PASSED] drm_plane_helper ================= [21:11:51] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [21:11:51] ====== drm_test_connector_helper_tv_get_modes_check ======= [21:11:51] [PASSED] None [21:11:51] [PASSED] PAL [21:11:51] [PASSED] NTSC [21:11:51] [PASSED] Both, NTSC Default [21:11:51] [PASSED] Both, PAL Default [21:11:51] [PASSED] Both, NTSC Default, with PAL on command-line [21:11:51] [PASSED] Both, PAL Default, with NTSC on command-line [21:11:51] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [21:11:51] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [21:11:51] ================== drm_rect (9 subtests) =================== [21:11:51] [PASSED] drm_test_rect_clip_scaled_div_by_zero [21:11:51] [PASSED] drm_test_rect_clip_scaled_not_clipped [21:11:51] [PASSED] drm_test_rect_clip_scaled_clipped [21:11:51] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [21:11:51] ================= drm_test_rect_intersect ================= [21:11:51] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [21:11:51] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [21:11:51] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [21:11:51] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [21:11:51] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [21:11:51] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [21:11:51] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [21:11:51] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [21:11:51] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [21:11:51] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [21:11:51] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [21:11:51] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [21:11:51] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [21:11:51] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [21:11:51] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [21:11:51] ============= [PASSED] drm_test_rect_intersect ============= [21:11:51] ================ drm_test_rect_calc_hscale ================ [21:11:51] [PASSED] normal use [21:11:51] [PASSED] out of max range [21:11:51] [PASSED] out of min range [21:11:51] [PASSED] zero dst [21:11:51] [PASSED] negative src [21:11:51] [PASSED] negative dst [21:11:51] ============ [PASSED] drm_test_rect_calc_hscale ============ [21:11:51] ================ drm_test_rect_calc_vscale ================ [21:11:51] [PASSED] normal use [21:11:51] [PASSED] out of max range [21:11:51] [PASSED] out of min range [21:11:51] [PASSED] zero dst [21:11:51] [PASSED] negative src [21:11:51] [PASSED] negative dst [21:11:51] ============ [PASSED] drm_test_rect_calc_vscale ============ [21:11:51] ================== drm_test_rect_rotate =================== [21:11:51] [PASSED] reflect-x [21:11:51] [PASSED] reflect-y [21:11:51] [PASSED] rotate-0 [21:11:51] [PASSED] rotate-90 [21:11:51] [PASSED] rotate-180 [21:11:51] [PASSED] rotate-270 [21:11:51] ============== [PASSED] drm_test_rect_rotate =============== [21:11:51] ================ drm_test_rect_rotate_inv ================= [21:11:51] [PASSED] reflect-x [21:11:51] [PASSED] reflect-y [21:11:51] [PASSED] rotate-0 [21:11:51] [PASSED] rotate-90 [21:11:51] [PASSED] rotate-180 [21:11:51] [PASSED] rotate-270 [21:11:51] ============ [PASSED] drm_test_rect_rotate_inv ============= [21:11:51] ==================== [PASSED] drm_rect ===================== [21:11:51] ============ drm_sysfb_modeset_test (1 subtest) ============ [21:11:51] ============ drm_test_sysfb_build_fourcc_list ============= [21:11:51] [PASSED] no native formats [21:11:51] [PASSED] XRGB8888 as native format [21:11:51] [PASSED] remove duplicates [21:11:51] [PASSED] convert alpha formats [21:11:51] [PASSED] random formats [21:11:51] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [21:11:51] ============= [PASSED] drm_sysfb_modeset_test ============== [21:11:51] ================== drm_fixp (2 subtests) =================== [21:11:51] [PASSED] drm_test_int2fixp [21:11:51] [PASSED] drm_test_sm2fixp [21:11:51] ==================== [PASSED] drm_fixp ===================== [21:11:51] ============================================================ [21:11:51] Testing complete. Ran 639 tests: passed: 639 [21:11:51] Elapsed time: 26.361s total, 1.760s configuring, 24.434s building, 0.151s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [21:11:51] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [21:11:53] 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 [21:12:03] Starting KUnit Kernel (1/1)... [21:12:03] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [21:12:03] ================= ttm_device (5 subtests) ================== [21:12:03] [PASSED] ttm_device_init_basic [21:12:03] [PASSED] ttm_device_init_multiple [21:12:03] [PASSED] ttm_device_fini_basic [21:12:03] [PASSED] ttm_device_init_no_vma_man [21:12:03] ================== ttm_device_init_pools ================== [21:12:03] [PASSED] No DMA allocations, no DMA32 required [21:12:03] [PASSED] DMA allocations, DMA32 required [21:12:03] [PASSED] No DMA allocations, DMA32 required [21:12:03] [PASSED] DMA allocations, no DMA32 required [21:12:03] ============== [PASSED] ttm_device_init_pools ============== [21:12:03] =================== [PASSED] ttm_device ==================== [21:12:03] ================== ttm_pool (8 subtests) =================== [21:12:03] ================== ttm_pool_alloc_basic =================== [21:12:03] [PASSED] One page [21:12:03] [PASSED] More than one page [21:12:03] [PASSED] Above the allocation limit [21:12:03] [PASSED] One page, with coherent DMA mappings enabled [21:12:03] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [21:12:03] ============== [PASSED] ttm_pool_alloc_basic =============== [21:12:03] ============== ttm_pool_alloc_basic_dma_addr ============== [21:12:03] [PASSED] One page [21:12:03] [PASSED] More than one page [21:12:03] [PASSED] Above the allocation limit [21:12:03] [PASSED] One page, with coherent DMA mappings enabled [21:12:03] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [21:12:03] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [21:12:03] [PASSED] ttm_pool_alloc_order_caching_match [21:12:03] [PASSED] ttm_pool_alloc_caching_mismatch [21:12:03] [PASSED] ttm_pool_alloc_order_mismatch [21:12:03] [PASSED] ttm_pool_free_dma_alloc [21:12:03] [PASSED] ttm_pool_free_no_dma_alloc [21:12:03] [PASSED] ttm_pool_fini_basic [21:12:03] ==================== [PASSED] ttm_pool ===================== [21:12:03] ================ ttm_resource (8 subtests) ================= [21:12:03] ================= ttm_resource_init_basic ================= [21:12:03] [PASSED] Init resource in TTM_PL_SYSTEM [21:12:03] [PASSED] Init resource in TTM_PL_VRAM [21:12:03] [PASSED] Init resource in a private placement [21:12:03] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [21:12:03] ============= [PASSED] ttm_resource_init_basic ============= [21:12:03] [PASSED] ttm_resource_init_pinned [21:12:03] [PASSED] ttm_resource_fini_basic [21:12:03] [PASSED] ttm_resource_manager_init_basic [21:12:03] [PASSED] ttm_resource_manager_usage_basic [21:12:03] [PASSED] ttm_resource_manager_set_used_basic [21:12:03] [PASSED] ttm_sys_man_alloc_basic [21:12:03] [PASSED] ttm_sys_man_free_basic [21:12:03] ================== [PASSED] ttm_resource =================== [21:12:03] =================== ttm_tt (15 subtests) =================== [21:12:03] ==================== ttm_tt_init_basic ==================== [21:12:03] [PASSED] Page-aligned size [21:12:03] [PASSED] Extra pages requested [21:12:03] ================ [PASSED] ttm_tt_init_basic ================ [21:12:03] [PASSED] ttm_tt_init_misaligned [21:12:03] [PASSED] ttm_tt_fini_basic [21:12:03] [PASSED] ttm_tt_fini_sg [21:12:03] [PASSED] ttm_tt_fini_shmem [21:12:03] [PASSED] ttm_tt_create_basic [21:12:03] [PASSED] ttm_tt_create_invalid_bo_type [21:12:03] [PASSED] ttm_tt_create_ttm_exists [21:12:03] [PASSED] ttm_tt_create_failed [21:12:03] [PASSED] ttm_tt_destroy_basic [21:12:03] [PASSED] ttm_tt_populate_null_ttm [21:12:03] [PASSED] ttm_tt_populate_populated_ttm [21:12:03] [PASSED] ttm_tt_unpopulate_basic [21:12:03] [PASSED] ttm_tt_unpopulate_empty_ttm [21:12:03] [PASSED] ttm_tt_swapin_basic [21:12:03] ===================== [PASSED] ttm_tt ====================== [21:12:03] =================== ttm_bo (14 subtests) =================== [21:12:03] =========== ttm_bo_reserve_optimistic_no_ticket =========== [21:12:03] [PASSED] Cannot be interrupted and sleeps [21:12:03] [PASSED] Cannot be interrupted, locks straight away [21:12:03] [PASSED] Can be interrupted, sleeps [21:12:03] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [21:12:03] [PASSED] ttm_bo_reserve_locked_no_sleep [21:12:03] [PASSED] ttm_bo_reserve_no_wait_ticket [21:12:03] [PASSED] ttm_bo_reserve_double_resv [21:12:03] [PASSED] ttm_bo_reserve_interrupted [21:12:03] [PASSED] ttm_bo_reserve_deadlock [21:12:03] [PASSED] ttm_bo_unreserve_basic [21:12:03] [PASSED] ttm_bo_unreserve_pinned [21:12:03] [PASSED] ttm_bo_unreserve_bulk [21:12:03] [PASSED] ttm_bo_fini_basic [21:12:03] [PASSED] ttm_bo_fini_shared_resv [21:12:03] [PASSED] ttm_bo_pin_basic [21:12:03] [PASSED] ttm_bo_pin_unpin_resource [21:12:03] [PASSED] ttm_bo_multiple_pin_one_unpin [21:12:03] ===================== [PASSED] ttm_bo ====================== [21:12:03] ============== ttm_bo_validate (22 subtests) =============== [21:12:03] ============== ttm_bo_init_reserved_sys_man =============== [21:12:03] [PASSED] Buffer object for userspace [21:12:03] [PASSED] Kernel buffer object [21:12:03] [PASSED] Shared buffer object [21:12:03] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [21:12:03] ============== ttm_bo_init_reserved_mock_man ============== [21:12:03] [PASSED] Buffer object for userspace [21:12:03] [PASSED] Kernel buffer object [21:12:03] [PASSED] Shared buffer object [21:12:03] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [21:12:03] [PASSED] ttm_bo_init_reserved_resv [21:12:03] ================== ttm_bo_validate_basic ================== [21:12:03] [PASSED] Buffer object for userspace [21:12:03] [PASSED] Kernel buffer object [21:12:03] [PASSED] Shared buffer object [21:12:03] ============== [PASSED] ttm_bo_validate_basic ============== [21:12:03] [PASSED] ttm_bo_validate_invalid_placement [21:12:03] ============= ttm_bo_validate_same_placement ============== [21:12:03] [PASSED] System manager [21:12:03] [PASSED] VRAM manager [21:12:03] ========= [PASSED] ttm_bo_validate_same_placement ========== [21:12:03] [PASSED] ttm_bo_validate_failed_alloc [21:12:03] [PASSED] ttm_bo_validate_pinned [21:12:03] [PASSED] ttm_bo_validate_busy_placement [21:12:03] ================ ttm_bo_validate_multihop ================= [21:12:03] [PASSED] Buffer object for userspace [21:12:03] [PASSED] Kernel buffer object [21:12:03] [PASSED] Shared buffer object [21:12:03] ============ [PASSED] ttm_bo_validate_multihop ============= [21:12:03] ========== ttm_bo_validate_no_placement_signaled ========== [21:12:03] [PASSED] Buffer object in system domain, no page vector [21:12:03] [PASSED] Buffer object in system domain with an existing page vector [21:12:03] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [21:12:03] ======== ttm_bo_validate_no_placement_not_signaled ======== [21:12:03] [PASSED] Buffer object for userspace [21:12:03] [PASSED] Kernel buffer object [21:12:03] [PASSED] Shared buffer object [21:12:03] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [21:12:03] [PASSED] ttm_bo_validate_move_fence_signaled [21:12:03] ========= ttm_bo_validate_move_fence_not_signaled ========= [21:12:03] [PASSED] Waits for GPU [21:12:03] [PASSED] Tries to lock straight away [21:12:03] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [21:12:03] [PASSED] ttm_bo_validate_swapout [21:12:03] [PASSED] ttm_bo_validate_happy_evict [21:12:03] [PASSED] ttm_bo_validate_all_pinned_evict [21:12:03] [PASSED] ttm_bo_validate_allowed_only_evict [21:12:03] [PASSED] ttm_bo_validate_deleted_evict [21:12:03] [PASSED] ttm_bo_validate_busy_domain_evict [21:12:03] [PASSED] ttm_bo_validate_evict_gutting [21:12:03] [PASSED] ttm_bo_validate_recrusive_evict [21:12:03] ================= [PASSED] ttm_bo_validate ================= [21:12:03] ============================================================ [21:12:03] Testing complete. Ran 102 tests: passed: 102 [21:12:03] Elapsed time: 11.990s total, 1.775s configuring, 9.950s building, 0.221s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✗ Xe.CI.BAT: failure for drm/xe/configfs: Add disable_multi_queue attribute
In reply to Shuicheng Lin== Series Details ==
== Series Details ==
Series: drm/xe/configfs: Add disable_multi_queue attribute
URL : https://patchwork.freedesktop.org/series/169651/
State : failure
== Summary ==
ERROR: The runconfig 'xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72_BAT' does not exist in the database
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/index.html
Patchwork
CI✗ Xe.CI.FULL: failure for drm/xe/configfs: Add disable_multi_queue attribute
In reply to Shuicheng Lin== Series Details ==
== Series Details ==
Series: drm/xe/configfs: Add disable_multi_queue attribute
URL : https://patchwork.freedesktop.org/series/169651/
State : failure
== Summary ==
CI Bug Log - changes from xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72_FULL -> xe-pw-169651v1_FULL
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-169651v1_FULL absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-169651v1_FULL, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in xe-pw-169651v1_FULL:
### IGT changes ###
#### Possible regressions ####
* igt@kms_universal_plane@universal-plane-functional:
- shard-bmg: [PASS][1] -> [FAIL][2] +1 other test fail
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-bmg-3/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-5/igt@[email protected]
Known issues
------------
Here are the changes found in xe-pw-169651v1_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_addfb_basic@invalid-smem-bo-on-discrete:
- shard-lnl: NOTRUN -> [SKIP][3] ([Intel XE#3157])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@kms_addfb_basic@unused-pitches:
- shard-lnl: [PASS][4] -> [ABORT][5] ([Intel XE#8007])
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-lnl-6/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-1/igt@[email protected]
* igt@kms_big_fb@linear-max-hw-stride-32bpp-rotate-0-hflip:
- shard-bmg: NOTRUN -> [SKIP][6] ([Intel XE#7059] / [Intel XE#7085])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@kms_big_fb@x-tiled-64bpp-rotate-270:
- shard-bmg: NOTRUN -> [SKIP][7] ([Intel XE#2327])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@kms_big_fb@y-tiled-32bpp-rotate-90:
- shard-lnl: NOTRUN -> [SKIP][8] ([Intel XE#1124]) +1 other test skip
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@kms_big_fb@y-tiled-8bpp-rotate-270:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#1124]) +4 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@kms_bw@linear-tiling-4-displays-target-2560x1440p:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#367]) +2 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
- shard-lnl: NOTRUN -> [SKIP][11] ([Intel XE#8365])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@kms_ccs@bad-aux-stride-yf-tiled-ccs:
- shard-bmg: NOTRUN -> [SKIP][12] ([Intel XE#2887]) +4 other tests skip
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@kms_cdclk@mode-transition:
- shard-bmg: NOTRUN -> [SKIP][13] ([Intel XE#2724] / [Intel XE#7449])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@kms_chamelium_audio@dp-audio:
- shard-lnl: NOTRUN -> [SKIP][14] ([Intel XE#373]) +1 other test skip
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@kms_chamelium_color@ctm-negative:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#2325] / [Intel XE#7358])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@kms_chamelium_hpd@dp-hpd-after-suspend:
- shard-bmg: NOTRUN -> [SKIP][16] ([Intel XE#2252]) +1 other test skip
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@kms_content_protection@lic-type-1:
- shard-lnl: NOTRUN -> [SKIP][17] ([Intel XE#7642])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][18] ([Intel XE#7642])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@kms_cursor_crc@cursor-offscreen-512x512:
- shard-lnl: NOTRUN -> [SKIP][19] ([Intel XE#2321] / [Intel XE#7355])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#2321] / [Intel XE#7355]) +1 other test skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@kms_cursor_crc@cursor-sliding-256x85:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#2320]) +2 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
- shard-lnl: NOTRUN -> [SKIP][22] ([Intel XE#1424])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic:
- shard-lnl: NOTRUN -> [SKIP][23] ([Intel XE#309] / [Intel XE#7343])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@kms_dsc@dsc-with-bpc-bigjoiner:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#8265])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
- shard-lnl: NOTRUN -> [SKIP][25] ([Intel XE#8265])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@kms_flip@2x-modeset-vs-vblank-race:
- shard-lnl: NOTRUN -> [SKIP][26] ([Intel XE#1421])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@b-edp1:
- shard-lnl: [PASS][27] -> [FAIL][28] ([Intel XE#301])
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-lnl-8/igt@kms_flip@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-4/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@c-edp1:
- shard-lnl: [PASS][29] -> [FAIL][30] ([Intel XE#301] / [Intel XE#3149])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-lnl-8/igt@kms_flip@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-4/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-downscaling:
- shard-lnl: NOTRUN -> [SKIP][31] ([Intel XE#7178] / [Intel XE#7351]) +1 other test skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-downscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling:
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#7178] / [Intel XE#7349])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#7178] / [Intel XE#7351]) +1 other test skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling.html
* igt@kms_force_connector_basic@force-edid:
- shard-lnl: NOTRUN -> [SKIP][34] ([Intel XE#352])
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@drrs-abgr161616f-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][35] ([Intel XE#7061] / [Intel XE#7356])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-pri-shrfb-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][36] ([Intel XE#6312]) +2 other tests skip
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@kms_frontbuffer_tracking@drrshdr-1p-primscrn-pri-shrfb-draw-blt.html
* igt@kms_frontbuffer_tracking@drrshdr-slowdraw:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#2311]) +22 other tests skip
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][38] ([Intel XE#4141]) +4 other tests skip
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-indfb-pgflip-blt:
- shard-lnl: NOTRUN -> [SKIP][39] ([Intel XE#656] / [Intel XE#7905]) +4 other tests skip
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-shrfb-pgflip-blt:
- shard-lnl: NOTRUN -> [SKIP][40] ([Intel XE#6312] / [Intel XE#651]) +2 other tests skip
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-shrfb-pgflip-blt.html
* igt@kms_frontbuffer_tracking@fbcdrrs-abgr161616f-draw-render:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#7061] / [Intel XE#7356]) +2 other tests skip
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrshdr-abgr161616f-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#7061]) +3 other tests skip
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbchdr-2p-scndscrn-spr-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][43] ([Intel XE#7905]) +10 other tests skip
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@kms_frontbuffer_tracking@fbchdr-2p-scndscrn-spr-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcpsrhdr-abgr161616f-draw-render:
- shard-lnl: NOTRUN -> [SKIP][44] ([Intel XE#7061])
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-offscreen-pri-shrfb-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][45] ([Intel XE#2313]) +27 other tests skip
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@kms_frontbuffer_tracking@psr-1p-offscreen-pri-shrfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@psrhdr-rgb101010-draw-render:
- shard-lnl: NOTRUN -> [SKIP][46] ([Intel XE#7865]) +4 other tests skip
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@kms_joiner@basic-ultra-joiner:
- shard-bmg: NOTRUN -> [SKIP][47] ([Intel XE#6911] / [Intel XE#7378])
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@kms_plane@pixel-format-4-tiled-mtl-rc-ccs-modifier:
- shard-lnl: NOTRUN -> [SKIP][48] ([Intel XE#7283])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][49] ([Intel XE#7283])
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@kms_plane_lowres@tiling-yf:
- shard-bmg: NOTRUN -> [SKIP][50] ([Intel XE#2393])
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-75@pipe-b:
- shard-bmg: NOTRUN -> [SKIP][51] ([Intel XE#2763] / [Intel XE#6886]) +4 other tests skip
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@kms_plane_scaling@[email protected]
* igt@kms_pm_rpm@dpms-non-lpsp:
- shard-lnl: NOTRUN -> [SKIP][52] ([Intel XE#1439] / [Intel XE#3141] / [Intel XE#7383])
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@kms_psr2_sf@pr-plane-move-sf-dmg-area:
- shard-lnl: NOTRUN -> [SKIP][53] ([Intel XE#2893] / [Intel XE#7304])
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@kms_psr2_sf@psr2-primary-plane-update-sf-dmg-area-big-fb:
- shard-bmg: NOTRUN -> [SKIP][54] ([Intel XE#1489]) +2 other tests skip
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@kms_psr2_su@page_flip-p010:
- shard-lnl: NOTRUN -> [SKIP][55] ([Intel XE#1128] / [Intel XE#7413])
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@kms_psr2_su@page_flip-p010.html
- shard-bmg: NOTRUN -> [SKIP][56] ([Intel XE#2387] / [Intel XE#7429])
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@kms_psr2_su@page_flip-p010.html
* igt@kms_psr@fbc-psr2-cursor-plane-onoff:
- shard-lnl: NOTRUN -> [SKIP][57] ([Intel XE#1406] / [Intel XE#7345])
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@kms_psr@fbc-psr2-cursor-plane-onoff@edp-1:
- shard-lnl: NOTRUN -> [SKIP][58] ([Intel XE#1406] / [Intel XE#4609])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@kms_psr@[email protected]
* igt@kms_psr@psr-no-drrs:
- shard-bmg: NOTRUN -> [SKIP][59] ([Intel XE#2234] / [Intel XE#2850]) +2 other tests skip
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@kms_psr@psr2-primary-render:
- shard-bmg: NOTRUN -> [SKIP][60] ([Intel XE#2234])
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@kms_setmode@invalid-clone-single-crtc:
- shard-lnl: NOTRUN -> [SKIP][61] ([Intel XE#1435])
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@kms_sharpness_filter@filter-tap:
- shard-bmg: NOTRUN -> [SKIP][62] ([Intel XE#6503]) +1 other test skip
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: NOTRUN -> [SKIP][63] ([Intel XE#2426] / [Intel XE#5848])
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@kms_vrr@seamless-rr-switch-virtual@pipe-a-edp-1:
- shard-lnl: [PASS][64] -> [FAIL][65] ([Intel XE#2142]) +1 other test fail
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-lnl-2/igt@kms_vrr@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-4/igt@kms_vrr@[email protected]
* igt@xe_eudebug@basic-vm-access:
- shard-lnl: NOTRUN -> [SKIP][66] ([Intel XE#7636]) +3 other tests skip
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@xe_eudebug@basic-vm-access-userptr:
- shard-bmg: NOTRUN -> [SKIP][67] ([Intel XE#7636]) +7 other tests skip
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@xe_evict@evict-mixed-many-threads-small:
- shard-bmg: [PASS][68] -> [INCOMPLETE][69] ([Intel XE#6321] / [Intel XE#8355])
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-bmg-8/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@xe_evict@evict-small-external-cm:
- shard-lnl: NOTRUN -> [SKIP][70] ([Intel XE#6540] / [Intel XE#688]) +1 other test skip
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@xe_evict@evict-small-multi-queue:
- shard-bmg: NOTRUN -> [SKIP][71] ([Intel XE#8370])
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@xe_exec_balancer@many-virtual-userptr-invalidate:
- shard-lnl: NOTRUN -> [SKIP][72] ([Intel XE#7482]) +1 other test skip
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-invalidate:
- shard-bmg: NOTRUN -> [SKIP][73] ([Intel XE#2322] / [Intel XE#7372]) +5 other tests skip
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-invalidate.html
* igt@xe_exec_basic@multigpu-once-userptr-invalidate:
- shard-lnl: NOTRUN -> [SKIP][74] ([Intel XE#1392]) +1 other test skip
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@xe_exec_fault_mode@once-multi-queue-userptr-invalidate-prefetch:
- shard-bmg: NOTRUN -> [SKIP][75] ([Intel XE#8374]) +5 other tests skip
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@xe_exec_fault_mode@once-multi-queue-userptr-invalidate-prefetch.html
* igt@xe_exec_fault_mode@once-multi-queue-userptr-invalidate-race-imm:
- shard-lnl: NOTRUN -> [SKIP][76] ([Intel XE#8374]) +1 other test skip
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@xe_exec_fault_mode@once-multi-queue-userptr-invalidate-race-imm.html
* igt@xe_exec_fault_mode@once-rebind-prefetch:
- shard-bmg: [PASS][77] -> [ABORT][78] ([Intel XE#5545] / [Intel XE#6652] / [Intel XE#7893] / [Intel XE#8300])
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-bmg-3/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-5/igt@[email protected]
* igt@xe_exec_multi_queue@many-queues-dyn-priority-smem:
- shard-bmg: NOTRUN -> [SKIP][79] ([Intel XE#8364]) +15 other tests skip
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@xe_exec_multi_queue@max-queues-preempt-mode-fault-basic-smem:
- shard-lnl: NOTRUN -> [SKIP][80] ([Intel XE#8364]) +6 other tests skip
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@xe_exec_multi_queue@max-queues-preempt-mode-fault-basic-smem.html
* igt@xe_exec_reset@cm-multi-queue-cat-error-on-secondary:
- shard-bmg: NOTRUN -> [SKIP][81] ([Intel XE#8369])
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@xe_exec_reset@long-spin-sys-reuse-many-preempt-threads:
- shard-bmg: [PASS][82] -> [FAIL][83] ([Intel XE#7850])
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-bmg-9/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-9/igt@[email protected]
* igt@xe_exec_threads@threads-multi-queue-mixed-fd-basic:
- shard-lnl: NOTRUN -> [SKIP][84] ([Intel XE#8378])
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@xe_exec_threads@threads-multi-queue-shared-vm-basic:
- shard-bmg: NOTRUN -> [SKIP][85] ([Intel XE#8378]) +1 other test skip
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@xe_media_fill@media-fill:
- shard-bmg: NOTRUN -> [SKIP][86] ([Intel XE#2459] / [Intel XE#2596] / [Intel XE#7321] / [Intel XE#7453])
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@xe_module_load@reload-no-display:
- shard-bmg: [PASS][87] -> [ABORT][88] ([Intel XE#8007])
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-bmg-1/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-10/igt@[email protected]
* igt@xe_multigpu_svm@mgpu-pagefault-prefetch:
- shard-lnl: NOTRUN -> [SKIP][89] ([Intel XE#6964])
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][90] ([Intel XE#6964]) +1 other test skip
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@xe_page_reclaim@prl-max-entries:
- shard-lnl: NOTRUN -> [SKIP][91] ([Intel XE#7793])
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][92] ([Intel XE#7793]) +1 other test skip
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@xe_pat@pat-index-xelp:
- shard-bmg: NOTRUN -> [SKIP][93] ([Intel XE#2245] / [Intel XE#7590])
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@xe_pm@d3hot-i2c:
- shard-bmg: NOTRUN -> [SKIP][94] ([Intel XE#5742] / [Intel XE#7328] / [Intel XE#7400])
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@xe_prefetch_fault@prefetch-fault-svm:
- shard-bmg: NOTRUN -> [SKIP][95] ([Intel XE#7599])
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
- shard-lnl: NOTRUN -> [SKIP][96] ([Intel XE#7599])
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
* igt@xe_pxp@pxp-termination-key-update-post-rpm:
- shard-bmg: NOTRUN -> [SKIP][97] ([Intel XE#4733] / [Intel XE#7417])
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@xe_query@multigpu-query-invalid-size:
- shard-bmg: NOTRUN -> [SKIP][98] ([Intel XE#944])
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@xe_sriov_auto_provisioning@selfconfig-reprovision-reduce-numvfs:
- shard-lnl: NOTRUN -> [SKIP][99] ([Intel XE#4130] / [Intel XE#7366])
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@xe_sriov_auto_provisioning@selfconfig-reprovision-reduce-numvfs.html
* igt@xe_sriov_flr@flr-vfs-parallel:
- shard-bmg: NOTRUN -> [FAIL][100] ([Intel XE#7992])
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-7/igt@[email protected]
* igt@xe_sriov_vfio@open-basic:
- shard-lnl: NOTRUN -> [SKIP][101] ([Intel XE#7724])
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-8/igt@[email protected]
#### Possible fixes ####
* igt@kms_atomic_transition@plane-all-transition-nonblocking:
- shard-bmg: [INCOMPLETE][102] ([Intel XE#8174]) -> [PASS][103] +1 other test pass
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-bmg-4/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@[email protected]
* igt@kms_flip@2x-flip-vs-wf_vblank:
- shard-bmg: [FAIL][104] ([Intel XE#3098]) -> [PASS][105] +1 other test pass
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-bmg-6/igt@kms_flip@2x-flip-vs-wf_vblank.html
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@kms_flip@2x-flip-vs-wf_vblank.html
* igt@kms_flip@dpms-vs-vblank-race@b-edp1:
- shard-lnl: [FAIL][106] ([Intel XE#3098]) -> [PASS][107] +1 other test pass
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-lnl-4/igt@kms_flip@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-2/igt@kms_flip@[email protected]
* igt@xe_exec_reset@long-spin-reuse-many-preempt-threads:
- shard-bmg: [FAIL][108] ([Intel XE#7850]) -> [PASS][109]
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-bmg-2/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-6/igt@[email protected]
* igt@xe_fault_injection@oa-add-config-fail-xe_oa_alloc_regs:
- shard-bmg: [ABORT][110] ([Intel XE#8007]) -> [PASS][111] +1 other test pass
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-bmg-1/igt@xe_fault_injection@oa-add-config-fail-xe_oa_alloc_regs.html
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-2/igt@xe_fault_injection@oa-add-config-fail-xe_oa_alloc_regs.html
* igt@xe_survivability@runtime-survivability:
- shard-bmg: [DMESG-WARN][112] ([Intel XE#6627] / [Intel XE#7419]) -> [PASS][113]
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-bmg-6/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-5/igt@[email protected]
#### Warnings ####
* igt@kms_flip@flip-vs-expired-vblank:
- shard-lnl: [FAIL][114] ([Intel XE#301]) -> [FAIL][115] ([Intel XE#301] / [Intel XE#3149])
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-lnl-8/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-lnl-4/igt@[email protected]
* igt@kms_hdr@brightness-with-hdr:
- shard-bmg: [SKIP][116] ([Intel XE#3374] / [Intel XE#3544]) -> [SKIP][117] ([Intel XE#3544])
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-bmg-7/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-4/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: [SKIP][118] ([Intel XE#2426] / [Intel XE#5848]) -> [FAIL][119] ([Intel XE#1729] / [Intel XE#7424])
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72/shard-bmg-2/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/shard-bmg-4/igt@[email protected]
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1128]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1128
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
[Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
[Intel XE#1435]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1435
[Intel XE#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
[Intel XE#2142]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2142
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2245]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2245
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
[Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
[Intel XE#2387]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2387
[Intel XE#2393]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2393
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2459]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2459
[Intel XE#2596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2596
[Intel XE#2724]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2724
[Intel XE#2763]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2763
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2893
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#3098]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3098
[Intel XE#3141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3141
[Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
[Intel XE#3157]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3157
[Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
[Intel XE#352]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/352
[Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#4130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4130
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4609]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4609
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#5545]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5545
[Intel XE#5742]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5742
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#6627]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6627
[Intel XE#6652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6652
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
[Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
[Intel XE#6911]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6911
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#7059]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7059
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7085]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7085
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7304
[Intel XE#7321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7321
[Intel XE#7328]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7328
[Intel XE#7343]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7343
[Intel XE#7345]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7345
[Intel XE#7349]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7349
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[Intel XE#7355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7355
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
[Intel XE#7366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7366
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7378
[Intel XE#7383]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7383
[Intel XE#7400]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7400
[Intel XE#7413]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7413
[Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
[Intel XE#7419]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7419
[Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
[Intel XE#7429]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7429
[Intel XE#7449]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7449
[Intel XE#7453]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7453
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#7599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7599
[Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
[Intel XE#7642]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7642
[Intel XE#7724]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7724
[Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
[Intel XE#7850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7850
[Intel XE#7865]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7865
[Intel XE#7893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7893
[Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
[Intel XE#7992]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7992
[Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8174]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8174
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8300]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8300
[Intel XE#8355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8355
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8365]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8365
[Intel XE#8369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8369
[Intel XE#8370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8370
[Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
[Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* Linux: xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72 -> xe-pw-169651v1
IGT_8989: a8e2cbd2854d7980a9eccecc6e0c801d0824b88f @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-5325-0cafeac0ca1baa5846a52337c6b7cd94f830da72: 0cafeac0ca1baa5846a52337c6b7cd94f830da72
xe-pw-169651v1: 169651v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-169651v1/index.html
Quoted 14 lines · Shuicheng Lin
Add a new configfs boolean attribute '
disable_multi_queue' that lets an administrator force-disable multi-queue support on a device before it binds to the driver. This is intended for debugging and for validating non-multi-queue code paths on hardware that would otherwise expose multi-queue.The hook disables multi-queue at two levels:
- UAPI: In
alloc_primary_gt(), cleargt->info.multi_queue_engine_class_maskon the primary GT so thatxe_gt_supports_multi_queue()returns false and attempts to create a multi-queue group viaDRM_XE_EXEC_QUEUE_SET_PROPERTY_MULTI_GROUPare rejected.
Quoted 5 lines
- GuC: In
guc_ctl_feature_flags(), set theGUC_CTL_DISABLE_MULTI_QUEUE(BIT(24)) init-params bit on GuC firmware older than 70.66. On GuC firmware 70.66 and above,guc_waklv_init()emits the newGUC_FEATURE_KLV_DISABLE_MULTI_QUEUEFeature KLV (0x5001) via the ADS WA/Feature KLV buffer instead. Feature KLVs share the WA KLV buffer.
Looks like we are not at guc firmware version 70.66 yet. I am not sure about coding for future guc firmware releases. Probably fine if the firmware has been already released to the public and just that we are not upgraded to it here.
Quoted 60 lines
The attribute is rejected after the device has been bound, so it only takes effect during probe:
# echo 1 > /sys/kernel/config/xe/0000:03:00.0/disable_multi_queue # echo 0000:03:00.0 > /sys/bus/pci/drivers/xe/bindAssisted-by Claude:claude-opus-4.7Signed-off-by Shuicheng Lin <[email protected]>---
Cc: Stuart Summers <[email protected]>
Cc: Niranjana Vishwanathapura <[email protected]>
---drivers/gpu/drm/xe/abi/guc_klvs_abi.h | 3 +- drivers/gpu/drm/xe/xe_configfs.c | 63 +++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_configfs.h | 2 + drivers/gpu/drm/xe/xe_guc.c | 8 ++++ drivers/gpu/drm/xe/xe_guc_ads.c | 14 ++++++ drivers/gpu/drm/xe/xe_guc_fwif.h | 1 + drivers/gpu/drm/xe/xe_pci.c | 2 + 7 files changed, 92 insertions(+), 1 deletion(-)drivers/gpu/drm/xe/abi/guc_klvs_abi.h +2
-1@@ -491,9 +491,10 @@ enum {#define GUC_KLV_VF_CFG_ENGINE_GROUP_PREEMPT_TIMEOUT_MIN_LEN 1u#define GUC_KLV_VF_CFG_ENGINE_GROUP_PREEMPT_TIMEOUT_MAX_LEN GUC_MAX_SCHED_GROUPS/* -* Workaround keys: +* Feature and Workaround keys: */ enum xe_guc_klv_ids { +GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE =0x5001 ,GUC_WORKAROUND_KLV_BLOCK_INTERRUPTS_WHEN_MGSR_BLOCKED =0x9002 ,GUC_WORKAROUND_KLV_DISABLE_PSMI_INTERRUPTS_AT_C6_ENTRY_RESTORE_AT_EXIT =0x9004 ,GUC_WORKAROUND_KLV_ID_GAM_PFQ_SHADOW_TAIL_POLLING =0x9005 ,drivers/gpu/drm/xe/xe_configfs.c +10
-0@@ -237,6 +237,16 @@* * This setting only takes effect when probing the device. * +* Disable multi-queue +* ------------------- +* +* Disable multi-queue support on the device. Multi-queue exec-queue +* group creation via ioctl is refused, and the GuC feature is disabled. +* +* # echo 1 > /sys/kernel/config/xe/0000:03:00.0/disable_multi_queue +* +* This attribute can only be set before binding to the device. +* * Remove devices * ============== *
drivers/gpu/drm/xe/xe_configfs.c struct xe_config_group_device { · line 275
Quoted 4 lines
drivers/gpu/drm/xe/xe_configfs.c +1
-0@@ -262,6 +272,7 @@ struct xe_config_group_device {struct wa_bb ctx_restore_mid_bb[XE_ENGINE_CLASS_MAX ];bool survivability_mode;bool enable_psmi; +bool disable_multi_queue;
Why not just name it enable_multi_queue and have it enabled by default? Looks like that is the generally followed convention.
Quoted 185 lines
drivers/gpu/drm/xe/xe_configfs.c +52
-0struct {unsigned int max_vfs;bool admin_only_pf;@@ -281,6 +292,7 @@ static const struct xe_config_device device_defaults = { .engines_allowed = U64_MAX, .survivability_mode = false, .enable_psmi = false, + .disable_multi_queue = false, .sriov = { .max_vfs = XE_DEFAULT_MAX_VFS, .admin_only_pf = XE_DEFAULT_ADMIN_ONLY_PF,@@ -575,6 +587,33 @@ static ssize_t enable_psmi_store(struct config_item *item, const char *page, sizreturn len; } +static ssize_t disable_multi_queue_show (struct config_item *item,char *page) +{ +struct xe_config_device *dev =to_xe_config_device (item); + +return sprintf (page,"%d\n" , dev->disable_multi_queue); +} + +static ssize_t disable_multi_queue_store (struct config_item *item,const char *page, +size_t len) +{ +struct xe_config_group_device *dev =to_xe_config_group_device (item); +bool val; +int ret; + + ret =kstrtobool (page, &val); +if (ret) +return ret; + +guard (mutex)(&dev->lock); +if (is_bound (dev)) +return -EBUSY ; + + dev->config.disable_multi_queue = val; + +return len; +} +static bool wa_bb_read_advance (bool dereference,char **p,const char *append,size_t len,size_t *max_size)@@ -812,6 +851,7 @@ static ssize_t ctx_restore_post_bb_store(struct config_item *item, CONFIGFS_ATTR(, ctx_restore_mid_bb); CONFIGFS_ATTR(, ctx_restore_post_bb); +CONFIGFS_ATTR(, disable_multi_queue); CONFIGFS_ATTR(, enable_psmi); CONFIGFS_ATTR(, engines_allowed); CONFIGFS_ATTR(, gt_types_allowed);@@ -820,6 +860,7 @@ CONFIGFS_ATTR(, survivability_mode);static struct configfs_attribute *xe_config_device_attrs[] = { &attr_ctx_restore_mid_bb, &attr_ctx_restore_post_bb, + &attr_disable_multi_queue, &attr_enable_psmi, &attr_engines_allowed, &attr_gt_types_allowed,@@ -1098,6 +1139,7 @@ static void dump_custom_dev_config(struct pci_dev *pdev,PRI_CUSTOM_ATTR ("%llx" , gt_types_allowed);PRI_CUSTOM_ATTR ("%llx" , engines_allowed);PRI_CUSTOM_ATTR ("%d" , enable_psmi); +PRI_CUSTOM_ATTR ("%d" , disable_multi_queue);PRI_CUSTOM_ATTR ("%d" , survivability_mode);PRI_CUSTOM_ATTR ("%u" , sriov.admin_only_pf);@@ -1225,6 +1267,27 @@ bool xe_configfs_get_psmi_enabled(struct pci_dev *pdev)return ret; } +/** +* xe_configfs_get_disable_multi_queue - get configfs disable_multi_queue setting +* @pdev: pci device +* +* Return: true if multi-queue should be disabled for this device, false +* otherwise. +*/ +bool xe_configfs_get_disable_multi_queue (struct pci_dev *pdev) +{ +struct xe_config_group_device *dev =find_xe_config_group_device (pdev); +bool ret; + +if (!dev) +return false; + + ret = dev->config.disable_multi_queue; +config_group_put (&dev->group); + +return ret; +} +/** * xe_configfs_get_ctx_restore_mid_bb - get configfs ctx_restore_mid_bb setting * @pdev: pci device drivers/gpu/drm/xe/xe_configfs.h +2
-0@@ -23,6 +23,7 @@ bool xe_configfs_primary_gt_allowed(struct pci_dev *pdev);bool xe_configfs_media_gt_allowed (struct pci_dev *pdev);u64 xe_configfs_get_engines_allowed (struct pci_dev *pdev);bool xe_configfs_get_psmi_enabled (struct pci_dev *pdev); +bool xe_configfs_get_disable_multi_queue (struct pci_dev *pdev);u32 xe_configfs_get_ctx_restore_mid_bb (struct pci_dev *pdev,enum xe_engine_class class,const u32 **cs);@@ -42,6 +43,7 @@ static inline bool xe_configfs_primary_gt_allowed(struct pci_dev *pdev) { returnstatic inline bool xe_configfs_media_gt_allowed (struct pci_dev *pdev) {return true; }static inline u64 xe_configfs_get_engines_allowed (struct pci_dev *pdev) {return U64_MAX ; }static inline bool xe_configfs_get_psmi_enabled (struct pci_dev *pdev) {return false; } +static inline bool xe_configfs_get_disable_multi_queue (struct pci_dev *pdev) {return false; }static inline u32 xe_configfs_get_ctx_restore_mid_bb (struct pci_dev *pdev,enum xe_engine_class class,const u32 **cs) {return 0 ; }drivers/gpu/drm/xe/xe_guc.c +8
-0@@ -101,6 +101,14 @@ static u32 guc_ctl_feature_flags(struct xe_guc *guc)if (xe_device_is_l2_flush_optimized (xe) &&xe_gt_is_media_type (guc_to_gt (guc))) flags |=GUC_CTL_ENABLE_L2FLUSH_OPT ; +/* +* On GuC firmware 70.66 and above, the GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE +* Feature KLV is used instead. +*/ +if (xe_configfs_get_disable_multi_queue (to_pci_dev (xe->drm.dev)) && + !GUC_FIRMWARE_VER_AT_LEAST (guc,70 ,66 )) + flags |=GUC_CTL_DISABLE_MULTI_QUEUE ; +return flags; }drivers/gpu/drm/xe/xe_guc_ads.c +14
-0@@ -16,6 +16,7 @@#include "regs/xe_gt_regs.h" #include "regs/xe_guc_regs.h" #include "xe_bo.h" +#include "xe_configfs.h" #include "xe_gt.h" #include "xe_gt_ccs_mode.h" #include "xe_gt_mcr.h" @@ -364,6 +365,19 @@ static void guc_waklv_init(struct xe_guc_ads *ads)guc_waklv_enable (ads,NULL ,0 , &offset, &remain,GUC_WA_KLV_CLR_CS_INDIRECT_RING_STATE_IF_IDLE_AT_CTX_REG ); +/* +* On GuC firmware 70.66 and above, use the Feature KLV (shared with the +* WA KLV buffer); older firmware uses GUC_CTL_DISABLE_MULTI_QUEUE in +* the init params instead. +*/ +if (xe_configfs_get_disable_multi_queue (to_pci_dev (gt_to_xe (gt)->drm.dev)) && +GUC_FIRMWARE_VER_AT_LEAST (>->uc.guc,70 ,66 )) { +u32 data =1 ; + +guc_waklv_enable (ads, &data,1 , &offset, &remain, +GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE ); + } + size =guc_ads_waklv_size (ads) - remain;if (!size)return ;drivers/gpu/drm/xe/xe_guc_fwif.h +1
-0@@ -68,6 +68,7 @@ struct guc_update_exec_queue_policy {#define GUC_CTL_MAIN_GAMCTRL_QUEUES BIT(9)#define GUC_CTL_DISABLE_SCHEDULER BIT(14)#define GUC_CTL_ENABLE_L2FLUSH_OPT BIT(15) +#define GUC_CTL_DISABLE_MULTI_QUEUE BIT(24)#define GUC_CTL_DEBUG 3#define GUC_LOG_VERBOSITY REG_GENMASK(1, 0)drivers/gpu/drm/xe/xe_pci.c +0
-0
drivers/gpu/drm/xe/xe_pci.c static struct xe_gt *alloc_primary_gt(struct xe_tile *tile, · line 866
Quoted 5 lines
drivers/gpu/drm/xe/xe_pci.c +2
-0@@ -862,6 +862,8 @@ static struct xe_gt *alloc_primary_gt(struct xe_tile *tile, gt->info.id = tile->id * xe->info.max_gt_per_tile; gt->info.has_indirect_ring_state = graphics_desc->has_indirect_ring_state; gt->info.multi_queue_engine_class_mask = graphics_desc->multi_queue_engine_class_mask; +if (xe_configfs_get_disable_multi_queue (to_pci_dev (xe->drm.dev))) + gt->info.multi_queue_engine_class_mask =0 ;
May be add a print statement here like "disabled via configfs" similar to one in check_sw_disable() in xe_hw_engine.c?
Niranjana
Quoted 6 lines
drivers/gpu/drm/xe/xe_pci.c +0
-0gt->info.engine_mask = graphics_desc->hw_engine_mask; gt->info.num_geometry_xecore_fuse_regs = graphics_desc->num_geometry_xecore_fuse_regs; gt->info.num_compute_xecore_fuse_regs = graphics_desc->num_compute_xecore_fuse_regs;Signature · 1 line
2.43.0
Quoted 20 lines · Niranjana Vishwanathapura
Quoted 6 lines · Shuicheng Lin
Add a new configfs boolean attribute '
disable_multi_queue' that lets an administrator force-disable multi-queue support on a device before it binds to the driver. This is intended for debugging and for validating non-multi-queue code paths on hardware that would otherwise expose multi-queue.Quoted 6 lines
The hook disables multi-queue at two levels:
- UAPI: In
alloc_primary_gt(), cleargt->info.multi_queue_engine_class_maskon the primary GT so thatxe_gt_supports_multi_queue()returns false and attempts to create a multi-queue group via
DRM_XE_EXEC_QUEUE_SET_PROPERTY_MULTI_GROUPQuoted 6 lines
are rejected.
- GuC: In
guc_ctl_feature_flags(), set theGUC_CTL_DISABLE_MULTI_QUEUE(BIT(24)) init-params bit on GuC firmware older than 70.66. On GuC firmware 70.66 and above,guc_waklv_init()emits the newGUC_FEATURE_KLV_DISABLE_MULTI_QUEUEFeature KLV (0x5001) via the
Quoted 6 lines
ADS
Quoted 1 line
WA/Feature KLV buffer instead. Feature KLVs share the WA KLV buffer.
Looks like we are not at guc firmware version 70.66 yet. I am not sure about coding for future guc firmware releases. Probably fine if the firmware has been already released to the public and just that we are not upgraded to it here.
Yes. The guc firmware upgrade is on the way: https://patchwork.freedesktop.org/patch/738414/?series=169961&rev=2
Quoted 72 lines
Quoted 8 lines
The attribute is rejected after the device has been bound, so it only takes effect during probe:
# echo 1 > /sys/kernel/config/xe/0000:03:00.0/disable_multi_queue # echo 0000:03:00.0 > /sys/bus/pci/drivers/xe/bindQuoted 8 lines
Assisted-by Claude:claude-opus-4.7Signed-off-by Shuicheng Lin <[email protected]>---
Cc: Stuart Summers <[email protected]>
Cc: Niranjana Vishwanathapura <[email protected]>
---drivers/gpu/drm/xe/abi/guc_klvs_abi.h| 3 +-drivers/gpu/drm/xe/xe_configfs.c| 63+++++++++++++++++++++++++++
Quoted 13 lines
drivers/gpu/drm/xe/xe_configfs.h | 2 + drivers/gpu/drm/xe/xe_guc.c | 8 ++++ drivers/gpu/drm/xe/xe_guc_ads.c | 14 ++++++ drivers/gpu/drm/xe/xe_guc_fwif.h | 1 + drivers/gpu/drm/xe/xe_pci.c | 2 + 7 files changed, 92 insertions(+), 1 deletion(-)drivers/gpu/drm/xe/abi/guc_klvs_abi.h +0
-0drivers/gpu/drm/xe/abi/guc_klvs_abi.h enum { · line 491
Quoted 1 line
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +0
-0@@ -491,9 +491,10 @@ enum {#define GUC_KLV_VF_CFG_ENGINE_GROUP_PREEMPT_TIMEOUT_MIN_LEN 1udrivers/gpu/drm/xe/abi/guc_klvs_abi.h enum { · line 492
Quoted 1 line
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +0
-0#define
GUC_KLV_VF_CFG_ENGINE_GROUP_PREEMPT_TIMEOUT_MAX_LEN
GUC_MAX_SCHED_GROUPSdrivers/gpu/drm/xe/abi/guc_klvs_abi.h enum {
Quoted 6 lines
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +2
-1/* -* Workaround keys: +* Feature and Workaround keys: */ enum xe_guc_klv_ids { +GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE = 0x5001,Quoted 1 line
GUC_WORKAROUND_KLV_BLOCK_INTERRUPTS_WHEN_MGSR_BLOC
KED =0x9002,Quoted 1 line
GUC_WORKAROUND_KLV_DISABLE_PSMI_INTERRUPTS_AT_C6_ENTRY_RESTORE_AT_EXIT=0x9004,Quoted 1 line
GUC_WORKAROUND_KLV_ID_GAM_PFQ_SHADOW_TAIL_POLLING= 0x9005,Quoted 22 lines
drivers/gpu/drm/xe/xe_configfs.c +10
-0@@ -237,6 +237,16 @@* * This setting only takes effect when probing the device. * +* Disable multi-queue +* ------------------- +* +* Disable multi-queue support on the device. Multi-queue exec-queue +* group creation via ioctl is refused, and the GuC feature is disabled. +* +* # echo 1 > /sys/kernel/config/xe/0000:03:00.0/disable_multi_queue +* +* This attribute can only be set before binding to the device. +* * Remove devices * ============== *
Quoted 8 lines
drivers/gpu/drm/xe/xe_configfs.c struct xe_config_group_device { · line 275
Quoted 5 lines
drivers/gpu/drm/xe/xe_configfs.c +1
-0@@ -262,6 +272,7 @@ struct xe_config_group_device {struct wa_bb ctx_restore_mid_bb[XE_ENGINE_CLASS_MAX ];bool survivability_mode;bool enable_psmi; +bool disable_multi_queue;Why not just name it
enable_multi_queueand have it enabled by default? Looks like that is the generally followed convention.
The enable_* convention fits when a feature is off by default in the driver and userspace opts in (e.g. enable_psmi). Multi-queue is a platform HW capability. It is on by default where hardware supports it.
This attribute is a force-off override for debugging, so disable_* with default false matches the semantic. Also, enable_* will be misleading for platform that doesn't support multi-queue.
I'd prefer to keep disable_multi_queue.
What is your idea about it?
Quoted 214 lines
drivers/gpu/drm/xe/xe_configfs.c static const struct xe_config_device device_defaults
Quoted 5 lines
drivers/gpu/drm/xe/xe_configfs.c +0
-0struct {unsigned int max_vfs;bool admin_only_pf;@@ -281,6 +292,7 @@ static const struct xe_config_device device_defaults= {
drivers/gpu/drm/xe/xe_configfs.c static const struct xe_config_device device_defaults = {
Quoted 7 lines
drivers/gpu/drm/xe/xe_configfs.c +1
-0.engines_allowed = U64_MAX, .survivability_mode = false, .enable_psmi = false, + .disable_multi_queue = false, .sriov = { .max_vfs = XE_DEFAULT_MAX_VFS, .admin_only_pf = XE_DEFAULT_ADMIN_ONLY_PF, @@ -575,6+587,33 @@
Quoted 1 line
static
ssize_tenable_psmi_store(structconfig_item*item, const char *page,siz
drivers/gpu/drm/xe/xe_configfs.c
Quoted 10 lines
return len; }drivers/gpu/drm/xe/xe_configfs.c +7
-0+static ssize_t disable_multi_queue_show (struct config_item *item,char +*page) { +struct xe_config_device *dev =to_xe_config_device (item); + +return sprintf (page,"%d\n" , dev->disable_multi_queue); } + +static ssize_t disable_multi_queue_store(struct config_item *item, constchar *page,
drivers/gpu/drm/xe/xe_configfs.c static ssize_t enable_psmi_store(struct config_item *item, const char *page, siz
Quoted 3 lines
drivers/gpu/drm/xe/xe_configfs.c +3
-0+ size_t len) +{ + struct xe_config_group_device *dev =
to_xe_config_group_device(item);drivers/gpu/drm/xe/xe_configfs.c static void dump_custom_dev_config(struct
Quoted 37 lines
drivers/gpu/drm/xe/xe_configfs.c +16
-0+bool val; +int ret; + + ret =kstrtobool (page, &val); +if (ret) +return ret; + +guard (mutex)(&dev->lock); +if (is_bound (dev)) +return -EBUSY ; + + dev->config.disable_multi_queue = val; + +return len; +} +static bool wa_bb_read_advance(bool dereference, char **p,
const char *append,size_tlen,size_t*max_size)drivers/gpu/drm/xe/xe_configfs.c +1
-0@@ -812,6 +851,7 @@ static ssize_t ctx_restore_post_bb_store(structconfig_item *item, CONFIGFS_ATTR(, ctx_restore_mid_bb); CONFIGFS_ATTR(, ctx_restore_post_bb); +CONFIGFS_ATTR(, disable_multi_queue); CONFIGFS_ATTR(, enable_psmi); CONFIGFS_ATTR(, engines_allowed);
CONFIGFS_ATTR(, gt_types_allowed);drivers/gpu/drm/xe/xe_configfs.c +1
-0@@ -820,6 +860,7 @@ CONFIGFS_ATTR(, survivability_mode); static structconfigfs_attribute *xe_config_device_attrs[] = { &attr_ctx_restore_mid_bb, &attr_ctx_restore_post_bb, + &attr_disable_multi_queue, &attr_enable_psmi, &attr_engines_allowed, &attr_gt_types_allowed,@@ -1098,6 +1139,7 @@ static void dump_custom_dev_config(struct
pci_dev*pdev,drivers/gpu/drm/xe/xe_configfs.c bool xe_configfs_get_psmi_enabled(struct
Quoted 8 lines
drivers/gpu/drm/xe/xe_configfs.c +1
-0PRI_CUSTOM_ATTR ("%llx" , gt_types_allowed);PRI_CUSTOM_ATTR ("%llx" , engines_allowed);PRI_CUSTOM_ATTR ("%d" , enable_psmi); +PRI_CUSTOM_ATTR ("%d" , disable_multi_queue);PRI_CUSTOM_ATTR ("%d" , survivability_mode);PRI_CUSTOM_ATTR ("%u" , sriov.admin_only_pf);@@ -1225,6 +1267,27 @@ bool xe_configfs_get_psmi_enabled(struct
pci_dev*pdev)Quoted 4 lines
drivers/gpu/drm/xe/xe_configfs.c +1
-0return ret; } +/** drivers/gpu/drm/xe/xe_configfs.c bool xe_configfs_get_psmi_enabled(struct pci_dev *pdev)
Quoted 10 lines
drivers/gpu/drm/xe/xe_configfs.c +10
-0+* xe_configfs_get_disable_multi_queue - get configfs +disable_multi_queue setting +* @pdev: pci device +* +* Return: true if multi-queue should be disabled for this device, +false +* otherwise. +*/ +bool xe_configfs_get_disable_multi_queue (struct pci_dev *pdev) { + struct xe_config_group_device *dev =
find_xe_config_group_device(pdev);Quoted 36 lines
drivers/gpu/drm/xe/xe_configfs.c +11
-0+bool ret; + +if (!dev) +return false; + + ret = dev->config.disable_multi_queue; +config_group_put (&dev->group); + +return ret; +} +/** * xe_configfs_get_ctx_restore_mid_bb - get configfs
ctx_restore_mid_bbsetting
* @pdev: pci devicedrivers/gpu/drm/xe/xe_configfs.h +0
-0@@ -23,6 +23,7 @@ bool xe_configfs_primary_gt_allowed(struct pci_dev *pdev); bool xe_configfs_media_gt_allowed(struct pci_dev *pdev);u64
xe_configfs_get_engines_allowed(struct pci_dev *pdev); boolxe_configfs_get_psmi_enabled(struct pci_dev *pdev); +boolxe_configfs_get_disable_multi_queue(struct pci_dev *pdev); u32 xe_configfs_get_ctx_restore_mid_bb(structpci_dev*pdev,enum xe_engine_class class, const u32 **cs);drivers/gpu/drm/xe/xe_configfs.h +0
-0@@ -42,6 +43,7 @@ static inline bool
xe_configfs_primary_gt_allowed(struct pci_dev *pdev){ return static inline boolxe_configfs_media_gt_allowed(struct pci_dev *pdev){ return true; } static inline u64xe_configfs_get_engines_allowed(struct pci_dev *pdev){ returnU64_MAX; } static inline boolxe_configfs_get_psmi_enabled(struct pci_dev *pdev){ return false; }drivers/gpu/drm/xe/xe_configfs.h +2
-0+static inline bool xe_configfs_get_disable_multi_queue (struct pci_dev +*pdev) {return false; }Quoted 2 lines
static inline u32 xe_configfs_get_ctx_restore_mid_bb(struct
pci_dev*pdev,
enumxe_engine_classclass,
Quoted 1 line
const u32 **cs) { return 0; }diff --git
drivers/gpu/drm/xe/xe_guc.c static u32 guc_ctl_feature_flags(struct xe_guc
Quoted 5 lines
a/drivers/gpu/drm/xe/xe_guc.cb/drivers/gpu/drm/xe/xe_guc.cindex4023700ff2a9..cdd096a37e05100644drivers/gpu/drm/xe/xe_guc.c +0
-0@@ -101,6 +101,14 @@ static u32 guc_ctl_feature_flags(struct xe_guc*guc)
drivers/gpu/drm/xe/xe_guc.c static u32 guc_ctl_feature_flags(struct xe_guc · line 101
Quoted 1 line
drivers/gpu/drm/xe/xe_guc.c +0
-0if (xe_device_is_l2_flush_optimized(xe) &&xe_gt_is_media_type(guc_to_gt(guc)))
drivers/gpu/drm/xe/xe_guc.c static u32 guc_ctl_feature_flags(struct xe_guc *guc)
Quoted 4 lines
drivers/gpu/drm/xe/xe_guc.c +2
-0flags |=GUC_CTL_ENABLE_L2FLUSH_OPT ; +/* +* On GuC firmware 70.66 and above, the
GUC_FEATURE_KLV_DISABLE_MULTI_QUEUEdrivers/gpu/drm/xe/xe_guc.c static u32 guc_ctl_feature_flags(struct xe_guc *guc)
Quoted 3 lines
drivers/gpu/drm/xe/xe_guc.c +3
-0+* Feature KLV is used instead. +*/ + if (xe_configfs_get_disable_multi_queue(to_pci_dev(xe->drm.dev))&&
Quoted 20 lines
drivers/gpu/drm/xe/xe_guc.c +3
-0+ !GUC_FIRMWARE_VER_AT_LEAST(guc, 70, 66)) + flags |=GUC_CTL_DISABLE_MULTI_QUEUE ; +return flags; }(quoted diff) +0
-0
b/drivers/gpu/drm/xe/xe_guc_ads.cindexc98454545a85..898ec2c6f015100644drivers/gpu/drm/xe/xe_guc_ads.c +1
-0@@ -16,6 +16,7 @@#include "regs/xe_gt_regs.h" #include "regs/xe_guc_regs.h" #include "xe_bo.h" +#include "xe_configfs.h" #include "xe_gt.h" #include "xe_gt_ccs_mode.h" #include "xe_gt_mcr.h" drivers/gpu/drm/xe/xe_guc_ads.c static void guc_waklv_init(struct xe_guc_ads *ads) · line 366
Quoted 2 lines
drivers/gpu/drm/xe/xe_guc_ads.c +0
-0@@ -364,6 +365,19 @@ static void guc_waklv_init(struct xe_guc_ads *ads) guc_waklv_enable(ads, NULL, 0, &offset, &remain,
GUC_WA_KLV_CLR_CS_INDIRECT_RING_STATE_IF_IDLE_AT_CTX_REG);drivers/gpu/drm/xe/xe_guc_ads.c static void guc_waklv_init(struct xe_guc_ads *ads) · line 368
Quoted 3 lines
drivers/gpu/drm/xe/xe_guc_ads.c +2
-0+/* +* On GuC firmware 70.66 and above, use the Feature KLV (shared with the
drivers/gpu/drm/xe/xe_guc_ads.c static void guc_waklv_init(struct xe_guc_ads *ads) · line 369
Quoted 1 line
drivers/gpu/drm/xe/xe_guc_ads.c +1
-0+* WA KLV buffer); older firmware uses
GUC_CTL_DISABLE_MULTI_QUEUEindrivers/gpu/drm/xe/xe_guc_ads.c static void guc_waklv_init(struct xe_guc_ads *ads) · line 380
Quoted 9 lines
drivers/gpu/drm/xe/xe_guc_ads.c +3
-0+* the init params instead. +*/ + if (xe_configfs_get_disable_multi_queue(to_pci_dev(gt_to_xe(gt)-drm.dev)) &&
drivers/gpu/drm/xe/xe_guc_ads.c +5
-0+ GUC_FIRMWARE_VER_AT_LEAST(>->uc.guc, 70, 66)) { +u32 data =1 ; + + guc_waklv_enable(ads, &data, 1, &offset, &remain, +
GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE);drivers/gpu/drm/xe/xe_pci.c static struct xe_gt *alloc_primary_gt(struct xe_tile
Quoted 23 lines
drivers/gpu/drm/xe/xe_guc_ads.c +2
-0+ } +size = guc_ads_waklv_size(ads) - remain; if (!size) return;drivers/gpu/drm/xe/xe_guc_fwif.h +1
-0@@ -68,6 +68,7 @@ struct guc_update_exec_queue_policy {#define GUC_CTL_MAIN_GAMCTRL_QUEUES BIT(9)#define GUC_CTL_DISABLE_SCHEDULER BIT(14)#define GUC_CTL_ENABLE_L2FLUSH_OPT BIT(15) +#define GUC_CTL_DISABLE_MULTI_QUEUE BIT(24)#define GUC_CTL_DEBUG 3#define GUC_LOG_VERBOSITY REG_GENMASK(1, 0)drivers/gpu/drm/xe/xe_pci.c +0
-0@@ -862,6 +862,8 @@ static struct xe_gt *alloc_primary_gt(struct xe_tile*tile,
Quoted 10 lines
drivers/gpu/drm/xe/xe_pci.c static struct xe_gt *alloc_primary_gt(struct xe_tile · line 868
Quoted 7 lines
drivers/gpu/drm/xe/xe_pci.c +2
-0gt->info.id = tile->id * xe->info.max_gt_per_tile; gt->info.has_indirect_ring_state = graphics_desc- has_indirect_ring_state; gt->info.multi_queue_engine_class_mask = graphics_desc->multi_queue_engine_class_mask; +if (xe_configfs_get_disable_multi_queue (to_pci_dev (xe->drm.dev))) + gt->info.multi_queue_engine_class_mask =0 ;May be add a print statement here like "disabled via configfs" similar to one in
check_sw_disable()inxe_hw_engine.c?
Let me add it:
" xe_info(xe, "Multi-queue disabled via configfs\n"); "
Shuicheng
Quoted 11 lines
Niranjana
Quoted 8 lines
drivers/gpu/drm/xe/xe_pci.c +0
-0gt->info.engine_mask = graphics_desc->hw_engine_mask;gt->info.num_geometry_xecore_fuse_regs = graphics_desc- num_geometry_xecore_fuse_regs; gt->info.num_compute_xecore_fuse_regs =
graphics_desc->num_compute_xecore_fuse_regs;
--
2.43.0
Niranjana Vishwanathapura
Reviewed-byQuoted 21 lines · Shuicheng
Quoted 20 lines · Niranjana Vishwanathapura
Quoted 6 lines · Shuicheng Lin
Add a new configfs boolean attribute '
disable_multi_queue' that lets an administrator force-disable multi-queue support on a device before it binds to the driver. This is intended for debugging and for validating non-multi-queue code paths on hardware that would otherwise expose multi-queue.Quoted 6 lines
The hook disables multi-queue at two levels:
- UAPI: In
alloc_primary_gt(), cleargt->info.multi_queue_engine_class_maskon the primary GT so thatxe_gt_supports_multi_queue()returns false and attempts to create a multi-queue group via
DRM_XE_EXEC_QUEUE_SET_PROPERTY_MULTI_GROUPQuoted 6 lines
are rejected.
- GuC: In
guc_ctl_feature_flags(), set theGUC_CTL_DISABLE_MULTI_QUEUE(BIT(24)) init-params bit on GuC firmware older than 70.66. On GuC firmware 70.66 and above,guc_waklv_init()emits the newGUC_FEATURE_KLV_DISABLE_MULTI_QUEUEFeature KLV (0x5001) via the
Quoted 8 lines
Quoted 6 lines
ADS
Quoted 1 line
WA/Feature KLV buffer instead. Feature KLVs share the WA KLV buffer.
Looks like we are not at guc firmware version 70.66 yet. I am not sure about coding for future guc firmware releases. Probably fine if the firmware has been already released to the public and just that we are not upgraded to it here.
Yes. The guc firmware upgrade is on the way: https://patchwork.freedesktop.org/patch/738414/?series=169961&rev=2
Ok
Quoted 82 lines
Quoted 73 lines
Quoted 9 lines
The attribute is rejected after the device has been bound, so it only takes effect during probe:
# echo 1 > /sys/kernel/config/xe/0000:03:00.0/disable_multi_queue # echo 0000:03:00.0 > /sys/bus/pci/drivers/xe/bindQuoted 8 lines
Assisted-by Claude:claude-opus-4.7Signed-off-by Shuicheng Lin <[email protected]>---
Cc: Stuart Summers <[email protected]>
Cc: Niranjana Vishwanathapura <[email protected]>
---drivers/gpu/drm/xe/abi/guc_klvs_abi.h| 3 +-drivers/gpu/drm/xe/xe_configfs.c| 63+++++++++++++++++++++++++++
Quoted 13 lines
drivers/gpu/drm/xe/xe_configfs.h | 2 + drivers/gpu/drm/xe/xe_guc.c | 8 ++++ drivers/gpu/drm/xe/xe_guc_ads.c | 14 ++++++ drivers/gpu/drm/xe/xe_guc_fwif.h | 1 + drivers/gpu/drm/xe/xe_pci.c | 2 + 7 files changed, 92 insertions(+), 1 deletion(-)drivers/gpu/drm/xe/abi/guc_klvs_abi.h +0
-0drivers/gpu/drm/xe/abi/guc_klvs_abi.h enum { · line 491
Quoted 1 line
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +0
-0@@ -491,9 +491,10 @@ enum {#define GUC_KLV_VF_CFG_ENGINE_GROUP_PREEMPT_TIMEOUT_MIN_LEN 1udrivers/gpu/drm/xe/abi/guc_klvs_abi.h enum { · line 492
Quoted 1 line
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +0
-0#define
GUC_KLV_VF_CFG_ENGINE_GROUP_PREEMPT_TIMEOUT_MAX_LEN
GUC_MAX_SCHED_GROUPSdrivers/gpu/drm/xe/abi/guc_klvs_abi.h enum {
Quoted 6 lines
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +2
-1/* -* Workaround keys: +* Feature and Workaround keys: */ enum xe_guc_klv_ids { +GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE = 0x5001,Quoted 1 line
GUC_WORKAROUND_KLV_BLOCK_INTERRUPTS_WHEN_MGSR_BLOC
KED =0x9002,Quoted 1 line
GUC_WORKAROUND_KLV_DISABLE_PSMI_INTERRUPTS_AT_C6_ENTRY_RESTORE_AT_EXIT=0x9004,Quoted 1 line
GUC_WORKAROUND_KLV_ID_GAM_PFQ_SHADOW_TAIL_POLLING= 0x9005,Quoted 22 lines
drivers/gpu/drm/xe/xe_configfs.c +10
-0@@ -237,6 +237,16 @@* * This setting only takes effect when probing the device. * +* Disable multi-queue +* ------------------- +* +* Disable multi-queue support on the device. Multi-queue exec-queue +* group creation via ioctl is refused, and the GuC feature is disabled. +* +* # echo 1 > /sys/kernel/config/xe/0000:03:00.0/disable_multi_queue +* +* This attribute can only be set before binding to the device. +* * Remove devices * ============== * Quoted 8 lines
drivers/gpu/drm/xe/xe_configfs.c struct xe_config_group_device { · line 275
Quoted 5 lines
drivers/gpu/drm/xe/xe_configfs.c +1
-0@@ -262,6 +272,7 @@ struct xe_config_group_device {struct wa_bb ctx_restore_mid_bb[XE_ENGINE_CLASS_MAX ];bool survivability_mode;bool enable_psmi; +bool disable_multi_queue;Why not just name it
enable_multi_queueand have it enabled by default? Looks like that is the generally followed convention.
Quoted 6 lines
The enable_* convention fits when a feature is off by default in the driver and userspace opts in (e.g.
enable_psmi). Multi-queue is a platform HW capability. It is on by default where hardware supports it.
This attribute is a force-off override for debugging, so disable_* with default false matches the semantic. Also, enable_* will be misleading for platform that doesn't support multi-queue.
I'd prefer to keepdisable_multi_queue.
What is your idea about it?
To me it is a config (similar to a compile time kernel config) and probably it should just be 'bool multi_queue' and if set, config is enabled (irrespective of platform has support or not) and if clear, it is disabled. That said, I don't have a strong preference, so I am fine.
Quoted 226 lines
Quoted 215 lines
drivers/gpu/drm/xe/xe_configfs.c static const struct xe_config_device device_defaults
Quoted 6 lines
drivers/gpu/drm/xe/xe_configfs.c +0
-0struct {unsigned int max_vfs;bool admin_only_pf;@@ -281,6 +292,7 @@ static const struct xe_config_device device_defaults= {
drivers/gpu/drm/xe/xe_configfs.c static const struct xe_config_device device_defaults = {
Quoted 7 lines
drivers/gpu/drm/xe/xe_configfs.c +1
-0.engines_allowed = U64_MAX, .survivability_mode = false, .enable_psmi = false, + .disable_multi_queue = false, .sriov = { .max_vfs = XE_DEFAULT_MAX_VFS, .admin_only_pf = XE_DEFAULT_ADMIN_ONLY_PF, @@ -575,6+587,33 @@
Quoted 1 line
static
ssize_tenable_psmi_store(structconfig_item*item, const char *page,siz
drivers/gpu/drm/xe/xe_configfs.c
Quoted 10 lines
return len; }drivers/gpu/drm/xe/xe_configfs.c +7
-0+static ssize_t disable_multi_queue_show (struct config_item *item,char +*page) { +struct xe_config_device *dev =to_xe_config_device (item); + +return sprintf (page,"%d\n" , dev->disable_multi_queue); } + +static ssize_t disable_multi_queue_store(struct config_item *item, constchar *page,
drivers/gpu/drm/xe/xe_configfs.c static ssize_t enable_psmi_store(struct config_item *item, const char *page, siz
Quoted 3 lines
drivers/gpu/drm/xe/xe_configfs.c +3
-0+ size_t len) +{ + struct xe_config_group_device *dev =
to_xe_config_group_device(item);drivers/gpu/drm/xe/xe_configfs.c static void dump_custom_dev_config(struct
Quoted 37 lines
drivers/gpu/drm/xe/xe_configfs.c +16
-0+bool val; +int ret; + + ret =kstrtobool (page, &val); +if (ret) +return ret; + +guard (mutex)(&dev->lock); +if (is_bound (dev)) +return -EBUSY ; + + dev->config.disable_multi_queue = val; + +return len; +} +static bool wa_bb_read_advance(bool dereference, char **p,
const char *append,size_tlen,size_t*max_size)drivers/gpu/drm/xe/xe_configfs.c +1
-0@@ -812,6 +851,7 @@ static ssize_t ctx_restore_post_bb_store(structconfig_item *item, CONFIGFS_ATTR(, ctx_restore_mid_bb); CONFIGFS_ATTR(, ctx_restore_post_bb); +CONFIGFS_ATTR(, disable_multi_queue); CONFIGFS_ATTR(, enable_psmi); CONFIGFS_ATTR(, engines_allowed);
CONFIGFS_ATTR(, gt_types_allowed);drivers/gpu/drm/xe/xe_configfs.c +1
-0@@ -820,6 +860,7 @@ CONFIGFS_ATTR(, survivability_mode); static structconfigfs_attribute *xe_config_device_attrs[] = { &attr_ctx_restore_mid_bb, &attr_ctx_restore_post_bb, + &attr_disable_multi_queue, &attr_enable_psmi, &attr_engines_allowed, &attr_gt_types_allowed,@@ -1098,6 +1139,7 @@ static void dump_custom_dev_config(struct
pci_dev*pdev,drivers/gpu/drm/xe/xe_configfs.c bool xe_configfs_get_psmi_enabled(struct
Quoted 8 lines
drivers/gpu/drm/xe/xe_configfs.c +1
-0PRI_CUSTOM_ATTR ("%llx" , gt_types_allowed);PRI_CUSTOM_ATTR ("%llx" , engines_allowed);PRI_CUSTOM_ATTR ("%d" , enable_psmi); +PRI_CUSTOM_ATTR ("%d" , disable_multi_queue);PRI_CUSTOM_ATTR ("%d" , survivability_mode);PRI_CUSTOM_ATTR ("%u" , sriov.admin_only_pf);@@ -1225,6 +1267,27 @@ bool xe_configfs_get_psmi_enabled(struct
pci_dev*pdev)Quoted 4 lines
drivers/gpu/drm/xe/xe_configfs.c +1
-0return ret; } +/** drivers/gpu/drm/xe/xe_configfs.c bool xe_configfs_get_psmi_enabled(struct pci_dev *pdev)
Quoted 10 lines
drivers/gpu/drm/xe/xe_configfs.c +10
-0+* xe_configfs_get_disable_multi_queue - get configfs +disable_multi_queue setting +* @pdev: pci device +* +* Return: true if multi-queue should be disabled for this device, +false +* otherwise. +*/ +bool xe_configfs_get_disable_multi_queue (struct pci_dev *pdev) { + struct xe_config_group_device *dev =
find_xe_config_group_device(pdev);Quoted 36 lines
drivers/gpu/drm/xe/xe_configfs.c +11
-0+bool ret; + +if (!dev) +return false; + + ret = dev->config.disable_multi_queue; +config_group_put (&dev->group); + +return ret; +} +/** * xe_configfs_get_ctx_restore_mid_bb - get configfs
ctx_restore_mid_bbsetting
* @pdev: pci devicedrivers/gpu/drm/xe/xe_configfs.h +0
-0@@ -23,6 +23,7 @@ bool xe_configfs_primary_gt_allowed(struct pci_dev *pdev); bool xe_configfs_media_gt_allowed(struct pci_dev *pdev);u64
xe_configfs_get_engines_allowed(struct pci_dev *pdev); boolxe_configfs_get_psmi_enabled(struct pci_dev *pdev); +boolxe_configfs_get_disable_multi_queue(struct pci_dev *pdev); u32 xe_configfs_get_ctx_restore_mid_bb(structpci_dev*pdev,enum xe_engine_class class, const u32 **cs);drivers/gpu/drm/xe/xe_configfs.h +0
-0@@ -42,6 +43,7 @@ static inline bool
xe_configfs_primary_gt_allowed(struct pci_dev *pdev){ return static inline boolxe_configfs_media_gt_allowed(struct pci_dev *pdev){ return true; } static inline u64xe_configfs_get_engines_allowed(struct pci_dev *pdev){ returnU64_MAX; } static inline boolxe_configfs_get_psmi_enabled(struct pci_dev *pdev){ return false; }drivers/gpu/drm/xe/xe_configfs.h +2
-0+static inline bool xe_configfs_get_disable_multi_queue (struct pci_dev +*pdev) {return false; }Quoted 2 lines
static inline u32 xe_configfs_get_ctx_restore_mid_bb(struct
pci_dev*pdev,
enumxe_engine_classclass,
Quoted 1 line
const u32 **cs) { return 0; }diff --git
drivers/gpu/drm/xe/xe_guc.c static u32 guc_ctl_feature_flags(struct xe_guc
Quoted 5 lines
a/drivers/gpu/drm/xe/xe_guc.cb/drivers/gpu/drm/xe/xe_guc.cindex4023700ff2a9..cdd096a37e05100644drivers/gpu/drm/xe/xe_guc.c +0
-0@@ -101,6 +101,14 @@ static u32 guc_ctl_feature_flags(struct xe_guc*guc)
drivers/gpu/drm/xe/xe_guc.c static u32 guc_ctl_feature_flags(struct xe_guc · line 101
Quoted 1 line
drivers/gpu/drm/xe/xe_guc.c +0
-0if (xe_device_is_l2_flush_optimized(xe) &&xe_gt_is_media_type(guc_to_gt(guc)))
drivers/gpu/drm/xe/xe_guc.c static u32 guc_ctl_feature_flags(struct xe_guc *guc)
Quoted 4 lines
drivers/gpu/drm/xe/xe_guc.c +2
-0flags |=GUC_CTL_ENABLE_L2FLUSH_OPT ; +/* +* On GuC firmware 70.66 and above, the
GUC_FEATURE_KLV_DISABLE_MULTI_QUEUEdrivers/gpu/drm/xe/xe_guc.c static u32 guc_ctl_feature_flags(struct xe_guc *guc)
Quoted 3 lines
drivers/gpu/drm/xe/xe_guc.c +3
-0+* Feature KLV is used instead. +*/ + if (xe_configfs_get_disable_multi_queue(to_pci_dev(xe->drm.dev))&&
Quoted 20 lines
drivers/gpu/drm/xe/xe_guc.c +3
-0+ !GUC_FIRMWARE_VER_AT_LEAST(guc, 70, 66)) + flags |=GUC_CTL_DISABLE_MULTI_QUEUE ; +return flags; }(quoted diff) +0
-0
b/drivers/gpu/drm/xe/xe_guc_ads.cindexc98454545a85..898ec2c6f015100644drivers/gpu/drm/xe/xe_guc_ads.c +1
-0@@ -16,6 +16,7 @@#include "regs/xe_gt_regs.h" #include "regs/xe_guc_regs.h" #include "xe_bo.h" +#include "xe_configfs.h" #include "xe_gt.h" #include "xe_gt_ccs_mode.h" #include "xe_gt_mcr.h" drivers/gpu/drm/xe/xe_guc_ads.c static void guc_waklv_init(struct xe_guc_ads *ads) · line 366
Quoted 2 lines
drivers/gpu/drm/xe/xe_guc_ads.c +0
-0@@ -364,6 +365,19 @@ static void guc_waklv_init(struct xe_guc_ads *ads) guc_waklv_enable(ads, NULL, 0, &offset, &remain,
GUC_WA_KLV_CLR_CS_INDIRECT_RING_STATE_IF_IDLE_AT_CTX_REG);drivers/gpu/drm/xe/xe_guc_ads.c static void guc_waklv_init(struct xe_guc_ads *ads) · line 368
Quoted 3 lines
drivers/gpu/drm/xe/xe_guc_ads.c +2
-0+/* +* On GuC firmware 70.66 and above, use the Feature KLV (shared with the
drivers/gpu/drm/xe/xe_guc_ads.c static void guc_waklv_init(struct xe_guc_ads *ads) · line 369
Quoted 1 line
drivers/gpu/drm/xe/xe_guc_ads.c +1
-0+* WA KLV buffer); older firmware uses
GUC_CTL_DISABLE_MULTI_QUEUEindrivers/gpu/drm/xe/xe_guc_ads.c static void guc_waklv_init(struct xe_guc_ads *ads) · line 380
Quoted 9 lines
drivers/gpu/drm/xe/xe_guc_ads.c +3
-0+* the init params instead. +*/ + if (xe_configfs_get_disable_multi_queue(to_pci_dev(gt_to_xe(gt)-drm.dev)) &&
drivers/gpu/drm/xe/xe_guc_ads.c +5
-0+ GUC_FIRMWARE_VER_AT_LEAST(>->uc.guc, 70, 66)) { +u32 data =1 ; + + guc_waklv_enable(ads, &data, 1, &offset, &remain, +
GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE);drivers/gpu/drm/xe/xe_pci.c static struct xe_gt *alloc_primary_gt(struct xe_tile
Quoted 23 lines
drivers/gpu/drm/xe/xe_guc_ads.c +2
-0+ } +size = guc_ads_waklv_size(ads) - remain; if (!size) return;drivers/gpu/drm/xe/xe_guc_fwif.h +1
-0@@ -68,6 +68,7 @@ struct guc_update_exec_queue_policy {#define GUC_CTL_MAIN_GAMCTRL_QUEUES BIT(9)#define GUC_CTL_DISABLE_SCHEDULER BIT(14)#define GUC_CTL_ENABLE_L2FLUSH_OPT BIT(15) +#define GUC_CTL_DISABLE_MULTI_QUEUE BIT(24)#define GUC_CTL_DEBUG 3#define GUC_LOG_VERBOSITY REG_GENMASK(1, 0)drivers/gpu/drm/xe/xe_pci.c +0
-0@@ -862,6 +862,8 @@ static struct xe_gt *alloc_primary_gt(struct xe_tile*tile,
Quoted 10 lines
drivers/gpu/drm/xe/xe_pci.c static struct xe_gt *alloc_primary_gt(struct xe_tile · line 868
Quoted 7 lines
drivers/gpu/drm/xe/xe_pci.c +2
-0gt->info.id = tile->id * xe->info.max_gt_per_tile; gt->info.has_indirect_ring_state = graphics_desc- has_indirect_ring_state; gt->info.multi_queue_engine_class_mask = graphics_desc->multi_queue_engine_class_mask; +if (xe_configfs_get_disable_multi_queue (to_pci_dev (xe->drm.dev))) + gt->info.multi_queue_engine_class_mask =0 ;May be add a print statement here like "disabled via configfs" similar to one in
check_sw_disable()inxe_hw_engine.c?
Quoted 2 lines
Let me add it:
"xe_info(xe, "Multi-queue disabled via configfs\n"); "
Make it xe_gt_info().
With that,
Quoted 14 lines
Shuicheng
Quoted 11 lines
Niranjana
Quoted 8 lines
drivers/gpu/drm/xe/xe_pci.c +0
-0gt->info.engine_mask = graphics_desc->hw_engine_mask;gt->info.num_geometry_xecore_fuse_regs = graphics_desc- num_geometry_xecore_fuse_regs; gt->info.num_compute_xecore_fuse_regs =
graphics_desc->num_compute_xecore_fuse_regs;
--
2.43.0
Quoted 149 lines · Niranjana Vishwanathapura
Quoted 41 lines · Shuicheng
Quoted 33 lines · Niranjana Vishwanathapura
Quoted 10 lines · Shuicheng Lin
Add a new configfs boolean attribute '
disable_multi_queue' that lets an
administrator force-disable multi-queue support on a device before it
binds to the driver. This is intended for debugging and for validating
non-multi-queue code paths on hardware that would otherwise expose
multi-queue.Quoted 8 lines
The hook disables multi-queue at two levels:
- UAPI: In
alloc_primary_gt(), cleargt->info.multi_queue_engine_class_maskon the primary GT so that
xe_gt_supports_multi_queue() returns false and attempts to create
a multi-queue group via
DRM_XE_EXEC_QUEUE_SET_PROPERTY_MULTI_GROUPQuoted 9 lines
are rejected.
- GuC: In
guc_ctl_feature_flags(), set theGUC_CTL_DISABLE_MULTI_QUEUE
(BIT(24)) init-params bit on GuC firmware older than 70.66. On GuC
firmware 70.66 and above,guc_waklv_init()emits the newGUC_FEATURE_KLV_DISABLE_MULTI_QUEUEFeature KLV (0x5001) via theADS
Quoted 2 lines
WA/Feature KLV buffer instead. Feature KLVs share the WA KLV buffer.
Quoted 6 lines
Looks like we are not at guc firmware version 70.66 yet. I am not sure about
coding for future guc firmware releases. Probably fine if the firmware has been
already released to the public and just that we are not upgraded to it here.Quoted 2 lines
Yes. The guc firmware upgrade is on the way:
https://patchwork.freedesktop.org/patch/738414/?series=169961&rev=2Ok
Quoted 91 lines
Quoted 82 lines
Quoted 13 lines
The attribute is rejected after the device has been bound, so it only
takes effect during probe:# echo 1 > /sys/kernel/config/xe/0000:03:00.0/disable_multi_queue # echo 0000:03:00.0 > /sys/bus/pci/drivers/xe/bindAssisted-by Claude:claude-opus-4.7Signed-off-by Shuicheng Lin <[email protected]>Quoted 7 lines
---
Cc: Stuart Summers <[email protected]>
Cc: Niranjana Vishwanathapura <[email protected]>
---drivers/gpu/drm/xe/abi/guc_klvs_abi.h| 3 +- drivers/gpu/drm/xe/xe_configfs.c | 63+++++++++++++++++++++++++++
Quoted 13 lines
drivers/gpu/drm/xe/xe_configfs.h | 2 + drivers/gpu/drm/xe/xe_guc.c | 8 ++++ drivers/gpu/drm/xe/xe_guc_ads.c | 14 ++++++ drivers/gpu/drm/xe/xe_guc_fwif.h | 1 + drivers/gpu/drm/xe/xe_pci.c | 2 +
7 files changed, 92 insertions(+), 1 deletion(-)drivers/gpu/drm/xe/abi/guc_klvs_abi.h +0
-0drivers/gpu/drm/xe/abi/guc_klvs_abi.h enum { · line 491
Quoted 1 line
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +0
-0@@ -491,9 +491,10 @@ enum {#define GUC_KLV_VF_CFG_ENGINE_GROUP_PREEMPT_TIMEOUT_MIN_LEN 1u
drivers/gpu/drm/xe/abi/guc_klvs_abi.h enum { · line 492
Quoted 1 line
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +0
-0#define
GUC_KLV_VF_CFG_ENGINE_GROUP_PREEMPT_TIMEOUT_MAX_LENGUC_MAX_SCHED_GROUPSdrivers/gpu/drm/xe/abi/guc_klvs_abi.h enum {
Quoted 6 lines
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +2
-1/* -* Workaround keys: +* Feature and Workaround keys: */ enum xe_guc_klv_ids { + GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE=
0x5001,Quoted 1 line
GUC_WORKAROUND_KLV_BLOCK_INTERRUPTS_WHEN_MGSR_BLOC KED =
0x9002,Quoted 1 line
GUC_WORKAROUND_KLV_DISABLE_PSMI_INTERRUPTS_AT_C6_ENTR Y_RESTORE_AT_EXIT =
0x9004,Quoted 1 line
GUC_WORKAROUND_KLV_ID_GAM_PFQ_SHADOW_TAIL_POLLING
=
0x9005,Quoted 28 lines
drivers/gpu/drm/xe/xe_configfs.c +4
-0@@ -237,6 +237,16 @@ * * This setting only takes effect when probing the device. * + * Disable multi-queue + * ------------------- + * + * Disable multi-queue support on the device. Multi-queueexec-queue
+ * group creation via ioctl is refused, and the GuC feature is disabled.
+ *
+ * # echo 1 > /sys/kernel/config/xe/0000:03:00.0/disable_multi_queue
+ *
+ * This attribute can only be set before binding to the device.
+ *
* Remove devices
* ==============
*drivers/gpu/drm/xe/xe_configfs.c +0
-0@@ -262,6 +272,7 @@ struct xe_config_group_device {struct
wa_bbQuoted 8 lines
Quoted 4 lines
ctx_restore_mid_bb[XE_ENGINE_CLASS_MAX];
boolsurvivability_mode;
boolenable_psmi;
+ booldisable_multi_queue;Why not just name it
enable_multi_queueand have it enabled by default?
Looks like that is the generally followed convention.Quoted 10 lines
The enable_* convention fits when a feature is off by default in the driver and userspace opts in (e.g.
enable_psmi). Multi-queue is a platform HW capability. It is on by default where hardware supports it.
This attribute is a force-off override for debugging, so disable_* with default false matches the semantic.
Also, enable_* will be misleading for platform that doesn't support multi-queue.
I'd prefer to keepdisable_multi_queue.
What is your idea about it?
Quoted 5 lines
To me it is a config (similar to a compile time kernel config) and probably it should just be 'bool
multi_queue' and if set, config is enabled (irrespective of platform has support or not) and if clear, it is disabled. That said, I don't have a strong preference, so I am fine.
For boolean configs, please call these enable_* regardless of default. This ensures we remain consistent. I know we have the survivability_mode which doesn't follow the same convention, but I think the intent here is to turn this into a bitmap for different modes, hence it is in a slightly different category.
For this one, please call it enable_multi_queue before merging.
Thanks,
Stuart
Quoted 287 lines
Quoted 258 lines
Quoted 258 lines
Quoted 8 lines
struct {
unsigned intmax_vfs; booladmin_only_pf;drivers/gpu/drm/xe/xe_configfs.c +0
-0@@ -281,6 +292,7 @@ static const struct xe_config_device
device_defaults= {
Quoted 8 lines
.engines_allowed =
U64_MAX, .survivability_mode = false,
.enable_psmi = false,
+ .disable_multi_queue = false,
.sriov = {
.max_vfs =XE_DEFAULT_MAX_VFS, .admin_only_pf =XE_DEFAULT_ADMIN_ONLY_PF, @@ - 575,6+587,33 @@
Quoted 2 lines
static
ssize_tenable_psmi_store(structconfig_item*item, const char *page,siz
Quoted 13 lines
return len;
}+static
ssize_tdisable_multi_queue_show(structconfig_item*item, char
+*page) {
+ structxe_config_device*dev =to_xe_config_device(item);
+
+ returnsprintf(page, "%d\n", dev->disable_multi_queue); }drivers/gpu/drm/xe/xe_configfs.c +2
-0+ +static ssize_t disable_multi_queue_store(struct config_itemQuoted 1 line
*item, const
char *page,
Quoted 3 lines
+
size_tlen) +{
+ structxe_config_group_device*dev =
to_xe_config_group_device(item);drivers/gpu/drm/xe/xe_configfs.c static void dump_custom_dev_config(struct
Quoted 39 lines
+ bool val;
+ int ret;drivers/gpu/drm/xe/xe_configfs.c +14
-0+ + ret = kstrtobool(page, &val); + if (ret) + return ret; + + guard(mutex)(&dev->lock); + if (is_bound(dev)) + return -EBUSY; + + dev->config.disable_multi_queue = val; + + return len; +} +static bool
wa_bb_read_advance(bool dereference, char **p, const char *append, size_t len, size_t *max_size)drivers/gpu/drm/xe/xe_configfs.c +0
-0@@ -812,6 +851,7 @@ static ssize_tctx_restore_post_bb_store(struct
config_item*item,
CONFIGFS_ATTR(, ctx_restore_mid_bb);CONFIGFS_ATTR(, ctx_restore_post_bb);
+CONFIGFS_ATTR(,disable_multi_queue);CONFIGFS_ATTR(, enable_psmi);CONFIGFS_ATTR(, engines_allowed);CONFIGFS_ATTR(, gt_types_allowed);drivers/gpu/drm/xe/xe_configfs.c +0
-0@@ -820,6 +860,7 @@ CONFIGFS_ATTR(, survivability_mode);static struct
configfs_attribute*xe_config_device_attrs[] = {&attr_ctx_restore_mid_bb,&attr_ctx_restore_post_bb,
+ &attr_disable_multi_queue,&attr_enable_psmi,&attr_engines_allowed,&attr_gt_types_allowed,drivers/gpu/drm/xe/xe_configfs.c +0
-0@@ -1098,6 +1139,7 @@ static void dump_custom_dev_config(struct
pci_dev*pdev,drivers/gpu/drm/xe/xe_configfs.c bool xe_configfs_get_psmi_enabled(struct
Quoted 8 lines
drivers/gpu/drm/xe/xe_configfs.c +1
-0PRI_CUSTOM_ATTR("%llx", gt_types_allowed); PRI_CUSTOM_ATTR("%llx", engines_allowed); PRI_CUSTOM_ATTR("%d", enable_psmi); + PRI_CUSTOM_ATTR("%d", disable_multi_queue); PRI_CUSTOM_ATTR("%d", survivability_mode); PRI_CUSTOM_ATTR("%u", sriov.admin_only_pf);@@ -1225,6 +1267,27 @@ bool xe_configfs_get_psmi_enabled(struct
pci_dev*pdev)Quoted 6 lines
drivers/gpu/drm/xe/xe_configfs.c +3
-0return ret; } +/** +* xe_configfs_get_disable_multi_queue - get configfs +disable_multi_queue setting drivers/gpu/drm/xe/xe_configfs.c bool xe_configfs_get_psmi_enabled(struct pci_dev *pdev)
Quoted 10 lines
drivers/gpu/drm/xe/xe_configfs.c +8
-0+* @pdev: pci device +* +* Return: true if multi-queue should be disabled for this device, +false +* otherwise. +*/ +bool xe_configfs_get_disable_multi_queue (struct pci_dev *pdev) { + struct xe_config_group_device *dev =
find_xe_config_group_device(pdev);Quoted 42 lines
drivers/gpu/drm/xe/xe_configfs.c +11
-0+ bool ret; + + if (!dev) + return false; + + ret = dev->config.disable_multi_queue; + config_group_put(&dev->group); + + return ret; +} +/**
*xe_configfs_get_ctx_restore_mid_bb- get configfsctx_restore_mid_bbsetting
* @pdev: pci devicedrivers/gpu/drm/xe/xe_configfs.h +0
-0@@ -23,6 +23,7 @@ bool xe_configfs_primary_gt_allowed(struct
pci_dev
*pdev); boolxe_configfs_media_gt_allowed(struct pci_dev *pdev);
u64xe_configfs_get_engines_allowed(struct pci_dev *pdev); boolxe_configfs_get_psmi_enabled(struct pci_dev *pdev); +boolxe_configfs_get_disable_multi_queue(struct pci_dev *pdev);
u32 xe_configfs_get_ctx_restore_mid_bb(structpci_dev*pdev, enumxe_engine_classclass,
const u32 **cs);drivers/gpu/drm/xe/xe_configfs.h +0
-0@@ -42,6 +43,7 @@ static inline bool
xe_configfs_primary_gt_allowed(struct pci_dev *pdev){ return static
inline boolxe_configfs_media_gt_allowed(struct pci_dev *pdev){ return
true; } static inline u64 xe_configfs_get_engines_allowed(structpci_dev*pdev) { returnU64_MAX; } static inline boolxe_configfs_get_psmi_enabled(struct pci_dev *pdev){ returnQuoted 8 lines
false; }
+static inline bool xe_configfs_get_disable_multi_queue(structpci_dev
+*pdev) { return false; }
static inline u32 xe_configfs_get_ctx_restore_mid_bb(structpci_dev*pdev,
enumxe_engine_classclass,
Quoted 2 lines
const u32 **cs) { return 0; }
diff --git
Quoted 7 lines
a/drivers/gpu/drm/xe/xe_guc.cb/drivers/gpu/drm/xe/xe_guc.cindex4023700ff2a9..cdd096a37e05100644drivers/gpu/drm/xe/xe_guc.c +0
-0@@ -101,6 +101,14 @@ static u32 guc_ctl_feature_flags(struct
xe_guc*guc)
Quoted 1 line
if (
xe_device_is_l2_flush_optimized(xe)&&xe_gt_is_media_type(guc_to_gt(guc)))
Quoted 4 lines
flags |=
GUC_CTL_ENABLE_L2FLUSH_OPT;+ /*
+ * On GuC firmware 70.66 and above, the
GUC_FEATURE_KLV_DISABLE_MULTI_QUEUEQuoted 4 lines
+ * Feature KLV is used instead.
+ */
+ if (xe_configfs_get_disable_multi_queue(to_pci_dev(xe-Quoted 1 line
drm.dev))
&&
Quoted 21 lines
+ !GUC_FIRMWARE_VER_AT_LEAST(guc, 70, 66)) + flags |=
GUC_CTL_DISABLE_MULTI_QUEUE; +
return flags;
}(quoted diff) +0
-0
b/drivers/gpu/drm/xe/xe_guc_ads.cindexc98454545a85..898ec2c6f015
100644drivers/gpu/drm/xe/xe_guc_ads.c +1
-0@@ -16,6 +16,7 @@#include "regs/xe_gt_regs.h" #include "regs/xe_guc_regs.h" #include "xe_bo.h" +#include "xe_configfs.h" #include "xe_gt.h" #include "xe_gt_ccs_mode.h" #include "xe_gt_mcr.h" drivers/gpu/drm/xe/xe_guc_ads.c static void guc_waklv_init(struct · line 368
Quoted 4 lines
drivers/gpu/drm/xe/xe_guc_ads.c +0
-0@@ -364,6 +365,19 @@ static void guc_waklv_init(struct xe_guc_ads *ads) guc_waklv_enable(ads, NULL, 0, &offset, &remain,
GUC_WA_KLV_CLR_CS_INDIRECT_RING_STATE_IF_IDLE_AT_CTX_REG);Quoted 4 lines
drivers/gpu/drm/xe/xe_guc_ads.c +2
-0+ /* +* On GuC firmware 70.66 and above, use the Feature KLV (shared
with the
Quoted 1 line
+ * WA KLV buffer); older firmware uses
GUC_CTL_DISABLE_MULTI_QUEUEinQuoted 11 lines
+ * the init params instead.
+ */
+ if (xe_configfs_get_disable_multi_queue(to_pci_dev(gt_to_xe(gt)- drm.dev))&&
+GUC_FIRMWARE_VER_AT_LEAST(>->uc.guc, 70, 66)) { + u32 data = 1;
+
+ guc_waklv_enable(ads, &data, 1, &offset, &remain,
+
GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE);Quoted 24 lines
+ }
+
size =guc_ads_waklv_size(ads)- remain; if (!size)
return;drivers/gpu/drm/xe/xe_guc_fwif.h +1
-0@@ -68,6 +68,7 @@ struct guc_update_exec_queue_policy { #define GUC_CTL_MAIN_GAMCTRL_QUEUES BIT(9) #define GUC_CTL_DISABLE_SCHEDULER BIT(14) #define GUC_CTL_ENABLE_L2FLUSH_OPT BIT(15) +#define GUC_CTL_DISABLE_MULTI_QUEUE BIT(24)#define GUC_CTL_DEBUG 3 #define GUC_LOG_VERBOSITY REG_GENMASK(1, 0)drivers/gpu/drm/xe/xe_pci.c +0
-0drivers/gpu/drm/xe/xe_pci.c static struct xe_gt · line 862
Quoted 1 line
drivers/gpu/drm/xe/xe_pci.c +0
-0@@ -862,6 +862,8 @@ static struct xe_gt *alloc_primary_gt(struct xe_tile*tile,
Quoted 7 lines
drivers/gpu/drm/xe/xe_pci.c +0
-0gt->info.id = tile->id * xe->info.max_gt_per_tile;gt->info.has_indirect_ring_state = graphics_desc-
has_indirect_ring_state;gt->info.multi_queue_engine_class_mask=graphics_desc->multi_queue_engine_class_mask;
+ if (xe_configfs_get_disable_multi_queue(to_pci_dev(xe-Quoted 1 line
drm.dev)))
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
+ gt->info.multi_queue_engine_class_mask = 0;
May be add a print statement here like "disabled via configfs" similar to one in
check_sw_disable()inxe_hw_engine.c?Let me add it:
"xe_info(xe, "Multi-queue disabled via configfs\n"); "Make it
xe_gt_info().With that,
Reviewed-by: Niranjana Vishwanathapura
<[email protected]>Quoted 14 lines
Shuicheng
Quoted 11 lines
Niranjana
Quoted 8 lines
gt->info.engine_mask =
graphics_desc->hw_engine_mask;gt->info.num_geometry_xecore_fuse_regs= graphics_desc-num_geometry_xecore_fuse_regs;gt->info.num_compute_xecore_fuse_regs=graphics_desc->num_compute_xecore_fuse_regs;
--
2.43.0
Quoted 153 lines · Stuart Summers
Quoted 31 lines · Niranjana Vishwanathapura
Quoted 30 lines · Shuicheng
Quoted 29 lines · Niranjana Vishwanathapura
Quoted 6 lines · Shuicheng Lin
Add a new configfs boolean attribute '
disable_multi_queue' that lets an administrator force-disable multi-queue support on a device before it binds to the driver. This is intended for debugging and for validating non-multi-queue code paths on hardware that would otherwise expose multi-queue.Quoted 8 lines
The hook disables multi-queue at two levels:
- UAPI: In
alloc_primary_gt(), cleargt->info.multi_queue_engine_class_maskon the primary GT so that
xe_gt_supports_multi_queue() returns false and attempts to create
a multi-queue group via
DRM_XE_EXEC_QUEUE_SET_PROPERTY_MULTI_GROUPQuoted 9 lines
are rejected.
- GuC: In
guc_ctl_feature_flags(), set theGUC_CTL_DISABLE_MULTI_QUEUE
(BIT(24)) init-params bit on GuC firmware older than 70.66. On GuC
firmware 70.66 and above,guc_waklv_init()emits the newGUC_FEATURE_KLV_DISABLE_MULTI_QUEUEFeature KLV (0x5001) via theADS
Quoted 2 lines
WA/Feature KLV buffer instead. Feature KLVs share the WA KLV buffer.
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Looks like we are not at guc firmware version 70.66 yet. I am not sure about coding for future guc firmware releases. Probably fine if the firmware has been already released to the public and just that we are not upgraded to it here.
Yes. The guc firmware upgrade is on the way:
https://patchwork.freedesktop.org/patch/738414/?series=169961&rev=2
Quoted 30 lines
Ok
Quoted 27 lines
Quoted 27 lines
Quoted 12 lines
The attribute is rejected after the device has been bound, so it only takes effect during probe:
# echo 1 > /sys/kernel/config/xe/0000:03:00.0/disable_multi_queue # echo 0000:03:00.0 > /sys/bus/pci/drivers/xe/bindAssisted-by Claude:claude-opus-4.7Signed-off-by Shuicheng Lin <[email protected]>Quoted 7 lines
---
Cc: Stuart Summers <[email protected]>
Cc: Niranjana Vishwanathapura
<[email protected]>
---drivers/gpu/drm/xe/abi/guc_klvs_abi.h| 3 +-
drivers/gpu/drm/xe/xe_configfs.c | 63+++++++++++++++++++++++++++
Quoted 7 lines
drivers/gpu/drm/xe/xe_configfs.h | 2 +
drivers/gpu/drm/xe/xe_guc.c | 8 ++++
drivers/gpu/drm/xe/xe_guc_ads.c | 14 ++++++
drivers/gpu/drm/xe/xe_guc_fwif.h | 1 +
drivers/gpu/drm/xe/xe_pci.c | 2 +7 files changed, 92 insertions(+), 1 deletion(-)Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
drivers/gpu/drm/xe/abi/guc_klvs_abi.h enum { · line 491
Quoted 7 lines
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +0
-0@@ -491,9 +491,10 @@ enum { #define
GUC_KLV_VF_CFG_ENGINE_GROUP_PREEMPT_TIMEOUT_MIN_LENQuoted 10 lines
Quoted 10 lines
Quoted 10 lines
1u
drivers/gpu/drm/xe/abi/guc_klvs_abi.h enum { · line 492
Quoted 1 line
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +0
-0#define
GUC_KLV_VF_CFG_ENGINE_GROUP_PREEMPT_TIMEOUT_MAX_LENGUC_MAX_SCHED_GROUPSQuoted 6 lines
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +2
-1/* -* Workaround keys: +* Feature and Workaround keys: */ enum xe_guc_klv_ids { + GUC_FEATURE_KLV_DISABLE_MULTI_QUEUEQuoted 3 lines
Quoted 3 lines
Quoted 3 lines
=
0x5001,Quoted 1 line
GUC_WORKAROUND_KLV_BLOCK_INTERRUPTS_WHEN_MGSR_BLO
C
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
KED =
0x9002,Quoted 1 line
GUC_WORKAROUND_KLV_DISABLE_PSMI_INTERRUPTS_AT_C6_ENT
R
Quoted 51 lines
Quoted 40 lines
Quoted 31 lines
Y_RESTORE_AT_EXIT =
0x9004,Quoted 1 line
GUC_WORKAROUND_KLV_ID_GAM_PFQ_SHADOW_TAIL_POLLING
=
0x9005,Quoted 28 lines
drivers/gpu/drm/xe/xe_configfs.c +4
-0@@ -237,6 +237,16 @@ * * This setting only takes effect when probing the device. * + * Disable multi-queue + * ------------------- + * + * Disable multi-queue support on the device. Multi-queueexec-queue
+ * group creation via ioctl is refused, and the GuC feature is disabled.
+ *
+ * # echo 1 > /sys/kernel/config/xe/0000:03:00.0/disable_multi_queue
+ *
+ * This attribute can only be set before binding to the device.
+ *
* Remove devices
* ==============
*drivers/gpu/drm/xe/xe_configfs.c +0
-0@@ -262,6 +272,7 @@ struct xe_config_group_device {struct
wa_bbQuoted 8 lines
Quoted 4 lines
ctx_restore_mid_bb[XE_ENGINE_CLASS_MAX];
boolsurvivability_mode;
boolenable_psmi;
+ booldisable_multi_queue;Why not just name it
enable_multi_queueand have it enabled by default?
Looks like that is the generally followed convention.Quoted 10 lines
The enable_* convention fits when a feature is off by default in the driver and userspace opts in (e.g.
enable_psmi). Multi-queue is a platform HW capability. It is on by default where hardware supports it.
This attribute is a force-off override for debugging, so disable_* with default false matches the semantic.
Also, enable_* will be misleading for platform that doesn't support multi-queue.
I'd prefer to keepdisable_multi_queue.
What is your idea about it?Quoted 5 lines
To me it is a config (similar to a compile time kernel config) and probably it should just be 'bool
multi_queue' and if set, config is enabled (irrespective of platform has support or not) and if clear, it is disabled. That said, I don't have a strong preference, so I am fine.
Quoted 7 lines
For boolean configs, please call these enable_* regardless of default. This ensures we remain consistent. I know we have the
survivability_modewhich doesn't follow the same convention, but I think the intent here is to turn this into a bitmap for different modes, hence it is in a slightly different category.For this one, please call it
enable_multi_queuebefore merging.
Personally, I still think disable_ is more straightforward, since this attribute works only for disable multi-queue. Enable multi-queue takes no effect for all platforms whether support multi-queue or not.
Since both of you prefer enable_multi_queue, I will update code with it.
And this change will affect most code, so I will not add the reviewed-by.
Please help me review it again with the v3 patch I will send later.
Thanks.
Shuicheng
Quoted 282 lines
Thanks,
StuartQuoted 278 lines
Quoted 249 lines
Quoted 249 lines
Quoted 7 lines
struct {
unsigned intmax_vfs;
booladmin_only_pf; @@ -281,6 +292,7 @@ static const structxe_config_devicedevice_defaults= {
Quoted 8 lines
.engines_allowed =
U64_MAX, .survivability_mode = false,
.enable_psmi = false,
+ .disable_multi_queue = false,
.sriov = {
.max_vfs =XE_DEFAULT_MAX_VFS, .admin_only_pf =XE_DEFAULT_ADMIN_ONLY_PF, @@ - 575,6+587,33 @@
Quoted 2 lines
static
ssize_tenable_psmi_store(structconfig_item*item, const char *page,siz
Quoted 13 lines
return len;
}+static
ssize_tdisable_multi_queue_show(structconfig_item*item, char
+*page) {
+ structxe_config_device*dev =to_xe_config_device(item);
+
+ returnsprintf(page, "%d\n", dev->disable_multi_queue); }drivers/gpu/drm/xe/xe_configfs.c +2
-0+ +static ssize_t disable_multi_queue_store(struct config_itemQuoted 1 line
*item, const
char *page,
Quoted 2 lines
+
size_tlen) { + structxe_config_group_device*dev =
to_xe_config_group_device(item);drivers/gpu/drm/xe/xe_configfs.c static void dump_custom_dev_config(struct
Quoted 37 lines
+ bool val;
+ int ret;drivers/gpu/drm/xe/xe_configfs.c +14
-0+ + ret = kstrtobool(page, &val); + if (ret) + return ret; + + guard(mutex)(&dev->lock); + if (is_bound(dev)) + return -EBUSY; + + dev->config.disable_multi_queue = val; + + return len; +} +static bool
wa_bb_read_advance(bool dereference, char **p, const char *append, size_t len, size_t *max_size)@@ -812,6 +851,7 @@ staticssize_tctx_restore_post_bb_store(structconfig_item*item,
CONFIGFS_ATTR(, ctx_restore_mid_bb);CONFIGFS_ATTR(, ctx_restore_post_bb);
+CONFIGFS_ATTR(,disable_multi_queue);CONFIGFS_ATTR(, enable_psmi);CONFIGFS_ATTR(, engines_allowed);CONFIGFS_ATTR(, gt_types_allowed); @@ -820,6 +860,7 @@CONFIGFS_ATTR(, survivability_mode); static structconfigfs_attribute*xe_config_device_attrs[] = {&attr_ctx_restore_mid_bb,&attr_ctx_restore_post_bb,
+ &attr_disable_multi_queue,&attr_enable_psmi,&attr_engines_allowed,&attr_gt_types_allowed,drivers/gpu/drm/xe/xe_configfs.c +0
-0@@ -1098,6 +1139,7 @@ static void dump_custom_dev_config(struct
pci_dev*pdev,drivers/gpu/drm/xe/xe_configfs.c bool xe_configfs_get_psmi_enabled(struct
Quoted 8 lines
drivers/gpu/drm/xe/xe_configfs.c +1
-0PRI_CUSTOM_ATTR("%llx", gt_types_allowed); PRI_CUSTOM_ATTR("%llx", engines_allowed); PRI_CUSTOM_ATTR("%d", enable_psmi); + PRI_CUSTOM_ATTR("%d", disable_multi_queue); PRI_CUSTOM_ATTR("%d", survivability_mode); PRI_CUSTOM_ATTR("%u", sriov.admin_only_pf);@@ -1225,6 +1267,27 @@ bool xe_configfs_get_psmi_enabled(struct
pci_dev*pdev)Quoted 6 lines
drivers/gpu/drm/xe/xe_configfs.c +3
-0return ret; } +/** +* xe_configfs_get_disable_multi_queue - get configfs +disable_multi_queue setting drivers/gpu/drm/xe/xe_configfs.c bool xe_configfs_get_psmi_enabled(struct pci_dev *pdev)
Quoted 10 lines
drivers/gpu/drm/xe/xe_configfs.c +8
-0+* @pdev: pci device +* +* Return: true if multi-queue should be disabled for this device, +false +* otherwise. +*/ +bool xe_configfs_get_disable_multi_queue (struct pci_dev *pdev) { + struct xe_config_group_device *dev =
find_xe_config_group_device(pdev);Quoted 39 lines
drivers/gpu/drm/xe/xe_configfs.c +11
-0+ bool ret; + + if (!dev) + return false; + + ret = dev->config.disable_multi_queue; + config_group_put(&dev->group); + + return ret; +} +/**
*xe_configfs_get_ctx_restore_mid_bb- get configfsctx_restore_mid_bbsetting
* @pdev: pci devicedrivers/gpu/drm/xe/xe_configfs.h +0
-0@@ -23,6 +23,7 @@ bool xe_configfs_primary_gt_allowed(struct
pci_dev
*pdev); boolxe_configfs_media_gt_allowed(struct pci_dev *pdev);
u64xe_configfs_get_engines_allowed(struct pci_dev *pdev); boolxe_configfs_get_psmi_enabled(struct pci_dev *pdev); +boolxe_configfs_get_disable_multi_queue(struct pci_dev *pdev);
u32 xe_configfs_get_ctx_restore_mid_bb(structpci_dev*pdev, enumxe_engine_classclass,
const u32 **cs); @@ -42,6 +43,7 @@ static inline boolxe_configfs_primary_gt_allowed(struct pci_dev *pdev){ return static inline boolxe_configfs_media_gt_allowed(struct pci_dev *pdev){ return true; } static inline u64 xe_configfs_get_engines_allowed(structpci_dev*pdev) { returnU64_MAX; } static inline boolxe_configfs_get_psmi_enabled(struct pci_dev *pdev){ returnQuoted 8 lines
false; }
+static inline bool xe_configfs_get_disable_multi_queue(structpci_dev
+*pdev) { return false; }
static inline u32 xe_configfs_get_ctx_restore_mid_bb(structpci_dev*pdev,
enumxe_engine_classclass,
Quoted 2 lines
const u32 **cs) { return 0; }
diff --git
Quoted 7 lines
a/drivers/gpu/drm/xe/xe_guc.cb/drivers/gpu/drm/xe/xe_guc.cindex4023700ff2a9..cdd096a37e05100644drivers/gpu/drm/xe/xe_guc.c +0
-0@@ -101,6 +101,14 @@ static u32 guc_ctl_feature_flags(struct
xe_guc*guc)
Quoted 1 line
if (
xe_device_is_l2_flush_optimized(xe)&&xe_gt_is_media_type(guc_to_gt(guc)))
Quoted 4 lines
flags |=
GUC_CTL_ENABLE_L2FLUSH_OPT;+ /*
+ * On GuC firmware 70.66 and above, the
GUC_FEATURE_KLV_DISABLE_MULTI_QUEUEQuoted 4 lines
+ * Feature KLV is used instead.
+ */
+ if (xe_configfs_get_disable_multi_queue(to_pci_dev(xe-Quoted 1 line
drm.dev))
&&
Quoted 21 lines
+ !GUC_FIRMWARE_VER_AT_LEAST(guc, 70, 66)) + flags |=
GUC_CTL_DISABLE_MULTI_QUEUE; +
return flags;
}(quoted diff) +0
-0
b/drivers/gpu/drm/xe/xe_guc_ads.cindexc98454545a85..898ec2c6f015
100644drivers/gpu/drm/xe/xe_guc_ads.c +1
-0@@ -16,6 +16,7 @@#include "regs/xe_gt_regs.h" #include "regs/xe_guc_regs.h" #include "xe_bo.h" +#include "xe_configfs.h" #include "xe_gt.h" #include "xe_gt_ccs_mode.h" #include "xe_gt_mcr.h" drivers/gpu/drm/xe/xe_guc_ads.c static void guc_waklv_init(struct · line 367
Quoted 3 lines
drivers/gpu/drm/xe/xe_guc_ads.c +0
-0@@ -364,6 +365,19 @@ static void guc_waklv_init(struct xe_guc_ads *ads) guc_waklv_enable(ads, NULL, 0, &offset, &remain,
GUC_WA_KLV_CLR_CS_INDIRECT_RING_STATE_IF_IDLE_AT_CTX_REG);Quoted 4 lines
drivers/gpu/drm/xe/xe_guc_ads.c +2
-0+ /* +* On GuC firmware 70.66 and above, use the Feature KLV (shared
with the
Quoted 1 line
+ * WA KLV buffer); older firmware uses
GUC_CTL_DISABLE_MULTI_QUEUEinQuoted 11 lines
+ * the init params instead.
+ */
+ if (xe_configfs_get_disable_multi_queue(to_pci_dev(gt_to_xe(gt)- drm.dev))&&
+GUC_FIRMWARE_VER_AT_LEAST(>->uc.guc, 70, 66)) { + u32 data = 1;
+
+ guc_waklv_enable(ads, &data, 1, &offset, &remain,
+
GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE);Quoted 23 lines
+ }
+
size =guc_ads_waklv_size(ads)- remain;
if (!size)
return;drivers/gpu/drm/xe/xe_guc_fwif.h +0
-0@@ -68,6 +68,7 @@ struct guc_update_exec_queue_policy { #defineGUC_CTL_MAIN_GAMCTRL_QUEUES BIT(9) #define
GUC_CTL_DISABLE_SCHEDULER BIT(14) #define
GUC_CTL_ENABLE_L2FLUSH_OPT BIT(15)
+#define GUC_CTL_DISABLE_MULTI_QUEUE BIT(24)#define GUC_CTL_DEBUG 3 #define GUC_LOG_VERBOSITY REG_GENMASK(1, 0) diff --git
a/drivers/gpu/drm/xe/xe_pci.cb/drivers/gpu/drm/xe/xe_pci.cindex03362480e3e0..23ef2c7b6bce100644drivers/gpu/drm/xe/xe_pci.c +0
-0@@ -862,6 +862,8 @@ static struct xe_gt *alloc_primary_gt(structQuoted 1 line
xe_tile*tile,
Quoted 7 lines
gt->info.id =
tile->id*xe->info.max_gt_per_tile;gt->info.has_indirect_ring_state= graphics_desc-has_indirect_ring_state;gt->info.multi_queue_engine_class_mask=graphics_desc->multi_queue_engine_class_mask;
+ if (xe_configfs_get_disable_multi_queue(to_pci_dev(xe-Quoted 1 line
drm.dev)))
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
+ gt->info.multi_queue_engine_class_mask = 0;
May be add a print statement here like "disabled via configfs" similar to one in
check_sw_disable()inxe_hw_engine.c?Let me add it:
"xe_info(xe, "Multi-queue disabled via configfs\n"); "Make it
xe_gt_info().With that,
Reviewed-by: Niranjana Vishwanathapura
<[email protected]>Quoted 14 lines
Shuicheng
Quoted 11 lines
Niranjana
Quoted 8 lines
gt->info.engine_mask =
graphics_desc->hw_engine_mask;gt->info.num_geometry_xecore_fuse_regs= graphics_desc-num_geometry_xecore_fuse_regs;gt->info.num_compute_xecore_fuse_regs=graphics_desc->num_compute_xecore_fuse_regs;
--
2.43.0
Quoted 186 lines · Shuicheng
Quoted 183 lines · Stuart Summers
Quoted 46 lines · Niranjana Vishwanathapura
Quoted 45 lines · Shuicheng
Quoted 43 lines · Niranjana Vishwanathapura
Quoted 10 lines · Shuicheng Lin
Add a new configfs boolean attribute '
disable_multi_queue' that
lets an administrator force-disable multi-queue support on a
device before it binds to the driver. This is intended for debugging and for validating non-multi-queue code paths on hardware that would otherwise expose multi-queue.The hook disables multi-queue at two levels:
Quoted 7 lines
- UAPI: In
alloc_primary_gt(), cleargt->info.multi_queue_engine_class_maskon the primary GT so
that
xe_gt_supports_multi_queue() returns false and attempts to create
a multi-queue group via
DRM_XE_EXEC_QUEUE_SET_PROPERTY_MULTI_GROUPQuoted 11 lines
are rejected.
- GuC: In
guc_ctl_feature_flags(), set theGUC_CTL_DISABLE_MULTI_QUEUE
(BIT(24)) init-params bit on GuC firmware older than 70.66. On
GuC
firmware 70.66 and above,guc_waklv_init()emits the newGUC_FEATURE_KLV_DISABLE_MULTI_QUEUEFeature KLV (0x5001) via
theADS
Quoted 3 lines
WA/Feature KLV buffer instead. Feature KLVs share the WA KLV
buffer.Looks like we are not at guc firmware version 70.66 yet. I am not
sure about coding for future guc firmware releases. Probably fine
if the firmware has been already released to the public and just
that we are not upgraded to it here.Quoted 2 lines
Quoted 2 lines
Yes. The guc firmware upgrade is on the way:
https://patchwork.freedesktop.org/patch/738414/?series=169961&rev=2
Quoted 31 lines
Ok
Quoted 28 lines
Quoted 28 lines
Quoted 13 lines
The attribute is rejected after the device has been bound, so it
only takes effect during probe:# echo 1 > /sys/kernel/config/xe/0000:03:00.0/disable_multi_queue # echo 0000:03:00.0 > /sys/bus/pci/drivers/xe/bindAssisted-by Claude:claude-opus-4.7Signed-off-by Shuicheng Lin <[email protected]>Quoted 7 lines
---
Cc: Stuart Summers <[email protected]>
Cc: Niranjana Vishwanathapura
<[email protected]>
---drivers/gpu/drm/xe/abi/guc_klvs_abi.h| 3 +-
drivers/gpu/drm/xe/xe_configfs.c | 63+++++++++++++++++++++++++++
Quoted 7 lines
drivers/gpu/drm/xe/xe_configfs.h | 2 + drivers/gpu/drm/xe/xe_guc.c | 8 ++++ drivers/gpu/drm/xe/xe_guc_ads.c | 14 ++++++ drivers/gpu/drm/xe/xe_guc_fwif.h | 1 + drivers/gpu/drm/xe/xe_pci.c | 2 +
7 files changed, 92 insertions(+), 1 deletion(-)Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
drivers/gpu/drm/xe/abi/guc_klvs_abi.h enum { · line 491
Quoted 7 lines
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +0
-0@@ -491,9 +491,10 @@ enum { #define
GUC_KLV_VF_CFG_ENGINE_GROUP_PREEMPT_TIMEOUT_MIN_LENQuoted 10 lines
Quoted 10 lines
Quoted 10 lines
1u
drivers/gpu/drm/xe/abi/guc_klvs_abi.h enum { · line 492
Quoted 1 line
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +0
-0#define
GUC_KLV_VF_CFG_ENGINE_GROUP_PREEMPT_TIMEOUT_MAX_LENGUC_MAX_SCHED_GROUPSQuoted 6 lines
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +2
-1/* -* Workaround keys: +* Feature and Workaround keys: */ enum xe_guc_klv_ids { + GUC_FEATURE_KLV_DISABLE_MULTI_QUEUEQuoted 3 lines
Quoted 3 lines
Quoted 3 lines
=
0x5001,Quoted 1 line
GUC_WORKAROUND_KLV_BLOCK_INTERRUPTS_WHEN_MGSR_BLO
C
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
KED =
0x9002,Quoted 1 line
GUC_WORKAROUND_KLV_DISABLE_PSMI_INTERRUPTS_AT_C6_ENT
R
Quoted 57 lines
Quoted 42 lines
Quoted 33 lines
Y_RESTORE_AT_EXIT =
0x9004,Quoted 1 line
GUC_WORKAROUND_KLV_ID_GAM_PFQ_SHADOW_TAIL_POLLING
=
0x9005,Quoted 30 lines
drivers/gpu/drm/xe/xe_configfs.c +4
-0@@ -237,6 +237,16 @@ * * This setting only takes effect when probing the device. * + * Disable multi-queue + * ------------------- + * + * Disable multi-queue support on the device. Multi-queueexec-queue
+ * group creation via ioctl is refused, and the GuC feature is
disabled.
+ *
+ * # echo 1 > /sys/kernel/config/xe/0000:03:00.0/disable_multi_queue
+ *
+ * This attribute can only be set before binding to the device.
+ *
* Remove devices
* ==============
*drivers/gpu/drm/xe/xe_configfs.c +0
-0@@ -262,6 +272,7 @@ struct xe_config_group_device {struct
wa_bb
ctx_restore_mid_bb[XE_ENGINE_CLASS_MAX];Quoted 8 lines
Quoted 3 lines
bool
survivability_mode;
boolenable_psmi;
+ booldisable_multi_queue;Why not just name it
enable_multi_queueand have it enabled by
default?
Looks like that is the generally followed convention.Quoted 14 lines
The enable_* convention fits when a feature is off by default in the
driver and userspace opts in (e.g.enable_psmi). Multi-queue is a platform HW capability. It is on by default where
hardware supports it.
This attribute is a force-off override for debugging, so disable_*
with default false matches the semantic.
Also, enable_* will be misleading for platform that doesn't support
multi-queue.
I'd prefer to keepdisable_multi_queue.
What is your idea about it?Quoted 8 lines
To me it is a config (similar to a compile time kernel config) and
probably it should just be 'boolmulti_queue' and if set, config is
enabled (irrespective of platform has support or not) and if clear, it
is disabled. That said, I don't have a strong preference, so I am fine.For boolean configs, please call these enable_* regardless of default.
This ensures we remain consistent. I know we have thesurvivability_mode
which doesn't follow the same convention, but I think the intent here is to
turn this into a bitmap for different modes, hence it is in a slightly different
category.Quoted 1 line
For this one, please call it
enable_multi_queuebefore merging.
Quoted 10 lines
Personally, I still think
disable_is more straightforward, since this attribute works only for disable multi-queue.
Enable multi-queue takes no effect for all platforms whether support multi-queue or not.
Since both of you preferenable_multi_queue, I will update code with it.
And this change will affect most code, so I will not add the reviewed-by.
Please help me review it again with the v3 patch I will send later. Thanks.
I'd really prefer we stick with enable_* nomenclature. This is something we have historically done across platform feature flags (xe_pci.c), module parameters, and debugfs. I realize configfs is still a little new for the Intel GFX KMDs, but IMO we should keep the same methodology here. I was looking to enforce this a little more strictly with [1], at least per documentation, but I haven't had time to get back to this series. Hopefully soon...
Thanks,
Stuart
[1]: https://patchwork.freedesktop.org/series/165879/
Quoted 315 lines
Shuicheng
Quoted 311 lines
Thanks,
StuartQuoted 307 lines
Quoted 277 lines
Quoted 277 lines
Quoted 8 lines
struct {
unsigned intmax_vfs; booladmin_only_pf; @@ -281,6 +292,7 @@
static const structxe_config_devicedevice_defaults= {
Quoted 9 lines
.engines_allowed =
U64_MAX, .survivability_mode = false,
.enable_psmi = false,
+ .disable_multi_queue = false,
.sriov = {
.max_vfs =XE_DEFAULT_MAX_VFS, .admin_only_pf =XE_DEFAULT_ADMIN_ONLY_PF, @@ -
575,6+587,33 @@
Quoted 3 lines
static
ssize_tenable_psmi_store(structconfig_item*item, const
char *page,siz
Quoted 14 lines
return len;
}+static
ssize_tdisable_multi_queue_show(structconfig_item*item, char
+*page) {
+ structxe_config_device*dev =to_xe_config_device(item);
+
+ return sprintf(page, "%d\n", dev-Quoted 1 line
disable_multi_queue);}
drivers/gpu/drm/xe/xe_configfs.c +2
-0+ +static ssize_t disable_multi_queue_store(structQuoted 2 lines
config_item
*item, constchar *page,
Quoted 2 lines
+
size_tlen) { + structxe_config_group_device*dev =
to_xe_config_group_device(item);Quoted 38 lines
+ bool val;
+ int ret;drivers/gpu/drm/xe/xe_configfs.c +14
-0+ + ret = kstrtobool(page, &val); + if (ret) + return ret; + + guard(mutex)(&dev->lock); + if (is_bound(dev)) + return -EBUSY; + + dev->config.disable_multi_queue = val; + + return len; +} +static bool wa_bb_read_advance(bool dereference, char **p, const char *append,
size_tlen,
size_t*max_size) @@ -812,6 +851,7 @@ staticssize_tctx_restore_post_bb_store(structconfig_item*item,
CONFIGFS_ATTR(, ctx_restore_mid_bb);CONFIGFS_ATTR(, ctx_restore_post_bb);
+CONFIGFS_ATTR(,disable_multi_queue);CONFIGFS_ATTR(, enable_psmi);CONFIGFS_ATTR(, engines_allowed);CONFIGFS_ATTR(, gt_types_allowed); @@ -820,6 +860,7 @@CONFIGFS_ATTR(, survivability_mode); static structconfigfs_attribute*xe_config_device_attrs[] = {&attr_ctx_restore_mid_bb,&attr_ctx_restore_post_bb,
+ &attr_disable_multi_queue,&attr_enable_psmi,&attr_engines_allowed,&attr_gt_types_allowed,drivers/gpu/drm/xe/xe_configfs.c +0
-0@@ -1098,6 +1139,7 @@ static voidQuoted 1 line
dump_custom_dev_config(struct
pci_dev*pdev,Quoted 9 lines
PRI_CUSTOM_ATTR("%llx",
gt_types_allowed);PRI_CUSTOM_ATTR("%llx", engines_allowed);PRI_CUSTOM_ATTR("%d", enable_psmi); + PRI_CUSTOM_ATTR("%d",disable_multi_queue);PRI_CUSTOM_ATTR("%d", survivability_mode);PRI_CUSTOM_ATTR("%u", sriov.admin_only_pf);drivers/gpu/drm/xe/xe_configfs.c +0
-0@@ -1225,6 +1267,27 @@ boolxe_configfs_get_psmi_enabled(struct
pci_dev*pdev)Quoted 14 lines
return ret;
}drivers/gpu/drm/xe/xe_configfs.c +6
-0+/** +* xe_configfs_get_disable_multi_queue - get configfs +disable_multi_queue setting +* @pdev: pci device +* +* Return: true if multi-queue should be disabled for this device,
drivers/gpu/drm/xe/xe_configfs.c +4
-0+false +* otherwise. +*/ +bool xe_configfs_get_disable_multi_queue(struct pci_devQuoted 3 lines
*pdev)
{
+ structxe_config_group_device*dev =
find_xe_config_group_device(pdev);Quoted 46 lines
+ bool ret;
drivers/gpu/drm/xe/xe_configfs.c +10
-0+ + if (!dev) + return false; + + ret = dev->config.disable_multi_queue; + config_group_put(&dev->group); + + return ret; +} +/**
*xe_configfs_get_ctx_restore_mid_bb- get configfsctx_restore_mid_bbsetting
* @pdev: pci devicedrivers/gpu/drm/xe/xe_configfs.h +0
-0@@ -23,6 +23,7 @@ boolxe_configfs_primary_gt_allowed(struct
pci_dev
*pdev); boolxe_configfs_media_gt_allowed(struct pci_dev *pdev);
u64xe_configfs_get_engines_allowed(struct pci_dev *pdev); boolxe_configfs_get_psmi_enabled(struct pci_dev *pdev); +boolxe_configfs_get_disable_multi_queue(struct pci_dev *pdev);
u32 xe_configfs_get_ctx_restore_mid_bb(structpci_dev*pdev,
enumxe_engine_classclass,
const u32 **cs); @@ -42,6
+43,7 @@ static inline boolxe_configfs_primary_gt_allowed(struct pci_dev *pdev){ return
static inline bool xe_configfs_media_gt_allowed(structpci_dev
*pdev) { return true; } static inline u64 xe_configfs_get_engines_allowed(structpci_dev*pdev) { returnU64_MAX; } static inline boolxe_configfs_get_psmi_enabled(struct pci_dev *pdev){ return false; }Quoted 8 lines
+static inline bool xe_configfs_get_disable_multi_queue(struct
pci_dev
+*pdev) { return false; }
static inline u32 xe_configfs_get_ctx_restore_mid_bb(structpci_dev*pdev,
enumxe_engine_classclass,
Quoted 3 lines
const u32
**cs) { return 0; }diff --git
Quoted 8 lines
a/drivers/gpu/drm/xe/xe_guc.cb/drivers/gpu/drm/xe/xe_guc.cindex4023700ff2a9..cdd096a37e05100644drivers/gpu/drm/xe/xe_guc.c +0
-0@@ -101,6 +101,14 @@ static u32guc_ctl_feature_flags(struct
xe_guc*guc)
Quoted 1 line
if (
xe_device_is_l2_flush_optimized(xe)&&xe_gt_is_media_type(guc_to_gt(guc)))
Quoted 4 lines
flags |=
GUC_CTL_ENABLE_L2FLUSH_OPT;+ /*
+ * On GuC firmware 70.66 and above, the
GUC_FEATURE_KLV_DISABLE_MULTI_QUEUEQuoted 5 lines
+ * Feature KLV is used instead.
+ */
+ if (xe_configfs_get_disable_multi_queue(to_pci_dev(xe-Quoted 1 line
drm.dev))
&&
Quoted 21 lines
+ !GUC_FIRMWARE_VER_AT_LEAST(guc, 70, 66)) + flags |=
GUC_CTL_DISABLE_MULTI_QUEUE; +
return flags;
}(quoted diff) +0
-0
b/drivers/gpu/drm/xe/xe_guc_ads.cindexc98454545a85..898ec2c6f015
100644drivers/gpu/drm/xe/xe_guc_ads.c +1
-0@@ -16,6 +16,7 @@#include "regs/xe_gt_regs.h" #include "regs/xe_guc_regs.h" #include "xe_bo.h" +#include "xe_configfs.h" #include "xe_gt.h" #include "xe_gt_ccs_mode.h" #include "xe_gt_mcr.h" drivers/gpu/drm/xe/xe_guc_ads.c static void guc_waklv_init(struct · line 368
Quoted 4 lines
drivers/gpu/drm/xe/xe_guc_ads.c +0
-0@@ -364,6 +365,19 @@ static void guc_waklv_init(struct xe_guc_ads *ads) guc_waklv_enable(ads, NULL, 0, &offset, &remain,
GUC_WA_KLV_CLR_CS_INDIRECT_RING_STATE_IF_IDLE_AT_CTX_REG);Quoted 5 lines
drivers/gpu/drm/xe/xe_guc_ads.c +2
-0+ /* +* On GuC firmware 70.66 and above, use the Feature KLV
(sharedwith the
Quoted 1 line
+ * WA KLV buffer); older firmware uses
GUC_CTL_DISABLE_MULTI_QUEUEinQuoted 5 lines
+ * the init params instead.
+ */
+ if (xe_configfs_get_disable_multi_queue(to_pci_dev(gt_to_xe(gt )-Quoted 8 lines
drm.dev)) &&
+GUC_FIRMWARE_VER_AT_LEAST(>->uc.guc, 70, 66)) {
+ u32 data = 1;
+
+ guc_waklv_enable(ads, &data, 1, &offset, &remain,
+
GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE);Quoted 25 lines
+ }
+
size =guc_ads_waklv_size(ads)- remain; if (!size)
return;drivers/gpu/drm/xe/xe_guc_fwif.h +0
-0@@ -68,6 +68,7 @@ struct guc_update_exec_queue_policy { #defineGUC_CTL_MAIN_GAMCTRL_QUEUES BIT(9) #define GUC_CTL_DISABLE_SCHEDULER BIT(14) #define GUC_CTL_ENABLE_L2FLUSH_OPT BIT(15)
+#define GUC_CTL_DISABLE_MULTI_QUEUE BIT(24)#define GUC_CTL_DEBUG 3 #define GUC_LOG_VERBOSITY REG_GENMASK(1, 0) diff --git
a/drivers/gpu/drm/xe/xe_pci.cb/drivers/gpu/drm/xe/xe_pci.cindex03362480e3e0..23ef2c7b6bce100644drivers/gpu/drm/xe/xe_pci.c +0
-0@@ -862,6 +862,8 @@ static struct xe_gt *alloc_primary_gt(structQuoted 1 line
xe_tile*tile,
Quoted 9 lines
gt->info.id =
tile->id*xe->info.max_gt_per_tile;gt->info.has_indirect_ring_state= graphics_desc-has_indirect_ring_state;gt->info.multi_queue_engine_class_mask=graphics_desc->multi_queue_engine_class_mask;
+ if (xe_configfs_get_disable_multi_queue(to_pci_dev(xe-Quoted 1 line
drm.dev)))
+ gt->info.multi_queue_engine_class_mask = 0;
Quoted 7 lines
Quoted 4 lines
May be add a print statement here like "disabled via configfs"
similar to one incheck_sw_disable()inxe_hw_engine.c?Let me add it:
"xe_info(xe, "Multi-queue disabled via configfs\n"); "Make it
xe_gt_info().With that,
Reviewed-by: Niranjana Vishwanathapura
<[email protected]>Quoted 16 lines
Shuicheng
Quoted 13 lines
Niranjana
Quoted 10 lines
gt->info.engine_mask = graphics_desc-
Quoted 1 line
hw_engine_mask;gt->info.num_geometry_xecore_fuse_regs = graphics_desc-
num_geometry_xecore_fuse_regs;gt->info.num_compute_xecore_fuse_regs=graphics_desc->num_compute_xecore_fuse_regs;
--
2.43.0
PATCH v3 1/1 drm/xe/configfs: Add enable_multi_queue attribute
In reply to Shuicheng LinAdd a new configfs boolean attribute 'enable_multi_queue' that lets an administrator force-disable multi-queue support on a device before it binds to the driver. The attribute defaults to true (use the platform hardware capability as-is); writing 0 force-disables multi-queue. This is intended for debugging and for validating non-multi-queue code paths on hardware that would otherwise expose multi-queue.
The override disables multi-queue at two levels:
- UAPI: In alloc_primary_gt(), clear gt->info.multi_queue_engine_class_mask on the primary GT so that xe_gt_supports_multi_queue() returns false and attempts to create a multi-queue group via DRM_XE_EXEC_QUEUE_SET_PROPERTY_MULTI_GROUP are rejected.
- GuC: In guc_ctl_feature_flags(), set the GUC_CTL_DISABLE_MULTI_QUEUE (BIT(24)) init-params bit on GuC firmware older than 70.66. On GuC firmware 70.66 and above, guc_waklv_init() emits the new GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE Feature KLV (0x5001) via the ADS WA/Feature KLV buffer instead. Feature KLVs share the WA KLV buffer.
The attribute is rejected after the device has been bound, so it only takes effect during probe:
# echo 0 > /sys/kernel/config/xe/0000:03:00.0/enable_multi_queue # echo 0000:03:00.0 > /sys/bus/pci/drivers/xe/bind
v2: Add log for multi-queue disabled. (Niranjana)
v3: Rename attribute to enable_multi_queue with default true. (Stuart &&
Niranjana)
--- drivers/gpu/drm/xe/abi/guc_klvs_abi.h | 3 +- drivers/gpu/drm/xe/xe_configfs.c | 65 +++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_configfs.h | 2 + drivers/gpu/drm/xe/xe_guc.c | 8 ++++ drivers/gpu/drm/xe/xe_guc_ads.c | 14 ++++++ drivers/gpu/drm/xe/xe_guc_fwif.h | 1 + drivers/gpu/drm/xe/xe_pci.c | 5 +++ 7 files changed, 97 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/abi/guc_klvs_abi.h +2 -1
@@ -491,9 +491,10 @@ enum {#define GUC_KLV_VF_CFG_ENGINE_GROUP_PREEMPT_TIMEOUT_MIN_LEN 1u#define GUC_KLV_VF_CFG_ENGINE_GROUP_PREEMPT_TIMEOUT_MAX_LEN GUC_MAX_SCHED_GROUPS/* -* Workaround keys: +* Feature and Workaround keys: */ enum xe_guc_klv_ids { +GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE =0x5001 ,GUC_WORKAROUND_KLV_BLOCK_INTERRUPTS_WHEN_MGSR_BLOCKED =0x9002 ,GUC_WORKAROUND_KLV_DISABLE_PSMI_INTERRUPTS_AT_C6_ENTRY_RESTORE_AT_EXIT =0x9004 ,GUC_WORKAROUND_KLV_ID_GAM_PFQ_SHADOW_TAIL_POLLING =0x9005 ,
drivers/gpu/drm/xe/xe_configfs.c +65 -0
113 lines not on this page · raw message
drivers/gpu/drm/xe/xe_configfs.h +2 -0
@@ -23,6 +23,7 @@ bool xe_configfs_primary_gt_allowed(struct pci_dev *pdev);bool xe_configfs_media_gt_allowed (struct pci_dev *pdev);u64 xe_configfs_get_engines_allowed (struct pci_dev *pdev);bool xe_configfs_get_psmi_enabled (struct pci_dev *pdev); +bool xe_configfs_get_enable_multi_queue (struct pci_dev *pdev);u32 xe_configfs_get_ctx_restore_mid_bb (struct pci_dev *pdev,enum xe_engine_class class,const u32 **cs);
@@ -42,6 +43,7 @@ static inline bool xe_configfs_primary_gt_allowed(struct pci_dev *pdev) { returnstatic inline bool xe_configfs_media_gt_allowed (struct pci_dev *pdev) {return true; }static inline u64 xe_configfs_get_engines_allowed (struct pci_dev *pdev) {return U64_MAX ; }static inline bool xe_configfs_get_psmi_enabled (struct pci_dev *pdev) {return false; } +static inline bool xe_configfs_get_enable_multi_queue (struct pci_dev *pdev) {return true; }static inline u32 xe_configfs_get_ctx_restore_mid_bb (struct pci_dev *pdev,enum xe_engine_class class,const u32 **cs) {return 0 ; }
drivers/gpu/drm/xe/xe_guc.c +8 -0
@@ -101,6 +101,14 @@ static u32 guc_ctl_feature_flags(struct xe_guc *guc)if (xe_device_is_l2_flush_optimized (xe) &&xe_gt_is_media_type (guc_to_gt (guc))) flags |=GUC_CTL_ENABLE_L2FLUSH_OPT ; +/* +* On GuC firmware 70.66 and above, the GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE +* Feature KLV is used instead. +*/ +if (!xe_configfs_get_enable_multi_queue (to_pci_dev (xe->drm.dev)) && + !GUC_FIRMWARE_VER_AT_LEAST (guc,70 ,66 )) + flags |=GUC_CTL_DISABLE_MULTI_QUEUE ; +return flags; }
drivers/gpu/drm/xe/xe_guc_ads.c +14 -0
@@ -16,6 +16,7 @@#include "regs/xe_gt_regs.h" #include "regs/xe_guc_regs.h" #include "xe_bo.h" +#include "xe_configfs.h" #include "xe_gt.h" #include "xe_gt_ccs_mode.h" #include "xe_gt_mcr.h"
@@ -364,6 +365,19 @@ static void guc_waklv_init(struct xe_guc_ads *ads)guc_waklv_enable (ads,NULL ,0 , &offset, &remain,GUC_WA_KLV_CLR_CS_INDIRECT_RING_STATE_IF_IDLE_AT_CTX_REG ); +/* +* On GuC firmware 70.66 and above, use the Feature KLV (shared with the +* WA KLV buffer); older firmware uses GUC_CTL_DISABLE_MULTI_QUEUE in +* the init params instead. +*/ +if (!xe_configfs_get_enable_multi_queue (to_pci_dev (gt_to_xe (gt)->drm.dev)) && +GUC_FIRMWARE_VER_AT_LEAST (>->uc.guc,70 ,66 )) { +u32 data =1 ; + +guc_waklv_enable (ads, &data,1 , &offset, &remain, +GUC_FEATURE_KLV_DISABLE_MULTI_QUEUE ); + } + size =guc_ads_waklv_size (ads) - remain;if (!size)return ;
drivers/gpu/drm/xe/xe_guc_fwif.h +1 -0
@@ -68,6 +68,7 @@ struct guc_update_exec_queue_policy {#define GUC_CTL_MAIN_GAMCTRL_QUEUES BIT(9)#define GUC_CTL_DISABLE_SCHEDULER BIT(14)#define GUC_CTL_ENABLE_L2FLUSH_OPT BIT(15) +#define GUC_CTL_DISABLE_MULTI_QUEUE BIT(24)#define GUC_CTL_DEBUG 3#define GUC_LOG_VERBOSITY REG_GENMASK(1, 0)
drivers/gpu/drm/xe/xe_pci.c +5 -0
@@ -22,6 +22,7 @@#include "xe_device.h" #include "xe_drv.h" #include "xe_gt.h" +#include "xe_gt_printk.h" #include "xe_gt_sriov_vf.h" #include "xe_guc.h" #include "xe_mmio.h"
@@ -876,6 +877,10 @@ static struct xe_gt *alloc_primary_gt(struct xe_tile *tile, gt->info.id = tile->id * xe->info.max_gt_per_tile; gt->info.has_indirect_ring_state = graphics_desc->has_indirect_ring_state; gt->info.multi_queue_engine_class_mask = graphics_desc->multi_queue_engine_class_mask; +if (!xe_configfs_get_enable_multi_queue (to_pci_dev (xe->drm.dev))) { +xe_gt_info (gt,"Multi-queue disabled via configfs\n" ); + gt->info.multi_queue_engine_class_mask =0 ; + } gt->info.engine_mask = graphics_desc->hw_engine_mask; gt->info.num_geometry_xecore_fuse_regs = graphics_desc->num_geometry_xecore_fuse_regs; gt->info.num_compute_xecore_fuse_regs = graphics_desc->num_compute_xecore_fuse_regs;
Signature · 1 line
2.43.0