* [PATCH] drm/xe/vf: Print assumed values of the MOCS entries if VF
@ 2024-11-15 21:00 Michal Wajdeczko
2024-11-15 21:43 ` ✓ CI.Patch_applied: success for " Patchwork
` (7 more replies)
0 siblings, 8 replies; 10+ messages in thread
From: Michal Wajdeczko @ 2024-11-15 21:00 UTC (permalink / raw)
To: intel-xe; +Cc: Michal Wajdeczko, Matt Roper
VF drivers can't access the MOCS registers so their values can't
be printed as part of the gt0/mocs debugfs attribute, but since
MOCS settings are part of the Bspec and SLA between PF and VFs,
we can print assumed MOCS values instead.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
---
drivers/gpu/drm/xe/xe_mocs.c | 42 +++++++++++++++++++++++++++++-------
1 file changed, 34 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/xe/xe_mocs.c b/drivers/gpu/drm/xe/xe_mocs.c
index 54d199b5cfb2..9ad5366f4370 100644
--- a/drivers/gpu/drm/xe/xe_mocs.c
+++ b/drivers/gpu/drm/xe/xe_mocs.c
@@ -257,6 +257,14 @@ static const struct xe_mocs_entry gen12_mocs_desc[] = {
L3_1_UC)
};
+static u32 get_entry_control(const struct xe_mocs_info *info, unsigned int index);
+static u32 get_combined_entry_l3cc(const struct xe_mocs_info *info, unsigned int index);
+
+static bool regs_are_not_available(struct xe_gt *gt)
+{
+ return IS_SRIOV_VF(gt_to_xe(gt));
+}
+
static bool regs_are_mcr(struct xe_gt *gt)
{
struct xe_device *xe = gt_to_xe(gt);
@@ -275,7 +283,9 @@ static void xelp_lncf_dump(struct xe_mocs_info *info, struct xe_gt *gt, struct d
drm_printf(p, "LNCFCMOCS[idx] = [ESC, SCC, L3CC] (value)\n\n");
for (i = 0, j = 0; i < (info->num_mocs_regs + 1) / 2; i++, j++) {
- if (regs_are_mcr(gt))
+ if (regs_are_not_available(gt))
+ reg_val = get_combined_entry_l3cc(info, i);
+ else if (regs_are_mcr(gt))
reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_LNCFCMOCS(i));
else
reg_val = xe_mmio_read32(>->mmio, XELP_LNCFCMOCS(i));
@@ -307,7 +317,9 @@ static void xelp_mocs_dump(struct xe_mocs_info *info, unsigned int flags,
drm_printf(p, "GLOB_MOCS[idx] = [LeCC, TC, LRUM, AOM, RSC, SCC, PFM, SCF, CoS, SSE] (value)\n\n");
for (i = 0; i < info->num_mocs_regs; i++) {
- if (regs_are_mcr(gt))
+ if (regs_are_not_available(gt))
+ reg_val = get_entry_control(info, i);
+ else if (regs_are_mcr(gt))
reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_GLOBAL_MOCS(i));
else
reg_val = xe_mmio_read32(>->mmio, XELP_GLOBAL_MOCS(i));
@@ -380,7 +392,9 @@ static void xehp_lncf_dump(struct xe_mocs_info *info, unsigned int flags,
drm_printf(p, "LNCFCMOCS[idx] = [UCL3LOOKUP, GLBGO, L3CC] (value)\n\n");
for (i = 0, j = 0; i < (info->num_mocs_regs + 1) / 2; i++, j++) {
- if (regs_are_mcr(gt))
+ if (regs_are_not_available(gt))
+ reg_val = get_combined_entry_l3cc(info, i);
+ else if (regs_are_mcr(gt))
reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_LNCFCMOCS(i));
else
reg_val = xe_mmio_read32(>->mmio, XELP_LNCFCMOCS(i));
@@ -425,7 +439,9 @@ static void pvc_mocs_dump(struct xe_mocs_info *info, unsigned int flags, struct
drm_printf(p, "LNCFCMOCS[idx] = [ L3CC ] (value)\n\n");
for (i = 0, j = 0; i < (info->num_mocs_regs + 1) / 2; i++, j++) {
- if (regs_are_mcr(gt))
+ if (regs_are_not_available(gt))
+ reg_val = get_combined_entry_l3cc(info, i);
+ else if (regs_are_mcr(gt))
reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_LNCFCMOCS(i));
else
reg_val = xe_mmio_read32(>->mmio, XELP_LNCFCMOCS(i));
@@ -507,7 +523,9 @@ static void mtl_mocs_dump(struct xe_mocs_info *info, unsigned int flags,
drm_printf(p, "GLOB_MOCS[idx] = [IG_PAT, L4_CACHE_POLICY] (value)\n\n");
for (i = 0; i < info->num_mocs_regs; i++) {
- if (regs_are_mcr(gt))
+ if (regs_are_not_available(gt))
+ reg_val = get_entry_control(info, i);
+ else if (regs_are_mcr(gt))
reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_GLOBAL_MOCS(i));
else
reg_val = xe_mmio_read32(>->mmio, XELP_GLOBAL_MOCS(i));
@@ -550,7 +568,9 @@ static void xe2_mocs_dump(struct xe_mocs_info *info, unsigned int flags,
drm_printf(p, "GLOB_MOCS[idx] = [IG_PAT, L3_CLOS, L3_CACHE_POLICY, L4_CACHE_POLICY] (value)\n\n");
for (i = 0; i < info->num_mocs_regs; i++) {
- if (regs_are_mcr(gt))
+ if (regs_are_not_available(gt))
+ reg_val = get_entry_control(info, i);
+ else if (regs_are_mcr(gt))
reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_GLOBAL_MOCS(i));
else
reg_val = xe_mmio_read32(>->mmio, XELP_GLOBAL_MOCS(i));
@@ -713,6 +733,13 @@ static u32 l3cc_combine(u16 low, u16 high)
return low | (u32)high << 16;
}
+static u32 get_combined_entry_l3cc(const struct xe_mocs_info *info,
+ unsigned int index)
+{
+ return l3cc_combine(get_entry_l3cc(info, 2 * index),
+ get_entry_l3cc(info, 2 * index + 1));
+}
+
static void init_l3cc_table(struct xe_gt *gt,
const struct xe_mocs_info *info)
{
@@ -722,8 +749,7 @@ static void init_l3cc_table(struct xe_gt *gt,
mocs_dbg(gt, "l3cc entries: %d\n", info->num_mocs_regs);
for (i = 0; i < (info->num_mocs_regs + 1) / 2; i++) {
- l3cc = l3cc_combine(get_entry_l3cc(info, 2 * i),
- get_entry_l3cc(info, 2 * i + 1));
+ l3cc = get_combined_entry_l3cc(info, i);
mocs_dbg(gt, "LNCFCMOCS[%d] 0x%x 0x%x\n", i,
XELP_LNCFCMOCS(i).addr, l3cc);
--
2.43.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* ✓ CI.Patch_applied: success for drm/xe/vf: Print assumed values of the MOCS entries if VF
2024-11-15 21:00 [PATCH] drm/xe/vf: Print assumed values of the MOCS entries if VF Michal Wajdeczko
@ 2024-11-15 21:43 ` Patchwork
2024-11-15 21:43 ` ✓ CI.checkpatch: " Patchwork
` (6 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2024-11-15 21:43 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
== Series Details ==
Series: drm/xe/vf: Print assumed values of the MOCS entries if VF
URL : https://patchwork.freedesktop.org/series/141427/
State : success
== Summary ==
=== Applying kernel patches on branch 'drm-tip' with base: ===
Base commit: f43942f219c8 drm-tip: 2024y-11m-15d-19h-15m-44s UTC integration manifest
=== git am output follows ===
Applying: drm/xe/vf: Print assumed values of the MOCS entries if VF
^ permalink raw reply [flat|nested] 10+ messages in thread
* ✓ CI.checkpatch: success for drm/xe/vf: Print assumed values of the MOCS entries if VF
2024-11-15 21:00 [PATCH] drm/xe/vf: Print assumed values of the MOCS entries if VF Michal Wajdeczko
2024-11-15 21:43 ` ✓ CI.Patch_applied: success for " Patchwork
@ 2024-11-15 21:43 ` Patchwork
2024-11-15 21:44 ` ✓ CI.KUnit: " Patchwork
` (5 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2024-11-15 21:43 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
== Series Details ==
Series: drm/xe/vf: Print assumed values of the MOCS entries if VF
URL : https://patchwork.freedesktop.org/series/141427/
State : success
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit a88a7f2a5f8fb9f9022bd50f2c77e1ccd94c908d
Author: Michal Wajdeczko <michal.wajdeczko@intel.com>
Date: Fri Nov 15 22:00:25 2024 +0100
drm/xe/vf: Print assumed values of the MOCS entries if VF
VF drivers can't access the MOCS registers so their values can't
be printed as part of the gt0/mocs debugfs attribute, but since
MOCS settings are part of the Bspec and SLA between PF and VFs,
we can print assumed MOCS values instead.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
+ /mt/dim checkpatch f43942f219c827e4e89baa102ceca3d62205135e drm-intel
a88a7f2a5f8f drm/xe/vf: Print assumed values of the MOCS entries if VF
^ permalink raw reply [flat|nested] 10+ messages in thread
* ✓ CI.KUnit: success for drm/xe/vf: Print assumed values of the MOCS entries if VF
2024-11-15 21:00 [PATCH] drm/xe/vf: Print assumed values of the MOCS entries if VF Michal Wajdeczko
2024-11-15 21:43 ` ✓ CI.Patch_applied: success for " Patchwork
2024-11-15 21:43 ` ✓ CI.checkpatch: " Patchwork
@ 2024-11-15 21:44 ` Patchwork
2024-11-15 22:02 ` ✓ CI.Build: " Patchwork
` (4 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2024-11-15 21:44 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
== Series Details ==
Series: drm/xe/vf: Print assumed values of the MOCS entries if VF
URL : https://patchwork.freedesktop.org/series/141427/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[21:43:17] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[21:43:21] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json ARCH=um O=.kunit --jobs=48
../lib/iomap.c:156:5: warning: no previous prototype for ‘ioread64_lo_hi’ [-Wmissing-prototypes]
156 | u64 ioread64_lo_hi(const void __iomem *addr)
| ^~~~~~~~~~~~~~
../lib/iomap.c:163:5: warning: no previous prototype for ‘ioread64_hi_lo’ [-Wmissing-prototypes]
163 | u64 ioread64_hi_lo(const void __iomem *addr)
| ^~~~~~~~~~~~~~
../lib/iomap.c:170:5: warning: no previous prototype for ‘ioread64be_lo_hi’ [-Wmissing-prototypes]
170 | u64 ioread64be_lo_hi(const void __iomem *addr)
| ^~~~~~~~~~~~~~~~
../lib/iomap.c:178:5: warning: no previous prototype for ‘ioread64be_hi_lo’ [-Wmissing-prototypes]
178 | u64 ioread64be_hi_lo(const void __iomem *addr)
| ^~~~~~~~~~~~~~~~
../lib/iomap.c:264:6: warning: no previous prototype for ‘iowrite64_lo_hi’ [-Wmissing-prototypes]
264 | void iowrite64_lo_hi(u64 val, void __iomem *addr)
| ^~~~~~~~~~~~~~~
../lib/iomap.c:272:6: warning: no previous prototype for ‘iowrite64_hi_lo’ [-Wmissing-prototypes]
272 | void iowrite64_hi_lo(u64 val, void __iomem *addr)
| ^~~~~~~~~~~~~~~
../lib/iomap.c:280:6: warning: no previous prototype for ‘iowrite64be_lo_hi’ [-Wmissing-prototypes]
280 | void iowrite64be_lo_hi(u64 val, void __iomem *addr)
| ^~~~~~~~~~~~~~~~~
../lib/iomap.c:288:6: warning: no previous prototype for ‘iowrite64be_hi_lo’ [-Wmissing-prototypes]
288 | void iowrite64be_hi_lo(u64 val, void __iomem *addr)
| ^~~~~~~~~~~~~~~~~
[21:43:49] Starting KUnit Kernel (1/1)...
[21:43:49] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[21:43:49] =================== guc_dbm (7 subtests) ===================
[21:43:49] [PASSED] test_empty
[21:43:49] [PASSED] test_default
[21:43:49] ======================== test_size ========================
[21:43:49] [PASSED] 4
[21:43:49] [PASSED] 8
[21:43:49] [PASSED] 32
[21:43:49] [PASSED] 256
[21:43:49] ==================== [PASSED] test_size ====================
[21:43:49] ======================= test_reuse ========================
[21:43:49] [PASSED] 4
[21:43:49] [PASSED] 8
[21:43:49] [PASSED] 32
[21:43:49] [PASSED] 256
[21:43:49] =================== [PASSED] test_reuse ====================
[21:43:49] =================== test_range_overlap ====================
[21:43:49] [PASSED] 4
[21:43:49] [PASSED] 8
[21:43:49] [PASSED] 32
[21:43:49] [PASSED] 256
[21:43:49] =============== [PASSED] test_range_overlap ================
[21:43:49] =================== test_range_compact ====================
[21:43:49] [PASSED] 4
[21:43:49] [PASSED] 8
[21:43:49] [PASSED] 32
[21:43:49] [PASSED] 256
[21:43:49] =============== [PASSED] test_range_compact ================
[21:43:49] ==================== test_range_spare =====================
[21:43:49] [PASSED] 4
[21:43:49] [PASSED] 8
[21:43:49] [PASSED] 32
[21:43:49] [PASSED] 256
[21:43:49] ================ [PASSED] test_range_spare =================
[21:43:49] ===================== [PASSED] guc_dbm =====================
[21:43:49] =================== guc_idm (6 subtests) ===================
[21:43:49] [PASSED] bad_init
[21:43:49] [PASSED] no_init
[21:43:49] [PASSED] init_fini
[21:43:49] [PASSED] check_used
[21:43:49] [PASSED] check_quota
[21:43:49] [PASSED] check_all
[21:43:49] ===================== [PASSED] guc_idm =====================
[21:43:49] ================== no_relay (3 subtests) ===================
[21:43:49] [PASSED] xe_drops_guc2pf_if_not_ready
[21:43:49] [PASSED] xe_drops_guc2vf_if_not_ready
[21:43:49] [PASSED] xe_rejects_send_if_not_ready
[21:43:49] ==================== [PASSED] no_relay =====================
[21:43:49] ================== pf_relay (14 subtests) ==================
[21:43:49] [PASSED] pf_rejects_guc2pf_too_short
[21:43:49] [PASSED] pf_rejects_guc2pf_too_long
[21:43:49] [PASSED] pf_rejects_guc2pf_no_payload
[21:43:49] [PASSED] pf_fails_no_payload
[21:43:49] [PASSED] pf_fails_bad_origin
[21:43:49] [PASSED] pf_fails_bad_type
[21:43:49] [PASSED] pf_txn_reports_error
[21:43:49] [PASSED] pf_txn_sends_pf2guc
[21:43:49] [PASSED] pf_sends_pf2guc
[21:43:49] [SKIPPED] pf_loopback_nop
[21:43:49] [SKIPPED] pf_loopback_echo
[21:43:49] [SKIPPED] pf_loopback_fail
[21:43:49] [SKIPPED] pf_loopback_busy
[21:43:49] [SKIPPED] pf_loopback_retry
[21:43:49] ==================== [PASSED] pf_relay =====================
[21:43:49] ================== vf_relay (3 subtests) ===================
[21:43:49] [PASSED] vf_rejects_guc2vf_too_short
[21:43:49] [PASSED] vf_rejects_guc2vf_too_long
[21:43:49] [PASSED] vf_rejects_guc2vf_no_payload
[21:43:49] ==================== [PASSED] vf_relay =====================
[21:43:49] ================= pf_service (11 subtests) =================
[21:43:49] [PASSED] pf_negotiate_any
[21:43:49] [PASSED] pf_negotiate_base_match
[21:43:49] [PASSED] pf_negotiate_base_newer
[21:43:49] [PASSED] pf_negotiate_base_next
[21:43:49] [SKIPPED] pf_negotiate_base_older
[21:43:49] [PASSED] pf_negotiate_base_prev
[21:43:49] [PASSED] pf_negotiate_latest_match
[21:43:49] [PASSED] pf_negotiate_latest_newer
[21:43:49] [PASSED] pf_negotiate_latest_next
[21:43:49] [SKIPPED] pf_negotiate_latest_older
[21:43:49] [SKIPPED] pf_negotiate_latest_prev
[21:43:49] =================== [PASSED] pf_service ====================
[21:43:49] ===================== lmtt (1 subtest) =====================
[21:43:49] ======================== test_ops =========================
[21:43:49] [PASSED] 2-level
[21:43:49] [PASSED] multi-level
[21:43:49] ==================== [PASSED] test_ops =====================
[21:43:49] ====================== [PASSED] lmtt =======================
[21:43:49] =================== xe_mocs (2 subtests) ===================
[21:43:49] ================ xe_live_mocs_kernel_kunit ================
[21:43:49] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[21:43:49] ================ xe_live_mocs_reset_kunit =================
[21:43:49] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[21:43:49] ==================== [SKIPPED] xe_mocs =====================
[21:43:49] ================= xe_migrate (2 subtests) ==================
[21:43:49] ================= xe_migrate_sanity_kunit =================
[21:43:49] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[21:43:49] ================== xe_validate_ccs_kunit ==================
[21:43:49] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[21:43:49] =================== [SKIPPED] xe_migrate ===================
[21:43:49] ================== xe_dma_buf (1 subtest) ==================
[21:43:49] ==================== xe_dma_buf_kunit =====================
[21:43:49] ================ [SKIPPED] xe_dma_buf_kunit ================
[21:43:49] =================== [SKIPPED] xe_dma_buf ===================
[21:43:49] ==================== xe_bo (3 subtests) ====================
[21:43:49] ================== xe_ccs_migrate_kunit ===================
[21:43:49] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[21:43:49] ==================== xe_bo_evict_kunit ====================
[21:43:49] =============== [SKIPPED] xe_bo_evict_kunit ================
[21:43:49] =================== xe_bo_shrink_kunit ====================
[21:43:49] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[21:43:49] ===================== [SKIPPED] xe_bo ======================
[21:43:49] ==================== args (11 subtests) ====================
[21:43:49] [PASSED] count_args_test
[21:43:49] [PASSED] call_args_example
[21:43:49] [PASSED] call_args_test
[21:43:49] [PASSED] drop_first_arg_example
[21:43:49] [PASSED] drop_first_arg_test
[21:43:49] [PASSED] first_arg_example
[21:43:49] [PASSED] first_arg_test
[21:43:49] [PASSED] last_arg_example
[21:43:49] [PASSED] last_arg_test
[21:43:49] [PASSED] pick_arg_example
[21:43:49] [PASSED] sep_comma_examplestty: 'standard input': Inappropriate ioctl for device
[21:43:49] ====================== [PASSED] args =======================
[21:43:49] =================== xe_pci (2 subtests) ====================
[21:43:49] [PASSED] xe_gmdid_graphics_ip
[21:43:49] [PASSED] xe_gmdid_media_ip
[21:43:49] ===================== [PASSED] xe_pci ======================
[21:43:49] =================== xe_rtp (2 subtests) ====================
[21:43:49] =============== xe_rtp_process_to_sr_tests ================
[21:43:49] [PASSED] coalesce-same-reg
[21:43:49] [PASSED] no-match-no-add
[21:43:49] [PASSED] match-or
[21:43:49] [PASSED] match-or-xfail
[21:43:49] [PASSED] no-match-no-add-multiple-rules
[21:43:49] [PASSED] two-regs-two-entries
[21:43:49] [PASSED] clr-one-set-other
[21:43:49] [PASSED] set-field
[21:43:49] [PASSED] conflict-duplicate
[21:43:49] [PASSED] conflict-not-disjoint
[21:43:49] [PASSED] conflict-reg-type
[21:43:49] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[21:43:49] ================== xe_rtp_process_tests ===================
[21:43:49] [PASSED] active1
[21:43:49] [PASSED] active2
[21:43:49] [PASSED] active-inactive
[21:43:49] [PASSED] inactive-active
[21:43:49] [PASSED] inactive-1st_or_active-inactive
[21:43:49] [PASSED] inactive-2nd_or_active-inactive
[21:43:49] [PASSED] inactive-last_or_active-inactive
[21:43:49] [PASSED] inactive-no_or_active-inactive
[21:43:49] ============== [PASSED] xe_rtp_process_tests ===============
[21:43:49] ===================== [PASSED] xe_rtp ======================
[21:43:49] ==================== xe_wa (1 subtest) =====================
[21:43:49] ======================== xe_wa_gt =========================
[21:43:49] [PASSED] TIGERLAKE (B0)
[21:43:49] [PASSED] DG1 (A0)
[21:43:49] [PASSED] DG1 (B0)
[21:43:49] [PASSED] ALDERLAKE_S (A0)
[21:43:49] [PASSED] ALDERLAKE_S (B0)
[21:43:49] [PASSED] ALDERLAKE_S (C0)
[21:43:49] [PASSED] ALDERLAKE_S (D0)
[21:43:49] [PASSED] ALDERLAKE_P (A0)
[21:43:49] [PASSED] ALDERLAKE_P (B0)
[21:43:49] [PASSED] ALDERLAKE_P (C0)
[21:43:49] [PASSED] ALDERLAKE_S_RPLS (D0)
[21:43:49] [PASSED] ALDERLAKE_P_RPLU (E0)
[21:43:49] [PASSED] DG2_G10 (C0)
[21:43:49] [PASSED] DG2_G11 (B1)
[21:43:49] [PASSED] DG2_G12 (A1)
[21:43:49] [PASSED] METEORLAKE (g:A0, m:A0)
[21:43:49] [PASSED] METEORLAKE (g:A0, m:A0)
[21:43:49] [PASSED] METEORLAKE (g:A0, m:A0)
[21:43:49] [PASSED] LUNARLAKE (g:A0, m:A0)
[21:43:49] [PASSED] LUNARLAKE (g:B0, m:A0)
[21:43:49] [PASSED] BATTLEMAGE (g:A0, m:A1)
[21:43:49] ==================== [PASSED] xe_wa_gt =====================
[21:43:49] ====================== [PASSED] xe_wa ======================
[21:43:49] ============================================================
[21:43:49] Testing complete. Ran 122 tests: passed: 106, skipped: 16
[21:43:49] Elapsed time: 32.658s total, 4.442s configuring, 27.949s building, 0.223s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[21:43:50] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[21:43:51] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json ARCH=um O=.kunit --jobs=48
../lib/iomap.c:156:5: warning: no previous prototype for ‘ioread64_lo_hi’ [-Wmissing-prototypes]
156 | u64 ioread64_lo_hi(const void __iomem *addr)
| ^~~~~~~~~~~~~~
../lib/iomap.c:163:5: warning: no previous prototype for ‘ioread64_hi_lo’ [-Wmissing-prototypes]
163 | u64 ioread64_hi_lo(const void __iomem *addr)
| ^~~~~~~~~~~~~~
../lib/iomap.c:170:5: warning: no previous prototype for ‘ioread64be_lo_hi’ [-Wmissing-prototypes]
170 | u64 ioread64be_lo_hi(const void __iomem *addr)
| ^~~~~~~~~~~~~~~~
../lib/iomap.c:178:5: warning: no previous prototype for ‘ioread64be_hi_lo’ [-Wmissing-prototypes]
178 | u64 ioread64be_hi_lo(const void __iomem *addr)
| ^~~~~~~~~~~~~~~~
../lib/iomap.c:264:6: warning: no previous prototype for ‘iowrite64_lo_hi’ [-Wmissing-prototypes]
264 | void iowrite64_lo_hi(u64 val, void __iomem *addr)
| ^~~~~~~~~~~~~~~
../lib/iomap.c:272:6: warning: no previous prototype for ‘iowrite64_hi_lo’ [-Wmissing-prototypes]
272 | void iowrite64_hi_lo(u64 val, void __iomem *addr)
| ^~~~~~~~~~~~~~~
../lib/iomap.c:280:6: warning: no previous prototype for ‘iowrite64be_lo_hi’ [-Wmissing-prototypes]
280 | void iowrite64be_lo_hi(u64 val, void __iomem *addr)
| ^~~~~~~~~~~~~~~~~
../lib/iomap.c:288:6: warning: no previous prototype for ‘iowrite64be_hi_lo’ [-Wmissing-prototypes]
288 | void iowrite64be_hi_lo(u64 val, void __iomem *addr)
| ^~~~~~~~~~~~~~~~~
[21:44:14] Starting KUnit Kernel (1/1)...
[21:44:14] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[21:44:14] ================== drm_buddy (7 subtests) ==================
[21:44:14] [PASSED] drm_test_buddy_alloc_limit
[21:44:14] [PASSED] drm_test_buddy_alloc_optimistic
[21:44:14] [PASSED] drm_test_buddy_alloc_pessimistic
[21:44:14] [PASSED] drm_test_buddy_alloc_pathological
[21:44:14] [PASSED] drm_test_buddy_alloc_contiguous
[21:44:14] [PASSED] drm_test_buddy_alloc_clear
[21:44:14] [PASSED] drm_test_buddy_alloc_range_bias
[21:44:14] ==================== [PASSED] drm_buddy ====================
[21:44:14] ============= drm_cmdline_parser (40 subtests) =============
[21:44:14] [PASSED] drm_test_cmdline_force_d_only
[21:44:14] [PASSED] drm_test_cmdline_force_D_only_dvi
[21:44:14] [PASSED] drm_test_cmdline_force_D_only_hdmi
[21:44:14] [PASSED] drm_test_cmdline_force_D_only_not_digital
[21:44:14] [PASSED] drm_test_cmdline_force_e_only
[21:44:14] [PASSED] drm_test_cmdline_res
[21:44:14] [PASSED] drm_test_cmdline_res_vesa
[21:44:14] [PASSED] drm_test_cmdline_res_vesa_rblank
[21:44:14] [PASSED] drm_test_cmdline_res_rblank
[21:44:14] [PASSED] drm_test_cmdline_res_bpp
[21:44:14] [PASSED] drm_test_cmdline_res_refresh
[21:44:14] [PASSED] drm_test_cmdline_res_bpp_refresh
[21:44:14] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[21:44:14] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[21:44:14] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[21:44:14] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[21:44:14] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[21:44:14] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[21:44:14] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[21:44:14] [PASSED] drm_test_cmdline_res_margins_force_on
[21:44:14] [PASSED] drm_test_cmdline_res_vesa_margins
[21:44:14] [PASSED] drm_test_cmdline_name
[21:44:14] [PASSED] drm_test_cmdline_name_bpp
[21:44:14] [PASSED] drm_test_cmdline_name_option
[21:44:14] [PASSED] drm_test_cmdline_name_bpp_option
[21:44:14] [PASSED] drm_test_cmdline_rotate_0
[21:44:14] [PASSED] drm_test_cmdline_rotate_90
[21:44:14] [PASSED] drm_test_cmdline_rotate_180
[21:44:14] [PASSED] drm_test_cmdline_rotate_270
[21:44:14] [PASSED] drm_test_cmdline_hmirror
[21:44:14] [PASSED] drm_test_cmdline_vmirror
[21:44:14] [PASSED] drm_test_cmdline_margin_options
[21:44:14] [PASSED] drm_test_cmdline_multiple_options
[21:44:14] [PASSED] drm_test_cmdline_bpp_extra_and_option
[21:44:14] [PASSED] drm_test_cmdline_extra_and_option
[21:44:14] [PASSED] drm_test_cmdline_freestanding_options
[21:44:14] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[21:44:14] [PASSED] drm_test_cmdline_panel_orientation
[21:44:14] ================ drm_test_cmdline_invalid =================
[21:44:14] [PASSED] margin_only
[21:44:14] [PASSED] interlace_only
[21:44:14] [PASSED] res_missing_x
[21:44:14] [PASSED] res_missing_y
[21:44:14] [PASSED] res_bad_y
[21:44:14] [PASSED] res_missing_y_bpp
[21:44:14] [PASSED] res_bad_bpp
[21:44:14] [PASSED] res_bad_refresh
[21:44:14] [PASSED] res_bpp_refresh_force_on_off
[21:44:14] [PASSED] res_invalid_mode
[21:44:14] [PASSED] res_bpp_wrong_place_mode
[21:44:14] [PASSED] name_bpp_refresh
[21:44:14] [PASSED] name_refresh
[21:44:14] [PASSED] name_refresh_wrong_mode
[21:44:14] [PASSED] name_refresh_invalid_mode
[21:44:14] [PASSED] rotate_multiple
[21:44:14] [PASSED] rotate_invalid_val
[21:44:14] [PASSED] rotate_truncated
[21:44:14] [PASSED] invalid_option
[21:44:14] [PASSED] invalid_tv_option
[21:44:14] [PASSED] truncated_tv_option
[21:44:14] ============ [PASSED] drm_test_cmdline_invalid =============
[21:44:14] =============== drm_test_cmdline_tv_options ===============
[21:44:14] [PASSED] NTSC
[21:44:14] [PASSED] NTSC_443
[21:44:14] [PASSED] NTSC_J
[21:44:14] [PASSED] PAL
[21:44:14] [PASSED] PAL_M
[21:44:14] [PASSED] PAL_N
[21:44:14] [PASSED] SECAM
[21:44:14] [PASSED] MONO_525
[21:44:14] [PASSED] MONO_625
[21:44:14] =========== [PASSED] drm_test_cmdline_tv_options ===========
[21:44:14] =============== [PASSED] drm_cmdline_parser ================
[21:44:14] ========== drmm_connector_hdmi_init (19 subtests) ==========
[21:44:14] [PASSED] drm_test_connector_hdmi_init_valid
[21:44:14] [PASSED] drm_test_connector_hdmi_init_bpc_8
[21:44:14] [PASSED] drm_test_connector_hdmi_init_bpc_10
[21:44:14] [PASSED] drm_test_connector_hdmi_init_bpc_12
[21:44:14] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[21:44:14] [PASSED] drm_test_connector_hdmi_init_bpc_null
[21:44:14] [PASSED] drm_test_connector_hdmi_init_formats_empty
[21:44:14] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[21:44:14] [PASSED] drm_test_connector_hdmi_init_null_ddc
[21:44:14] [PASSED] drm_test_connector_hdmi_init_null_product
[21:44:14] [PASSED] drm_test_connector_hdmi_init_null_vendor
[21:44:14] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[21:44:14] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[21:44:14] [PASSED] drm_test_connector_hdmi_init_product_valid
[21:44:14] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[21:44:14] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[21:44:14] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[21:44:14] ========= drm_test_connector_hdmi_init_type_valid =========
[21:44:14] [PASSED] HDMI-A
[21:44:14] [PASSED] HDMI-B
[21:44:14] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[21:44:14] ======== drm_test_connector_hdmi_init_type_invalid ========
[21:44:14] [PASSED] Unknown
[21:44:14] [PASSED] VGA
[21:44:14] [PASSED] DVI-I
[21:44:14] [PASSED] DVI-D
[21:44:14] [PASSED] DVI-A
[21:44:14] [PASSED] Composite
[21:44:14] [PASSED] SVIDEO
[21:44:14] [PASSED] LVDS
[21:44:14] [PASSED] Component
[21:44:14] [PASSED] DIN
[21:44:14] [PASSED] DP
[21:44:14] [PASSED] TV
[21:44:14] [PASSED] eDP
[21:44:14] [PASSED] Virtual
[21:44:14] [PASSED] DSI
[21:44:14] [PASSED] DPI
[21:44:14] [PASSED] Writeback
[21:44:14] [PASSED] SPI
[21:44:14] [PASSED] USB
[21:44:14] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[21:44:14] ============ [PASSED] drmm_connector_hdmi_init =============
[21:44:14] ============= drmm_connector_init (3 subtests) =============
[21:44:14] [PASSED] drm_test_drmm_connector_init
[21:44:14] [PASSED] drm_test_drmm_connector_init_null_ddc
[21:44:14] ========= drm_test_drmm_connector_init_type_valid =========
[21:44:14] [PASSED] Unknown
[21:44:14] [PASSED] VGA
[21:44:14] [PASSED] DVI-I
[21:44:14] [PASSED] DVI-D
[21:44:14] [PASSED] DVI-A
[21:44:14] [PASSED] Composite
[21:44:14] [PASSED] SVIDEO
[21:44:14] [PASSED] LVDS
[21:44:14] [PASSED] Component
[21:44:14] [PASSED] DIN
[21:44:14] [PASSED] DP
[21:44:14] [PASSED] HDMI-A
[21:44:14] [PASSED] HDMI-B
[21:44:14] [PASSED] TV
[21:44:14] [PASSED] eDP
[21:44:14] [PASSED] Virtual
[21:44:14] [PASSED] DSI
[21:44:14] [PASSED] DPI
[21:44:14] [PASSED] Writeback
[21:44:14] [PASSED] SPI
[21:44:14] [PASSED] USB
[21:44:14] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[21:44:14] =============== [PASSED] drmm_connector_init ===============
[21:44:14] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[21:44:14] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[21:44:14] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[21:44:14] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[21:44:14] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[21:44:14] ========== drm_test_get_tv_mode_from_name_valid ===========
[21:44:14] [PASSED] NTSC
[21:44:14] [PASSED] NTSC-443
[21:44:14] [PASSED] NTSC-J
[21:44:14] [PASSED] PAL
[21:44:14] [PASSED] PAL-M
[21:44:14] [PASSED] PAL-N
[21:44:14] [PASSED] SECAM
[21:44:14] [PASSED] Mono
[21:44:14] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[21:44:14] [PASSED] drm_test_get_tv_mode_from_name_truncated
[21:44:14] ============ [PASSED] drm_get_tv_mode_from_name ============
[21:44:14] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[21:44:14] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[21:44:14] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[21:44:14] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[21:44:14] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[21:44:14] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[21:44:14] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[21:44:14] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[21:44:14] [PASSED] VIC 96
[21:44:14] [PASSED] VIC 97
[21:44:14] [PASSED] VIC 101
[21:44:14] [PASSED] VIC 102
[21:44:14] [PASSED] VIC 106
[21:44:14] [PASSED] VIC 107
[21:44:14] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[21:44:14] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[21:44:14] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[21:44:14] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[21:44:14] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[21:44:14] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[21:44:14] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[21:44:14] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[21:44:14] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[21:44:14] [PASSED] Automatic
[21:44:14] [PASSED] Full
[21:44:14] [PASSED] Limited 16:235
[21:44:14] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[21:44:14] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[21:44:14] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[21:44:14] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[21:44:14] === drm_test_drm_hdmi_connector_get_output_format_name ====
[21:44:14] [PASSED] RGB
[21:44:14] [PASSED] YUV 4:2:0
[21:44:14] [PASSED] YUV 4:2:2
[21:44:14] [PASSED] YUV 4:4:4
[21:44:14] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[21:44:14] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[21:44:14] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[21:44:14] ============= drm_damage_helper (21 subtests) ==============
[21:44:14] [PASSED] drm_test_damage_iter_no_damage
[21:44:14] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[21:44:14] [PASSED] drm_test_damage_iter_no_damage_src_moved
[21:44:14] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[21:44:14] [PASSED] drm_test_damage_iter_no_damage_not_visible
[21:44:14] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[21:44:14] [PASSED] drm_test_damage_iter_no_damage_no_fb
[21:44:14] [PASSED] drm_test_damage_iter_simple_damage
[21:44:14] [PASSED] drm_test_damage_iter_single_damage
[21:44:14] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[21:44:14] [PASSED] drm_test_damage_iter_single_damage_outside_src
[21:44:14] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[21:44:14] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[21:44:14] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[21:44:14] [PASSED] drm_test_damage_iter_single_damage_src_moved
[21:44:14] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[21:44:14] [PASSED] drm_test_damage_iter_damage
[21:44:14] [PASSED] drm_test_damage_iter_damage_one_intersect
[21:44:14] [PASSED] drm_test_damage_iter_damage_one_outside
[21:44:14] [PASSED] drm_test_damage_iter_damage_src_moved
[21:44:14] [PASSED] drm_test_damage_iter_damage_not_visible
[21:44:14] ================ [PASSED] drm_damage_helper ================
[21:44:14] ============== drm_dp_mst_helper (3 subtests) ==============
[21:44:14] ============== drm_test_dp_mst_calc_pbn_mode ==============
[21:44:14] [PASSED] Clock 154000 BPP 30 DSC disabled
[21:44:14] [PASSED] Clock 234000 BPP 30 DSC disabled
[21:44:14] [PASSED] Clock 297000 BPP 24 DSC disabled
[21:44:14] [PASSED] Clock 332880 BPP 24 DSC enabled
[21:44:14] [PASSED] Clock 324540 BPP 24 DSC enabled
[21:44:14] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[21:44:14] ============== drm_test_dp_mst_calc_pbn_div ===============
[21:44:14] [PASSED] Link rate 2000000 lane count 4
[21:44:14] [PASSED] Link rate 2000000 lane count 2
[21:44:14] [PASSED] Link rate 2000000 lane count 1
[21:44:14] [PASSED] Link rate 1350000 lane count 4
[21:44:14] [PASSED] Link rate 1350000 lane count 2
[21:44:14] [PASSED] Link rate 1350000 lane count 1
[21:44:14] [PASSED] Link rate 1000000 lane count 4
[21:44:14] [PASSED] Link rate 1000000 lane count 2
[21:44:14] [PASSED] Link rate 1000000 lane count 1
[21:44:14] [PASSED] Link rate 810000 lane count 4
[21:44:14] [PASSED] Link rate 810000 lane count 2
[21:44:14] [PASSED] Link rate 810000 lane count 1
[21:44:14] [PASSED] Link rate 540000 lane count 4
[21:44:14] [PASSED] Link rate 540000 lane count 2
[21:44:14] [PASSED] Link rate 540000 lane count 1
[21:44:14] [PASSED] Link rate 270000 lane count 4
[21:44:14] [PASSED] Link rate 270000 lane count 2
[21:44:14] [PASSED] Link rate 270000 lane count 1
[21:44:14] [PASSED] Link rate 162000 lane count 4
[21:44:14] [PASSED] Link rate 162000 lane count 2
[21:44:14] [PASSED] Link rate 162000 lane count 1
[21:44:14] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[21:44:14] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[21:44:14] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[21:44:14] [PASSED] DP_POWER_UP_PHY with port number
[21:44:14] [PASSED] DP_POWER_DOWN_PHY with port number
[21:44:14] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[21:44:14] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[21:44:14] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[21:44:14] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[21:44:14] [PASSED] DP_QUERY_PAYLOAD with port number
[21:44:14] [PASSED] DP_QUERY_PAYLOAD with VCPI
[21:44:14] [PASSED] DP_REMOTE_DPCD_READ with port number
[21:44:14] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[21:44:14] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[21:44:14] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[21:44:14] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[21:44:14] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[21:44:14] [PASSED] DP_REMOTE_I2C_READ with port number
[21:44:14] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[21:44:14] [PASSED] DP_REMOTE_I2C_READ with transactions array
[21:44:14] [PASSED] DP_REMOTE_I2C_WRITE with port number
[21:44:14] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[21:44:14] [PASSED] DP_REMOTE_I2C_WRITE with data array
[21:44:14] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[21:44:14] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[21:44:14] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[21:44:14] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[21:44:14] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[21:44:14] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[21:44:14] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[21:44:14] ================ [PASSED] drm_dp_mst_helper ================
[21:44:14] ================== drm_exec (7 subtests) ===================
[21:44:14] [PASSED] sanitycheck
[21:44:14] [PASSED] test_lock
[21:44:14] [PASSED] test_lock_unlock
[21:44:14] [PASSED] test_duplicates
[21:44:14] [PASSED] test_prepare
[21:44:14] [PASSED] test_prepare_array
[21:44:14] [PASSED] test_multiple_loops
[21:44:14] ==================== [PASSED] drm_exec =====================
[21:44:14] =========== drm_format_helper_test (17 subtests) ===========
[21:44:14] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[21:44:14] [PASSED] single_pixel_source_buffer
[21:44:14] [PASSED] single_pixel_clip_rectangle
[21:44:14] [PASSED] well_known_colors
[21:44:14] [PASSED] destination_pitch
[21:44:14] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[21:44:14] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[21:44:14] [PASSED] single_pixel_source_buffer
[21:44:14] [PASSED] single_pixel_clip_rectangle
[21:44:14] [PASSED] well_known_colors
[21:44:14] [PASSED] destination_pitch
[21:44:14] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[21:44:14] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[21:44:14] [PASSED] single_pixel_source_buffer
[21:44:14] [PASSED] single_pixel_clip_rectangle
[21:44:14] [PASSED] well_known_colors
[21:44:14] [PASSED] destination_pitch
[21:44:14] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[21:44:14] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[21:44:14] [PASSED] single_pixel_source_buffer
[21:44:14] [PASSED] single_pixel_clip_rectangle
[21:44:14] [PASSED] well_known_colors
[21:44:14] [PASSED] destination_pitch
[21:44:14] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[21:44:14] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[21:44:14] [PASSED] single_pixel_source_buffer
[21:44:14] [PASSED] single_pixel_clip_rectangle
[21:44:14] [PASSED] well_known_colors
[21:44:14] [PASSED] destination_pitch
[21:44:14] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[21:44:14] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[21:44:14] [PASSED] single_pixel_source_buffer
[21:44:14] [PASSED] single_pixel_clip_rectangle
[21:44:14] [PASSED] well_known_colors
[21:44:14] [PASSED] destination_pitch
[21:44:14] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[21:44:14] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[21:44:14] [PASSED] single_pixel_source_buffer
[21:44:14] [PASSED] single_pixel_clip_rectangle
[21:44:14] [PASSED] well_known_colors
[21:44:14] [PASSED] destination_pitch
[21:44:14] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[21:44:14] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[21:44:14] [PASSED] single_pixel_source_buffer
[21:44:14] [PASSED] single_pixel_clip_rectangle
[21:44:14] [PASSED] well_known_colors
[21:44:14] [PASSED] destination_pitch
[21:44:14] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[21:44:14] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[21:44:14] [PASSED] single_pixel_source_buffer
[21:44:14] [PASSED] single_pixel_clip_rectangle
[21:44:14] [PASSED] well_known_colors
[21:44:14] [PASSED] destination_pitch
[21:44:14] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[21:44:14] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[21:44:14] [PASSED] single_pixel_source_buffer
[21:44:14] [PASSED] single_pixel_clip_rectangle
[21:44:14] [PASSED] well_known_colors
[21:44:14] [PASSED] destination_pitch
[21:44:14] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[21:44:14] ============== drm_test_fb_xrgb8888_to_mono ===============
[21:44:14] [PASSED] single_pixel_source_buffer
[21:44:14] [PASSED] single_pixel_clip_rectangle
[21:44:14] [PASSED] well_known_colors
[21:44:14] [PASSED] destination_pitch
[21:44:14] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[21:44:14] ==================== drm_test_fb_swab =====================
[21:44:14] [PASSED] single_pixel_source_buffer
[21:44:14] [PASSED] single_pixel_clip_rectangle
[21:44:14] [PASSED] well_known_colors
[21:44:14] [PASSED] destination_pitch
[21:44:14] ================ [PASSED] drm_test_fb_swab =================
[21:44:14] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[21:44:14] [PASSED] single_pixel_source_buffer
[21:44:14] [PASSED] single_pixel_clip_rectangle
[21:44:14] [PASSED] well_known_colors
[21:44:14] [PASSED] destination_pitch
[21:44:14] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[21:44:14] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[21:44:14] [PASSED] single_pixel_source_buffer
[21:44:14] [PASSED] single_pixel_clip_rectangle
[21:44:14] [PASSED] well_known_colors
[21:44:14] [PASSED] destination_pitch
[21:44:14] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[21:44:14] ================= drm_test_fb_clip_offset =================
[21:44:14] [PASSED] pass through
[21:44:14] [PASSED] horizontal offset
[21:44:14] [PASSED] vertical offset
[21:44:14] [PASSED] horizontal and vertical offset
[21:44:14] [PASSED] horizontal offset (custom pitch)
[21:44:14] [PASSED] vertical offset (custom pitch)
[21:44:14] [PASSED] horizontal and vertical offset (custom pitch)
[21:44:14] ============= [PASSED] drm_test_fb_clip_offset =============
[21:44:14] ============== drm_test_fb_build_fourcc_list ==============
[21:44:14] [PASSED] no native formats
[21:44:14] [PASSED] XRGB8888 as native format
[21:44:14] [PASSED] remove duplicates
[21:44:14] [PASSED] convert alpha formats
[21:44:14] [PASSED] random formats
[21:44:14] ========== [PASSED] drm_test_fb_build_fourcc_list ==========
[21:44:14] =================== drm_test_fb_memcpy ====================
[21:44:14] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[21:44:14] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[21:44:14] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[21:44:14] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[21:44:14] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[21:44:14] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[21:44:14] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[21:44:14] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[21:44:14] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[21:44:14] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[21:44:14] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[21:44:14] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[21:44:14] =============== [PASSED] drm_test_fb_memcpy ================
[21:44:14] ============= [PASSED] drm_format_helper_test ==============
[21:44:14] ================= drm_format (18 subtests) =================
[21:44:14] [PASSED] drm_test_format_block_width_invalid
[21:44:14] [PASSED] drm_test_format_block_width_one_plane
[21:44:14] [PASSED] drm_test_format_block_width_two_plane
[21:44:14] [PASSED] drm_test_format_block_width_three_plane
[21:44:14] [PASSED] drm_test_format_block_width_tiled
[21:44:14] [PASSED] drm_test_format_block_height_invalid
[21:44:14] [PASSED] drm_test_format_block_height_one_plane
[21:44:14] [PASSED] drm_test_format_block_height_two_plane
[21:44:14] [PASSED] drm_test_format_block_height_three_plane
[21:44:14] [PASSED] drm_test_format_block_height_tiled
[21:44:14] [PASSED] drm_test_format_min_pitch_invalid
[21:44:14] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[21:44:14] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[21:44:14] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[21:44:14] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[21:44:14] [PASSED] drm_test_format_min_pitch_two_plane
[21:44:14] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[21:44:14] [PASSED] drm_test_format_min_pitch_tiled
[21:44:14] =================== [PASSED] drm_format ====================
[21:44:14] ============== drm_framebuffer (10 subtests) ===============
[21:44:14] ========== drm_test_framebuffer_check_src_coords ==========
[21:44:14] [PASSED] Success: source fits into fb
[21:44:14] [PASSED] Fail: overflowing fb with x-axis coordinate
[21:44:14] [PASSED] Fail: overflowing fb with y-axis coordinate
[21:44:14] [PASSED] Fail: overflowing fb with source width
[21:44:14] [PASSED] Fail: overflowing fb with source height
[21:44:14] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[21:44:14] [PASSED] drm_test_framebuffer_cleanup
[21:44:14] =============== drm_test_framebuffer_create ===============
[21:44:14] [PASSED] ABGR8888 normal sizes
[21:44:14] [PASSED] ABGR8888 max sizes
[21:44:14] [PASSED] ABGR8888 pitch greater than min required
[21:44:14] [PASSED] ABGR8888 pitch less than min required
[21:44:14] [PASSED] ABGR8888 Invalid width
[21:44:14] [PASSED] ABGR8888 Invalid buffer handle
[21:44:14] [PASSED] No pixel format
[21:44:14] [PASSED] ABGR8888 Width 0
[21:44:14] [PASSED] ABGR8888 Height 0
[21:44:14] [PASSED] ABGR8888 Out of bound height * pitch combination
[21:44:14] [PASSED] ABGR8888 Large buffer offset
[21:44:14] [PASSED] ABGR8888 Buffer offset for inexistent plane
[21:44:14] [PASSED] ABGR8888 Invalid flag
[21:44:14] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[21:44:14] [PASSED] ABGR8888 Valid buffer modifier
[21:44:14] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[21:44:14] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[21:44:14] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[21:44:14] [PASSED] NV12 Normal sizes
[21:44:14] [PASSED] NV12 Max sizes
[21:44:14] [PASSED] NV12 Invalid pitch
[21:44:14] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[21:44:14] [PASSED] NV12 different modifier per-plane
[21:44:14] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[21:44:14] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[21:44:14] [PASSED] NV12 Modifier for inexistent plane
[21:44:14] [PASSED] NV12 Handle for inexistent plane
[21:44:14] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[21:44:14] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[21:44:14] [PASSED] YVU420 Normal sizes
[21:44:14] [PASSED] YVU420 Max sizes
[21:44:14] [PASSED] YVU420 Invalid pitch
[21:44:14] [PASSED] YVU420 Different pitches
[21:44:14] [PASSED] YVU420 Different buffer offsets/pitches
[21:44:14] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[21:44:14] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[21:44:14] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[21:44:14] [PASSED] YVU420 Valid modifier
[21:44:14] [PASSED] YVU420 Different modifiers per plane
[21:44:14] [PASSED] YVU420 Modifier for inexistent plane
[21:44:14] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[21:44:14] [PASSED] X0L2 Normal sizes
[21:44:14] [PASSED] X0L2 Max sizes
[21:44:14] [PASSED] X0L2 Invalid pitch
[21:44:14] [PASSED] X0L2 Pitch greater than minimum required
[21:44:14] [PASSED] X0L2 Handle for inexistent plane
[21:44:14] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[21:44:14] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[21:44:14] [PASSED] X0L2 Valid modifier
[21:44:14] [PASSED] X0L2 Modifier for inexistent plane
[21:44:14] =========== [PASSED] drm_test_framebuffer_create ===========
[21:44:14] [PASSED] drm_test_framebuffer_free
[21:44:14] [PASSED] drm_test_framebuffer_init
[21:44:14] [PASSED] drm_test_framebuffer_init_bad_format
[21:44:14] [PASSED] drm_test_framebuffer_init_dev_mismatch
[21:44:14] [PASSED] drm_test_framebuffer_lookup
[21:44:14] [PASSED] drm_test_framebuffer_lookup_inexistent
[21:44:14] [PASSED] drm_test_framebuffer_modifiers_not_supported
[21:44:14] ================= [PASSED] drm_framebuffer =================
[21:44:14] ================ drm_gem_shmem (8 subtests) ================
[21:44:14] [PASSED] drm_gem_shmem_test_obj_create
[21:44:14] [PASSED] drm_gem_shmem_test_obj_create_private
[21:44:14] [PASSED] drm_gem_shmem_test_pin_pages
[21:44:14] [PASSED] drm_gem_shmem_test_vmap
[21:44:14] [PASSED] drm_gem_shmem_test_get_pages_sgt
[21:44:14] [PASSED] drm_gem_shmem_test_get_sg_table
[21:44:14] [PASSED] drm_gem_shmem_test_madvise
[21:44:14] [PASSED] drm_gem_shmem_test_purge
[21:44:14] ================== [PASSED] drm_gem_shmem ==================
[21:44:14] === drm_atomic_helper_connector_hdmi_check (22 subtests) ===
[21:44:14] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[21:44:14] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[21:44:14] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[21:44:14] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[21:44:14] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[21:44:14] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[21:44:14] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[21:44:14] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[21:44:14] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[21:44:14] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback
[21:44:14] [PASSED] drm_test_check_max_tmds_rate_format_fallback
[21:44:14] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[21:44:14] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[21:44:14] [PASSED] drm_test_check_output_bpc_dvi
[21:44:14] [PASSED] drm_test_check_output_bpc_format_vic_1
[21:44:14] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[21:44:14] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[21:44:14] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[21:44:14] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[21:44:14] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[21:44:14] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[21:44:14] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[21:44:14] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[21:44:14] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[21:44:14] [PASSED] drm_test_check_broadcast_rgb_value
[21:44:14] [PASSED] drm_test_check_bpc_8_value
[21:44:14] [PASSED] drm_test_check_bpc_10_value
[21:44:14] [PASSED] drm_test_check_bpc_12_value
[21:44:14] [PASSED] drm_test_check_format_value
[21:44:14] [PASSED] drm_test_check_tmds_char_value
[21:44:14] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[21:44:14] ================= drm_managed (2 subtests) =================
[21:44:14] [PASSED] drm_test_managed_release_action
[21:44:14] [PASSED] drm_test_managed_run_action
[21:44:14] =================== [PASSED] drm_managed ===================
[21:44:14] =================== drm_mm (6 subtests) ====================
[21:44:14] [PASSED] drm_test_mm_init
[21:44:14] [PASSED] drm_test_mm_debug
[21:44:14] [PASSED] drm_test_mm_align32
[21:44:14] [PASSED] drm_test_mm_align64
[21:44:14] [PASSED] drm_test_mm_lowest
[21:44:14] [PASSED] drm_test_mm_highest
[21:44:14] ===================== [PASSED] drm_mm ======================
[21:44:14] ============= drm_modes_analog_tv (5 subtests) =============
[21:44:14] [PASSED] drm_test_modes_analog_tv_mono_576i
[21:44:14] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[21:44:14] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[21:44:14] [PASSED] drm_test_modes_analog_tv_pal_576i
[21:44:14] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[21:44:14] =============== [PASSED] drm_modes_analog_tv ===============
stty: 'standard input': Inappropriate ioctl for device
[21:44:14] ============== drm_plane_helper (2 subtests) ===============
[21:44:14] =============== drm_test_check_plane_state ================
[21:44:14] [PASSED] clipping_simple
[21:44:14] [PASSED] clipping_rotate_reflect
[21:44:14] [PASSED] positioning_simple
[21:44:14] [PASSED] upscaling
[21:44:14] [PASSED] downscaling
[21:44:14] [PASSED] rounding1
[21:44:14] [PASSED] rounding2
[21:44:14] [PASSED] rounding3
[21:44:14] [PASSED] rounding4
[21:44:14] =========== [PASSED] drm_test_check_plane_state ============
[21:44:14] =========== drm_test_check_invalid_plane_state ============
[21:44:14] [PASSED] positioning_invalid
[21:44:14] [PASSED] upscaling_invalid
[21:44:14] [PASSED] downscaling_invalid
[21:44:14] ======= [PASSED] drm_test_check_invalid_plane_state ========
[21:44:14] ================ [PASSED] drm_plane_helper =================
[21:44:14] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[21:44:14] ====== drm_test_connector_helper_tv_get_modes_check =======
[21:44:14] [PASSED] None
[21:44:14] [PASSED] PAL
[21:44:14] [PASSED] NTSC
[21:44:14] [PASSED] Both, NTSC Default
[21:44:14] [PASSED] Both, PAL Default
[21:44:14] [PASSED] Both, NTSC Default, with PAL on command-line
[21:44:14] [PASSED] Both, PAL Default, with NTSC on command-line
[21:44:14] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[21:44:14] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[21:44:14] ================== drm_rect (9 subtests) ===================
[21:44:14] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[21:44:14] [PASSED] drm_test_rect_clip_scaled_not_clipped
[21:44:14] [PASSED] drm_test_rect_clip_scaled_clipped
[21:44:14] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[21:44:14] ================= drm_test_rect_intersect =================
[21:44:14] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[21:44:14] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[21:44:14] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[21:44:14] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[21:44:14] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[21:44:14] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[21:44:14] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[21:44:14] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[21:44:14] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[21:44:14] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[21:44:14] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[21:44:14] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[21:44:14] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[21:44:14] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[21:44:14] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[21:44:14] ============= [PASSED] drm_test_rect_intersect =============
[21:44:14] ================ drm_test_rect_calc_hscale ================
[21:44:14] [PASSED] normal use
[21:44:14] [PASSED] out of max range
[21:44:14] [PASSED] out of min range
[21:44:14] [PASSED] zero dst
[21:44:14] [PASSED] negative src
[21:44:14] [PASSED] negative dst
[21:44:14] ============ [PASSED] drm_test_rect_calc_hscale ============
[21:44:14] ================ drm_test_rect_calc_vscale ================
[21:44:14] [PASSED] normal use
[21:44:14] [PASSED] out of max range
[21:44:14] [PASSED] out of min range
[21:44:14] [PASSED] zero dst
[21:44:14] [PASSED] negative src
[21:44:14] [PASSED] negative dst
[21:44:14] ============ [PASSED] drm_test_rect_calc_vscale ============
[21:44:14] ================== drm_test_rect_rotate ===================
[21:44:14] [PASSED] reflect-x
[21:44:14] [PASSED] reflect-y
[21:44:14] [PASSED] rotate-0
[21:44:14] [PASSED] rotate-90
[21:44:14] [PASSED] rotate-180
[21:44:14] [PASSED] rotate-270
[21:44:14] ============== [PASSED] drm_test_rect_rotate ===============
[21:44:14] ================ drm_test_rect_rotate_inv =================
[21:44:14] [PASSED] reflect-x
[21:44:14] [PASSED] reflect-y
[21:44:14] [PASSED] rotate-0
[21:44:14] [PASSED] rotate-90
[21:44:14] [PASSED] rotate-180
[21:44:14] [PASSED] rotate-270
[21:44:14] ============ [PASSED] drm_test_rect_rotate_inv =============
[21:44:14] ==================== [PASSED] drm_rect =====================
[21:44:14] ============================================================
[21:44:14] Testing complete. Ran 526 tests: passed: 526
[21:44:14] Elapsed time: 24.833s total, 1.635s configuring, 23.028s building, 0.168s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[21:44:15] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[21:44:16] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json ARCH=um O=.kunit --jobs=48
[21:44:24] Starting KUnit Kernel (1/1)...
[21:44:24] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[21:44:24] ================= ttm_device (5 subtests) ==================
[21:44:24] [PASSED] ttm_device_init_basic
[21:44:24] [PASSED] ttm_device_init_multiple
[21:44:24] [PASSED] ttm_device_fini_basic
[21:44:24] [PASSED] ttm_device_init_no_vma_man
[21:44:24] ================== ttm_device_init_pools ==================
[21:44:24] [PASSED] No DMA allocations, no DMA32 required
[21:44:24] [PASSED] DMA allocations, DMA32 required
[21:44:24] [PASSED] No DMA allocations, DMA32 required
[21:44:24] [PASSED] DMA allocations, no DMA32 required
[21:44:24] ============== [PASSED] ttm_device_init_pools ==============
[21:44:24] =================== [PASSED] ttm_device ====================
[21:44:24] ================== ttm_pool (8 subtests) ===================
[21:44:24] ================== ttm_pool_alloc_basic ===================
[21:44:24] [PASSED] One page
[21:44:24] [PASSED] More than one page
[21:44:24] [PASSED] Above the allocation limit
[21:44:24] [PASSED] One page, with coherent DMA mappings enabled
[21:44:24] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[21:44:24] ============== [PASSED] ttm_pool_alloc_basic ===============
[21:44:24] ============== ttm_pool_alloc_basic_dma_addr ==============
[21:44:24] [PASSED] One page
[21:44:24] [PASSED] More than one page
[21:44:24] [PASSED] Above the allocation limit
[21:44:24] [PASSED] One page, with coherent DMA mappings enabled
[21:44:24] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[21:44:24] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[21:44:24] [PASSED] ttm_pool_alloc_order_caching_match
[21:44:24] [PASSED] ttm_pool_alloc_caching_mismatch
[21:44:24] [PASSED] ttm_pool_alloc_order_mismatch
[21:44:24] [PASSED] ttm_pool_free_dma_alloc
[21:44:24] [PASSED] ttm_pool_free_no_dma_alloc
[21:44:24] [PASSED] ttm_pool_fini_basic
[21:44:24] ==================== [PASSED] ttm_pool =====================
[21:44:24] ================ ttm_resource (8 subtests) =================
[21:44:24] ================= ttm_resource_init_basic =================
[21:44:24] [PASSED] Init resource in TTM_PL_SYSTEM
[21:44:24] [PASSED] Init resource in TTM_PL_VRAM
[21:44:24] [PASSED] Init resource in a private placement
[21:44:24] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[21:44:24] ============= [PASSED] ttm_resource_init_basic =============
[21:44:24] [PASSED] ttm_resource_init_pinned
[21:44:24] [PASSED] ttm_resource_fini_basic
[21:44:24] [PASSED] ttm_resource_manager_init_basic
[21:44:24] [PASSED] ttm_resource_manager_usage_basic
[21:44:24] [PASSED] ttm_resource_manager_set_used_basic
[21:44:24] [PASSED] ttm_sys_man_alloc_basic
[21:44:24] [PASSED] ttm_sys_man_free_basic
[21:44:24] ================== [PASSED] ttm_resource ===================
[21:44:24] =================== ttm_tt (15 subtests) ===================
[21:44:24] ==================== ttm_tt_init_basic ====================
[21:44:24] [PASSED] Page-aligned size
[21:44:24] [PASSED] Extra pages requested
[21:44:24] ================ [PASSED] ttm_tt_init_basic ================
[21:44:24] [PASSED] ttm_tt_init_misaligned
[21:44:24] [PASSED] ttm_tt_fini_basic
[21:44:24] [PASSED] ttm_tt_fini_sg
[21:44:24] [PASSED] ttm_tt_fini_shmem
[21:44:24] [PASSED] ttm_tt_create_basic
[21:44:24] [PASSED] ttm_tt_create_invalid_bo_type
[21:44:24] [PASSED] ttm_tt_create_ttm_exists
[21:44:24] [PASSED] ttm_tt_create_failed
[21:44:24] [PASSED] ttm_tt_destroy_basic
[21:44:24] [PASSED] ttm_tt_populate_null_ttm
[21:44:24] [PASSED] ttm_tt_populate_populated_ttm
[21:44:24] [PASSED] ttm_tt_unpopulate_basic
[21:44:24] [PASSED] ttm_tt_unpopulate_empty_ttm
[21:44:24] [PASSED] ttm_tt_swapin_basic
[21:44:24] ===================== [PASSED] ttm_tt ======================
[21:44:24] =================== ttm_bo (14 subtests) ===================
[21:44:24] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[21:44:24] [PASSED] Cannot be interrupted and sleeps
[21:44:24] [PASSED] Cannot be interrupted, locks straight away
[21:44:24] [PASSED] Can be interrupted, sleeps
[21:44:24] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[21:44:24] [PASSED] ttm_bo_reserve_locked_no_sleep
[21:44:24] [PASSED] ttm_bo_reserve_no_wait_ticket
[21:44:24] [PASSED] ttm_bo_reserve_double_resv
[21:44:24] [PASSED] ttm_bo_reserve_interrupted
[21:44:24] [PASSED] ttm_bo_reserve_deadlock
[21:44:24] [PASSED] ttm_bo_unreserve_basic
[21:44:24] [PASSED] ttm_bo_unreserve_pinned
[21:44:24] [PASSED] ttm_bo_unreserve_bulk
[21:44:24] [PASSED] ttm_bo_put_basic
[21:44:24] [PASSED] ttm_bo_put_shared_resv
[21:44:24] [PASSED] ttm_bo_pin_basic
[21:44:24] [PASSED] ttm_bo_pin_unpin_resource
[21:44:24] [PASSED] ttm_bo_multiple_pin_one_unpin
[21:44:24] ===================== [PASSED] ttm_bo ======================
[21:44:24] ============== ttm_bo_validate (22 subtests) ===============
[21:44:24] ============== ttm_bo_init_reserved_sys_man ===============
[21:44:24] [PASSED] Buffer object for userspace
[21:44:24] [PASSED] Kernel buffer object
[21:44:24] [PASSED] Shared buffer object
[21:44:24] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[21:44:24] ============== ttm_bo_init_reserved_mock_man ==============
[21:44:24] [PASSED] Buffer object for userspace
[21:44:24] [PASSED] Kernel buffer object
[21:44:24] [PASSED] Shared buffer object
[21:44:24] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[21:44:24] [PASSED] ttm_bo_init_reserved_resv
[21:44:24] ================== ttm_bo_validate_basic ==================
[21:44:24] [PASSED] Buffer object for userspace
[21:44:24] [PASSED] Kernel buffer object
[21:44:24] [PASSED] Shared buffer object
[21:44:24] ============== [PASSED] ttm_bo_validate_basic ==============
[21:44:24] [PASSED] ttm_bo_validate_invalid_placement
[21:44:24] ============= ttm_bo_validate_same_placement ==============
[21:44:24] [PASSED] System manager
[21:44:24] [PASSED] VRAM manager
[21:44:24] ========= [PASSED] ttm_bo_validate_same_placement ==========
[21:44:24] [PASSED] ttm_bo_validate_failed_alloc
[21:44:24] [PASSED] ttm_bo_validate_pinned
[21:44:24] [PASSED] ttm_bo_validate_busy_placement
[21:44:24] ================ ttm_bo_validate_multihop =================
[21:44:24] [PASSED] Buffer object for userspace
[21:44:24] [PASSED] Kernel buffer object
[21:44:24] [PASSED] Shared buffer object
[21:44:24] ============ [PASSED] ttm_bo_validate_multihop =============
[21:44:24] ========== ttm_bo_validate_no_placement_signaled ==========
[21:44:24] [PASSED] Buffer object in system domain, no page vector
[21:44:24] [PASSED] Buffer object in system domain with an existing page vector
[21:44:24] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[21:44:24] ======== ttm_bo_validate_no_placement_not_signaled ========
[21:44:24] [PASSED] Buffer object for userspace
[21:44:24] [PASSED] Kernel buffer object
[21:44:24] [PASSED] Shared buffer object
[21:44:24] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[21:44:24] [PASSED] ttm_bo_validate_move_fence_signaled
[21:44:24] ========= ttm_bo_validate_move_fence_not_signaled =========
[21:44:24] [PASSED] Waits for GPU
[21:44:24] [PASSED] Tries to lock straight away
[21:44:24] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[21:44:24] [PASSED] ttm_bo_validate_swapout
[21:44:24] [PASSED] ttm_bo_validate_happy_evict
[21:44:24] [PASSED] ttm_bo_validate_all_pinned_evict
[21:44:24] [PASSED] ttm_bo_validate_allowed_only_evict
[21:44:24] [PASSED] ttm_bo_validate_deleted_evict
[21:44:24] [PASSED] ttm_bo_validate_busy_domain_evict
[21:44:24] [PASSED] ttm_bo_validate_evict_gutting
[21:44:24] [PASSED] ttm_bo_validate_recrusive_evict
stty: 'standard input': Inappropriate ioctl for device
[21:44:24] ================= [PASSED] ttm_bo_validate =================
[21:44:24] ============================================================
[21:44:24] Testing complete. Ran 102 tests: passed: 102
[21:44:24] Elapsed time: 9.901s total, 1.643s configuring, 7.641s building, 0.548s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 10+ messages in thread
* ✓ CI.Build: success for drm/xe/vf: Print assumed values of the MOCS entries if VF
2024-11-15 21:00 [PATCH] drm/xe/vf: Print assumed values of the MOCS entries if VF Michal Wajdeczko
` (2 preceding siblings ...)
2024-11-15 21:44 ` ✓ CI.KUnit: " Patchwork
@ 2024-11-15 22:02 ` Patchwork
2024-11-15 22:02 ` ✗ CI.Hooks: failure " Patchwork
` (3 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2024-11-15 22:02 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
== Series Details ==
Series: drm/xe/vf: Print assumed values of the MOCS entries if VF
URL : https://patchwork.freedesktop.org/series/141427/
State : success
== Summary ==
lib/modules/6.12.0-rc7-xe/kernel/arch/x86/events/rapl.ko
lib/modules/6.12.0-rc7-xe/kernel/arch/x86/kvm/
lib/modules/6.12.0-rc7-xe/kernel/arch/x86/kvm/kvm.ko
lib/modules/6.12.0-rc7-xe/kernel/arch/x86/kvm/kvm-intel.ko
lib/modules/6.12.0-rc7-xe/kernel/arch/x86/kvm/kvm-amd.ko
lib/modules/6.12.0-rc7-xe/kernel/kernel/
lib/modules/6.12.0-rc7-xe/kernel/kernel/kheaders.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/
lib/modules/6.12.0-rc7-xe/kernel/crypto/ecrdsa_generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/xcbc.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/serpent_generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/aria_generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/crypto_simd.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/adiantum.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/tcrypt.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/crypto_engine.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/zstd.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/asymmetric_keys/
lib/modules/6.12.0-rc7-xe/kernel/crypto/asymmetric_keys/pkcs7_test_key.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/asymmetric_keys/pkcs8_key_parser.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/des_generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/xctr.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/authenc.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/sm4_generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/keywrap.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/camellia_generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/sm3.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/pcrypt.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/aegis128.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/af_alg.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/algif_aead.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/cmac.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/sm3_generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/aes_ti.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/chacha_generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/poly1305_generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/nhpoly1305.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/crc32_generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/essiv.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/ccm.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/wp512.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/streebog_generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/authencesn.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/echainiv.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/lrw.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/cryptd.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/crypto_user.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/algif_hash.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/vmac.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/polyval-generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/hctr2.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/842.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/pcbc.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/ansi_cprng.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/cast6_generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/twofish_common.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/twofish_generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/lz4hc.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/blowfish_generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/md4.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/chacha20poly1305.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/curve25519-generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/lz4.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/rmd160.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/algif_skcipher.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/cast5_generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/fcrypt.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/ecdsa_generic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/sm4.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/cast_common.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/blowfish_common.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/michael_mic.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/async_tx/
lib/modules/6.12.0-rc7-xe/kernel/crypto/async_tx/async_xor.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/async_tx/async_tx.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/async_tx/async_memcpy.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/async_tx/async_pq.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/async_tx/async_raid6_recov.ko
lib/modules/6.12.0-rc7-xe/kernel/crypto/algif_rng.ko
lib/modules/6.12.0-rc7-xe/kernel/block/
lib/modules/6.12.0-rc7-xe/kernel/block/bfq.ko
lib/modules/6.12.0-rc7-xe/kernel/block/kyber-iosched.ko
lib/modules/6.12.0-rc7-xe/build
lib/modules/6.12.0-rc7-xe/modules.alias.bin
lib/modules/6.12.0-rc7-xe/modules.builtin
lib/modules/6.12.0-rc7-xe/modules.softdep
lib/modules/6.12.0-rc7-xe/modules.alias
lib/modules/6.12.0-rc7-xe/modules.order
lib/modules/6.12.0-rc7-xe/modules.symbols
lib/modules/6.12.0-rc7-xe/modules.dep.bin
+ mv kernel-nodebug.tar.gz ..
+ cd ..
+ rm -rf archive
++ date +%s
+ echo -e '\e[0Ksection_end:1731708138:package_x86_64_nodebug\r\e[0K'
+ sync
^[[0Ksection_end:1731708138:package_x86_64_nodebug
^[[0K
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 10+ messages in thread
* ✗ CI.Hooks: failure for drm/xe/vf: Print assumed values of the MOCS entries if VF
2024-11-15 21:00 [PATCH] drm/xe/vf: Print assumed values of the MOCS entries if VF Michal Wajdeczko
` (3 preceding siblings ...)
2024-11-15 22:02 ` ✓ CI.Build: " Patchwork
@ 2024-11-15 22:02 ` Patchwork
2024-11-15 22:04 ` ✓ CI.checksparse: success " Patchwork
` (2 subsequent siblings)
7 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2024-11-15 22:02 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
== Series Details ==
Series: drm/xe/vf: Print assumed values of the MOCS entries if VF
URL : https://patchwork.freedesktop.org/series/141427/
State : failure
== Summary ==
run-parts: executing /workspace/ci/hooks/00-showenv
+ export
+ grep -Ei '(^|\W)CI_'
declare -x CI_KERNEL_BUILD_DIR="/workspace/kernel/build64-default"
declare -x CI_KERNEL_SRC_DIR="/workspace/kernel"
declare -x CI_TOOLS_SRC_DIR="/workspace/ci"
declare -x CI_WORKSPACE_DIR="/workspace"
run-parts: executing /workspace/ci/hooks/10-build-W1
+ SRC_DIR=/workspace/kernel
+ RESTORE_DISPLAY_CONFIG=0
+ '[' -n /workspace/kernel/build64-default ']'
+ BUILD_DIR=/workspace/kernel/build64-default
+ cd /workspace/kernel
++ nproc
+ make -j48 O=/workspace/kernel/build64-default modules_prepare
make[1]: Entering directory '/workspace/kernel/build64-default'
GEN Makefile
UPD include/config/kernel.release
mkdir -p /workspace/kernel/build64-default/tools/objtool && make O=/workspace/kernel/build64-default subdir=tools/objtool --no-print-directory -C objtool
UPD include/generated/utsrelease.h
CALL ../scripts/checksyscalls.sh
INSTALL libsubcmd_headers
CC /workspace/kernel/build64-default/tools/objtool/libsubcmd/exec-cmd.o
CC /workspace/kernel/build64-default/tools/objtool/libsubcmd/help.o
CC /workspace/kernel/build64-default/tools/objtool/libsubcmd/pager.o
CC /workspace/kernel/build64-default/tools/objtool/libsubcmd/parse-options.o
CC /workspace/kernel/build64-default/tools/objtool/libsubcmd/run-command.o
CC /workspace/kernel/build64-default/tools/objtool/libsubcmd/sigchain.o
CC /workspace/kernel/build64-default/tools/objtool/libsubcmd/subcmd-config.o
LD /workspace/kernel/build64-default/tools/objtool/libsubcmd/libsubcmd-in.o
AR /workspace/kernel/build64-default/tools/objtool/libsubcmd/libsubcmd.a
CC /workspace/kernel/build64-default/tools/objtool/weak.o
CC /workspace/kernel/build64-default/tools/objtool/check.o
CC /workspace/kernel/build64-default/tools/objtool/special.o
CC /workspace/kernel/build64-default/tools/objtool/builtin-check.o
CC /workspace/kernel/build64-default/tools/objtool/elf.o
CC /workspace/kernel/build64-default/tools/objtool/objtool.o
CC /workspace/kernel/build64-default/tools/objtool/orc_gen.o
CC /workspace/kernel/build64-default/tools/objtool/orc_dump.o
CC /workspace/kernel/build64-default/tools/objtool/libstring.o
CC /workspace/kernel/build64-default/tools/objtool/libctype.o
CC /workspace/kernel/build64-default/tools/objtool/arch/x86/special.o
CC /workspace/kernel/build64-default/tools/objtool/str_error_r.o
CC /workspace/kernel/build64-default/tools/objtool/arch/x86/decode.o
CC /workspace/kernel/build64-default/tools/objtool/librbtree.o
CC /workspace/kernel/build64-default/tools/objtool/arch/x86/orc.o
LD /workspace/kernel/build64-default/tools/objtool/arch/x86/objtool-in.o
LD /workspace/kernel/build64-default/tools/objtool/objtool-in.o
LINK /workspace/kernel/build64-default/tools/objtool/objtool
make[1]: Leaving directory '/workspace/kernel/build64-default'
++ nproc
+ make -j48 O=/workspace/kernel/build64-default W=1 drivers/gpu/drm/xe
make[1]: Entering directory '/workspace/kernel/build64-default'
make[2]: Nothing to be done for 'drivers/gpu/drm/xe'.
make[1]: Leaving directory '/workspace/kernel/build64-default'
run-parts: executing /workspace/ci/hooks/11-build-32b
+++ realpath /workspace/ci/hooks/11-build-32b
++ dirname /workspace/ci/hooks/11-build-32b
+ THIS_SCRIPT_DIR=/workspace/ci/hooks
+ SRC_DIR=/workspace/kernel
+ TOOLS_SRC_DIR=/workspace/ci
+ '[' -n /workspace/kernel/build64-default ']'
+ BUILD_DIR=/workspace/kernel/build64-default
+ BUILD_DIR=/workspace/kernel/build64-default/build32
+ cd /workspace/kernel
+ mkdir -p /workspace/kernel/build64-default/build32
++ nproc
+ make -j48 ARCH=i386 O=/workspace/kernel/build64-default/build32 defconfig
make[1]: Entering directory '/workspace/kernel/build64-default/build32'
GEN Makefile
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/menu.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/util.o
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTLD scripts/kconfig/conf
*** Default configuration is based on 'i386_defconfig'
#
# configuration written to .config
#
make[1]: Leaving directory '/workspace/kernel/build64-default/build32'
+ cd /workspace/kernel/build64-default/build32
+ /workspace/kernel/scripts/kconfig/merge_config.sh .config /workspace/ci/kernel/10-xe.fragment
Using .config as base
Merging /workspace/ci/kernel/10-xe.fragment
The merge file '/workspace/ci/kernel/10-xe.fragment' does not exist. Exit.
run-parts: /workspace/ci/hooks/11-build-32b exited with return code 1
^ permalink raw reply [flat|nested] 10+ messages in thread
* ✓ CI.checksparse: success for drm/xe/vf: Print assumed values of the MOCS entries if VF
2024-11-15 21:00 [PATCH] drm/xe/vf: Print assumed values of the MOCS entries if VF Michal Wajdeczko
` (4 preceding siblings ...)
2024-11-15 22:02 ` ✗ CI.Hooks: failure " Patchwork
@ 2024-11-15 22:04 ` Patchwork
2024-11-15 22:24 ` ✗ CI.BAT: failure " Patchwork
2024-11-18 16:56 ` [PATCH] " Matt Roper
7 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2024-11-15 22:04 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
== Series Details ==
Series: drm/xe/vf: Print assumed values of the MOCS entries if VF
URL : https://patchwork.freedesktop.org/series/141427/
State : success
== Summary ==
+ trap cleanup EXIT
+ KERNEL=/kernel
+ MT=/root/linux/maintainer-tools
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools /root/linux/maintainer-tools
Cloning into '/root/linux/maintainer-tools'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ make -C /root/linux/maintainer-tools
make: Entering directory '/root/linux/maintainer-tools'
cc -O2 -g -Wextra -o remap-log remap-log.c
make: Leaving directory '/root/linux/maintainer-tools'
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ /root/linux/maintainer-tools/dim sparse --fast f43942f219c827e4e89baa102ceca3d62205135e
/root/linux/maintainer-tools/dim: line 2068: sparse: command not found
Sparse version:
Fast mode used, each commit won't be checked separately.
Okay!
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 10+ messages in thread
* ✗ CI.BAT: failure for drm/xe/vf: Print assumed values of the MOCS entries if VF
2024-11-15 21:00 [PATCH] drm/xe/vf: Print assumed values of the MOCS entries if VF Michal Wajdeczko
` (5 preceding siblings ...)
2024-11-15 22:04 ` ✓ CI.checksparse: success " Patchwork
@ 2024-11-15 22:24 ` Patchwork
2024-11-18 16:56 ` [PATCH] " Matt Roper
7 siblings, 0 replies; 10+ messages in thread
From: Patchwork @ 2024-11-15 22:24 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 7730 bytes --]
== Series Details ==
Series: drm/xe/vf: Print assumed values of the MOCS entries if VF
URL : https://patchwork.freedesktop.org/series/141427/
State : failure
== Summary ==
CI Bug Log - changes from xe-2235-36fec0eb87867bca47f8829c9e5dbf5b3e2b3aaf_BAT -> xe-pw-141427v1_BAT
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-141427v1_BAT absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-141427v1_BAT, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them
to document this new failure mode, which will reduce false positives in CI.
Participating hosts (9 -> 9)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in xe-pw-141427v1_BAT:
### IGT changes ###
#### Possible regressions ####
* igt@xe_exec_fault_mode@twice-bindexecqueue-userptr-prefetch:
- bat-lnl-1: [PASS][1] -> [DMESG-FAIL][2] +33 other tests dmesg-fail
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2235-36fec0eb87867bca47f8829c9e5dbf5b3e2b3aaf/bat-lnl-1/igt@xe_exec_fault_mode@twice-bindexecqueue-userptr-prefetch.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141427v1/bat-lnl-1/igt@xe_exec_fault_mode@twice-bindexecqueue-userptr-prefetch.html
* igt@xe_exec_fault_mode@twice-userptr-invalidate-prefetch:
- bat-lnl-2: [PASS][3] -> [DMESG-FAIL][4] +33 other tests dmesg-fail
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2235-36fec0eb87867bca47f8829c9e5dbf5b3e2b3aaf/bat-lnl-2/igt@xe_exec_fault_mode@twice-userptr-invalidate-prefetch.html
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141427v1/bat-lnl-2/igt@xe_exec_fault_mode@twice-userptr-invalidate-prefetch.html
* igt@xe_exec_threads@threads-basic:
- bat-lnl-1: [PASS][5] -> [DMESG-WARN][6] +3 other tests dmesg-warn
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2235-36fec0eb87867bca47f8829c9e5dbf5b3e2b3aaf/bat-lnl-1/igt@xe_exec_threads@threads-basic.html
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141427v1/bat-lnl-1/igt@xe_exec_threads@threads-basic.html
* igt@xe_exec_threads@threads-mixed-basic:
- bat-lnl-2: [PASS][7] -> [DMESG-WARN][8] +3 other tests dmesg-warn
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2235-36fec0eb87867bca47f8829c9e5dbf5b3e2b3aaf/bat-lnl-2/igt@xe_exec_threads@threads-mixed-basic.html
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141427v1/bat-lnl-2/igt@xe_exec_threads@threads-mixed-basic.html
Known issues
------------
Here are the changes found in xe-pw-141427v1_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@xe_evict@evict-beng-small:
- bat-adlp-7: NOTRUN -> [SKIP][9] ([Intel XE#261] / [Intel XE#3443] / [Intel XE#688]) +15 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141427v1/bat-adlp-7/igt@xe_evict@evict-beng-small.html
* igt@xe_exec_fault_mode@twice-userptr-invalidate-prefetch:
- bat-adlp-7: NOTRUN -> [SKIP][10] ([Intel XE#288] / [Intel XE#3443]) +32 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141427v1/bat-adlp-7/igt@xe_exec_fault_mode@twice-userptr-invalidate-prefetch.html
* igt@xe_live_ktest@xe_bo:
- bat-adlp-vf: [PASS][11] -> [SKIP][12] ([Intel XE#2229] / [Intel XE#455])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2235-36fec0eb87867bca47f8829c9e5dbf5b3e2b3aaf/bat-adlp-vf/igt@xe_live_ktest@xe_bo.html
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141427v1/bat-adlp-vf/igt@xe_live_ktest@xe_bo.html
- bat-lnl-1: [PASS][13] -> [SKIP][14] ([Intel XE#1192]) +2 other tests skip
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2235-36fec0eb87867bca47f8829c9e5dbf5b3e2b3aaf/bat-lnl-1/igt@xe_live_ktest@xe_bo.html
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141427v1/bat-lnl-1/igt@xe_live_ktest@xe_bo.html
* igt@xe_live_ktest@xe_migrate:
- bat-lnl-2: [PASS][15] -> [SKIP][16] ([Intel XE#1192]) +2 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2235-36fec0eb87867bca47f8829c9e5dbf5b3e2b3aaf/bat-lnl-2/igt@xe_live_ktest@xe_migrate.html
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141427v1/bat-lnl-2/igt@xe_live_ktest@xe_migrate.html
* igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit:
- bat-adlp-7: NOTRUN -> [SKIP][17] ([Intel XE#2229] / [Intel XE#3443])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141427v1/bat-adlp-7/igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit.html
#### Possible fixes ####
* igt@xe_live_ktest@xe_bo:
- bat-bmg-1: [INCOMPLETE][18] ([Intel XE#2874] / [Intel XE#2998]) -> [PASS][19]
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2235-36fec0eb87867bca47f8829c9e5dbf5b3e2b3aaf/bat-bmg-1/igt@xe_live_ktest@xe_bo.html
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141427v1/bat-bmg-1/igt@xe_live_ktest@xe_bo.html
#### Warnings ####
* igt@xe_live_ktest@xe_bo:
- bat-adlp-7: [INCOMPLETE][20] ([Intel XE#2874]) -> [SKIP][21] ([Intel XE#2229] / [Intel XE#3443] / [Intel XE#455])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2235-36fec0eb87867bca47f8829c9e5dbf5b3e2b3aaf/bat-adlp-7/igt@xe_live_ktest@xe_bo.html
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141427v1/bat-adlp-7/igt@xe_live_ktest@xe_bo.html
* igt@xe_live_ktest@xe_bo@xe_bo_evict_kunit:
- bat-adlp-7: [SKIP][22] ([Intel XE#2229] / [Intel XE#3443]) -> [SKIP][23] ([Intel XE#2229] / [Intel XE#3443] / [Intel XE#455]) +1 other test skip
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2235-36fec0eb87867bca47f8829c9e5dbf5b3e2b3aaf/bat-adlp-7/igt@xe_live_ktest@xe_bo@xe_bo_evict_kunit.html
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141427v1/bat-adlp-7/igt@xe_live_ktest@xe_bo@xe_bo_evict_kunit.html
* igt@xe_live_ktest@xe_bo@xe_ccs_migrate_kunit:
- bat-adlp-vf: [SKIP][24] ([Intel XE#2229]) -> [SKIP][25] ([Intel XE#2229] / [Intel XE#455]) +1 other test skip
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-2235-36fec0eb87867bca47f8829c9e5dbf5b3e2b3aaf/bat-adlp-vf/igt@xe_live_ktest@xe_bo@xe_ccs_migrate_kunit.html
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141427v1/bat-adlp-vf/igt@xe_live_ktest@xe_bo@xe_ccs_migrate_kunit.html
[Intel XE#1192]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1192
[Intel XE#2229]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2229
[Intel XE#261]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/261
[Intel XE#2874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2874
[Intel XE#288]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/288
[Intel XE#2998]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2998
[Intel XE#3443]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3443
[Intel XE#455]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/455
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
Build changes
-------------
* IGT: IGT_8111 -> IGT_8114
* Linux: xe-2235-36fec0eb87867bca47f8829c9e5dbf5b3e2b3aaf -> xe-pw-141427v1
IGT_8111: 67422a7b55b0278cf0d1bfdc0899ee637ed7d588 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
IGT_8114: 8114
xe-2235-36fec0eb87867bca47f8829c9e5dbf5b3e2b3aaf: 36fec0eb87867bca47f8829c9e5dbf5b3e2b3aaf
xe-pw-141427v1: 141427v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-141427v1/index.html
[-- Attachment #2: Type: text/html, Size: 9745 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] drm/xe/vf: Print assumed values of the MOCS entries if VF
2024-11-15 21:00 [PATCH] drm/xe/vf: Print assumed values of the MOCS entries if VF Michal Wajdeczko
` (6 preceding siblings ...)
2024-11-15 22:24 ` ✗ CI.BAT: failure " Patchwork
@ 2024-11-18 16:56 ` Matt Roper
2024-11-18 17:17 ` Michal Wajdeczko
7 siblings, 1 reply; 10+ messages in thread
From: Matt Roper @ 2024-11-18 16:56 UTC (permalink / raw)
To: Michal Wajdeczko; +Cc: intel-xe
On Fri, Nov 15, 2024 at 10:00:25PM +0100, Michal Wajdeczko wrote:
> VF drivers can't access the MOCS registers so their values can't
> be printed as part of the gt0/mocs debugfs attribute, but since
> MOCS settings are part of the Bspec and SLA between PF and VFs,
> we can print assumed MOCS values instead.
Is it actually useful to anyone for us to fake these values? It feels
like changing the semantics (printing what the values _should_ be
instead of what they necessarily are) could just cause confusion if
someone is trying to debug a real bug. Would it be better to just print
an "unavailable" message (or just not register the debugfs at all) when
running in a VF?
Matt
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
> Cc: Matt Roper <matthew.d.roper@intel.com>
> ---
> drivers/gpu/drm/xe/xe_mocs.c | 42 +++++++++++++++++++++++++++++-------
> 1 file changed, 34 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_mocs.c b/drivers/gpu/drm/xe/xe_mocs.c
> index 54d199b5cfb2..9ad5366f4370 100644
> --- a/drivers/gpu/drm/xe/xe_mocs.c
> +++ b/drivers/gpu/drm/xe/xe_mocs.c
> @@ -257,6 +257,14 @@ static const struct xe_mocs_entry gen12_mocs_desc[] = {
> L3_1_UC)
> };
>
> +static u32 get_entry_control(const struct xe_mocs_info *info, unsigned int index);
> +static u32 get_combined_entry_l3cc(const struct xe_mocs_info *info, unsigned int index);
> +
> +static bool regs_are_not_available(struct xe_gt *gt)
> +{
> + return IS_SRIOV_VF(gt_to_xe(gt));
> +}
> +
> static bool regs_are_mcr(struct xe_gt *gt)
> {
> struct xe_device *xe = gt_to_xe(gt);
> @@ -275,7 +283,9 @@ static void xelp_lncf_dump(struct xe_mocs_info *info, struct xe_gt *gt, struct d
> drm_printf(p, "LNCFCMOCS[idx] = [ESC, SCC, L3CC] (value)\n\n");
>
> for (i = 0, j = 0; i < (info->num_mocs_regs + 1) / 2; i++, j++) {
> - if (regs_are_mcr(gt))
> + if (regs_are_not_available(gt))
> + reg_val = get_combined_entry_l3cc(info, i);
> + else if (regs_are_mcr(gt))
> reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_LNCFCMOCS(i));
> else
> reg_val = xe_mmio_read32(>->mmio, XELP_LNCFCMOCS(i));
> @@ -307,7 +317,9 @@ static void xelp_mocs_dump(struct xe_mocs_info *info, unsigned int flags,
> drm_printf(p, "GLOB_MOCS[idx] = [LeCC, TC, LRUM, AOM, RSC, SCC, PFM, SCF, CoS, SSE] (value)\n\n");
>
> for (i = 0; i < info->num_mocs_regs; i++) {
> - if (regs_are_mcr(gt))
> + if (regs_are_not_available(gt))
> + reg_val = get_entry_control(info, i);
> + else if (regs_are_mcr(gt))
> reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_GLOBAL_MOCS(i));
> else
> reg_val = xe_mmio_read32(>->mmio, XELP_GLOBAL_MOCS(i));
> @@ -380,7 +392,9 @@ static void xehp_lncf_dump(struct xe_mocs_info *info, unsigned int flags,
> drm_printf(p, "LNCFCMOCS[idx] = [UCL3LOOKUP, GLBGO, L3CC] (value)\n\n");
>
> for (i = 0, j = 0; i < (info->num_mocs_regs + 1) / 2; i++, j++) {
> - if (regs_are_mcr(gt))
> + if (regs_are_not_available(gt))
> + reg_val = get_combined_entry_l3cc(info, i);
> + else if (regs_are_mcr(gt))
> reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_LNCFCMOCS(i));
> else
> reg_val = xe_mmio_read32(>->mmio, XELP_LNCFCMOCS(i));
> @@ -425,7 +439,9 @@ static void pvc_mocs_dump(struct xe_mocs_info *info, unsigned int flags, struct
> drm_printf(p, "LNCFCMOCS[idx] = [ L3CC ] (value)\n\n");
>
> for (i = 0, j = 0; i < (info->num_mocs_regs + 1) / 2; i++, j++) {
> - if (regs_are_mcr(gt))
> + if (regs_are_not_available(gt))
> + reg_val = get_combined_entry_l3cc(info, i);
> + else if (regs_are_mcr(gt))
> reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_LNCFCMOCS(i));
> else
> reg_val = xe_mmio_read32(>->mmio, XELP_LNCFCMOCS(i));
> @@ -507,7 +523,9 @@ static void mtl_mocs_dump(struct xe_mocs_info *info, unsigned int flags,
> drm_printf(p, "GLOB_MOCS[idx] = [IG_PAT, L4_CACHE_POLICY] (value)\n\n");
>
> for (i = 0; i < info->num_mocs_regs; i++) {
> - if (regs_are_mcr(gt))
> + if (regs_are_not_available(gt))
> + reg_val = get_entry_control(info, i);
> + else if (regs_are_mcr(gt))
> reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_GLOBAL_MOCS(i));
> else
> reg_val = xe_mmio_read32(>->mmio, XELP_GLOBAL_MOCS(i));
> @@ -550,7 +568,9 @@ static void xe2_mocs_dump(struct xe_mocs_info *info, unsigned int flags,
> drm_printf(p, "GLOB_MOCS[idx] = [IG_PAT, L3_CLOS, L3_CACHE_POLICY, L4_CACHE_POLICY] (value)\n\n");
>
> for (i = 0; i < info->num_mocs_regs; i++) {
> - if (regs_are_mcr(gt))
> + if (regs_are_not_available(gt))
> + reg_val = get_entry_control(info, i);
> + else if (regs_are_mcr(gt))
> reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_GLOBAL_MOCS(i));
> else
> reg_val = xe_mmio_read32(>->mmio, XELP_GLOBAL_MOCS(i));
> @@ -713,6 +733,13 @@ static u32 l3cc_combine(u16 low, u16 high)
> return low | (u32)high << 16;
> }
>
> +static u32 get_combined_entry_l3cc(const struct xe_mocs_info *info,
> + unsigned int index)
> +{
> + return l3cc_combine(get_entry_l3cc(info, 2 * index),
> + get_entry_l3cc(info, 2 * index + 1));
> +}
> +
> static void init_l3cc_table(struct xe_gt *gt,
> const struct xe_mocs_info *info)
> {
> @@ -722,8 +749,7 @@ static void init_l3cc_table(struct xe_gt *gt,
> mocs_dbg(gt, "l3cc entries: %d\n", info->num_mocs_regs);
>
> for (i = 0; i < (info->num_mocs_regs + 1) / 2; i++) {
> - l3cc = l3cc_combine(get_entry_l3cc(info, 2 * i),
> - get_entry_l3cc(info, 2 * i + 1));
> + l3cc = get_combined_entry_l3cc(info, i);
>
> mocs_dbg(gt, "LNCFCMOCS[%d] 0x%x 0x%x\n", i,
> XELP_LNCFCMOCS(i).addr, l3cc);
> --
> 2.43.0
>
--
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH] drm/xe/vf: Print assumed values of the MOCS entries if VF
2024-11-18 16:56 ` [PATCH] " Matt Roper
@ 2024-11-18 17:17 ` Michal Wajdeczko
0 siblings, 0 replies; 10+ messages in thread
From: Michal Wajdeczko @ 2024-11-18 17:17 UTC (permalink / raw)
To: Matt Roper; +Cc: intel-xe
On 18.11.2024 17:56, Matt Roper wrote:
> On Fri, Nov 15, 2024 at 10:00:25PM +0100, Michal Wajdeczko wrote:
>> VF drivers can't access the MOCS registers so their values can't
>> be printed as part of the gt0/mocs debugfs attribute, but since
>> MOCS settings are part of the Bspec and SLA between PF and VFs,
>> we can print assumed MOCS values instead.
>
> Is it actually useful to anyone for us to fake these values? It feels
> like changing the semantics (printing what the values _should_ be
hmm, IIRC these values _shall_ be set as printed as this is common SLA
between different drivers/OSes or VFs
my understanding was that the main purpose of this debugfs is just to
show what current driver is using/assuming as MOCS settings
> instead of what they necessarily are) could just cause confusion if
> someone is trying to debug a real bug. Would it be better to just print
well, OTOH by printing 'fake MOCS values' as assumed by VF we can speed
up debug since we can easily compare what PF actually has programmed
btw, one extra improvement could be to mention in the debugfs output
header that this is not a real value, but 'fake/assumed' or similar
> an "unavailable" message (or just not register the debugfs at all) when
> running in a VF?
skipping mocs debugfs attribute is always the option, question is
whether is it a best one? I'm fine with it (assuming that I will never
approach any MOCS related issue)
>
>
> Matt
>
>>
>> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
>> Cc: Matt Roper <matthew.d.roper@intel.com>
>> ---
>> drivers/gpu/drm/xe/xe_mocs.c | 42 +++++++++++++++++++++++++++++-------
>> 1 file changed, 34 insertions(+), 8 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/xe/xe_mocs.c b/drivers/gpu/drm/xe/xe_mocs.c
>> index 54d199b5cfb2..9ad5366f4370 100644
>> --- a/drivers/gpu/drm/xe/xe_mocs.c
>> +++ b/drivers/gpu/drm/xe/xe_mocs.c
>> @@ -257,6 +257,14 @@ static const struct xe_mocs_entry gen12_mocs_desc[] = {
>> L3_1_UC)
>> };
>>
>> +static u32 get_entry_control(const struct xe_mocs_info *info, unsigned int index);
>> +static u32 get_combined_entry_l3cc(const struct xe_mocs_info *info, unsigned int index);
>> +
>> +static bool regs_are_not_available(struct xe_gt *gt)
>> +{
>> + return IS_SRIOV_VF(gt_to_xe(gt));
>> +}
>> +
>> static bool regs_are_mcr(struct xe_gt *gt)
>> {
>> struct xe_device *xe = gt_to_xe(gt);
>> @@ -275,7 +283,9 @@ static void xelp_lncf_dump(struct xe_mocs_info *info, struct xe_gt *gt, struct d
>> drm_printf(p, "LNCFCMOCS[idx] = [ESC, SCC, L3CC] (value)\n\n");
>>
>> for (i = 0, j = 0; i < (info->num_mocs_regs + 1) / 2; i++, j++) {
>> - if (regs_are_mcr(gt))
>> + if (regs_are_not_available(gt))
>> + reg_val = get_combined_entry_l3cc(info, i);
>> + else if (regs_are_mcr(gt))
>> reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_LNCFCMOCS(i));
>> else
>> reg_val = xe_mmio_read32(>->mmio, XELP_LNCFCMOCS(i));
>> @@ -307,7 +317,9 @@ static void xelp_mocs_dump(struct xe_mocs_info *info, unsigned int flags,
>> drm_printf(p, "GLOB_MOCS[idx] = [LeCC, TC, LRUM, AOM, RSC, SCC, PFM, SCF, CoS, SSE] (value)\n\n");
>>
>> for (i = 0; i < info->num_mocs_regs; i++) {
>> - if (regs_are_mcr(gt))
>> + if (regs_are_not_available(gt))
>> + reg_val = get_entry_control(info, i);
>> + else if (regs_are_mcr(gt))
>> reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_GLOBAL_MOCS(i));
>> else
>> reg_val = xe_mmio_read32(>->mmio, XELP_GLOBAL_MOCS(i));
>> @@ -380,7 +392,9 @@ static void xehp_lncf_dump(struct xe_mocs_info *info, unsigned int flags,
>> drm_printf(p, "LNCFCMOCS[idx] = [UCL3LOOKUP, GLBGO, L3CC] (value)\n\n");
>>
>> for (i = 0, j = 0; i < (info->num_mocs_regs + 1) / 2; i++, j++) {
>> - if (regs_are_mcr(gt))
>> + if (regs_are_not_available(gt))
>> + reg_val = get_combined_entry_l3cc(info, i);
>> + else if (regs_are_mcr(gt))
>> reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_LNCFCMOCS(i));
>> else
>> reg_val = xe_mmio_read32(>->mmio, XELP_LNCFCMOCS(i));
>> @@ -425,7 +439,9 @@ static void pvc_mocs_dump(struct xe_mocs_info *info, unsigned int flags, struct
>> drm_printf(p, "LNCFCMOCS[idx] = [ L3CC ] (value)\n\n");
>>
>> for (i = 0, j = 0; i < (info->num_mocs_regs + 1) / 2; i++, j++) {
>> - if (regs_are_mcr(gt))
>> + if (regs_are_not_available(gt))
>> + reg_val = get_combined_entry_l3cc(info, i);
>> + else if (regs_are_mcr(gt))
>> reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_LNCFCMOCS(i));
>> else
>> reg_val = xe_mmio_read32(>->mmio, XELP_LNCFCMOCS(i));
>> @@ -507,7 +523,9 @@ static void mtl_mocs_dump(struct xe_mocs_info *info, unsigned int flags,
>> drm_printf(p, "GLOB_MOCS[idx] = [IG_PAT, L4_CACHE_POLICY] (value)\n\n");
>>
>> for (i = 0; i < info->num_mocs_regs; i++) {
>> - if (regs_are_mcr(gt))
>> + if (regs_are_not_available(gt))
>> + reg_val = get_entry_control(info, i);
>> + else if (regs_are_mcr(gt))
>> reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_GLOBAL_MOCS(i));
>> else
>> reg_val = xe_mmio_read32(>->mmio, XELP_GLOBAL_MOCS(i));
>> @@ -550,7 +568,9 @@ static void xe2_mocs_dump(struct xe_mocs_info *info, unsigned int flags,
>> drm_printf(p, "GLOB_MOCS[idx] = [IG_PAT, L3_CLOS, L3_CACHE_POLICY, L4_CACHE_POLICY] (value)\n\n");
>>
>> for (i = 0; i < info->num_mocs_regs; i++) {
>> - if (regs_are_mcr(gt))
>> + if (regs_are_not_available(gt))
>> + reg_val = get_entry_control(info, i);
>> + else if (regs_are_mcr(gt))
>> reg_val = xe_gt_mcr_unicast_read_any(gt, XEHP_GLOBAL_MOCS(i));
>> else
>> reg_val = xe_mmio_read32(>->mmio, XELP_GLOBAL_MOCS(i));
>> @@ -713,6 +733,13 @@ static u32 l3cc_combine(u16 low, u16 high)
>> return low | (u32)high << 16;
>> }
>>
>> +static u32 get_combined_entry_l3cc(const struct xe_mocs_info *info,
>> + unsigned int index)
>> +{
>> + return l3cc_combine(get_entry_l3cc(info, 2 * index),
>> + get_entry_l3cc(info, 2 * index + 1));
>> +}
>> +
>> static void init_l3cc_table(struct xe_gt *gt,
>> const struct xe_mocs_info *info)
>> {
>> @@ -722,8 +749,7 @@ static void init_l3cc_table(struct xe_gt *gt,
>> mocs_dbg(gt, "l3cc entries: %d\n", info->num_mocs_regs);
>>
>> for (i = 0; i < (info->num_mocs_regs + 1) / 2; i++) {
>> - l3cc = l3cc_combine(get_entry_l3cc(info, 2 * i),
>> - get_entry_l3cc(info, 2 * i + 1));
>> + l3cc = get_combined_entry_l3cc(info, i);
>>
>> mocs_dbg(gt, "LNCFCMOCS[%d] 0x%x 0x%x\n", i,
>> XELP_LNCFCMOCS(i).addr, l3cc);
>> --
>> 2.43.0
>>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2024-11-18 17:18 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-15 21:00 [PATCH] drm/xe/vf: Print assumed values of the MOCS entries if VF Michal Wajdeczko
2024-11-15 21:43 ` ✓ CI.Patch_applied: success for " Patchwork
2024-11-15 21:43 ` ✓ CI.checkpatch: " Patchwork
2024-11-15 21:44 ` ✓ CI.KUnit: " Patchwork
2024-11-15 22:02 ` ✓ CI.Build: " Patchwork
2024-11-15 22:02 ` ✗ CI.Hooks: failure " Patchwork
2024-11-15 22:04 ` ✓ CI.checksparse: success " Patchwork
2024-11-15 22:24 ` ✗ CI.BAT: failure " Patchwork
2024-11-18 16:56 ` [PATCH] " Matt Roper
2024-11-18 17:17 ` Michal Wajdeczko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox