* [PATCH] drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters
@ 2025-09-05 7:01 Jouni Högander
2025-09-05 7:07 ` ✗ CI.checkpatch: warning for " Patchwork
` (4 more replies)
0 siblings, 5 replies; 9+ messages in thread
From: Jouni Högander @ 2025-09-05 7:01 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: Jouni Högander
Currently ALPM parameters are computed directly into
intel_dp->alpm_parameters. This is a problem when compute config ends up to
not using the computed state.
Fix this by adding ALPM parameters into intel_crtc_state and compute into
there. Copy needed parts of crtc_state->alpm_parameters into
intel_dp->alpm.alpm_parameters (io_wake_lines and fast_wake_lines) when
they are configured into HW.
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
---
drivers/gpu/drm/i915/display/intel_alpm.c | 38 ++++++++++---------
drivers/gpu/drm/i915/display/intel_alpm.h | 2 +-
.../drm/i915/display/intel_display_types.h | 16 +++++---
drivers/gpu/drm/i915/display/intel_psr.c | 20 +++++-----
4 files changed, 43 insertions(+), 33 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_alpm.c b/drivers/gpu/drm/i915/display/intel_alpm.c
index ed7a7ed486b5..bbc4fa2e084e 100644
--- a/drivers/gpu/drm/i915/display/intel_alpm.c
+++ b/drivers/gpu/drm/i915/display/intel_alpm.c
@@ -133,7 +133,7 @@ static int _lnl_compute_aux_less_wake_time(const struct intel_crtc_state *crtc_s
static int
_lnl_compute_aux_less_alpm_params(struct intel_dp *intel_dp,
- const struct intel_crtc_state *crtc_state)
+ struct intel_crtc_state *crtc_state)
{
struct intel_display *display = to_intel_display(intel_dp);
int aux_less_wake_time, aux_less_wake_lines, silence_period,
@@ -157,15 +157,15 @@ _lnl_compute_aux_less_alpm_params(struct intel_dp *intel_dp,
if (display->params.psr_safest_params)
aux_less_wake_lines = ALPM_CTL_AUX_LESS_WAKE_TIME_MASK;
- intel_dp->alpm_parameters.aux_less_wake_lines = aux_less_wake_lines;
- intel_dp->alpm_parameters.silence_period_sym_clocks = silence_period;
- intel_dp->alpm_parameters.lfps_half_cycle_num_of_syms = lfps_half_cycle;
+ crtc_state->alpm_parameters.aux_less_wake_lines = aux_less_wake_lines;
+ crtc_state->alpm_parameters.silence_period_sym_clocks = silence_period;
+ crtc_state->alpm_parameters.lfps_half_cycle_num_of_syms = lfps_half_cycle;
return true;
}
static bool _lnl_compute_alpm_params(struct intel_dp *intel_dp,
- const struct intel_crtc_state *crtc_state)
+ struct intel_crtc_state *crtc_state)
{
struct intel_display *display = to_intel_display(intel_dp);
int check_entry_lines;
@@ -186,7 +186,7 @@ static bool _lnl_compute_alpm_params(struct intel_dp *intel_dp,
if (display->params.psr_safest_params)
check_entry_lines = 15;
- intel_dp->alpm_parameters.check_entry_lines = check_entry_lines;
+ crtc_state->alpm_parameters.check_entry_lines = check_entry_lines;
return true;
}
@@ -217,7 +217,7 @@ static int io_buffer_wake_time(const struct intel_crtc_state *crtc_state)
}
bool intel_alpm_compute_params(struct intel_dp *intel_dp,
- const struct intel_crtc_state *crtc_state)
+ struct intel_crtc_state *crtc_state)
{
struct intel_display *display = to_intel_display(intel_dp);
int io_wake_lines, io_wake_time, fast_wake_lines, fast_wake_time;
@@ -255,8 +255,8 @@ bool intel_alpm_compute_params(struct intel_dp *intel_dp,
io_wake_lines = fast_wake_lines = max_wake_lines;
/* According to Bspec lower limit should be set as 7 lines. */
- intel_dp->alpm_parameters.io_wake_lines = max(io_wake_lines, 7);
- intel_dp->alpm_parameters.fast_wake_lines = max(fast_wake_lines, 7);
+ crtc_state->alpm_parameters.io_wake_lines = max(io_wake_lines, 7);
+ crtc_state->alpm_parameters.fast_wake_lines = max(fast_wake_lines, 7);
return true;
}
@@ -306,9 +306,9 @@ void intel_alpm_lobf_compute_config(struct intel_dp *intel_dp,
adjusted_mode->crtc_vdisplay - context_latency;
first_sdp_position = adjusted_mode->crtc_vtotal - adjusted_mode->crtc_vsync_start;
if (intel_alpm_aux_less_wake_supported(intel_dp))
- waketime_in_lines = intel_dp->alpm_parameters.io_wake_lines;
+ waketime_in_lines = crtc_state->alpm_parameters.io_wake_lines;
else
- waketime_in_lines = intel_dp->alpm_parameters.aux_less_wake_lines;
+ waketime_in_lines = crtc_state->alpm_parameters.aux_less_wake_lines;
crtc_state->has_lobf = (context_latency + guardband) >
(first_sdp_position + waketime_in_lines);
@@ -334,7 +334,7 @@ static void lnl_alpm_configure(struct intel_dp *intel_dp,
alpm_ctl = ALPM_CTL_ALPM_ENABLE |
ALPM_CTL_ALPM_AUX_LESS_ENABLE |
ALPM_CTL_AUX_LESS_SLEEP_HOLD_TIME_50_SYMBOLS |
- ALPM_CTL_AUX_LESS_WAKE_TIME(intel_dp->alpm_parameters.aux_less_wake_lines);
+ ALPM_CTL_AUX_LESS_WAKE_TIME(crtc_state->alpm_parameters.aux_less_wake_lines);
if (intel_dp->as_sdp_supported) {
u32 pr_alpm_ctl = PR_ALPM_CTL_ADAPTIVE_SYNC_SDP_POSITION_T1;
@@ -352,7 +352,7 @@ static void lnl_alpm_configure(struct intel_dp *intel_dp,
} else {
alpm_ctl = ALPM_CTL_EXTENDED_FAST_WAKE_ENABLE |
- ALPM_CTL_EXTENDED_FAST_WAKE_TIME(intel_dp->alpm_parameters.fast_wake_lines);
+ ALPM_CTL_EXTENDED_FAST_WAKE_TIME(crtc_state->alpm_parameters.fast_wake_lines);
}
if (crtc_state->has_lobf) {
@@ -360,7 +360,7 @@ static void lnl_alpm_configure(struct intel_dp *intel_dp,
drm_dbg_kms(display->drm, "Link off between frames (LOBF) enabled\n");
}
- alpm_ctl |= ALPM_CTL_ALPM_ENTRY_CHECK(intel_dp->alpm_parameters.check_entry_lines);
+ alpm_ctl |= ALPM_CTL_ALPM_ENTRY_CHECK(crtc_state->alpm_parameters.check_entry_lines);
intel_de_write(display, ALPM_CTL(display, cpu_transcoder), alpm_ctl);
mutex_unlock(&intel_dp->alpm_parameters.lock);
@@ -371,6 +371,8 @@ void intel_alpm_configure(struct intel_dp *intel_dp,
{
lnl_alpm_configure(intel_dp, crtc_state);
intel_dp->alpm_parameters.transcoder = crtc_state->cpu_transcoder;
+ intel_dp->alpm_parameters.io_wake_lines = crtc_state->alpm_parameters.io_wake_lines;
+ intel_dp->alpm_parameters.fast_wake_lines = crtc_state->alpm_parameters.fast_wake_lines;
}
void intel_alpm_port_configure(struct intel_dp *intel_dp,
@@ -388,14 +390,14 @@ void intel_alpm_port_configure(struct intel_dp *intel_dp,
PORT_ALPM_CTL_MAX_PHY_SWING_SETUP(15) |
PORT_ALPM_CTL_MAX_PHY_SWING_HOLD(0) |
PORT_ALPM_CTL_SILENCE_PERIOD(
- intel_dp->alpm_parameters.silence_period_sym_clocks);
+ crtc_state->alpm_parameters.silence_period_sym_clocks);
lfps_ctl_val = PORT_ALPM_LFPS_CTL_LFPS_CYCLE_COUNT(LFPS_CYCLE_COUNT) |
PORT_ALPM_LFPS_CTL_LFPS_HALF_CYCLE_DURATION(
- intel_dp->alpm_parameters.lfps_half_cycle_num_of_syms) |
+ crtc_state->alpm_parameters.lfps_half_cycle_num_of_syms) |
PORT_ALPM_LFPS_CTL_FIRST_LFPS_HALF_CYCLE_DURATION(
- intel_dp->alpm_parameters.lfps_half_cycle_num_of_syms) |
+ crtc_state->alpm_parameters.lfps_half_cycle_num_of_syms) |
PORT_ALPM_LFPS_CTL_LAST_LFPS_HALF_CYCLE_DURATION(
- intel_dp->alpm_parameters.lfps_half_cycle_num_of_syms);
+ crtc_state->alpm_parameters.lfps_half_cycle_num_of_syms);
}
intel_de_write(display, PORT_ALPM_CTL(port), alpm_ctl_val);
diff --git a/drivers/gpu/drm/i915/display/intel_alpm.h b/drivers/gpu/drm/i915/display/intel_alpm.h
index a861c20b5d79..53599b464dea 100644
--- a/drivers/gpu/drm/i915/display/intel_alpm.h
+++ b/drivers/gpu/drm/i915/display/intel_alpm.h
@@ -17,7 +17,7 @@ struct intel_crtc;
void intel_alpm_init(struct intel_dp *intel_dp);
bool intel_alpm_compute_params(struct intel_dp *intel_dp,
- const struct intel_crtc_state *crtc_state);
+ struct intel_crtc_state *crtc_state);
void intel_alpm_lobf_compute_config(struct intel_dp *intel_dp,
struct intel_crtc_state *crtc_state,
struct drm_connector_state *conn_state);
diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h b/drivers/gpu/drm/i915/display/intel_display_types.h
index fd9d2527889b..1fc778067397 100644
--- a/drivers/gpu/drm/i915/display/intel_display_types.h
+++ b/drivers/gpu/drm/i915/display/intel_display_types.h
@@ -1339,6 +1339,17 @@ struct intel_crtc_state {
/* LOBF flag */
bool has_lobf;
+
+ struct {
+ u8 io_wake_lines;
+ u8 fast_wake_lines;
+
+ /* LNL and beyond */
+ u8 check_entry_lines;
+ u8 aux_less_wake_lines;
+ u8 silence_period_sym_clocks;
+ u8 lfps_half_cycle_num_of_syms;
+ } alpm_parameters;
};
enum intel_pipe_crc_source {
@@ -1847,11 +1858,6 @@ struct intel_dp {
enum transcoder transcoder;
struct mutex lock;
- /* LNL and beyond */
- u8 check_entry_lines;
- u8 aux_less_wake_lines;
- u8 silence_period_sym_clocks;
- u8 lfps_half_cycle_num_of_syms;
bool lobf_disable_debug;
bool sink_alpm_error;
} alpm_parameters;
diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c
index 22433fe2ee14..dd6df3154508 100644
--- a/drivers/gpu/drm/i915/display/intel_psr.c
+++ b/drivers/gpu/drm/i915/display/intel_psr.c
@@ -953,15 +953,16 @@ static u32 intel_psr2_get_tp_time(struct intel_dp *intel_dp)
return val;
}
-static int psr2_block_count_lines(struct intel_dp *intel_dp)
+static int
+psr2_block_count_lines(u8 io_wake_lines, u8 fast_wake_lines)
{
- return intel_dp->alpm_parameters.io_wake_lines < 9 &&
- intel_dp->alpm_parameters.fast_wake_lines < 9 ? 8 : 12;
+ return io_wake_lines < 9 && fast_wake_lines < 9 ? 8 : 12;
}
static int psr2_block_count(struct intel_dp *intel_dp)
{
- return psr2_block_count_lines(intel_dp) / 4;
+ return psr2_block_count_lines(intel_dp->alpm_parameters.io_wake_lines,
+ intel_dp->alpm_parameters.fast_wake_lines) / 4;
}
static u8 frames_before_su_entry(struct intel_dp *intel_dp)
@@ -1367,11 +1368,12 @@ static bool wake_lines_fit_into_vblank(struct intel_dp *intel_dp,
int wake_lines;
if (aux_less)
- wake_lines = intel_dp->alpm_parameters.aux_less_wake_lines;
+ wake_lines = crtc_state->alpm_parameters.aux_less_wake_lines;
else
wake_lines = DISPLAY_VER(display) < 20 ?
- psr2_block_count_lines(intel_dp) :
- intel_dp->alpm_parameters.io_wake_lines;
+ psr2_block_count_lines(crtc_state->alpm_parameters.io_wake_lines,
+ crtc_state->alpm_parameters.fast_wake_lines) :
+ crtc_state->alpm_parameters.io_wake_lines;
if (crtc_state->req_psr2_sdp_prior_scanline)
vblank -= 1;
@@ -1384,7 +1386,7 @@ static bool wake_lines_fit_into_vblank(struct intel_dp *intel_dp,
}
static bool alpm_config_valid(struct intel_dp *intel_dp,
- const struct intel_crtc_state *crtc_state,
+ struct intel_crtc_state *crtc_state,
bool aux_less)
{
struct intel_display *display = to_intel_display(intel_dp);
@@ -1589,7 +1591,7 @@ static bool _psr_compute_config(struct intel_dp *intel_dp,
static bool
_panel_replay_compute_config(struct intel_dp *intel_dp,
- const struct intel_crtc_state *crtc_state,
+ struct intel_crtc_state *crtc_state,
const struct drm_connector_state *conn_state)
{
struct intel_display *display = to_intel_display(intel_dp);
--
2.43.0
^ permalink raw reply related [flat|nested] 9+ messages in thread
* ✗ CI.checkpatch: warning for drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters
2025-09-05 7:01 [PATCH] drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters Jouni Högander
@ 2025-09-05 7:07 ` Patchwork
2025-09-05 7:08 ` ✓ CI.KUnit: success " Patchwork
` (3 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: Patchwork @ 2025-09-05 7:07 UTC (permalink / raw)
To: Jouni Högander; +Cc: intel-xe
== Series Details ==
Series: drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters
URL : https://patchwork.freedesktop.org/series/154074/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
6563e0a40fcee465b9078301e01a752848b6572c
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 225d8f19c7ee9dbc6689bc5622d89e163d686425
Author: Jouni Högander <jouni.hogander@intel.com>
Date: Fri Sep 5 10:01:14 2025 +0300
drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters
Currently ALPM parameters are computed directly into
intel_dp->alpm_parameters. This is a problem when compute config ends up to
not using the computed state.
Fix this by adding ALPM parameters into intel_crtc_state and compute into
there. Copy needed parts of crtc_state->alpm_parameters into
intel_dp->alpm.alpm_parameters (io_wake_lines and fast_wake_lines) when
they are configured into HW.
Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
+ /mt/dim checkpatch c47df0ca6d5cec0775af9ca03b79237f54265808 drm-intel
225d8f19c7ee drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters
-:100: WARNING:LONG_LINE: line length of 101 exceeds 100 columns
#100: FILE: drivers/gpu/drm/i915/display/intel_alpm.c:337:
+ ALPM_CTL_AUX_LESS_WAKE_TIME(crtc_state->alpm_parameters.aux_less_wake_lines);
-:109: WARNING:LONG_LINE: line length of 102 exceeds 100 columns
#109: FILE: drivers/gpu/drm/i915/display/intel_alpm.c:355:
+ ALPM_CTL_EXTENDED_FAST_WAKE_TIME(crtc_state->alpm_parameters.fast_wake_lines);
total: 0 errors, 2 warnings, 0 checks, 201 lines checked
^ permalink raw reply [flat|nested] 9+ messages in thread
* ✓ CI.KUnit: success for drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters
2025-09-05 7:01 [PATCH] drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters Jouni Högander
2025-09-05 7:07 ` ✗ CI.checkpatch: warning for " Patchwork
@ 2025-09-05 7:08 ` Patchwork
2025-09-05 7:53 ` ✓ Xe.CI.BAT: " Patchwork
` (2 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: Patchwork @ 2025-09-05 7:08 UTC (permalink / raw)
To: Jouni Högander; +Cc: intel-xe
== Series Details ==
Series: drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters
URL : https://patchwork.freedesktop.org/series/154074/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[07:07:09] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[07:07:14] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[07:07:43] Starting KUnit Kernel (1/1)...
[07:07:43] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[07:07:43] ================== guc_buf (11 subtests) ===================
[07:07:43] [PASSED] test_smallest
[07:07:43] [PASSED] test_largest
[07:07:43] [PASSED] test_granular
[07:07:43] [PASSED] test_unique
[07:07:43] [PASSED] test_overlap
[07:07:43] [PASSED] test_reusable
[07:07:43] [PASSED] test_too_big
[07:07:43] [PASSED] test_flush
[07:07:43] [PASSED] test_lookup
[07:07:43] [PASSED] test_data
[07:07:43] [PASSED] test_class
[07:07:43] ===================== [PASSED] guc_buf =====================
[07:07:43] =================== guc_dbm (7 subtests) ===================
[07:07:43] [PASSED] test_empty
[07:07:43] [PASSED] test_default
[07:07:43] ======================== test_size ========================
[07:07:43] [PASSED] 4
[07:07:43] [PASSED] 8
[07:07:43] [PASSED] 32
[07:07:43] [PASSED] 256
[07:07:43] ==================== [PASSED] test_size ====================
[07:07:43] ======================= test_reuse ========================
[07:07:43] [PASSED] 4
[07:07:43] [PASSED] 8
[07:07:43] [PASSED] 32
[07:07:43] [PASSED] 256
[07:07:43] =================== [PASSED] test_reuse ====================
[07:07:43] =================== test_range_overlap ====================
[07:07:43] [PASSED] 4
[07:07:43] [PASSED] 8
[07:07:43] [PASSED] 32
[07:07:43] [PASSED] 256
[07:07:43] =============== [PASSED] test_range_overlap ================
[07:07:43] =================== test_range_compact ====================
[07:07:43] [PASSED] 4
[07:07:43] [PASSED] 8
[07:07:43] [PASSED] 32
[07:07:43] [PASSED] 256
[07:07:43] =============== [PASSED] test_range_compact ================
[07:07:43] ==================== test_range_spare =====================
[07:07:43] [PASSED] 4
[07:07:43] [PASSED] 8
[07:07:43] [PASSED] 32
[07:07:43] [PASSED] 256
[07:07:43] ================ [PASSED] test_range_spare =================
[07:07:43] ===================== [PASSED] guc_dbm =====================
[07:07:43] =================== guc_idm (6 subtests) ===================
[07:07:43] [PASSED] bad_init
[07:07:43] [PASSED] no_init
[07:07:43] [PASSED] init_fini
[07:07:43] [PASSED] check_used
[07:07:43] [PASSED] check_quota
[07:07:43] [PASSED] check_all
[07:07:43] ===================== [PASSED] guc_idm =====================
[07:07:43] ================== no_relay (3 subtests) ===================
[07:07:43] [PASSED] xe_drops_guc2pf_if_not_ready
[07:07:43] [PASSED] xe_drops_guc2vf_if_not_ready
[07:07:43] [PASSED] xe_rejects_send_if_not_ready
[07:07:43] ==================== [PASSED] no_relay =====================
[07:07:43] ================== pf_relay (14 subtests) ==================
[07:07:43] [PASSED] pf_rejects_guc2pf_too_short
[07:07:43] [PASSED] pf_rejects_guc2pf_too_long
[07:07:43] [PASSED] pf_rejects_guc2pf_no_payload
[07:07:43] [PASSED] pf_fails_no_payload
[07:07:43] [PASSED] pf_fails_bad_origin
[07:07:43] [PASSED] pf_fails_bad_type
[07:07:43] [PASSED] pf_txn_reports_error
[07:07:43] [PASSED] pf_txn_sends_pf2guc
[07:07:43] [PASSED] pf_sends_pf2guc
[07:07:43] [SKIPPED] pf_loopback_nop
[07:07:43] [SKIPPED] pf_loopback_echo
[07:07:43] [SKIPPED] pf_loopback_fail
[07:07:43] [SKIPPED] pf_loopback_busy
[07:07:43] [SKIPPED] pf_loopback_retry
[07:07:43] ==================== [PASSED] pf_relay =====================
[07:07:43] ================== vf_relay (3 subtests) ===================
[07:07:43] [PASSED] vf_rejects_guc2vf_too_short
[07:07:43] [PASSED] vf_rejects_guc2vf_too_long
[07:07:43] [PASSED] vf_rejects_guc2vf_no_payload
[07:07:43] ==================== [PASSED] vf_relay =====================
[07:07:43] ===================== lmtt (1 subtest) =====================
[07:07:43] ======================== test_ops =========================
[07:07:43] [PASSED] 2-level
[07:07:43] [PASSED] multi-level
[07:07:43] ==================== [PASSED] test_ops =====================
[07:07:43] ====================== [PASSED] lmtt =======================
[07:07:43] ================= pf_service (11 subtests) =================
[07:07:43] [PASSED] pf_negotiate_any
[07:07:43] [PASSED] pf_negotiate_base_match
[07:07:43] [PASSED] pf_negotiate_base_newer
[07:07:43] [PASSED] pf_negotiate_base_next
[07:07:43] [SKIPPED] pf_negotiate_base_older
[07:07:43] [PASSED] pf_negotiate_base_prev
[07:07:43] [PASSED] pf_negotiate_latest_match
[07:07:43] [PASSED] pf_negotiate_latest_newer
[07:07:43] [PASSED] pf_negotiate_latest_next
[07:07:43] [SKIPPED] pf_negotiate_latest_older
[07:07:43] [SKIPPED] pf_negotiate_latest_prev
[07:07:43] =================== [PASSED] pf_service ====================
[07:07:43] =================== xe_mocs (2 subtests) ===================
[07:07:43] ================ xe_live_mocs_kernel_kunit ================
[07:07:43] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[07:07:43] ================ xe_live_mocs_reset_kunit =================
[07:07:43] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[07:07:43] ==================== [SKIPPED] xe_mocs =====================
[07:07:43] ================= xe_migrate (2 subtests) ==================
[07:07:43] ================= xe_migrate_sanity_kunit =================
[07:07:43] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[07:07:43] ================== xe_validate_ccs_kunit ==================
[07:07:43] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[07:07:43] =================== [SKIPPED] xe_migrate ===================
[07:07:43] ================== xe_dma_buf (1 subtest) ==================
[07:07:43] ==================== xe_dma_buf_kunit =====================
[07:07:43] ================ [SKIPPED] xe_dma_buf_kunit ================
[07:07:43] =================== [SKIPPED] xe_dma_buf ===================
[07:07:43] ================= xe_bo_shrink (1 subtest) =================
[07:07:43] =================== xe_bo_shrink_kunit ====================
[07:07:43] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[07:07:43] ================== [SKIPPED] xe_bo_shrink ==================
[07:07:43] ==================== xe_bo (2 subtests) ====================
[07:07:43] ================== xe_ccs_migrate_kunit ===================
[07:07:43] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[07:07:43] ==================== xe_bo_evict_kunit ====================
[07:07:43] =============== [SKIPPED] xe_bo_evict_kunit ================
[07:07:43] ===================== [SKIPPED] xe_bo ======================
[07:07:43] ==================== args (11 subtests) ====================
[07:07:43] [PASSED] count_args_test
[07:07:43] [PASSED] call_args_example
[07:07:43] [PASSED] call_args_test
[07:07:43] [PASSED] drop_first_arg_example
[07:07:43] [PASSED] drop_first_arg_test
[07:07:43] [PASSED] first_arg_example
[07:07:43] [PASSED] first_arg_test
[07:07:43] [PASSED] last_arg_example
[07:07:43] [PASSED] last_arg_test
[07:07:43] [PASSED] pick_arg_example
[07:07:43] [PASSED] sep_comma_example
[07:07:43] ====================== [PASSED] args =======================
[07:07:43] =================== xe_pci (3 subtests) ====================
[07:07:43] ==================== check_graphics_ip ====================
[07:07:43] [PASSED] 12.70 Xe_LPG
[07:07:43] [PASSED] 12.71 Xe_LPG
[07:07:43] [PASSED] 12.74 Xe_LPG+
[07:07:43] [PASSED] 20.01 Xe2_HPG
[07:07:43] [PASSED] 20.02 Xe2_HPG
[07:07:43] [PASSED] 20.04 Xe2_LPG
[07:07:43] [PASSED] 30.00 Xe3_LPG
[07:07:43] [PASSED] 30.01 Xe3_LPG
[07:07:43] [PASSED] 30.03 Xe3_LPG
[07:07:43] ================ [PASSED] check_graphics_ip ================
[07:07:43] ===================== check_media_ip ======================
[07:07:43] [PASSED] 13.00 Xe_LPM+
[07:07:43] [PASSED] 13.01 Xe2_HPM
[07:07:43] [PASSED] 20.00 Xe2_LPM
[07:07:43] [PASSED] 30.00 Xe3_LPM
[07:07:43] [PASSED] 30.02 Xe3_LPM
[07:07:43] ================= [PASSED] check_media_ip ==================
[07:07:43] ================= check_platform_gt_count =================
[07:07:43] [PASSED] 0x9A60 (TIGERLAKE)
[07:07:43] [PASSED] 0x9A68 (TIGERLAKE)
[07:07:43] [PASSED] 0x9A70 (TIGERLAKE)
[07:07:43] [PASSED] 0x9A40 (TIGERLAKE)
[07:07:43] [PASSED] 0x9A49 (TIGERLAKE)
[07:07:43] [PASSED] 0x9A59 (TIGERLAKE)
[07:07:43] [PASSED] 0x9A78 (TIGERLAKE)
[07:07:43] [PASSED] 0x9AC0 (TIGERLAKE)
[07:07:43] [PASSED] 0x9AC9 (TIGERLAKE)
[07:07:43] [PASSED] 0x9AD9 (TIGERLAKE)
[07:07:43] [PASSED] 0x9AF8 (TIGERLAKE)
[07:07:43] [PASSED] 0x4C80 (ROCKETLAKE)
[07:07:43] [PASSED] 0x4C8A (ROCKETLAKE)
[07:07:43] [PASSED] 0x4C8B (ROCKETLAKE)
[07:07:43] [PASSED] 0x4C8C (ROCKETLAKE)
[07:07:43] [PASSED] 0x4C90 (ROCKETLAKE)
[07:07:43] [PASSED] 0x4C9A (ROCKETLAKE)
[07:07:43] [PASSED] 0x4680 (ALDERLAKE_S)
[07:07:43] [PASSED] 0x4682 (ALDERLAKE_S)
[07:07:43] [PASSED] 0x4688 (ALDERLAKE_S)
[07:07:43] [PASSED] 0x468A (ALDERLAKE_S)
[07:07:43] [PASSED] 0x468B (ALDERLAKE_S)
[07:07:43] [PASSED] 0x4690 (ALDERLAKE_S)
[07:07:43] [PASSED] 0x4692 (ALDERLAKE_S)
[07:07:43] [PASSED] 0x4693 (ALDERLAKE_S)
[07:07:43] [PASSED] 0x46A0 (ALDERLAKE_P)
[07:07:43] [PASSED] 0x46A1 (ALDERLAKE_P)
[07:07:43] [PASSED] 0x46A2 (ALDERLAKE_P)
[07:07:43] [PASSED] 0x46A3 (ALDERLAKE_P)
[07:07:43] [PASSED] 0x46A6 (ALDERLAKE_P)
[07:07:43] [PASSED] 0x46A8 (ALDERLAKE_P)
[07:07:43] [PASSED] 0x46AA (ALDERLAKE_P)
[07:07:43] [PASSED] 0x462A (ALDERLAKE_P)
[07:07:43] [PASSED] 0x4626 (ALDERLAKE_P)
[07:07:43] [PASSED] 0x4628 (ALDERLAKE_P)
[07:07:43] [PASSED] 0x46B0 (ALDERLAKE_P)
[07:07:43] [PASSED] 0x46B1 (ALDERLAKE_P)
[07:07:43] [PASSED] 0x46B2 (ALDERLAKE_P)
[07:07:43] [PASSED] 0x46B3 (ALDERLAKE_P)
[07:07:43] [PASSED] 0x46C0 (ALDERLAKE_P)
[07:07:43] [PASSED] 0x46C1 (ALDERLAKE_P)
[07:07:43] [PASSED] 0x46C2 (ALDERLAKE_P)
[07:07:43] [PASSED] 0x46C3 (ALDERLAKE_P)
[07:07:43] [PASSED] 0x46D0 (ALDERLAKE_N)
[07:07:43] [PASSED] 0x46D1 (ALDERLAKE_N)
[07:07:43] [PASSED] 0x46D2 (ALDERLAKE_N)
[07:07:43] [PASSED] 0x46D3 (ALDERLAKE_N)
[07:07:43] [PASSED] 0x46D4 (ALDERLAKE_N)
[07:07:43] [PASSED] 0xA721 (ALDERLAKE_P)
[07:07:43] [PASSED] 0xA7A1 (ALDERLAKE_P)
[07:07:43] [PASSED] 0xA7A9 (ALDERLAKE_P)
[07:07:43] [PASSED] 0xA7AC (ALDERLAKE_P)
[07:07:43] [PASSED] 0xA7AD (ALDERLAKE_P)
[07:07:43] [PASSED] 0xA720 (ALDERLAKE_P)
[07:07:43] [PASSED] 0xA7A0 (ALDERLAKE_P)
[07:07:43] [PASSED] 0xA7A8 (ALDERLAKE_P)
[07:07:43] [PASSED] 0xA7AA (ALDERLAKE_P)
[07:07:43] [PASSED] 0xA7AB (ALDERLAKE_P)
[07:07:43] [PASSED] 0xA780 (ALDERLAKE_S)
[07:07:43] [PASSED] 0xA781 (ALDERLAKE_S)
[07:07:43] [PASSED] 0xA782 (ALDERLAKE_S)
[07:07:43] [PASSED] 0xA783 (ALDERLAKE_S)
[07:07:43] [PASSED] 0xA788 (ALDERLAKE_S)
[07:07:43] [PASSED] 0xA789 (ALDERLAKE_S)
[07:07:43] [PASSED] 0xA78A (ALDERLAKE_S)
[07:07:43] [PASSED] 0xA78B (ALDERLAKE_S)
[07:07:43] [PASSED] 0x4905 (DG1)
[07:07:43] [PASSED] 0x4906 (DG1)
[07:07:43] [PASSED] 0x4907 (DG1)
[07:07:43] [PASSED] 0x4908 (DG1)
[07:07:43] [PASSED] 0x4909 (DG1)
[07:07:43] [PASSED] 0x56C0 (DG2)
[07:07:43] [PASSED] 0x56C2 (DG2)
[07:07:43] [PASSED] 0x56C1 (DG2)
[07:07:43] [PASSED] 0x7D51 (METEORLAKE)
[07:07:43] [PASSED] 0x7DD1 (METEORLAKE)
[07:07:43] [PASSED] 0x7D41 (METEORLAKE)
[07:07:43] [PASSED] 0x7D67 (METEORLAKE)
[07:07:43] [PASSED] 0xB640 (METEORLAKE)
[07:07:43] [PASSED] 0x56A0 (DG2)
[07:07:43] [PASSED] 0x56A1 (DG2)
[07:07:43] [PASSED] 0x56A2 (DG2)
[07:07:43] [PASSED] 0x56BE (DG2)
[07:07:43] [PASSED] 0x56BF (DG2)
[07:07:43] [PASSED] 0x5690 (DG2)
[07:07:43] [PASSED] 0x5691 (DG2)
[07:07:43] [PASSED] 0x5692 (DG2)
[07:07:43] [PASSED] 0x56A5 (DG2)
[07:07:43] [PASSED] 0x56A6 (DG2)
[07:07:43] [PASSED] 0x56B0 (DG2)
[07:07:43] [PASSED] 0x56B1 (DG2)
[07:07:43] [PASSED] 0x56BA (DG2)
[07:07:43] [PASSED] 0x56BB (DG2)
[07:07:43] [PASSED] 0x56BC (DG2)
[07:07:43] [PASSED] 0x56BD (DG2)
[07:07:43] [PASSED] 0x5693 (DG2)
[07:07:43] [PASSED] 0x5694 (DG2)
[07:07:43] [PASSED] 0x5695 (DG2)
[07:07:43] [PASSED] 0x56A3 (DG2)
[07:07:43] [PASSED] 0x56A4 (DG2)
[07:07:43] [PASSED] 0x56B2 (DG2)
[07:07:43] [PASSED] 0x56B3 (DG2)
[07:07:43] [PASSED] 0x5696 (DG2)
[07:07:43] [PASSED] 0x5697 (DG2)
[07:07:43] [PASSED] 0xB69 (PVC)
[07:07:43] [PASSED] 0xB6E (PVC)
[07:07:43] [PASSED] 0xBD4 (PVC)
[07:07:43] [PASSED] 0xBD5 (PVC)
[07:07:43] [PASSED] 0xBD6 (PVC)
[07:07:43] [PASSED] 0xBD7 (PVC)
[07:07:43] [PASSED] 0xBD8 (PVC)
[07:07:43] [PASSED] 0xBD9 (PVC)
[07:07:43] [PASSED] 0xBDA (PVC)
[07:07:43] [PASSED] 0xBDB (PVC)
[07:07:43] [PASSED] 0xBE0 (PVC)
[07:07:43] [PASSED] 0xBE1 (PVC)
[07:07:43] [PASSED] 0xBE5 (PVC)
[07:07:43] [PASSED] 0x7D40 (METEORLAKE)
[07:07:43] [PASSED] 0x7D45 (METEORLAKE)
[07:07:43] [PASSED] 0x7D55 (METEORLAKE)
[07:07:43] [PASSED] 0x7D60 (METEORLAKE)
[07:07:43] [PASSED] 0x7DD5 (METEORLAKE)
[07:07:43] [PASSED] 0x6420 (LUNARLAKE)
[07:07:43] [PASSED] 0x64A0 (LUNARLAKE)
[07:07:43] [PASSED] 0x64B0 (LUNARLAKE)
[07:07:43] [PASSED] 0xE202 (BATTLEMAGE)
[07:07:43] [PASSED] 0xE209 (BATTLEMAGE)
[07:07:43] [PASSED] 0xE20B (BATTLEMAGE)
[07:07:43] [PASSED] 0xE20C (BATTLEMAGE)
[07:07:43] [PASSED] 0xE20D (BATTLEMAGE)
[07:07:43] [PASSED] 0xE210 (BATTLEMAGE)
[07:07:43] [PASSED] 0xE211 (BATTLEMAGE)
[07:07:43] [PASSED] 0xE212 (BATTLEMAGE)
[07:07:43] [PASSED] 0xE216 (BATTLEMAGE)
[07:07:43] [PASSED] 0xE220 (BATTLEMAGE)
[07:07:43] [PASSED] 0xE221 (BATTLEMAGE)
[07:07:43] [PASSED] 0xE222 (BATTLEMAGE)
[07:07:43] [PASSED] 0xE223 (BATTLEMAGE)
[07:07:43] [PASSED] 0xB080 (PANTHERLAKE)
[07:07:43] [PASSED] 0xB081 (PANTHERLAKE)
[07:07:43] [PASSED] 0xB082 (PANTHERLAKE)
[07:07:43] [PASSED] 0xB083 (PANTHERLAKE)
[07:07:43] [PASSED] 0xB084 (PANTHERLAKE)
[07:07:43] [PASSED] 0xB085 (PANTHERLAKE)
[07:07:43] [PASSED] 0xB086 (PANTHERLAKE)
[07:07:43] [PASSED] 0xB087 (PANTHERLAKE)
[07:07:43] [PASSED] 0xB08F (PANTHERLAKE)
[07:07:43] [PASSED] 0xB090 (PANTHERLAKE)
[07:07:43] [PASSED] 0xB0A0 (PANTHERLAKE)
[07:07:43] [PASSED] 0xB0B0 (PANTHERLAKE)
[07:07:43] [PASSED] 0xFD80 (PANTHERLAKE)
[07:07:43] [PASSED] 0xFD81 (PANTHERLAKE)
[07:07:43] ============= [PASSED] check_platform_gt_count =============
[07:07:43] ===================== [PASSED] xe_pci ======================
[07:07:43] =================== xe_rtp (2 subtests) ====================
[07:07:43] =============== xe_rtp_process_to_sr_tests ================
[07:07:43] [PASSED] coalesce-same-reg
[07:07:43] [PASSED] no-match-no-add
[07:07:43] [PASSED] match-or
[07:07:43] [PASSED] match-or-xfail
[07:07:43] [PASSED] no-match-no-add-multiple-rules
[07:07:43] [PASSED] two-regs-two-entries
[07:07:43] [PASSED] clr-one-set-other
[07:07:43] [PASSED] set-field
[07:07:43] [PASSED] conflict-duplicate
[07:07:43] [PASSED] conflict-not-disjoint
[07:07:43] [PASSED] conflict-reg-type
[07:07:43] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[07:07:43] ================== xe_rtp_process_tests ===================
[07:07:43] [PASSED] active1
[07:07:43] [PASSED] active2
[07:07:43] [PASSED] active-inactive
[07:07:43] [PASSED] inactive-active
[07:07:43] [PASSED] inactive-1st_or_active-inactive
[07:07:43] [PASSED] inactive-2nd_or_active-inactive
[07:07:43] [PASSED] inactive-last_or_active-inactive
[07:07:43] [PASSED] inactive-no_or_active-inactive
[07:07:43] ============== [PASSED] xe_rtp_process_tests ===============
[07:07:43] ===================== [PASSED] xe_rtp ======================
[07:07:43] ==================== xe_wa (1 subtest) =====================
[07:07:43] ======================== xe_wa_gt =========================
[07:07:43] [PASSED] TIGERLAKE (B0)
[07:07:43] [PASSED] DG1 (A0)
[07:07:43] [PASSED] DG1 (B0)
[07:07:43] [PASSED] ALDERLAKE_S (A0)
[07:07:43] [PASSED] ALDERLAKE_S (B0)
[07:07:43] [PASSED] ALDERLAKE_S (C0)
[07:07:43] [PASSED] ALDERLAKE_S (D0)
[07:07:43] [PASSED] ALDERLAKE_P (A0)
[07:07:43] [PASSED] ALDERLAKE_P (B0)
[07:07:43] [PASSED] ALDERLAKE_P (C0)
[07:07:43] [PASSED] ALDERLAKE_S_RPLS (D0)
[07:07:43] [PASSED] ALDERLAKE_P_RPLU (E0)
[07:07:43] [PASSED] DG2_G10 (C0)
[07:07:43] [PASSED] DG2_G11 (B1)
[07:07:43] [PASSED] DG2_G12 (A1)
[07:07:43] [PASSED] METEORLAKE (g:A0, m:A0)
[07:07:43] [PASSED] METEORLAKE (g:A0, m:A0)
[07:07:43] [PASSED] METEORLAKE (g:A0, m:A0)
[07:07:43] [PASSED] LUNARLAKE (g:A0, m:A0)
[07:07:43] [PASSED] LUNARLAKE (g:B0, m:A0)
stty: 'standard input': Inappropriate ioctl for device
[07:07:43] [PASSED] BATTLEMAGE (g:A0, m:A1)
[07:07:43] [PASSED] PANTHERLAKE (g:A0, m:A0)
[07:07:43] ==================== [PASSED] xe_wa_gt =====================
[07:07:43] ====================== [PASSED] xe_wa ======================
[07:07:43] ============================================================
[07:07:43] Testing complete. Ran 298 tests: passed: 282, skipped: 16
[07:07:43] Elapsed time: 33.495s total, 4.263s configuring, 28.864s building, 0.334s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[07:07:43] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[07:07:45] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[07:08:08] Starting KUnit Kernel (1/1)...
[07:08:08] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[07:08:08] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[07:08:08] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[07:08:08] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[07:08:08] =========== drm_validate_clone_mode (2 subtests) ===========
[07:08:08] ============== drm_test_check_in_clone_mode ===============
[07:08:08] [PASSED] in_clone_mode
[07:08:08] [PASSED] not_in_clone_mode
[07:08:08] ========== [PASSED] drm_test_check_in_clone_mode ===========
[07:08:08] =============== drm_test_check_valid_clones ===============
[07:08:08] [PASSED] not_in_clone_mode
[07:08:08] [PASSED] valid_clone
[07:08:08] [PASSED] invalid_clone
[07:08:08] =========== [PASSED] drm_test_check_valid_clones ===========
[07:08:08] ============= [PASSED] drm_validate_clone_mode =============
[07:08:08] ============= drm_validate_modeset (1 subtest) =============
[07:08:08] [PASSED] drm_test_check_connector_changed_modeset
[07:08:08] ============== [PASSED] drm_validate_modeset ===============
[07:08:08] ====== drm_test_bridge_get_current_state (2 subtests) ======
[07:08:08] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[07:08:08] [PASSED] drm_test_drm_bridge_get_current_state_legacy
[07:08:08] ======== [PASSED] drm_test_bridge_get_current_state ========
[07:08:08] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[07:08:08] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[07:08:08] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[07:08:08] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy
[07:08:08] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[07:08:08] ============== drm_bridge_alloc (2 subtests) ===============
[07:08:08] [PASSED] drm_test_drm_bridge_alloc_basic
[07:08:08] [PASSED] drm_test_drm_bridge_alloc_get_put
[07:08:08] ================ [PASSED] drm_bridge_alloc =================
[07:08:08] ================== drm_buddy (7 subtests) ==================
[07:08:08] [PASSED] drm_test_buddy_alloc_limit
[07:08:08] [PASSED] drm_test_buddy_alloc_optimistic
[07:08:08] [PASSED] drm_test_buddy_alloc_pessimistic
[07:08:08] [PASSED] drm_test_buddy_alloc_pathological
[07:08:08] [PASSED] drm_test_buddy_alloc_contiguous
[07:08:08] [PASSED] drm_test_buddy_alloc_clear
[07:08:08] [PASSED] drm_test_buddy_alloc_range_bias
[07:08:08] ==================== [PASSED] drm_buddy ====================
[07:08:08] ============= drm_cmdline_parser (40 subtests) =============
[07:08:08] [PASSED] drm_test_cmdline_force_d_only
[07:08:08] [PASSED] drm_test_cmdline_force_D_only_dvi
[07:08:08] [PASSED] drm_test_cmdline_force_D_only_hdmi
[07:08:08] [PASSED] drm_test_cmdline_force_D_only_not_digital
[07:08:08] [PASSED] drm_test_cmdline_force_e_only
[07:08:08] [PASSED] drm_test_cmdline_res
[07:08:08] [PASSED] drm_test_cmdline_res_vesa
[07:08:08] [PASSED] drm_test_cmdline_res_vesa_rblank
[07:08:08] [PASSED] drm_test_cmdline_res_rblank
[07:08:08] [PASSED] drm_test_cmdline_res_bpp
[07:08:08] [PASSED] drm_test_cmdline_res_refresh
[07:08:08] [PASSED] drm_test_cmdline_res_bpp_refresh
[07:08:08] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[07:08:08] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[07:08:08] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[07:08:08] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[07:08:08] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[07:08:08] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[07:08:08] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[07:08:08] [PASSED] drm_test_cmdline_res_margins_force_on
[07:08:08] [PASSED] drm_test_cmdline_res_vesa_margins
[07:08:08] [PASSED] drm_test_cmdline_name
[07:08:08] [PASSED] drm_test_cmdline_name_bpp
[07:08:08] [PASSED] drm_test_cmdline_name_option
[07:08:08] [PASSED] drm_test_cmdline_name_bpp_option
[07:08:08] [PASSED] drm_test_cmdline_rotate_0
[07:08:08] [PASSED] drm_test_cmdline_rotate_90
[07:08:08] [PASSED] drm_test_cmdline_rotate_180
[07:08:08] [PASSED] drm_test_cmdline_rotate_270
[07:08:08] [PASSED] drm_test_cmdline_hmirror
[07:08:08] [PASSED] drm_test_cmdline_vmirror
[07:08:08] [PASSED] drm_test_cmdline_margin_options
[07:08:08] [PASSED] drm_test_cmdline_multiple_options
[07:08:08] [PASSED] drm_test_cmdline_bpp_extra_and_option
[07:08:08] [PASSED] drm_test_cmdline_extra_and_option
[07:08:08] [PASSED] drm_test_cmdline_freestanding_options
[07:08:08] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[07:08:08] [PASSED] drm_test_cmdline_panel_orientation
[07:08:08] ================ drm_test_cmdline_invalid =================
[07:08:08] [PASSED] margin_only
[07:08:08] [PASSED] interlace_only
[07:08:08] [PASSED] res_missing_x
[07:08:08] [PASSED] res_missing_y
[07:08:08] [PASSED] res_bad_y
[07:08:08] [PASSED] res_missing_y_bpp
[07:08:08] [PASSED] res_bad_bpp
[07:08:08] [PASSED] res_bad_refresh
[07:08:08] [PASSED] res_bpp_refresh_force_on_off
[07:08:08] [PASSED] res_invalid_mode
[07:08:08] [PASSED] res_bpp_wrong_place_mode
[07:08:08] [PASSED] name_bpp_refresh
[07:08:08] [PASSED] name_refresh
[07:08:08] [PASSED] name_refresh_wrong_mode
[07:08:08] [PASSED] name_refresh_invalid_mode
[07:08:08] [PASSED] rotate_multiple
[07:08:08] [PASSED] rotate_invalid_val
[07:08:08] [PASSED] rotate_truncated
[07:08:08] [PASSED] invalid_option
[07:08:08] [PASSED] invalid_tv_option
[07:08:08] [PASSED] truncated_tv_option
[07:08:08] ============ [PASSED] drm_test_cmdline_invalid =============
[07:08:08] =============== drm_test_cmdline_tv_options ===============
[07:08:08] [PASSED] NTSC
[07:08:08] [PASSED] NTSC_443
[07:08:08] [PASSED] NTSC_J
[07:08:08] [PASSED] PAL
[07:08:08] [PASSED] PAL_M
[07:08:08] [PASSED] PAL_N
[07:08:08] [PASSED] SECAM
[07:08:08] [PASSED] MONO_525
[07:08:08] [PASSED] MONO_625
[07:08:08] =========== [PASSED] drm_test_cmdline_tv_options ===========
[07:08:08] =============== [PASSED] drm_cmdline_parser ================
[07:08:08] ========== drmm_connector_hdmi_init (20 subtests) ==========
[07:08:08] [PASSED] drm_test_connector_hdmi_init_valid
[07:08:08] [PASSED] drm_test_connector_hdmi_init_bpc_8
[07:08:08] [PASSED] drm_test_connector_hdmi_init_bpc_10
[07:08:08] [PASSED] drm_test_connector_hdmi_init_bpc_12
[07:08:08] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[07:08:08] [PASSED] drm_test_connector_hdmi_init_bpc_null
[07:08:08] [PASSED] drm_test_connector_hdmi_init_formats_empty
[07:08:08] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[07:08:08] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[07:08:08] [PASSED] supported_formats=0x9 yuv420_allowed=1
[07:08:08] [PASSED] supported_formats=0x9 yuv420_allowed=0
[07:08:08] [PASSED] supported_formats=0x3 yuv420_allowed=1
[07:08:08] [PASSED] supported_formats=0x3 yuv420_allowed=0
[07:08:08] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[07:08:08] [PASSED] drm_test_connector_hdmi_init_null_ddc
[07:08:08] [PASSED] drm_test_connector_hdmi_init_null_product
[07:08:08] [PASSED] drm_test_connector_hdmi_init_null_vendor
[07:08:08] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[07:08:08] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[07:08:08] [PASSED] drm_test_connector_hdmi_init_product_valid
[07:08:08] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[07:08:08] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[07:08:08] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[07:08:08] ========= drm_test_connector_hdmi_init_type_valid =========
[07:08:08] [PASSED] HDMI-A
[07:08:08] [PASSED] HDMI-B
[07:08:08] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[07:08:08] ======== drm_test_connector_hdmi_init_type_invalid ========
[07:08:08] [PASSED] Unknown
[07:08:08] [PASSED] VGA
[07:08:08] [PASSED] DVI-I
[07:08:08] [PASSED] DVI-D
[07:08:08] [PASSED] DVI-A
[07:08:08] [PASSED] Composite
[07:08:08] [PASSED] SVIDEO
[07:08:08] [PASSED] LVDS
[07:08:08] [PASSED] Component
[07:08:08] [PASSED] DIN
[07:08:08] [PASSED] DP
[07:08:08] [PASSED] TV
[07:08:08] [PASSED] eDP
[07:08:08] [PASSED] Virtual
[07:08:08] [PASSED] DSI
[07:08:08] [PASSED] DPI
[07:08:08] [PASSED] Writeback
[07:08:08] [PASSED] SPI
[07:08:08] [PASSED] USB
[07:08:08] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[07:08:08] ============ [PASSED] drmm_connector_hdmi_init =============
[07:08:08] ============= drmm_connector_init (3 subtests) =============
[07:08:08] [PASSED] drm_test_drmm_connector_init
[07:08:08] [PASSED] drm_test_drmm_connector_init_null_ddc
[07:08:08] ========= drm_test_drmm_connector_init_type_valid =========
[07:08:08] [PASSED] Unknown
[07:08:08] [PASSED] VGA
[07:08:08] [PASSED] DVI-I
[07:08:08] [PASSED] DVI-D
[07:08:08] [PASSED] DVI-A
[07:08:08] [PASSED] Composite
[07:08:08] [PASSED] SVIDEO
[07:08:08] [PASSED] LVDS
[07:08:08] [PASSED] Component
[07:08:08] [PASSED] DIN
[07:08:08] [PASSED] DP
[07:08:08] [PASSED] HDMI-A
[07:08:08] [PASSED] HDMI-B
[07:08:08] [PASSED] TV
[07:08:08] [PASSED] eDP
[07:08:08] [PASSED] Virtual
[07:08:08] [PASSED] DSI
[07:08:08] [PASSED] DPI
[07:08:08] [PASSED] Writeback
[07:08:08] [PASSED] SPI
[07:08:08] [PASSED] USB
[07:08:08] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[07:08:08] =============== [PASSED] drmm_connector_init ===============
[07:08:08] ========= drm_connector_dynamic_init (6 subtests) ==========
[07:08:08] [PASSED] drm_test_drm_connector_dynamic_init
[07:08:08] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[07:08:08] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[07:08:08] [PASSED] drm_test_drm_connector_dynamic_init_properties
[07:08:08] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[07:08:08] [PASSED] Unknown
[07:08:08] [PASSED] VGA
[07:08:08] [PASSED] DVI-I
[07:08:08] [PASSED] DVI-D
[07:08:08] [PASSED] DVI-A
[07:08:08] [PASSED] Composite
[07:08:08] [PASSED] SVIDEO
[07:08:08] [PASSED] LVDS
[07:08:08] [PASSED] Component
[07:08:08] [PASSED] DIN
[07:08:08] [PASSED] DP
[07:08:08] [PASSED] HDMI-A
[07:08:08] [PASSED] HDMI-B
[07:08:08] [PASSED] TV
[07:08:08] [PASSED] eDP
[07:08:08] [PASSED] Virtual
[07:08:08] [PASSED] DSI
[07:08:08] [PASSED] DPI
[07:08:08] [PASSED] Writeback
[07:08:08] [PASSED] SPI
[07:08:08] [PASSED] USB
[07:08:08] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[07:08:08] ======== drm_test_drm_connector_dynamic_init_name =========
[07:08:08] [PASSED] Unknown
[07:08:08] [PASSED] VGA
[07:08:08] [PASSED] DVI-I
[07:08:08] [PASSED] DVI-D
[07:08:08] [PASSED] DVI-A
[07:08:08] [PASSED] Composite
[07:08:08] [PASSED] SVIDEO
[07:08:08] [PASSED] LVDS
[07:08:08] [PASSED] Component
[07:08:08] [PASSED] DIN
[07:08:08] [PASSED] DP
[07:08:08] [PASSED] HDMI-A
[07:08:08] [PASSED] HDMI-B
[07:08:08] [PASSED] TV
[07:08:08] [PASSED] eDP
[07:08:08] [PASSED] Virtual
[07:08:08] [PASSED] DSI
[07:08:08] [PASSED] DPI
[07:08:08] [PASSED] Writeback
[07:08:08] [PASSED] SPI
[07:08:08] [PASSED] USB
[07:08:08] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[07:08:08] =========== [PASSED] drm_connector_dynamic_init ============
[07:08:08] ==== drm_connector_dynamic_register_early (4 subtests) =====
[07:08:08] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[07:08:08] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[07:08:08] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[07:08:08] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[07:08:08] ====== [PASSED] drm_connector_dynamic_register_early =======
[07:08:08] ======= drm_connector_dynamic_register (7 subtests) ========
[07:08:08] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[07:08:08] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[07:08:08] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[07:08:08] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[07:08:08] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[07:08:08] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[07:08:08] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[07:08:08] ========= [PASSED] drm_connector_dynamic_register ==========
[07:08:08] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[07:08:08] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[07:08:08] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[07:08:08] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[07:08:08] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[07:08:08] ========== drm_test_get_tv_mode_from_name_valid ===========
[07:08:08] [PASSED] NTSC
[07:08:08] [PASSED] NTSC-443
[07:08:08] [PASSED] NTSC-J
[07:08:08] [PASSED] PAL
[07:08:08] [PASSED] PAL-M
[07:08:08] [PASSED] PAL-N
[07:08:08] [PASSED] SECAM
[07:08:08] [PASSED] Mono
[07:08:08] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[07:08:08] [PASSED] drm_test_get_tv_mode_from_name_truncated
[07:08:08] ============ [PASSED] drm_get_tv_mode_from_name ============
[07:08:08] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[07:08:08] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[07:08:08] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[07:08:08] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[07:08:08] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[07:08:08] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[07:08:08] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[07:08:08] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[07:08:08] [PASSED] VIC 96
[07:08:08] [PASSED] VIC 97
[07:08:08] [PASSED] VIC 101
[07:08:08] [PASSED] VIC 102
[07:08:08] [PASSED] VIC 106
[07:08:08] [PASSED] VIC 107
[07:08:08] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[07:08:08] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[07:08:08] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[07:08:08] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[07:08:08] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[07:08:08] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[07:08:08] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[07:08:08] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[07:08:08] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[07:08:08] [PASSED] Automatic
[07:08:08] [PASSED] Full
[07:08:08] [PASSED] Limited 16:235
[07:08:08] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[07:08:08] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[07:08:08] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[07:08:08] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[07:08:08] === drm_test_drm_hdmi_connector_get_output_format_name ====
[07:08:08] [PASSED] RGB
[07:08:08] [PASSED] YUV 4:2:0
[07:08:08] [PASSED] YUV 4:2:2
[07:08:08] [PASSED] YUV 4:4:4
[07:08:08] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[07:08:08] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[07:08:08] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[07:08:08] ============= drm_damage_helper (21 subtests) ==============
[07:08:08] [PASSED] drm_test_damage_iter_no_damage
[07:08:08] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[07:08:08] [PASSED] drm_test_damage_iter_no_damage_src_moved
[07:08:08] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[07:08:08] [PASSED] drm_test_damage_iter_no_damage_not_visible
[07:08:08] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[07:08:08] [PASSED] drm_test_damage_iter_no_damage_no_fb
[07:08:08] [PASSED] drm_test_damage_iter_simple_damage
[07:08:08] [PASSED] drm_test_damage_iter_single_damage
[07:08:08] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[07:08:08] [PASSED] drm_test_damage_iter_single_damage_outside_src
[07:08:08] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[07:08:08] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[07:08:08] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[07:08:08] [PASSED] drm_test_damage_iter_single_damage_src_moved
[07:08:08] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[07:08:08] [PASSED] drm_test_damage_iter_damage
[07:08:08] [PASSED] drm_test_damage_iter_damage_one_intersect
[07:08:08] [PASSED] drm_test_damage_iter_damage_one_outside
[07:08:08] [PASSED] drm_test_damage_iter_damage_src_moved
[07:08:08] [PASSED] drm_test_damage_iter_damage_not_visible
[07:08:08] ================ [PASSED] drm_damage_helper ================
[07:08:08] ============== drm_dp_mst_helper (3 subtests) ==============
[07:08:08] ============== drm_test_dp_mst_calc_pbn_mode ==============
[07:08:08] [PASSED] Clock 154000 BPP 30 DSC disabled
[07:08:08] [PASSED] Clock 234000 BPP 30 DSC disabled
[07:08:08] [PASSED] Clock 297000 BPP 24 DSC disabled
[07:08:08] [PASSED] Clock 332880 BPP 24 DSC enabled
[07:08:08] [PASSED] Clock 324540 BPP 24 DSC enabled
[07:08:08] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[07:08:08] ============== drm_test_dp_mst_calc_pbn_div ===============
[07:08:08] [PASSED] Link rate 2000000 lane count 4
[07:08:08] [PASSED] Link rate 2000000 lane count 2
[07:08:08] [PASSED] Link rate 2000000 lane count 1
[07:08:08] [PASSED] Link rate 1350000 lane count 4
[07:08:08] [PASSED] Link rate 1350000 lane count 2
[07:08:08] [PASSED] Link rate 1350000 lane count 1
[07:08:08] [PASSED] Link rate 1000000 lane count 4
[07:08:08] [PASSED] Link rate 1000000 lane count 2
[07:08:08] [PASSED] Link rate 1000000 lane count 1
[07:08:08] [PASSED] Link rate 810000 lane count 4
[07:08:08] [PASSED] Link rate 810000 lane count 2
[07:08:08] [PASSED] Link rate 810000 lane count 1
[07:08:08] [PASSED] Link rate 540000 lane count 4
[07:08:08] [PASSED] Link rate 540000 lane count 2
[07:08:08] [PASSED] Link rate 540000 lane count 1
[07:08:08] [PASSED] Link rate 270000 lane count 4
[07:08:08] [PASSED] Link rate 270000 lane count 2
[07:08:08] [PASSED] Link rate 270000 lane count 1
[07:08:08] [PASSED] Link rate 162000 lane count 4
[07:08:08] [PASSED] Link rate 162000 lane count 2
[07:08:08] [PASSED] Link rate 162000 lane count 1
[07:08:08] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[07:08:08] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[07:08:08] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[07:08:08] [PASSED] DP_POWER_UP_PHY with port number
[07:08:08] [PASSED] DP_POWER_DOWN_PHY with port number
[07:08:08] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[07:08:08] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[07:08:08] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[07:08:08] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[07:08:08] [PASSED] DP_QUERY_PAYLOAD with port number
[07:08:08] [PASSED] DP_QUERY_PAYLOAD with VCPI
[07:08:08] [PASSED] DP_REMOTE_DPCD_READ with port number
[07:08:08] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[07:08:08] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[07:08:08] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[07:08:08] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[07:08:08] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[07:08:08] [PASSED] DP_REMOTE_I2C_READ with port number
[07:08:08] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[07:08:08] [PASSED] DP_REMOTE_I2C_READ with transactions array
[07:08:08] [PASSED] DP_REMOTE_I2C_WRITE with port number
[07:08:08] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[07:08:08] [PASSED] DP_REMOTE_I2C_WRITE with data array
[07:08:08] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[07:08:08] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[07:08:08] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[07:08:08] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[07:08:08] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[07:08:08] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[07:08:08] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[07:08:08] ================ [PASSED] drm_dp_mst_helper ================
[07:08:08] ================== drm_exec (7 subtests) ===================
[07:08:08] [PASSED] sanitycheck
[07:08:08] [PASSED] test_lock
[07:08:08] [PASSED] test_lock_unlock
[07:08:08] [PASSED] test_duplicates
[07:08:08] [PASSED] test_prepare
[07:08:08] [PASSED] test_prepare_array
[07:08:08] [PASSED] test_multiple_loops
[07:08:08] ==================== [PASSED] drm_exec =====================
[07:08:08] =========== drm_format_helper_test (17 subtests) ===========
[07:08:08] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[07:08:08] [PASSED] single_pixel_source_buffer
[07:08:08] [PASSED] single_pixel_clip_rectangle
[07:08:08] [PASSED] well_known_colors
[07:08:08] [PASSED] destination_pitch
[07:08:08] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[07:08:08] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[07:08:08] [PASSED] single_pixel_source_buffer
[07:08:08] [PASSED] single_pixel_clip_rectangle
[07:08:08] [PASSED] well_known_colors
[07:08:08] [PASSED] destination_pitch
[07:08:08] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[07:08:08] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[07:08:08] [PASSED] single_pixel_source_buffer
[07:08:08] [PASSED] single_pixel_clip_rectangle
[07:08:08] [PASSED] well_known_colors
[07:08:08] [PASSED] destination_pitch
[07:08:08] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[07:08:08] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[07:08:08] [PASSED] single_pixel_source_buffer
[07:08:08] [PASSED] single_pixel_clip_rectangle
[07:08:08] [PASSED] well_known_colors
[07:08:08] [PASSED] destination_pitch
[07:08:08] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[07:08:08] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[07:08:08] [PASSED] single_pixel_source_buffer
[07:08:08] [PASSED] single_pixel_clip_rectangle
[07:08:08] [PASSED] well_known_colors
[07:08:08] [PASSED] destination_pitch
[07:08:08] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[07:08:08] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[07:08:08] [PASSED] single_pixel_source_buffer
[07:08:08] [PASSED] single_pixel_clip_rectangle
[07:08:08] [PASSED] well_known_colors
[07:08:08] [PASSED] destination_pitch
[07:08:08] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[07:08:08] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[07:08:08] [PASSED] single_pixel_source_buffer
[07:08:08] [PASSED] single_pixel_clip_rectangle
[07:08:08] [PASSED] well_known_colors
[07:08:08] [PASSED] destination_pitch
[07:08:08] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[07:08:08] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[07:08:08] [PASSED] single_pixel_source_buffer
[07:08:08] [PASSED] single_pixel_clip_rectangle
[07:08:08] [PASSED] well_known_colors
[07:08:08] [PASSED] destination_pitch
[07:08:08] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[07:08:08] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[07:08:08] [PASSED] single_pixel_source_buffer
[07:08:08] [PASSED] single_pixel_clip_rectangle
[07:08:08] [PASSED] well_known_colors
[07:08:08] [PASSED] destination_pitch
[07:08:08] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[07:08:08] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[07:08:08] [PASSED] single_pixel_source_buffer
[07:08:08] [PASSED] single_pixel_clip_rectangle
[07:08:08] [PASSED] well_known_colors
[07:08:08] [PASSED] destination_pitch
[07:08:08] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[07:08:08] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[07:08:08] [PASSED] single_pixel_source_buffer
[07:08:08] [PASSED] single_pixel_clip_rectangle
[07:08:08] [PASSED] well_known_colors
[07:08:08] [PASSED] destination_pitch
[07:08:08] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[07:08:08] ============== drm_test_fb_xrgb8888_to_mono ===============
[07:08:08] [PASSED] single_pixel_source_buffer
[07:08:08] [PASSED] single_pixel_clip_rectangle
[07:08:08] [PASSED] well_known_colors
[07:08:08] [PASSED] destination_pitch
[07:08:08] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[07:08:08] ==================== drm_test_fb_swab =====================
[07:08:08] [PASSED] single_pixel_source_buffer
[07:08:08] [PASSED] single_pixel_clip_rectangle
[07:08:08] [PASSED] well_known_colors
[07:08:08] [PASSED] destination_pitch
[07:08:08] ================ [PASSED] drm_test_fb_swab =================
[07:08:08] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[07:08:08] [PASSED] single_pixel_source_buffer
[07:08:08] [PASSED] single_pixel_clip_rectangle
[07:08:08] [PASSED] well_known_colors
[07:08:08] [PASSED] destination_pitch
[07:08:08] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[07:08:08] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[07:08:08] [PASSED] single_pixel_source_buffer
[07:08:08] [PASSED] single_pixel_clip_rectangle
[07:08:08] [PASSED] well_known_colors
[07:08:08] [PASSED] destination_pitch
[07:08:08] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[07:08:08] ================= drm_test_fb_clip_offset =================
[07:08:08] [PASSED] pass through
[07:08:08] [PASSED] horizontal offset
[07:08:08] [PASSED] vertical offset
[07:08:08] [PASSED] horizontal and vertical offset
[07:08:08] [PASSED] horizontal offset (custom pitch)
[07:08:08] [PASSED] vertical offset (custom pitch)
[07:08:08] [PASSED] horizontal and vertical offset (custom pitch)
[07:08:08] ============= [PASSED] drm_test_fb_clip_offset =============
[07:08:08] =================== drm_test_fb_memcpy ====================
[07:08:08] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[07:08:08] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[07:08:08] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[07:08:08] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[07:08:08] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[07:08:08] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[07:08:08] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[07:08:08] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[07:08:08] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[07:08:08] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[07:08:08] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[07:08:08] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[07:08:08] =============== [PASSED] drm_test_fb_memcpy ================
[07:08:08] ============= [PASSED] drm_format_helper_test ==============
[07:08:08] ================= drm_format (18 subtests) =================
[07:08:08] [PASSED] drm_test_format_block_width_invalid
[07:08:08] [PASSED] drm_test_format_block_width_one_plane
[07:08:08] [PASSED] drm_test_format_block_width_two_plane
[07:08:08] [PASSED] drm_test_format_block_width_three_plane
[07:08:08] [PASSED] drm_test_format_block_width_tiled
[07:08:08] [PASSED] drm_test_format_block_height_invalid
[07:08:08] [PASSED] drm_test_format_block_height_one_plane
[07:08:08] [PASSED] drm_test_format_block_height_two_plane
[07:08:08] [PASSED] drm_test_format_block_height_three_plane
[07:08:08] [PASSED] drm_test_format_block_height_tiled
[07:08:08] [PASSED] drm_test_format_min_pitch_invalid
[07:08:08] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[07:08:08] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[07:08:08] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[07:08:08] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[07:08:08] [PASSED] drm_test_format_min_pitch_two_plane
[07:08:08] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[07:08:08] [PASSED] drm_test_format_min_pitch_tiled
[07:08:08] =================== [PASSED] drm_format ====================
[07:08:08] ============== drm_framebuffer (10 subtests) ===============
[07:08:08] ========== drm_test_framebuffer_check_src_coords ==========
[07:08:08] [PASSED] Success: source fits into fb
[07:08:08] [PASSED] Fail: overflowing fb with x-axis coordinate
[07:08:08] [PASSED] Fail: overflowing fb with y-axis coordinate
[07:08:08] [PASSED] Fail: overflowing fb with source width
[07:08:08] [PASSED] Fail: overflowing fb with source height
[07:08:08] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[07:08:08] [PASSED] drm_test_framebuffer_cleanup
[07:08:08] =============== drm_test_framebuffer_create ===============
[07:08:08] [PASSED] ABGR8888 normal sizes
[07:08:08] [PASSED] ABGR8888 max sizes
[07:08:08] [PASSED] ABGR8888 pitch greater than min required
[07:08:08] [PASSED] ABGR8888 pitch less than min required
[07:08:08] [PASSED] ABGR8888 Invalid width
[07:08:08] [PASSED] ABGR8888 Invalid buffer handle
[07:08:08] [PASSED] No pixel format
[07:08:08] [PASSED] ABGR8888 Width 0
[07:08:08] [PASSED] ABGR8888 Height 0
[07:08:08] [PASSED] ABGR8888 Out of bound height * pitch combination
[07:08:08] [PASSED] ABGR8888 Large buffer offset
[07:08:08] [PASSED] ABGR8888 Buffer offset for inexistent plane
[07:08:08] [PASSED] ABGR8888 Invalid flag
[07:08:08] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[07:08:08] [PASSED] ABGR8888 Valid buffer modifier
[07:08:08] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[07:08:08] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[07:08:08] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[07:08:08] [PASSED] NV12 Normal sizes
[07:08:08] [PASSED] NV12 Max sizes
[07:08:08] [PASSED] NV12 Invalid pitch
[07:08:08] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[07:08:08] [PASSED] NV12 different modifier per-plane
[07:08:08] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[07:08:08] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[07:08:08] [PASSED] NV12 Modifier for inexistent plane
[07:08:08] [PASSED] NV12 Handle for inexistent plane
[07:08:08] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[07:08:08] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[07:08:08] [PASSED] YVU420 Normal sizes
[07:08:08] [PASSED] YVU420 Max sizes
[07:08:08] [PASSED] YVU420 Invalid pitch
[07:08:08] [PASSED] YVU420 Different pitches
[07:08:08] [PASSED] YVU420 Different buffer offsets/pitches
[07:08:08] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[07:08:08] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[07:08:08] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[07:08:08] [PASSED] YVU420 Valid modifier
[07:08:08] [PASSED] YVU420 Different modifiers per plane
[07:08:08] [PASSED] YVU420 Modifier for inexistent plane
[07:08:08] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[07:08:08] [PASSED] X0L2 Normal sizes
[07:08:08] [PASSED] X0L2 Max sizes
[07:08:08] [PASSED] X0L2 Invalid pitch
[07:08:08] [PASSED] X0L2 Pitch greater than minimum required
[07:08:08] [PASSED] X0L2 Handle for inexistent plane
[07:08:08] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[07:08:08] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[07:08:08] [PASSED] X0L2 Valid modifier
[07:08:08] [PASSED] X0L2 Modifier for inexistent plane
[07:08:08] =========== [PASSED] drm_test_framebuffer_create ===========
[07:08:08] [PASSED] drm_test_framebuffer_free
[07:08:08] [PASSED] drm_test_framebuffer_init
[07:08:08] [PASSED] drm_test_framebuffer_init_bad_format
[07:08:08] [PASSED] drm_test_framebuffer_init_dev_mismatch
[07:08:08] [PASSED] drm_test_framebuffer_lookup
[07:08:08] [PASSED] drm_test_framebuffer_lookup_inexistent
[07:08:08] [PASSED] drm_test_framebuffer_modifiers_not_supported
[07:08:08] ================= [PASSED] drm_framebuffer =================
[07:08:08] ================ drm_gem_shmem (8 subtests) ================
[07:08:08] [PASSED] drm_gem_shmem_test_obj_create
[07:08:08] [PASSED] drm_gem_shmem_test_obj_create_private
[07:08:08] [PASSED] drm_gem_shmem_test_pin_pages
[07:08:08] [PASSED] drm_gem_shmem_test_vmap
[07:08:08] [PASSED] drm_gem_shmem_test_get_pages_sgt
[07:08:08] [PASSED] drm_gem_shmem_test_get_sg_table
[07:08:08] [PASSED] drm_gem_shmem_test_madvise
[07:08:08] [PASSED] drm_gem_shmem_test_purge
[07:08:08] ================== [PASSED] drm_gem_shmem ==================
[07:08:08] === drm_atomic_helper_connector_hdmi_check (27 subtests) ===
[07:08:08] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[07:08:08] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[07:08:08] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[07:08:08] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[07:08:08] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[07:08:08] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[07:08:08] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[07:08:08] [PASSED] Automatic
[07:08:08] [PASSED] Full
[07:08:08] [PASSED] Limited 16:235
[07:08:08] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[07:08:08] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[07:08:08] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[07:08:08] [PASSED] drm_test_check_disable_connector
[07:08:08] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[07:08:08] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[07:08:08] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[07:08:08] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[07:08:08] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[07:08:08] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[07:08:08] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[07:08:08] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[07:08:08] [PASSED] drm_test_check_output_bpc_dvi
[07:08:08] [PASSED] drm_test_check_output_bpc_format_vic_1
[07:08:08] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[07:08:08] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[07:08:08] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[07:08:08] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[07:08:08] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[07:08:08] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[07:08:08] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[07:08:08] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[07:08:08] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[07:08:08] [PASSED] drm_test_check_broadcast_rgb_value
[07:08:08] [PASSED] drm_test_check_bpc_8_value
[07:08:08] [PASSED] drm_test_check_bpc_10_value
[07:08:08] [PASSED] drm_test_check_bpc_12_value
[07:08:08] [PASSED] drm_test_check_format_value
[07:08:08] [PASSED] drm_test_check_tmds_char_value
[07:08:08] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[07:08:08] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) =
[07:08:08] [PASSED] drm_test_check_mode_valid
[07:08:08] [PASSED] drm_test_check_mode_valid_reject
[07:08:08] [PASSED] drm_test_check_mode_valid_reject_rate
[07:08:08] [PASSED] drm_test_check_mode_valid_reject_max_clock
[07:08:08] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[07:08:08] ================= drm_managed (2 subtests) =================
[07:08:08] [PASSED] drm_test_managed_release_action
[07:08:08] [PASSED] drm_test_managed_run_action
[07:08:08] =================== [PASSED] drm_managed ===================
[07:08:08] =================== drm_mm (6 subtests) ====================
[07:08:08] [PASSED] drm_test_mm_init
[07:08:08] [PASSED] drm_test_mm_debug
[07:08:08] [PASSED] drm_test_mm_align32
[07:08:08] [PASSED] drm_test_mm_align64
[07:08:08] [PASSED] drm_test_mm_lowest
[07:08:08] [PASSED] drm_test_mm_highest
[07:08:08] ===================== [PASSED] drm_mm ======================
[07:08:08] ============= drm_modes_analog_tv (5 subtests) =============
[07:08:08] [PASSED] drm_test_modes_analog_tv_mono_576i
[07:08:08] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[07:08:08] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[07:08:08] [PASSED] drm_test_modes_analog_tv_pal_576i
[07:08:08] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[07:08:08] =============== [PASSED] drm_modes_analog_tv ===============
[07:08:08] ============== drm_plane_helper (2 subtests) ===============
[07:08:08] =============== drm_test_check_plane_state ================
[07:08:08] [PASSED] clipping_simple
[07:08:08] [PASSED] clipping_rotate_reflect
[07:08:08] [PASSED] positioning_simple
[07:08:08] [PASSED] upscaling
[07:08:08] [PASSED] downscaling
[07:08:08] [PASSED] rounding1
[07:08:08] [PASSED] rounding2
[07:08:08] [PASSED] rounding3
[07:08:08] [PASSED] rounding4
[07:08:08] =========== [PASSED] drm_test_check_plane_state ============
[07:08:08] =========== drm_test_check_invalid_plane_state ============
[07:08:08] [PASSED] positioning_invalid
[07:08:08] [PASSED] upscaling_invalid
[07:08:08] [PASSED] downscaling_invalid
[07:08:08] ======= [PASSED] drm_test_check_invalid_plane_state ========
[07:08:08] ================ [PASSED] drm_plane_helper =================
[07:08:08] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[07:08:08] ====== drm_test_connector_helper_tv_get_modes_check =======
[07:08:08] [PASSED] None
[07:08:08] [PASSED] PAL
[07:08:08] [PASSED] NTSC
[07:08:08] [PASSED] Both, NTSC Default
[07:08:08] [PASSED] Both, PAL Default
[07:08:08] [PASSED] Both, NTSC Default, with PAL on command-line
[07:08:08] [PASSED] Both, PAL Default, with NTSC on command-line
[07:08:08] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[07:08:08] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[07:08:08] ================== drm_rect (9 subtests) ===================
[07:08:08] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[07:08:08] [PASSED] drm_test_rect_clip_scaled_not_clipped
[07:08:08] [PASSED] drm_test_rect_clip_scaled_clipped
[07:08:08] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[07:08:08] ================= drm_test_rect_intersect =================
[07:08:08] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[07:08:08] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[07:08:08] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[07:08:08] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[07:08:08] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[07:08:08] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[07:08:08] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[07:08:08] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[07:08:08] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[07:08:08] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[07:08:08] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[07:08:08] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[07:08:08] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[07:08:08] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[07:08:08] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[07:08:08] ============= [PASSED] drm_test_rect_intersect =============
[07:08:08] ================ drm_test_rect_calc_hscale ================
[07:08:08] [PASSED] normal use
[07:08:08] [PASSED] out of max range
[07:08:08] [PASSED] out of min range
[07:08:08] [PASSED] zero dst
[07:08:08] [PASSED] negative src
[07:08:08] [PASSED] negative dst
[07:08:08] ============ [PASSED] drm_test_rect_calc_hscale ============
[07:08:08] ================ drm_test_rect_calc_vscale ================
[07:08:08] [PASSED] normal use
[07:08:08] [PASSED] out of max range
[07:08:08] [PASSED] out of min range
[07:08:08] [PASSED] zero dst
[07:08:08] [PASSED] negative src
[07:08:08] [PASSED] negative dst
[07:08:08] ============ [PASSED] drm_test_rect_calc_vscale ============
[07:08:08] ================== drm_test_rect_rotate ===================
[07:08:08] [PASSED] reflect-x
[07:08:08] [PASSED] reflect-y
[07:08:08] [PASSED] rotate-0
[07:08:08] [PASSED] rotate-90
[07:08:08] [PASSED] rotate-180
[07:08:08] [PASSED] rotate-270
stty: 'standard input': Inappropriate ioctl for device
[07:08:08] ============== [PASSED] drm_test_rect_rotate ===============
[07:08:08] ================ drm_test_rect_rotate_inv =================
[07:08:08] [PASSED] reflect-x
[07:08:08] [PASSED] reflect-y
[07:08:08] [PASSED] rotate-0
[07:08:08] [PASSED] rotate-90
[07:08:08] [PASSED] rotate-180
[07:08:08] [PASSED] rotate-270
[07:08:08] ============ [PASSED] drm_test_rect_rotate_inv =============
[07:08:08] ==================== [PASSED] drm_rect =====================
[07:08:08] ============ drm_sysfb_modeset_test (1 subtest) ============
[07:08:08] ============ drm_test_sysfb_build_fourcc_list =============
[07:08:08] [PASSED] no native formats
[07:08:08] [PASSED] XRGB8888 as native format
[07:08:08] [PASSED] remove duplicates
[07:08:08] [PASSED] convert alpha formats
[07:08:08] [PASSED] random formats
[07:08:08] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[07:08:08] ============= [PASSED] drm_sysfb_modeset_test ==============
[07:08:08] ============================================================
[07:08:08] Testing complete. Ran 616 tests: passed: 616
[07:08:08] Elapsed time: 24.657s total, 1.708s configuring, 22.781s building, 0.147s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[07:08:08] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[07:08:09] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[07:08:17] Starting KUnit Kernel (1/1)...
[07:08:17] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[07:08:18] ================= ttm_device (5 subtests) ==================
[07:08:18] [PASSED] ttm_device_init_basic
[07:08:18] [PASSED] ttm_device_init_multiple
[07:08:18] [PASSED] ttm_device_fini_basic
[07:08:18] [PASSED] ttm_device_init_no_vma_man
[07:08:18] ================== ttm_device_init_pools ==================
[07:08:18] [PASSED] No DMA allocations, no DMA32 required
[07:08:18] [PASSED] DMA allocations, DMA32 required
[07:08:18] [PASSED] No DMA allocations, DMA32 required
[07:08:18] [PASSED] DMA allocations, no DMA32 required
[07:08:18] ============== [PASSED] ttm_device_init_pools ==============
[07:08:18] =================== [PASSED] ttm_device ====================
[07:08:18] ================== ttm_pool (8 subtests) ===================
[07:08:18] ================== ttm_pool_alloc_basic ===================
[07:08:18] [PASSED] One page
[07:08:18] [PASSED] More than one page
[07:08:18] [PASSED] Above the allocation limit
[07:08:18] [PASSED] One page, with coherent DMA mappings enabled
[07:08:18] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[07:08:18] ============== [PASSED] ttm_pool_alloc_basic ===============
[07:08:18] ============== ttm_pool_alloc_basic_dma_addr ==============
[07:08:18] [PASSED] One page
[07:08:18] [PASSED] More than one page
[07:08:18] [PASSED] Above the allocation limit
[07:08:18] [PASSED] One page, with coherent DMA mappings enabled
[07:08:18] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[07:08:18] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[07:08:18] [PASSED] ttm_pool_alloc_order_caching_match
[07:08:18] [PASSED] ttm_pool_alloc_caching_mismatch
[07:08:18] [PASSED] ttm_pool_alloc_order_mismatch
[07:08:18] [PASSED] ttm_pool_free_dma_alloc
[07:08:18] [PASSED] ttm_pool_free_no_dma_alloc
[07:08:18] [PASSED] ttm_pool_fini_basic
[07:08:18] ==================== [PASSED] ttm_pool =====================
[07:08:18] ================ ttm_resource (8 subtests) =================
[07:08:18] ================= ttm_resource_init_basic =================
[07:08:18] [PASSED] Init resource in TTM_PL_SYSTEM
[07:08:18] [PASSED] Init resource in TTM_PL_VRAM
[07:08:18] [PASSED] Init resource in a private placement
[07:08:18] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[07:08:18] ============= [PASSED] ttm_resource_init_basic =============
[07:08:18] [PASSED] ttm_resource_init_pinned
[07:08:18] [PASSED] ttm_resource_fini_basic
[07:08:18] [PASSED] ttm_resource_manager_init_basic
[07:08:18] [PASSED] ttm_resource_manager_usage_basic
[07:08:18] [PASSED] ttm_resource_manager_set_used_basic
[07:08:18] [PASSED] ttm_sys_man_alloc_basic
[07:08:18] [PASSED] ttm_sys_man_free_basic
[07:08:18] ================== [PASSED] ttm_resource ===================
[07:08:18] =================== ttm_tt (15 subtests) ===================
[07:08:18] ==================== ttm_tt_init_basic ====================
[07:08:18] [PASSED] Page-aligned size
[07:08:18] [PASSED] Extra pages requested
[07:08:18] ================ [PASSED] ttm_tt_init_basic ================
[07:08:18] [PASSED] ttm_tt_init_misaligned
[07:08:18] [PASSED] ttm_tt_fini_basic
[07:08:18] [PASSED] ttm_tt_fini_sg
[07:08:18] [PASSED] ttm_tt_fini_shmem
[07:08:18] [PASSED] ttm_tt_create_basic
[07:08:18] [PASSED] ttm_tt_create_invalid_bo_type
[07:08:18] [PASSED] ttm_tt_create_ttm_exists
[07:08:18] [PASSED] ttm_tt_create_failed
[07:08:18] [PASSED] ttm_tt_destroy_basic
[07:08:18] [PASSED] ttm_tt_populate_null_ttm
[07:08:18] [PASSED] ttm_tt_populate_populated_ttm
[07:08:18] [PASSED] ttm_tt_unpopulate_basic
[07:08:18] [PASSED] ttm_tt_unpopulate_empty_ttm
[07:08:18] [PASSED] ttm_tt_swapin_basic
[07:08:18] ===================== [PASSED] ttm_tt ======================
[07:08:18] =================== ttm_bo (14 subtests) ===================
[07:08:18] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[07:08:18] [PASSED] Cannot be interrupted and sleeps
[07:08:18] [PASSED] Cannot be interrupted, locks straight away
[07:08:18] [PASSED] Can be interrupted, sleeps
[07:08:18] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[07:08:18] [PASSED] ttm_bo_reserve_locked_no_sleep
[07:08:18] [PASSED] ttm_bo_reserve_no_wait_ticket
[07:08:18] [PASSED] ttm_bo_reserve_double_resv
[07:08:18] [PASSED] ttm_bo_reserve_interrupted
[07:08:18] [PASSED] ttm_bo_reserve_deadlock
[07:08:18] [PASSED] ttm_bo_unreserve_basic
[07:08:18] [PASSED] ttm_bo_unreserve_pinned
[07:08:18] [PASSED] ttm_bo_unreserve_bulk
[07:08:18] [PASSED] ttm_bo_put_basic
[07:08:18] [PASSED] ttm_bo_put_shared_resv
[07:08:18] [PASSED] ttm_bo_pin_basic
[07:08:18] [PASSED] ttm_bo_pin_unpin_resource
[07:08:18] [PASSED] ttm_bo_multiple_pin_one_unpin
[07:08:18] ===================== [PASSED] ttm_bo ======================
[07:08:18] ============== ttm_bo_validate (21 subtests) ===============
[07:08:18] ============== ttm_bo_init_reserved_sys_man ===============
[07:08:18] [PASSED] Buffer object for userspace
[07:08:18] [PASSED] Kernel buffer object
[07:08:18] [PASSED] Shared buffer object
[07:08:18] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[07:08:18] ============== ttm_bo_init_reserved_mock_man ==============
[07:08:18] [PASSED] Buffer object for userspace
[07:08:18] [PASSED] Kernel buffer object
[07:08:18] [PASSED] Shared buffer object
[07:08:18] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[07:08:18] [PASSED] ttm_bo_init_reserved_resv
[07:08:18] ================== ttm_bo_validate_basic ==================
[07:08:18] [PASSED] Buffer object for userspace
[07:08:18] [PASSED] Kernel buffer object
[07:08:18] [PASSED] Shared buffer object
[07:08:18] ============== [PASSED] ttm_bo_validate_basic ==============
[07:08:18] [PASSED] ttm_bo_validate_invalid_placement
[07:08:18] ============= ttm_bo_validate_same_placement ==============
[07:08:18] [PASSED] System manager
[07:08:18] [PASSED] VRAM manager
[07:08:18] ========= [PASSED] ttm_bo_validate_same_placement ==========
[07:08:18] [PASSED] ttm_bo_validate_failed_alloc
[07:08:18] [PASSED] ttm_bo_validate_pinned
[07:08:18] [PASSED] ttm_bo_validate_busy_placement
[07:08:18] ================ ttm_bo_validate_multihop =================
[07:08:18] [PASSED] Buffer object for userspace
[07:08:18] [PASSED] Kernel buffer object
[07:08:18] [PASSED] Shared buffer object
[07:08:18] ============ [PASSED] ttm_bo_validate_multihop =============
[07:08:18] ========== ttm_bo_validate_no_placement_signaled ==========
[07:08:18] [PASSED] Buffer object in system domain, no page vector
[07:08:18] [PASSED] Buffer object in system domain with an existing page vector
[07:08:18] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[07:08:18] ======== ttm_bo_validate_no_placement_not_signaled ========
[07:08:18] [PASSED] Buffer object for userspace
[07:08:18] [PASSED] Kernel buffer object
[07:08:18] [PASSED] Shared buffer object
[07:08:18] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[07:08:18] [PASSED] ttm_bo_validate_move_fence_signaled
[07:08:18] ========= ttm_bo_validate_move_fence_not_signaled =========
[07:08:18] [PASSED] Waits for GPU
[07:08:18] [PASSED] Tries to lock straight away
[07:08:18] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[07:08:18] [PASSED] ttm_bo_validate_happy_evict
[07:08:18] [PASSED] ttm_bo_validate_all_pinned_evict
[07:08:18] [PASSED] ttm_bo_validate_allowed_only_evict
[07:08:18] [PASSED] ttm_bo_validate_deleted_evict
[07:08:18] [PASSED] ttm_bo_validate_busy_domain_evict
[07:08:18] [PASSED] ttm_bo_validate_evict_gutting
[07:08:18] [PASSED] ttm_bo_validate_recrusive_evict
stty: 'standard input': Inappropriate ioctl for device
[07:08:18] ================= [PASSED] ttm_bo_validate =================
[07:08:18] ============================================================
[07:08:18] Testing complete. Ran 101 tests: passed: 101
[07:08:18] Elapsed time: 9.858s total, 1.671s configuring, 7.970s building, 0.186s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 9+ messages in thread
* ✓ Xe.CI.BAT: success for drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters
2025-09-05 7:01 [PATCH] drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters Jouni Högander
2025-09-05 7:07 ` ✗ CI.checkpatch: warning for " Patchwork
2025-09-05 7:08 ` ✓ CI.KUnit: success " Patchwork
@ 2025-09-05 7:53 ` Patchwork
2025-09-05 17:15 ` ✓ Xe.CI.Full: " Patchwork
2025-09-23 9:26 ` [PATCH] " Manna, Animesh
4 siblings, 0 replies; 9+ messages in thread
From: Patchwork @ 2025-09-05 7:53 UTC (permalink / raw)
To: Jouni Högander; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 1645 bytes --]
== Series Details ==
Series: drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters
URL : https://patchwork.freedesktop.org/series/154074/
State : success
== Summary ==
CI Bug Log - changes from xe-3683-474d7159c53693748f023d8c1a2dc11578c93834_BAT -> xe-pw-154074v1_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (11 -> 7)
------------------------------
Missing (4): bat-bmg-1 bat-bmg-2 bat-lnl-1 bat-atsm-2
Known issues
------------
Here are the changes found in xe-pw-154074v1_BAT that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@xe_vm@bind-execqueues-independent:
- {bat-ptl-2}: [FAIL][1] ([Intel XE#5783]) -> [PASS][2]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/bat-ptl-2/igt@xe_vm@bind-execqueues-independent.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/bat-ptl-2/igt@xe_vm@bind-execqueues-independent.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[Intel XE#5783]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5783
Build changes
-------------
* Linux: xe-3683-474d7159c53693748f023d8c1a2dc11578c93834 -> xe-pw-154074v1
IGT_8524: 8524
xe-3683-474d7159c53693748f023d8c1a2dc11578c93834: 474d7159c53693748f023d8c1a2dc11578c93834
xe-pw-154074v1: 154074v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/index.html
[-- Attachment #2: Type: text/html, Size: 2223 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* ✓ Xe.CI.Full: success for drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters
2025-09-05 7:01 [PATCH] drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters Jouni Högander
` (2 preceding siblings ...)
2025-09-05 7:53 ` ✓ Xe.CI.BAT: " Patchwork
@ 2025-09-05 17:15 ` Patchwork
2025-09-23 9:26 ` [PATCH] " Manna, Animesh
4 siblings, 0 replies; 9+ messages in thread
From: Patchwork @ 2025-09-05 17:15 UTC (permalink / raw)
To: Jouni Högander; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 33791 bytes --]
== Series Details ==
Series: drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters
URL : https://patchwork.freedesktop.org/series/154074/
State : success
== Summary ==
CI Bug Log - changes from xe-3683-474d7159c53693748f023d8c1a2dc11578c93834_FULL -> xe-pw-154074v1_FULL
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (4 -> 4)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in xe-pw-154074v1_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_async_flips@crc:
- shard-adlp: [PASS][1] -> [DMESG-WARN][2] ([Intel XE#2953] / [Intel XE#4173]) +4 other tests dmesg-warn
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-adlp-4/igt@kms_async_flips@crc.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-adlp-9/igt@kms_async_flips@crc.html
* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip:
- shard-adlp: [PASS][3] -> [DMESG-FAIL][4] ([Intel XE#4543]) +1 other test dmesg-fail
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-adlp-4/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-adlp-9/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html
* igt@kms_big_fb@y-tiled-addfb-size-overflow:
- shard-bmg: NOTRUN -> [SKIP][5] ([Intel XE#610])
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_big_fb@y-tiled-addfb-size-overflow.html
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-bmg: NOTRUN -> [SKIP][6] ([Intel XE#1124]) +1 other test skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip.html
* igt@kms_bw@linear-tiling-1-displays-2560x1440p:
- shard-bmg: NOTRUN -> [SKIP][7] ([Intel XE#367])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_bw@linear-tiling-1-displays-2560x1440p.html
- shard-dg2-set2: NOTRUN -> [SKIP][8] ([Intel XE#367])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@kms_bw@linear-tiling-1-displays-2560x1440p.html
* igt@kms_ccs@bad-aux-stride-4-tiled-mtl-rc-ccs@pipe-a-dp-2:
- shard-dg2-set2: NOTRUN -> [SKIP][9] ([Intel XE#787]) +125 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@kms_ccs@bad-aux-stride-4-tiled-mtl-rc-ccs@pipe-a-dp-2.html
* igt@kms_ccs@crc-primary-basic-4-tiled-dg2-mc-ccs:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#2887]) +2 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_ccs@crc-primary-basic-4-tiled-dg2-mc-ccs.html
* igt@kms_ccs@crc-primary-suspend-4-tiled-dg2-rc-ccs:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#3432])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_ccs@crc-primary-suspend-4-tiled-dg2-rc-ccs.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs@pipe-a-dp-4:
- shard-dg2-set2: NOTRUN -> [INCOMPLETE][12] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#3124])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-435/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs@pipe-a-dp-4.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc:
- shard-dg2-set2: [PASS][13] -> [INCOMPLETE][14] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#3124])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-dg2-436/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc.html
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-464/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-d-dp-4:
- shard-dg2-set2: [PASS][15] -> [INCOMPLETE][16] ([Intel XE#3124])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-dg2-436/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-d-dp-4.html
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-464/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-d-dp-4.html
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-d-hdmi-a-6:
- shard-dg2-set2: [PASS][17] -> [DMESG-WARN][18] ([Intel XE#1727] / [Intel XE#3113])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-dg2-436/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-d-hdmi-a-6.html
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-464/igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-d-hdmi-a-6.html
* igt@kms_ccs@random-ccs-data-4-tiled-mtl-mc-ccs@pipe-d-dp-2:
- shard-dg2-set2: NOTRUN -> [SKIP][19] ([Intel XE#455] / [Intel XE#787]) +18 other tests skip
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@kms_ccs@random-ccs-data-4-tiled-mtl-mc-ccs@pipe-d-dp-2.html
* igt@kms_chamelium_edid@hdmi-edid-change-during-suspend:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#2252]) +2 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_chamelium_edid@hdmi-edid-change-during-suspend.html
- shard-dg2-set2: NOTRUN -> [SKIP][21] ([Intel XE#373]) +1 other test skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@kms_chamelium_edid@hdmi-edid-change-during-suspend.html
* igt@kms_content_protection@srm@pipe-a-dp-4:
- shard-dg2-set2: NOTRUN -> [FAIL][22] ([Intel XE#1178])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-435/igt@kms_content_protection@srm@pipe-a-dp-4.html
* igt@kms_cursor_crc@cursor-offscreen-512x170:
- shard-dg2-set2: NOTRUN -> [SKIP][23] ([Intel XE#308]) +1 other test skip
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@kms_cursor_crc@cursor-offscreen-512x170.html
* igt@kms_cursor_crc@cursor-random-512x512:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#2321]) +1 other test skip
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_cursor_crc@cursor-random-512x512.html
* igt@kms_cursor_crc@cursor-rapid-movement-256x85:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#2320])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_cursor_crc@cursor-rapid-movement-256x85.html
* igt@kms_cursor_legacy@cursora-vs-flipb-atomic-transitions-varying-size:
- shard-bmg: [PASS][26] -> [DMESG-WARN][27] ([Intel XE#5354])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-bmg-4/igt@kms_cursor_legacy@cursora-vs-flipb-atomic-transitions-varying-size.html
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-2/igt@kms_cursor_legacy@cursora-vs-flipb-atomic-transitions-varying-size.html
* igt@kms_cursor_legacy@cursora-vs-flipb-legacy:
- shard-bmg: [PASS][28] -> [SKIP][29] ([Intel XE#2291])
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-bmg-8/igt@kms_cursor_legacy@cursora-vs-flipb-legacy.html
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-6/igt@kms_cursor_legacy@cursora-vs-flipb-legacy.html
* igt@kms_cursor_legacy@flip-vs-cursor-legacy:
- shard-bmg: [PASS][30] -> [FAIL][31] ([Intel XE#4633])
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-bmg-3/igt@kms_cursor_legacy@flip-vs-cursor-legacy.html
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-2/igt@kms_cursor_legacy@flip-vs-cursor-legacy.html
* igt@kms_cursor_legacy@single-move@pipe-c:
- shard-dg2-set2: [PASS][32] -> [DMESG-WARN][33] ([Intel XE#5666]) +1 other test dmesg-warn
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-dg2-433/igt@kms_cursor_legacy@single-move@pipe-c.html
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-466/igt@kms_cursor_legacy@single-move@pipe-c.html
* igt@kms_dsc@dsc-with-bpc-formats:
- shard-dg2-set2: NOTRUN -> [SKIP][34] ([Intel XE#455]) +3 other tests skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@kms_dsc@dsc-with-bpc-formats.html
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#2244])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_dsc@dsc-with-bpc-formats.html
* igt@kms_flip@2x-flip-vs-modeset-vs-hang:
- shard-bmg: [PASS][36] -> [SKIP][37] ([Intel XE#2316]) +1 other test skip
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-bmg-8/igt@kms_flip@2x-flip-vs-modeset-vs-hang.html
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-6/igt@kms_flip@2x-flip-vs-modeset-vs-hang.html
* igt@kms_flip@flip-vs-dpms-on-nop-interruptible@a-hdmi-a6:
- shard-dg2-set2: [PASS][38] -> [FAIL][39] ([Intel XE#3098]) +1 other test fail
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-dg2-433/igt@kms_flip@flip-vs-dpms-on-nop-interruptible@a-hdmi-a6.html
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-466/igt@kms_flip@flip-vs-dpms-on-nop-interruptible@a-hdmi-a6.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
- shard-lnl: [PASS][40] -> [FAIL][41] ([Intel XE#301]) +1 other test fail
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-lnl-4/igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1.html
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-lnl-3/igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#2293] / [Intel XE#2380])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling@pipe-a-valid-mode:
- shard-bmg: NOTRUN -> [SKIP][43] ([Intel XE#2293])
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling@pipe-a-valid-mode.html
* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-cur-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][44] ([Intel XE#2311]) +7 other tests skip
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-msflip-blt:
- shard-bmg: NOTRUN -> [SKIP][45] ([Intel XE#5390]) +2 other tests skip
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-msflip-blt.html
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-shrfb-plflip-blt:
- shard-dg2-set2: NOTRUN -> [SKIP][46] ([Intel XE#651]) +6 other tests skip
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-shrfb-plflip-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][47] ([Intel XE#2313]) +6 other tests skip
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-mmap-wc.html
- shard-dg2-set2: NOTRUN -> [SKIP][48] ([Intel XE#653]) +5 other tests skip
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-mmap-wc.html
* igt@kms_joiner@invalid-modeset-big-joiner:
- shard-bmg: NOTRUN -> [SKIP][49] ([Intel XE#346])
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_joiner@invalid-modeset-big-joiner.html
- shard-dg2-set2: NOTRUN -> [SKIP][50] ([Intel XE#346])
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@kms_joiner@invalid-modeset-big-joiner.html
* igt@kms_plane_multiple@2x-tiling-x:
- shard-bmg: [PASS][51] -> [SKIP][52] ([Intel XE#4596])
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-bmg-8/igt@kms_plane_multiple@2x-tiling-x.html
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-6/igt@kms_plane_multiple@2x-tiling-x.html
* igt@kms_pm_dc@deep-pkgc:
- shard-bmg: NOTRUN -> [SKIP][53] ([Intel XE#2505])
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_pm_dc@deep-pkgc.html
- shard-dg2-set2: NOTRUN -> [SKIP][54] ([Intel XE#908])
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@kms_pm_dc@deep-pkgc.html
* igt@kms_psr2_sf@pr-plane-move-sf-dmg-area:
- shard-bmg: NOTRUN -> [SKIP][55] ([Intel XE#1406] / [Intel XE#1489])
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_psr2_sf@pr-plane-move-sf-dmg-area.html
- shard-dg2-set2: NOTRUN -> [SKIP][56] ([Intel XE#1406] / [Intel XE#1489])
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@kms_psr2_sf@pr-plane-move-sf-dmg-area.html
* igt@kms_psr2_su@page_flip-p010:
- shard-bmg: NOTRUN -> [SKIP][57] ([Intel XE#1406] / [Intel XE#2387])
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_psr2_su@page_flip-p010.html
- shard-dg2-set2: NOTRUN -> [SKIP][58] ([Intel XE#1122] / [Intel XE#1406])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@kms_psr2_su@page_flip-p010.html
* igt@kms_psr@psr-sprite-plane-onoff:
- shard-bmg: NOTRUN -> [SKIP][59] ([Intel XE#1406] / [Intel XE#2234] / [Intel XE#2850]) +2 other tests skip
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_psr@psr-sprite-plane-onoff.html
* igt@kms_psr@psr2-cursor-plane-onoff:
- shard-dg2-set2: NOTRUN -> [SKIP][60] ([Intel XE#1406] / [Intel XE#2850] / [Intel XE#929]) +1 other test skip
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@kms_psr@psr2-cursor-plane-onoff.html
* igt@kms_vrr@seamless-rr-switch-drrs:
- shard-bmg: NOTRUN -> [SKIP][61] ([Intel XE#1499])
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@kms_vrr@seamless-rr-switch-drrs.html
* igt@xe_eudebug@basic-vm-bind-ufence-reconnect:
- shard-bmg: NOTRUN -> [SKIP][62] ([Intel XE#4837]) +4 other tests skip
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@xe_eudebug@basic-vm-bind-ufence-reconnect.html
* igt@xe_exec_basic@multigpu-no-exec-rebind:
- shard-bmg: NOTRUN -> [SKIP][63] ([Intel XE#2322]) +1 other test skip
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@xe_exec_basic@multigpu-no-exec-rebind.html
- shard-dg2-set2: NOTRUN -> [SKIP][64] ([Intel XE#1392]) +1 other test skip
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@xe_exec_basic@multigpu-no-exec-rebind.html
* igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-rebind:
- shard-dg2-set2: [PASS][65] -> [SKIP][66] ([Intel XE#1392]) +6 other tests skip
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-dg2-463/igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-rebind.html
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-rebind.html
* igt@xe_exec_fault_mode@once-bindexecqueue-rebind-prefetch:
- shard-dg2-set2: NOTRUN -> [SKIP][67] ([Intel XE#288]) +5 other tests skip
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@xe_exec_fault_mode@once-bindexecqueue-rebind-prefetch.html
* igt@xe_exec_sip_eudebug@breakpoint-writesip:
- shard-dg2-set2: NOTRUN -> [SKIP][68] ([Intel XE#4837]) +2 other tests skip
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@xe_exec_sip_eudebug@breakpoint-writesip.html
* igt@xe_exec_system_allocator@threads-shared-vm-many-execqueues-new-race-nomemset:
- shard-dg2-set2: NOTRUN -> [SKIP][69] ([Intel XE#4915]) +49 other tests skip
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@xe_exec_system_allocator@threads-shared-vm-many-execqueues-new-race-nomemset.html
* igt@xe_exec_system_allocator@threads-shared-vm-many-stride-mmap-free-huge:
- shard-bmg: NOTRUN -> [SKIP][70] ([Intel XE#4943]) +2 other tests skip
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@xe_exec_system_allocator@threads-shared-vm-many-stride-mmap-free-huge.html
* igt@xe_pm@vram-d3cold-threshold:
- shard-bmg: NOTRUN -> [SKIP][71] ([Intel XE#579])
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@xe_pm@vram-d3cold-threshold.html
* igt@xe_pxp@pxp-stale-queue-post-suspend:
- shard-bmg: NOTRUN -> [SKIP][72] ([Intel XE#4733])
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@xe_pxp@pxp-stale-queue-post-suspend.html
- shard-dg2-set2: NOTRUN -> [SKIP][73] ([Intel XE#4733])
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@xe_pxp@pxp-stale-queue-post-suspend.html
* igt@xe_query@multigpu-query-uc-fw-version-huc:
- shard-bmg: NOTRUN -> [SKIP][74] ([Intel XE#944])
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-3/igt@xe_query@multigpu-query-uc-fw-version-huc.html
- shard-dg2-set2: NOTRUN -> [SKIP][75] ([Intel XE#944])
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@xe_query@multigpu-query-uc-fw-version-huc.html
#### Possible fixes ####
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-async-flip:
- shard-adlp: [DMESG-FAIL][76] ([Intel XE#4543]) -> [PASS][77] +1 other test pass
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-adlp-1/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-async-flip.html
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-adlp-8/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-async-flip.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-bmg: [FAIL][78] ([Intel XE#1475]) -> [PASS][79]
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-bmg-2/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-4/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
* igt@kms_flip@2x-flip-vs-dpms-off-vs-modeset:
- shard-bmg: [SKIP][80] ([Intel XE#2316]) -> [PASS][81]
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-bmg-6/igt@kms_flip@2x-flip-vs-dpms-off-vs-modeset.html
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-8/igt@kms_flip@2x-flip-vs-dpms-off-vs-modeset.html
* igt@kms_flip@blocking-wf_vblank:
- shard-bmg: [FAIL][82] ([Intel XE#3098]) -> [PASS][83] +1 other test pass
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-bmg-6/igt@kms_flip@blocking-wf_vblank.html
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-8/igt@kms_flip@blocking-wf_vblank.html
* igt@kms_flip@flip-vs-expired-vblank@b-edp1:
- shard-lnl: [FAIL][84] ([Intel XE#301]) -> [PASS][85] +1 other test pass
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-lnl-7/igt@kms_flip@flip-vs-expired-vblank@b-edp1.html
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-lnl-8/igt@kms_flip@flip-vs-expired-vblank@b-edp1.html
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-adlp: [DMESG-WARN][86] ([Intel XE#2953] / [Intel XE#4173]) -> [PASS][87] +5 other tests pass
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-adlp-3/igt@kms_flip@flip-vs-suspend-interruptible.html
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-adlp-2/igt@kms_flip@flip-vs-suspend-interruptible.html
* igt@kms_flip@plain-flip-fb-recreate-interruptible:
- shard-bmg: [FAIL][88] ([Intel XE#5416]) -> [PASS][89]
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-bmg-6/igt@kms_flip@plain-flip-fb-recreate-interruptible.html
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-6/igt@kms_flip@plain-flip-fb-recreate-interruptible.html
* igt@kms_flip@plain-flip-fb-recreate-interruptible@a-hdmi-a3:
- shard-bmg: [FAIL][90] -> [PASS][91]
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-bmg-6/igt@kms_flip@plain-flip-fb-recreate-interruptible@a-hdmi-a3.html
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-6/igt@kms_flip@plain-flip-fb-recreate-interruptible@a-hdmi-a3.html
* igt@kms_vrr@flipline:
- shard-lnl: [FAIL][92] ([Intel XE#4227]) -> [PASS][93] +1 other test pass
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-lnl-3/igt@kms_vrr@flipline.html
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-lnl-7/igt@kms_vrr@flipline.html
* igt@kms_vrr@negative-basic:
- shard-bmg: [SKIP][94] ([Intel XE#1499]) -> [PASS][95]
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-bmg-6/igt@kms_vrr@negative-basic.html
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-8/igt@kms_vrr@negative-basic.html
* igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-invalidate:
- shard-dg2-set2: [SKIP][96] ([Intel XE#1392]) -> [PASS][97] +3 other tests pass
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-dg2-432/igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-invalidate.html
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-435/igt@xe_exec_basic@multigpu-once-bindexecqueue-userptr-invalidate.html
* igt@xe_fault_injection@vm-create-fail-xe_exec_queue_create_bind:
- shard-dg2-set2: [ABORT][98] ([Intel XE#4847] / [Intel XE#5732]) -> [PASS][99]
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-dg2-433/igt@xe_fault_injection@vm-create-fail-xe_exec_queue_create_bind.html
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-432/igt@xe_fault_injection@vm-create-fail-xe_exec_queue_create_bind.html
#### Warnings ####
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs:
- shard-dg2-set2: [INCOMPLETE][100] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#4345]) -> [INCOMPLETE][101] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#3124] / [Intel XE#4345])
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-dg2-432/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs.html
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-435/igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs.html
* igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-indfb-pgflip-blt:
- shard-bmg: [SKIP][102] ([Intel XE#2311]) -> [SKIP][103] ([Intel XE#2312]) +4 other tests skip
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-bmg-8/igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-indfb-pgflip-blt.html
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-6/igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-indfb-pgflip-blt.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-shrfb-plflip-blt:
- shard-bmg: [SKIP][104] ([Intel XE#5390]) -> [SKIP][105] ([Intel XE#2312])
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-bmg-8/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-shrfb-plflip-blt.html
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-6/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-shrfb-plflip-blt.html
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-spr-indfb-move:
- shard-bmg: [SKIP][106] ([Intel XE#2312]) -> [SKIP][107] ([Intel XE#2311]) +2 other tests skip
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-spr-indfb-move.html
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-8/igt@kms_frontbuffer_tracking@fbcdrrs-2p-primscrn-spr-indfb-move.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-pgflip-blt:
- shard-bmg: [SKIP][108] ([Intel XE#2313]) -> [SKIP][109] ([Intel XE#2312]) +2 other tests skip
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-bmg-8/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-pgflip-blt.html
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-pgflip-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-plflip-blt:
- shard-bmg: [SKIP][110] ([Intel XE#2312]) -> [SKIP][111] ([Intel XE#2313]) +4 other tests skip
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-plflip-blt.html
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-8/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-plflip-blt.html
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-dg2-set2: [SKIP][112] ([Intel XE#362]) -> [SKIP][113] ([Intel XE#1500])
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-dg2-463/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-dg2-436/igt@kms_tiled_display@basic-test-pattern-with-chamelium.html
* igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv:
- shard-bmg: [ABORT][114] ([Intel XE#4917] / [Intel XE#5466] / [Intel XE#5530]) -> [ABORT][115] ([Intel XE#5466] / [Intel XE#5530])
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3683-474d7159c53693748f023d8c1a2dc11578c93834/shard-bmg-5/igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv.html
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/shard-bmg-1/igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[Intel XE#1122]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1122
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1475]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1475
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
[Intel XE#1500]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1500
[Intel XE#1727]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1727
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2291]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2291
[Intel XE#2293]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2293
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2312
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2316]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2316
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2380]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2380
[Intel XE#2387]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2387
[Intel XE#2505]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2505
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#288]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/288
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2953]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2953
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#308]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/308
[Intel XE#3098]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3098
[Intel XE#3113]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3113
[Intel XE#3124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3124
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#346]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/346
[Intel XE#362]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/362
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#4173]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4173
[Intel XE#4227]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4227
[Intel XE#4345]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4345
[Intel XE#4543]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4543
[Intel XE#455]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/455
[Intel XE#4596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4596
[Intel XE#4633]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4633
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
[Intel XE#4847]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4847
[Intel XE#4915]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4915
[Intel XE#4917]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4917
[Intel XE#4943]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4943
[Intel XE#5354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5354
[Intel XE#5390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5390
[Intel XE#5416]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5416
[Intel XE#5466]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5466
[Intel XE#5530]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5530
[Intel XE#5666]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5666
[Intel XE#5732]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5732
[Intel XE#579]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/579
[Intel XE#610]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/610
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#653]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/653
[Intel XE#787]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/787
[Intel XE#908]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/908
[Intel XE#929]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/929
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* Linux: xe-3683-474d7159c53693748f023d8c1a2dc11578c93834 -> xe-pw-154074v1
IGT_8524: 8524
xe-3683-474d7159c53693748f023d8c1a2dc11578c93834: 474d7159c53693748f023d8c1a2dc11578c93834
xe-pw-154074v1: 154074v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-154074v1/index.html
[-- Attachment #2: Type: text/html, Size: 39186 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [PATCH] drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters
2025-09-05 7:01 [PATCH] drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters Jouni Högander
` (3 preceding siblings ...)
2025-09-05 17:15 ` ✓ Xe.CI.Full: " Patchwork
@ 2025-09-23 9:26 ` Manna, Animesh
2025-09-23 10:32 ` Hogander, Jouni
4 siblings, 1 reply; 9+ messages in thread
From: Manna, Animesh @ 2025-09-23 9:26 UTC (permalink / raw)
To: Hogander, Jouni, intel-gfx@lists.freedesktop.org,
intel-xe@lists.freedesktop.org
Cc: Hogander, Jouni
> -----Original Message-----
> From: Intel-xe <intel-xe-bounces@lists.freedesktop.org> On Behalf Of Jouni
> Högander
> Sent: Friday, September 5, 2025 12:31 PM
> To: intel-gfx@lists.freedesktop.org; intel-xe@lists.freedesktop.org
> Cc: Hogander, Jouni <jouni.hogander@intel.com>
> Subject: [PATCH] drm/i915/alpm: Compute ALPM parameters into crtc_state-
> >alpm_parameters
>
> Currently ALPM parameters are computed directly into
> intel_dp->alpm_parameters. This is a problem when compute config ends up
> to
> not using the computed state.
>
> Fix this by adding ALPM parameters into intel_crtc_state and compute into
> there. Copy needed parts of crtc_state->alpm_parameters into
> intel_dp->alpm.alpm_parameters (io_wake_lines and fast_wake_lines) when
> they are configured into HW.
>
> Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_alpm.c | 38 ++++++++++---------
> drivers/gpu/drm/i915/display/intel_alpm.h | 2 +-
> .../drm/i915/display/intel_display_types.h | 16 +++++---
> drivers/gpu/drm/i915/display/intel_psr.c | 20 +++++-----
> 4 files changed, 43 insertions(+), 33 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_alpm.c
> b/drivers/gpu/drm/i915/display/intel_alpm.c
> index ed7a7ed486b5..bbc4fa2e084e 100644
> --- a/drivers/gpu/drm/i915/display/intel_alpm.c
> +++ b/drivers/gpu/drm/i915/display/intel_alpm.c
> @@ -133,7 +133,7 @@ static int _lnl_compute_aux_less_wake_time(const
> struct intel_crtc_state *crtc_s
>
> static int
> _lnl_compute_aux_less_alpm_params(struct intel_dp *intel_dp,
> - const struct intel_crtc_state *crtc_state)
> + struct intel_crtc_state *crtc_state)
> {
> struct intel_display *display = to_intel_display(intel_dp);
> int aux_less_wake_time, aux_less_wake_lines, silence_period,
> @@ -157,15 +157,15 @@ _lnl_compute_aux_less_alpm_params(struct
> intel_dp *intel_dp,
> if (display->params.psr_safest_params)
> aux_less_wake_lines =
> ALPM_CTL_AUX_LESS_WAKE_TIME_MASK;
>
> - intel_dp->alpm_parameters.aux_less_wake_lines =
> aux_less_wake_lines;
> - intel_dp->alpm_parameters.silence_period_sym_clocks =
> silence_period;
> - intel_dp->alpm_parameters.lfps_half_cycle_num_of_syms =
> lfps_half_cycle;
> + crtc_state->alpm_parameters.aux_less_wake_lines =
> aux_less_wake_lines;
> + crtc_state->alpm_parameters.silence_period_sym_clocks =
> silence_period;
> + crtc_state->alpm_parameters.lfps_half_cycle_num_of_syms =
> lfps_half_cycle;
>
> return true;
> }
>
> static bool _lnl_compute_alpm_params(struct intel_dp *intel_dp,
> - const struct intel_crtc_state *crtc_state)
> + struct intel_crtc_state *crtc_state)
> {
> struct intel_display *display = to_intel_display(intel_dp);
> int check_entry_lines;
> @@ -186,7 +186,7 @@ static bool _lnl_compute_alpm_params(struct
> intel_dp *intel_dp,
> if (display->params.psr_safest_params)
> check_entry_lines = 15;
>
> - intel_dp->alpm_parameters.check_entry_lines = check_entry_lines;
> + crtc_state->alpm_parameters.check_entry_lines = check_entry_lines;
>
> return true;
> }
> @@ -217,7 +217,7 @@ static int io_buffer_wake_time(const struct
> intel_crtc_state *crtc_state)
> }
>
> bool intel_alpm_compute_params(struct intel_dp *intel_dp,
> - const struct intel_crtc_state *crtc_state)
> + struct intel_crtc_state *crtc_state)
> {
> struct intel_display *display = to_intel_display(intel_dp);
> int io_wake_lines, io_wake_time, fast_wake_lines, fast_wake_time;
> @@ -255,8 +255,8 @@ bool intel_alpm_compute_params(struct intel_dp
> *intel_dp,
> io_wake_lines = fast_wake_lines = max_wake_lines;
>
> /* According to Bspec lower limit should be set as 7 lines. */
> - intel_dp->alpm_parameters.io_wake_lines = max(io_wake_lines, 7);
> - intel_dp->alpm_parameters.fast_wake_lines = max(fast_wake_lines,
> 7);
> + crtc_state->alpm_parameters.io_wake_lines = max(io_wake_lines,
> 7);
> + crtc_state->alpm_parameters.fast_wake_lines =
> max(fast_wake_lines, 7);
>
> return true;
> }
> @@ -306,9 +306,9 @@ void intel_alpm_lobf_compute_config(struct intel_dp
> *intel_dp,
> adjusted_mode->crtc_vdisplay - context_latency;
> first_sdp_position = adjusted_mode->crtc_vtotal - adjusted_mode-
> >crtc_vsync_start;
> if (intel_alpm_aux_less_wake_supported(intel_dp))
> - waketime_in_lines = intel_dp-
> >alpm_parameters.io_wake_lines;
> + waketime_in_lines = crtc_state-
> >alpm_parameters.io_wake_lines;
> else
> - waketime_in_lines = intel_dp-
> >alpm_parameters.aux_less_wake_lines;
> + waketime_in_lines = crtc_state-
> >alpm_parameters.aux_less_wake_lines;
>
> crtc_state->has_lobf = (context_latency + guardband) >
> (first_sdp_position + waketime_in_lines);
> @@ -334,7 +334,7 @@ static void lnl_alpm_configure(struct intel_dp
> *intel_dp,
> alpm_ctl = ALPM_CTL_ALPM_ENABLE |
> ALPM_CTL_ALPM_AUX_LESS_ENABLE |
>
> ALPM_CTL_AUX_LESS_SLEEP_HOLD_TIME_50_SYMBOLS |
> - ALPM_CTL_AUX_LESS_WAKE_TIME(intel_dp-
> >alpm_parameters.aux_less_wake_lines);
> + ALPM_CTL_AUX_LESS_WAKE_TIME(crtc_state-
> >alpm_parameters.aux_less_wake_lines);
>
> if (intel_dp->as_sdp_supported) {
> u32 pr_alpm_ctl =
> PR_ALPM_CTL_ADAPTIVE_SYNC_SDP_POSITION_T1;
> @@ -352,7 +352,7 @@ static void lnl_alpm_configure(struct intel_dp
> *intel_dp,
>
> } else {
> alpm_ctl = ALPM_CTL_EXTENDED_FAST_WAKE_ENABLE |
> - ALPM_CTL_EXTENDED_FAST_WAKE_TIME(intel_dp-
> >alpm_parameters.fast_wake_lines);
> + ALPM_CTL_EXTENDED_FAST_WAKE_TIME(crtc_state-
> >alpm_parameters.fast_wake_lines);
> }
>
> if (crtc_state->has_lobf) {
> @@ -360,7 +360,7 @@ static void lnl_alpm_configure(struct intel_dp
> *intel_dp,
> drm_dbg_kms(display->drm, "Link off between frames
> (LOBF) enabled\n");
> }
>
> - alpm_ctl |= ALPM_CTL_ALPM_ENTRY_CHECK(intel_dp-
> >alpm_parameters.check_entry_lines);
> + alpm_ctl |= ALPM_CTL_ALPM_ENTRY_CHECK(crtc_state-
> >alpm_parameters.check_entry_lines);
>
> intel_de_write(display, ALPM_CTL(display, cpu_transcoder),
> alpm_ctl);
> mutex_unlock(&intel_dp->alpm_parameters.lock);
> @@ -371,6 +371,8 @@ void intel_alpm_configure(struct intel_dp *intel_dp,
> {
> lnl_alpm_configure(intel_dp, crtc_state);
> intel_dp->alpm_parameters.transcoder = crtc_state-
> >cpu_transcoder;
> + intel_dp->alpm_parameters.io_wake_lines = crtc_state-
> >alpm_parameters.io_wake_lines;
> + intel_dp->alpm_parameters.fast_wake_lines = crtc_state-
> >alpm_parameters.fast_wake_lines;
As I understood io_wake_lines and fast_wake_lines will be needed in psr_work() and getting crtc_state will not be possible.
Is it needed to store to crtc_state? maybe for the above reason we can keep in intel_dp only.
Even if we don’t write into h/w still these values are saved in intel_dp during early return from lnl_alpm_configure().
> }
>
> void intel_alpm_port_configure(struct intel_dp *intel_dp,
> @@ -388,14 +390,14 @@ void intel_alpm_port_configure(struct intel_dp
> *intel_dp,
> PORT_ALPM_CTL_MAX_PHY_SWING_SETUP(15) |
> PORT_ALPM_CTL_MAX_PHY_SWING_HOLD(0) |
> PORT_ALPM_CTL_SILENCE_PERIOD(
> - intel_dp-
> >alpm_parameters.silence_period_sym_clocks);
> + crtc_state-
> >alpm_parameters.silence_period_sym_clocks);
> lfps_ctl_val =
> PORT_ALPM_LFPS_CTL_LFPS_CYCLE_COUNT(LFPS_CYCLE_COUNT) |
>
> PORT_ALPM_LFPS_CTL_LFPS_HALF_CYCLE_DURATION(
> - intel_dp-
> >alpm_parameters.lfps_half_cycle_num_of_syms) |
> + crtc_state-
> >alpm_parameters.lfps_half_cycle_num_of_syms) |
>
> PORT_ALPM_LFPS_CTL_FIRST_LFPS_HALF_CYCLE_DURATION(
> - intel_dp-
> >alpm_parameters.lfps_half_cycle_num_of_syms) |
> + crtc_state-
> >alpm_parameters.lfps_half_cycle_num_of_syms) |
>
> PORT_ALPM_LFPS_CTL_LAST_LFPS_HALF_CYCLE_DURATION(
> - intel_dp-
> >alpm_parameters.lfps_half_cycle_num_of_syms);
> + crtc_state-
> >alpm_parameters.lfps_half_cycle_num_of_syms);
> }
>
> intel_de_write(display, PORT_ALPM_CTL(port), alpm_ctl_val);
> diff --git a/drivers/gpu/drm/i915/display/intel_alpm.h
> b/drivers/gpu/drm/i915/display/intel_alpm.h
> index a861c20b5d79..53599b464dea 100644
> --- a/drivers/gpu/drm/i915/display/intel_alpm.h
> +++ b/drivers/gpu/drm/i915/display/intel_alpm.h
> @@ -17,7 +17,7 @@ struct intel_crtc;
>
> void intel_alpm_init(struct intel_dp *intel_dp);
> bool intel_alpm_compute_params(struct intel_dp *intel_dp,
> - const struct intel_crtc_state *crtc_state);
> + struct intel_crtc_state *crtc_state);
> void intel_alpm_lobf_compute_config(struct intel_dp *intel_dp,
> struct intel_crtc_state *crtc_state,
> struct drm_connector_state *conn_state);
> diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h
> b/drivers/gpu/drm/i915/display/intel_display_types.h
> index fd9d2527889b..1fc778067397 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_types.h
> +++ b/drivers/gpu/drm/i915/display/intel_display_types.h
> @@ -1339,6 +1339,17 @@ struct intel_crtc_state {
>
> /* LOBF flag */
> bool has_lobf;
> +
> + struct {
> + u8 io_wake_lines;
> + u8 fast_wake_lines;
> +
> + /* LNL and beyond */
> + u8 check_entry_lines;
> + u8 aux_less_wake_lines;
> + u8 silence_period_sym_clocks;
> + u8 lfps_half_cycle_num_of_syms;
> + } alpm_parameters;
The naming can be alpm_state here instead of alpm_parameters which is present in intel_dp.
Regards,
Animesh
> };
>
> enum intel_pipe_crc_source {
> @@ -1847,11 +1858,6 @@ struct intel_dp {
> enum transcoder transcoder;
> struct mutex lock;
>
> - /* LNL and beyond */
> - u8 check_entry_lines;
> - u8 aux_less_wake_lines;
> - u8 silence_period_sym_clocks;
> - u8 lfps_half_cycle_num_of_syms;
> bool lobf_disable_debug;
> bool sink_alpm_error;
> } alpm_parameters;
> diff --git a/drivers/gpu/drm/i915/display/intel_psr.c
> b/drivers/gpu/drm/i915/display/intel_psr.c
> index 22433fe2ee14..dd6df3154508 100644
> --- a/drivers/gpu/drm/i915/display/intel_psr.c
> +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> @@ -953,15 +953,16 @@ static u32 intel_psr2_get_tp_time(struct intel_dp
> *intel_dp)
> return val;
> }
>
> -static int psr2_block_count_lines(struct intel_dp *intel_dp)
> +static int
> +psr2_block_count_lines(u8 io_wake_lines, u8 fast_wake_lines)
> {
> - return intel_dp->alpm_parameters.io_wake_lines < 9 &&
> - intel_dp->alpm_parameters.fast_wake_lines < 9 ? 8 : 12;
> + return io_wake_lines < 9 && fast_wake_lines < 9 ? 8 : 12;
> }
>
> static int psr2_block_count(struct intel_dp *intel_dp)
> {
> - return psr2_block_count_lines(intel_dp) / 4;
> + return psr2_block_count_lines(intel_dp-
> >alpm_parameters.io_wake_lines,
> + intel_dp-
> >alpm_parameters.fast_wake_lines) / 4;
> }
>
> static u8 frames_before_su_entry(struct intel_dp *intel_dp)
> @@ -1367,11 +1368,12 @@ static bool wake_lines_fit_into_vblank(struct
> intel_dp *intel_dp,
> int wake_lines;
>
> if (aux_less)
> - wake_lines = intel_dp-
> >alpm_parameters.aux_less_wake_lines;
> + wake_lines = crtc_state-
> >alpm_parameters.aux_less_wake_lines;
> else
> wake_lines = DISPLAY_VER(display) < 20 ?
> - psr2_block_count_lines(intel_dp) :
> - intel_dp->alpm_parameters.io_wake_lines;
> + psr2_block_count_lines(crtc_state-
> >alpm_parameters.io_wake_lines,
> + crtc_state-
> >alpm_parameters.fast_wake_lines) :
> + crtc_state->alpm_parameters.io_wake_lines;
>
> if (crtc_state->req_psr2_sdp_prior_scanline)
> vblank -= 1;
> @@ -1384,7 +1386,7 @@ static bool wake_lines_fit_into_vblank(struct
> intel_dp *intel_dp,
> }
>
> static bool alpm_config_valid(struct intel_dp *intel_dp,
> - const struct intel_crtc_state *crtc_state,
> + struct intel_crtc_state *crtc_state,
> bool aux_less)
> {
> struct intel_display *display = to_intel_display(intel_dp);
> @@ -1589,7 +1591,7 @@ static bool _psr_compute_config(struct intel_dp
> *intel_dp,
>
> static bool
> _panel_replay_compute_config(struct intel_dp *intel_dp,
> - const struct intel_crtc_state *crtc_state,
> + struct intel_crtc_state *crtc_state,
> const struct drm_connector_state *conn_state)
> {
> struct intel_display *display = to_intel_display(intel_dp);
> --
> 2.43.0
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters
2025-09-23 9:26 ` [PATCH] " Manna, Animesh
@ 2025-09-23 10:32 ` Hogander, Jouni
2025-09-23 14:17 ` Manna, Animesh
0 siblings, 1 reply; 9+ messages in thread
From: Hogander, Jouni @ 2025-09-23 10:32 UTC (permalink / raw)
To: intel-xe@lists.freedesktop.org, Manna, Animesh,
intel-gfx@lists.freedesktop.org
On Tue, 2025-09-23 at 09:26 +0000, Manna, Animesh wrote:
>
>
> > -----Original Message-----
> > From: Intel-xe <intel-xe-bounces@lists.freedesktop.org> On Behalf
> > Of Jouni
> > Högander
> > Sent: Friday, September 5, 2025 12:31 PM
> > To: intel-gfx@lists.freedesktop.org; intel-xe@lists.freedesktop.org
> > Cc: Hogander, Jouni <jouni.hogander@intel.com>
> > Subject: [PATCH] drm/i915/alpm: Compute ALPM parameters into
> > crtc_state-
> > > alpm_parameters
> >
> > Currently ALPM parameters are computed directly into
> > intel_dp->alpm_parameters. This is a problem when compute config
> > ends up
> > to
> > not using the computed state.
> >
> > Fix this by adding ALPM parameters into intel_crtc_state and
> > compute into
> > there. Copy needed parts of crtc_state->alpm_parameters into
> > intel_dp->alpm.alpm_parameters (io_wake_lines and fast_wake_lines)
> > when
> > they are configured into HW.
> >
> > Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
> > ---
> > drivers/gpu/drm/i915/display/intel_alpm.c | 38 ++++++++++-----
> > ----
> > drivers/gpu/drm/i915/display/intel_alpm.h | 2 +-
> > .../drm/i915/display/intel_display_types.h | 16 +++++---
> > drivers/gpu/drm/i915/display/intel_psr.c | 20 +++++-----
> > 4 files changed, 43 insertions(+), 33 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/i915/display/intel_alpm.c
> > b/drivers/gpu/drm/i915/display/intel_alpm.c
> > index ed7a7ed486b5..bbc4fa2e084e 100644
> > --- a/drivers/gpu/drm/i915/display/intel_alpm.c
> > +++ b/drivers/gpu/drm/i915/display/intel_alpm.c
> > @@ -133,7 +133,7 @@ static int
> > _lnl_compute_aux_less_wake_time(const
> > struct intel_crtc_state *crtc_s
> >
> > static int
> > _lnl_compute_aux_less_alpm_params(struct intel_dp *intel_dp,
> > - const struct intel_crtc_state
> > *crtc_state)
> > + struct intel_crtc_state
> > *crtc_state)
> > {
> > struct intel_display *display =
> > to_intel_display(intel_dp);
> > int aux_less_wake_time, aux_less_wake_lines,
> > silence_period,
> > @@ -157,15 +157,15 @@ _lnl_compute_aux_less_alpm_params(struct
> > intel_dp *intel_dp,
> > if (display->params.psr_safest_params)
> > aux_less_wake_lines =
> > ALPM_CTL_AUX_LESS_WAKE_TIME_MASK;
> >
> > - intel_dp->alpm_parameters.aux_less_wake_lines =
> > aux_less_wake_lines;
> > - intel_dp->alpm_parameters.silence_period_sym_clocks =
> > silence_period;
> > - intel_dp->alpm_parameters.lfps_half_cycle_num_of_syms =
> > lfps_half_cycle;
> > + crtc_state->alpm_parameters.aux_less_wake_lines =
> > aux_less_wake_lines;
> > + crtc_state->alpm_parameters.silence_period_sym_clocks =
> > silence_period;
> > + crtc_state->alpm_parameters.lfps_half_cycle_num_of_syms =
> > lfps_half_cycle;
> >
> > return true;
> > }
> >
> > static bool _lnl_compute_alpm_params(struct intel_dp *intel_dp,
> > - const struct intel_crtc_state
> > *crtc_state)
> > + struct intel_crtc_state
> > *crtc_state)
> > {
> > struct intel_display *display =
> > to_intel_display(intel_dp);
> > int check_entry_lines;
> > @@ -186,7 +186,7 @@ static bool _lnl_compute_alpm_params(struct
> > intel_dp *intel_dp,
> > if (display->params.psr_safest_params)
> > check_entry_lines = 15;
> >
> > - intel_dp->alpm_parameters.check_entry_lines =
> > check_entry_lines;
> > + crtc_state->alpm_parameters.check_entry_lines =
> > check_entry_lines;
> >
> > return true;
> > }
> > @@ -217,7 +217,7 @@ static int io_buffer_wake_time(const struct
> > intel_crtc_state *crtc_state)
> > }
> >
> > bool intel_alpm_compute_params(struct intel_dp *intel_dp,
> > - const struct intel_crtc_state
> > *crtc_state)
> > + struct intel_crtc_state
> > *crtc_state)
> > {
> > struct intel_display *display =
> > to_intel_display(intel_dp);
> > int io_wake_lines, io_wake_time, fast_wake_lines,
> > fast_wake_time;
> > @@ -255,8 +255,8 @@ bool intel_alpm_compute_params(struct intel_dp
> > *intel_dp,
> > io_wake_lines = fast_wake_lines = max_wake_lines;
> >
> > /* According to Bspec lower limit should be set as 7
> > lines. */
> > - intel_dp->alpm_parameters.io_wake_lines =
> > max(io_wake_lines, 7);
> > - intel_dp->alpm_parameters.fast_wake_lines =
> > max(fast_wake_lines,
> > 7);
> > + crtc_state->alpm_parameters.io_wake_lines =
> > max(io_wake_lines,
> > 7);
> > + crtc_state->alpm_parameters.fast_wake_lines =
> > max(fast_wake_lines, 7);
> >
> > return true;
> > }
> > @@ -306,9 +306,9 @@ void intel_alpm_lobf_compute_config(struct
> > intel_dp
> > *intel_dp,
> > adjusted_mode->crtc_vdisplay -
> > context_latency;
> > first_sdp_position = adjusted_mode->crtc_vtotal -
> > adjusted_mode-
> > > crtc_vsync_start;
> > if (intel_alpm_aux_less_wake_supported(intel_dp))
> > - waketime_in_lines = intel_dp-
> > > alpm_parameters.io_wake_lines;
> > + waketime_in_lines = crtc_state-
> > > alpm_parameters.io_wake_lines;
> > else
> > - waketime_in_lines = intel_dp-
> > > alpm_parameters.aux_less_wake_lines;
> > + waketime_in_lines = crtc_state-
> > > alpm_parameters.aux_less_wake_lines;
> >
> > crtc_state->has_lobf = (context_latency + guardband) >
> > (first_sdp_position + waketime_in_lines);
> > @@ -334,7 +334,7 @@ static void lnl_alpm_configure(struct intel_dp
> > *intel_dp,
> > alpm_ctl = ALPM_CTL_ALPM_ENABLE |
> > ALPM_CTL_ALPM_AUX_LESS_ENABLE |
> >
> > ALPM_CTL_AUX_LESS_SLEEP_HOLD_TIME_50_SYMBOLS |
> > - ALPM_CTL_AUX_LESS_WAKE_TIME(intel_dp-
> > > alpm_parameters.aux_less_wake_lines);
> > + ALPM_CTL_AUX_LESS_WAKE_TIME(crtc_state-
> > > alpm_parameters.aux_less_wake_lines);
> >
> > if (intel_dp->as_sdp_supported) {
> > u32 pr_alpm_ctl =
> > PR_ALPM_CTL_ADAPTIVE_SYNC_SDP_POSITION_T1;
> > @@ -352,7 +352,7 @@ static void lnl_alpm_configure(struct intel_dp
> > *intel_dp,
> >
> > } else {
> > alpm_ctl = ALPM_CTL_EXTENDED_FAST_WAKE_ENABLE |
> > - ALPM_CTL_EXTENDED_FAST_WAKE_TIME(intel_dp-
> > > alpm_parameters.fast_wake_lines);
> > + ALPM_CTL_EXTENDED_FAST_WAKE_TIME(crtc_stat
> > e-
> > > alpm_parameters.fast_wake_lines);
> > }
> >
> > if (crtc_state->has_lobf) {
> > @@ -360,7 +360,7 @@ static void lnl_alpm_configure(struct intel_dp
> > *intel_dp,
> > drm_dbg_kms(display->drm, "Link off between frames
> > (LOBF) enabled\n");
> > }
> >
> > - alpm_ctl |= ALPM_CTL_ALPM_ENTRY_CHECK(intel_dp-
> > > alpm_parameters.check_entry_lines);
> > + alpm_ctl |= ALPM_CTL_ALPM_ENTRY_CHECK(crtc_state-
> > > alpm_parameters.check_entry_lines);
> >
> > intel_de_write(display, ALPM_CTL(display, cpu_transcoder),
> > alpm_ctl);
> > mutex_unlock(&intel_dp->alpm_parameters.lock);
> > @@ -371,6 +371,8 @@ void intel_alpm_configure(struct intel_dp
> > *intel_dp,
> > {
> > lnl_alpm_configure(intel_dp, crtc_state);
> > intel_dp->alpm_parameters.transcoder = crtc_state-
> > > cpu_transcoder;
> > + intel_dp->alpm_parameters.io_wake_lines = crtc_state-
> > > alpm_parameters.io_wake_lines;
> > + intel_dp->alpm_parameters.fast_wake_lines = crtc_state-
> > > alpm_parameters.fast_wake_lines;
>
> As I understood io_wake_lines and fast_wake_lines will be needed in
> psr_work() and getting crtc_state will not be possible.
> Is it needed to store to crtc_state? maybe for the above reason we
> can keep in intel_dp only.
Whole point of the patch is to have computed parameters that are not
yet applied in crtc_state. Why this patch set is doing that: please
check commit message and ask for clarification/improvements if needed.
> Even if we don’t write into h/w still these values are saved in
> intel_dp during early return from lnl_alpm_configure().
How about if we do it only when intel_psr_needs_alpm() == true?
>
> > }
> >
> > void intel_alpm_port_configure(struct intel_dp *intel_dp,
> > @@ -388,14 +390,14 @@ void intel_alpm_port_configure(struct
> > intel_dp
> > *intel_dp,
> > PORT_ALPM_CTL_MAX_PHY_SWING_SETUP(15) |
> > PORT_ALPM_CTL_MAX_PHY_SWING_HOLD(0) |
> > PORT_ALPM_CTL_SILENCE_PERIOD(
> > - intel_dp-
> > > alpm_parameters.silence_period_sym_clocks);
> > + crtc_state-
> > > alpm_parameters.silence_period_sym_clocks);
> > lfps_ctl_val =
> > PORT_ALPM_LFPS_CTL_LFPS_CYCLE_COUNT(LFPS_CYCLE_COUNT) |
> >
> > PORT_ALPM_LFPS_CTL_LFPS_HALF_CYCLE_DURATION(
> > - intel_dp-
> > > alpm_parameters.lfps_half_cycle_num_of_syms) |
> > + crtc_state-
> > > alpm_parameters.lfps_half_cycle_num_of_syms) |
> >
> > PORT_ALPM_LFPS_CTL_FIRST_LFPS_HALF_CYCLE_DURATION(
> > - intel_dp-
> > > alpm_parameters.lfps_half_cycle_num_of_syms) |
> > + crtc_state-
> > > alpm_parameters.lfps_half_cycle_num_of_syms) |
> >
> > PORT_ALPM_LFPS_CTL_LAST_LFPS_HALF_CYCLE_DURATION(
> > - intel_dp-
> > > alpm_parameters.lfps_half_cycle_num_of_syms);
> > + crtc_state-
> > > alpm_parameters.lfps_half_cycle_num_of_syms);
> > }
> >
> > intel_de_write(display, PORT_ALPM_CTL(port),
> > alpm_ctl_val);
> > diff --git a/drivers/gpu/drm/i915/display/intel_alpm.h
> > b/drivers/gpu/drm/i915/display/intel_alpm.h
> > index a861c20b5d79..53599b464dea 100644
> > --- a/drivers/gpu/drm/i915/display/intel_alpm.h
> > +++ b/drivers/gpu/drm/i915/display/intel_alpm.h
> > @@ -17,7 +17,7 @@ struct intel_crtc;
> >
> > void intel_alpm_init(struct intel_dp *intel_dp);
> > bool intel_alpm_compute_params(struct intel_dp *intel_dp,
> > - const struct intel_crtc_state
> > *crtc_state);
> > + struct intel_crtc_state
> > *crtc_state);
> > void intel_alpm_lobf_compute_config(struct intel_dp *intel_dp,
> > struct intel_crtc_state
> > *crtc_state,
> > struct drm_connector_state
> > *conn_state);
> > diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h
> > b/drivers/gpu/drm/i915/display/intel_display_types.h
> > index fd9d2527889b..1fc778067397 100644
> > --- a/drivers/gpu/drm/i915/display/intel_display_types.h
> > +++ b/drivers/gpu/drm/i915/display/intel_display_types.h
> > @@ -1339,6 +1339,17 @@ struct intel_crtc_state {
> >
> > /* LOBF flag */
> > bool has_lobf;
> > +
> > + struct {
> > + u8 io_wake_lines;
> > + u8 fast_wake_lines;
> > +
> > + /* LNL and beyond */
> > + u8 check_entry_lines;
> > + u8 aux_less_wake_lines;
> > + u8 silence_period_sym_clocks;
> > + u8 lfps_half_cycle_num_of_syms;
> > + } alpm_parameters;
>
> The naming can be alpm_state here instead of alpm_parameters which is
> present in intel_dp.
Ok, I will change this.
BR,
Jouni Högander
>
> Regards,
> Animesh
>
> > };
> >
> > enum intel_pipe_crc_source {
> > @@ -1847,11 +1858,6 @@ struct intel_dp {
> > enum transcoder transcoder;
> > struct mutex lock;
> >
> > - /* LNL and beyond */
> > - u8 check_entry_lines;
> > - u8 aux_less_wake_lines;
> > - u8 silence_period_sym_clocks;
> > - u8 lfps_half_cycle_num_of_syms;
> > bool lobf_disable_debug;
> > bool sink_alpm_error;
> > } alpm_parameters;
> > diff --git a/drivers/gpu/drm/i915/display/intel_psr.c
> > b/drivers/gpu/drm/i915/display/intel_psr.c
> > index 22433fe2ee14..dd6df3154508 100644
> > --- a/drivers/gpu/drm/i915/display/intel_psr.c
> > +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> > @@ -953,15 +953,16 @@ static u32 intel_psr2_get_tp_time(struct
> > intel_dp
> > *intel_dp)
> > return val;
> > }
> >
> > -static int psr2_block_count_lines(struct intel_dp *intel_dp)
> > +static int
> > +psr2_block_count_lines(u8 io_wake_lines, u8 fast_wake_lines)
> > {
> > - return intel_dp->alpm_parameters.io_wake_lines < 9 &&
> > - intel_dp->alpm_parameters.fast_wake_lines < 9 ? 8
> > : 12;
> > + return io_wake_lines < 9 && fast_wake_lines < 9 ? 8 : 12;
> > }
> >
> > static int psr2_block_count(struct intel_dp *intel_dp)
> > {
> > - return psr2_block_count_lines(intel_dp) / 4;
> > + return psr2_block_count_lines(intel_dp-
> > > alpm_parameters.io_wake_lines,
> > + intel_dp-
> > > alpm_parameters.fast_wake_lines) / 4;
> > }
> >
> > static u8 frames_before_su_entry(struct intel_dp *intel_dp)
> > @@ -1367,11 +1368,12 @@ static bool
> > wake_lines_fit_into_vblank(struct
> > intel_dp *intel_dp,
> > int wake_lines;
> >
> > if (aux_less)
> > - wake_lines = intel_dp-
> > > alpm_parameters.aux_less_wake_lines;
> > + wake_lines = crtc_state-
> > > alpm_parameters.aux_less_wake_lines;
> > else
> > wake_lines = DISPLAY_VER(display) < 20 ?
> > - psr2_block_count_lines(intel_dp) :
> > - intel_dp->alpm_parameters.io_wake_lines;
> > + psr2_block_count_lines(crtc_state-
> > > alpm_parameters.io_wake_lines,
> > + crtc_state-
> > > alpm_parameters.fast_wake_lines) :
> > + crtc_state->alpm_parameters.io_wake_lines;
> >
> > if (crtc_state->req_psr2_sdp_prior_scanline)
> > vblank -= 1;
> > @@ -1384,7 +1386,7 @@ static bool wake_lines_fit_into_vblank(struct
> > intel_dp *intel_dp,
> > }
> >
> > static bool alpm_config_valid(struct intel_dp *intel_dp,
> > - const struct intel_crtc_state
> > *crtc_state,
> > + struct intel_crtc_state *crtc_state,
> > bool aux_less)
> > {
> > struct intel_display *display =
> > to_intel_display(intel_dp);
> > @@ -1589,7 +1591,7 @@ static bool _psr_compute_config(struct
> > intel_dp
> > *intel_dp,
> >
> > static bool
> > _panel_replay_compute_config(struct intel_dp *intel_dp,
> > - const struct intel_crtc_state
> > *crtc_state,
> > + struct intel_crtc_state *crtc_state,
> > const struct drm_connector_state
> > *conn_state)
> > {
> > struct intel_display *display =
> > to_intel_display(intel_dp);
> > --
> > 2.43.0
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* RE: [PATCH] drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters
2025-09-23 10:32 ` Hogander, Jouni
@ 2025-09-23 14:17 ` Manna, Animesh
2025-09-24 4:14 ` Hogander, Jouni
0 siblings, 1 reply; 9+ messages in thread
From: Manna, Animesh @ 2025-09-23 14:17 UTC (permalink / raw)
To: Hogander, Jouni, intel-xe@lists.freedesktop.org,
intel-gfx@lists.freedesktop.org
> -----Original Message-----
> From: Hogander, Jouni <jouni.hogander@intel.com>
> Sent: Tuesday, September 23, 2025 4:03 PM
> To: intel-xe@lists.freedesktop.org; Manna, Animesh
> <animesh.manna@intel.com>; intel-gfx@lists.freedesktop.org
> Subject: Re: [PATCH] drm/i915/alpm: Compute ALPM parameters into
> crtc_state->alpm_parameters
>
> On Tue, 2025-09-23 at 09:26 +0000, Manna, Animesh wrote:
> >
> >
> > > -----Original Message-----
> > > From: Intel-xe <intel-xe-bounces@lists.freedesktop.org> On Behalf Of
> > > Jouni Högander
> > > Sent: Friday, September 5, 2025 12:31 PM
> > > To: intel-gfx@lists.freedesktop.org; intel-xe@lists.freedesktop.org
> > > Cc: Hogander, Jouni <jouni.hogander@intel.com>
> > > Subject: [PATCH] drm/i915/alpm: Compute ALPM parameters into
> > > crtc_state-
> > > > alpm_parameters
> > >
> > > Currently ALPM parameters are computed directly into
> > > intel_dp->alpm_parameters. This is a problem when compute config
> > > ends up to not using the computed state.
There are 6 alpm params added part of crtc_state, 2 are independent of mode and 4 are dependent of mode.
If ALPM enablement conditions are not met that time intel_dp will be holding these values but not used as ALPM will not be enabled.
Is it the only problem or something bigger?
> > >
> > > Fix this by adding ALPM parameters into intel_crtc_state and compute
> > > into there. Copy needed parts of crtc_state->alpm_parameters into
> > > intel_dp->alpm.alpm_parameters (io_wake_lines and fast_wake_lines)
> > > when they are configured into HW.
Good to mentioned why copy is needed for 2 params and not done for rest 4 params.
> > >
> > > Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
> > > ---
> > > drivers/gpu/drm/i915/display/intel_alpm.c | 38 ++++++++++-----
> > > ----
> > > drivers/gpu/drm/i915/display/intel_alpm.h | 2 +-
> > > .../drm/i915/display/intel_display_types.h | 16 +++++---
> > > drivers/gpu/drm/i915/display/intel_psr.c | 20 +++++-----
> > > 4 files changed, 43 insertions(+), 33 deletions(-)
> > >
> > > diff --git a/drivers/gpu/drm/i915/display/intel_alpm.c
> > > b/drivers/gpu/drm/i915/display/intel_alpm.c
> > > index ed7a7ed486b5..bbc4fa2e084e 100644
> > > --- a/drivers/gpu/drm/i915/display/intel_alpm.c
> > > +++ b/drivers/gpu/drm/i915/display/intel_alpm.c
> > > @@ -133,7 +133,7 @@ static int
> > > _lnl_compute_aux_less_wake_time(const
> > > struct intel_crtc_state *crtc_s
> > >
> > > static int
> > > _lnl_compute_aux_less_alpm_params(struct intel_dp *intel_dp,
> > > - const struct intel_crtc_state
> > > *crtc_state)
> > > + struct intel_crtc_state
> > > *crtc_state)
> > > {
> > > struct intel_display *display =
> > > to_intel_display(intel_dp);
> > > int aux_less_wake_time, aux_less_wake_lines, silence_period, @@
> > > -157,15 +157,15 @@ _lnl_compute_aux_less_alpm_params(struct
> > > intel_dp *intel_dp,
> > > if (display->params.psr_safest_params)
> > > aux_less_wake_lines =
> > > ALPM_CTL_AUX_LESS_WAKE_TIME_MASK;
> > >
> > > - intel_dp->alpm_parameters.aux_less_wake_lines =
> > > aux_less_wake_lines;
> > > - intel_dp->alpm_parameters.silence_period_sym_clocks =
> > > silence_period;
> > > - intel_dp->alpm_parameters.lfps_half_cycle_num_of_syms =
> > > lfps_half_cycle;
> > > + crtc_state->alpm_parameters.aux_less_wake_lines =
> > > aux_less_wake_lines;
> > > + crtc_state->alpm_parameters.silence_period_sym_clocks =
> > > silence_period;
> > > + crtc_state->alpm_parameters.lfps_half_cycle_num_of_syms =
> > > lfps_half_cycle;
> > >
> > > return true;
> > > }
> > >
> > > static bool _lnl_compute_alpm_params(struct intel_dp *intel_dp,
> > > - const struct intel_crtc_state
> > > *crtc_state)
> > > + struct intel_crtc_state
> > > *crtc_state)
> > > {
> > > struct intel_display *display =
> > > to_intel_display(intel_dp);
> > > int check_entry_lines;
> > > @@ -186,7 +186,7 @@ static bool _lnl_compute_alpm_params(struct
> > > intel_dp *intel_dp,
> > > if (display->params.psr_safest_params)
> > > check_entry_lines = 15;
> > >
> > > - intel_dp->alpm_parameters.check_entry_lines =
> > > check_entry_lines;
> > > + crtc_state->alpm_parameters.check_entry_lines =
> > > check_entry_lines;
> > >
> > > return true;
> > > }
> > > @@ -217,7 +217,7 @@ static int io_buffer_wake_time(const struct
> > > intel_crtc_state *crtc_state)
> > > }
> > >
> > > bool intel_alpm_compute_params(struct intel_dp *intel_dp,
> > > - const struct intel_crtc_state
> > > *crtc_state)
> > > + struct intel_crtc_state
> > > *crtc_state)
> > > {
> > > struct intel_display *display =
> > > to_intel_display(intel_dp);
> > > int io_wake_lines, io_wake_time, fast_wake_lines, fast_wake_time;
> > > @@ -255,8 +255,8 @@ bool intel_alpm_compute_params(struct intel_dp
> > > *intel_dp,
> > > io_wake_lines = fast_wake_lines = max_wake_lines;
> > >
> > > /* According to Bspec lower limit should be set as 7 lines. */
> > > - intel_dp->alpm_parameters.io_wake_lines =
> > > max(io_wake_lines, 7);
> > > - intel_dp->alpm_parameters.fast_wake_lines =
> > > max(fast_wake_lines,
> > > 7);
> > > + crtc_state->alpm_parameters.io_wake_lines =
> > > max(io_wake_lines,
> > > 7);
> > > + crtc_state->alpm_parameters.fast_wake_lines =
> > > max(fast_wake_lines, 7);
> > >
> > > return true;
> > > }
> > > @@ -306,9 +306,9 @@ void intel_alpm_lobf_compute_config(struct
> > > intel_dp
> > > *intel_dp,
> > > adjusted_mode->crtc_vdisplay - context_latency;
> > > first_sdp_position = adjusted_mode->crtc_vtotal -
> > > adjusted_mode-
> > > > crtc_vsync_start;
> > > if (intel_alpm_aux_less_wake_supported(intel_dp))
> > > - waketime_in_lines = intel_dp-
> > > > alpm_parameters.io_wake_lines;
> > > + waketime_in_lines = crtc_state-
> > > > alpm_parameters.io_wake_lines;
> > > else
> > > - waketime_in_lines = intel_dp-
> > > > alpm_parameters.aux_less_wake_lines;
> > > + waketime_in_lines = crtc_state-
> > > > alpm_parameters.aux_less_wake_lines;
> > >
> > > crtc_state->has_lobf = (context_latency + guardband) >
> > > (first_sdp_position + waketime_in_lines); @@ -334,7 +334,7
> @@
> > > static void lnl_alpm_configure(struct intel_dp *intel_dp,
> > > alpm_ctl = ALPM_CTL_ALPM_ENABLE |
> > > ALPM_CTL_ALPM_AUX_LESS_ENABLE |
> > >
> > > ALPM_CTL_AUX_LESS_SLEEP_HOLD_TIME_50_SYMBOLS |
> > > - ALPM_CTL_AUX_LESS_WAKE_TIME(intel_dp-
> > > > alpm_parameters.aux_less_wake_lines);
> > > + ALPM_CTL_AUX_LESS_WAKE_TIME(crtc_state-
> > > > alpm_parameters.aux_less_wake_lines);
> > >
> > > if (intel_dp->as_sdp_supported) {
> > > u32 pr_alpm_ctl =
> > > PR_ALPM_CTL_ADAPTIVE_SYNC_SDP_POSITION_T1;
> > > @@ -352,7 +352,7 @@ static void lnl_alpm_configure(struct intel_dp
> > > *intel_dp,
> > >
> > > } else {
> > > alpm_ctl = ALPM_CTL_EXTENDED_FAST_WAKE_ENABLE |
> > > - ALPM_CTL_EXTENDED_FAST_WAKE_TIME(intel_dp-
> > > > alpm_parameters.fast_wake_lines);
> > > + ALPM_CTL_EXTENDED_FAST_WAKE_TIME(crtc_stat
> > > e-
> > > > alpm_parameters.fast_wake_lines);
> > > }
> > >
> > > if (crtc_state->has_lobf) {
> > > @@ -360,7 +360,7 @@ static void lnl_alpm_configure(struct intel_dp
> > > *intel_dp,
> > > drm_dbg_kms(display->drm, "Link off between frames
> > > (LOBF) enabled\n");
> > > }
> > >
> > > - alpm_ctl |= ALPM_CTL_ALPM_ENTRY_CHECK(intel_dp-
> > > > alpm_parameters.check_entry_lines);
> > > + alpm_ctl |= ALPM_CTL_ALPM_ENTRY_CHECK(crtc_state-
> > > > alpm_parameters.check_entry_lines);
> > >
> > > intel_de_write(display, ALPM_CTL(display, cpu_transcoder),
> > > alpm_ctl);
> > > mutex_unlock(&intel_dp->alpm_parameters.lock);
> > > @@ -371,6 +371,8 @@ void intel_alpm_configure(struct intel_dp
> > > *intel_dp,
> > > {
> > > lnl_alpm_configure(intel_dp, crtc_state);
> > > intel_dp->alpm_parameters.transcoder = crtc_state-
> > > > cpu_transcoder;
> > > + intel_dp->alpm_parameters.io_wake_lines = crtc_state-
> > > > alpm_parameters.io_wake_lines;
> > > + intel_dp->alpm_parameters.fast_wake_lines = crtc_state-
> > > > alpm_parameters.fast_wake_lines;
> >
> > As I understood io_wake_lines and fast_wake_lines will be needed in
> > psr_work() and getting crtc_state will not be possible.
> > Is it needed to store to crtc_state? maybe for the above reason we can
> > keep in intel_dp only.
>
> Whole point of the patch is to have computed parameters that are not yet
> applied in crtc_state. Why this patch set is doing that: please check commit
> message and ask for clarification/improvements if needed.
Added my doubts above.
>
> > Even if we don’t write into h/w still these values are saved in
> > intel_dp during early return from lnl_alpm_configure().
>
> How about if we do it only when intel_psr_needs_alpm() == true?
Yes it will work.
Later if alpm got disabled then intel_dp-alpm params should be cleared... rt?
Regards,
Animesh
>
> >
> > > }
> > >
> > > void intel_alpm_port_configure(struct intel_dp *intel_dp, @@
> > > -388,14 +390,14 @@ void intel_alpm_port_configure(struct intel_dp
> > > *intel_dp,
> > > PORT_ALPM_CTL_MAX_PHY_SWING_SETUP(15) |
> > > PORT_ALPM_CTL_MAX_PHY_SWING_HOLD(0) |
> > > PORT_ALPM_CTL_SILENCE_PERIOD(
> > > - intel_dp-
> > > > alpm_parameters.silence_period_sym_clocks);
> > > + crtc_state-
> > > > alpm_parameters.silence_period_sym_clocks);
> > > lfps_ctl_val =
> > > PORT_ALPM_LFPS_CTL_LFPS_CYCLE_COUNT(LFPS_CYCLE_COUNT) |
> > >
> > > PORT_ALPM_LFPS_CTL_LFPS_HALF_CYCLE_DURATION(
> > > - intel_dp-
> > > > alpm_parameters.lfps_half_cycle_num_of_syms) |
> > > + crtc_state-
> > > > alpm_parameters.lfps_half_cycle_num_of_syms) |
> > >
> > > PORT_ALPM_LFPS_CTL_FIRST_LFPS_HALF_CYCLE_DURATION(
> > > - intel_dp-
> > > > alpm_parameters.lfps_half_cycle_num_of_syms) |
> > > + crtc_state-
> > > > alpm_parameters.lfps_half_cycle_num_of_syms) |
> > >
> > > PORT_ALPM_LFPS_CTL_LAST_LFPS_HALF_CYCLE_DURATION(
> > > - intel_dp-
> > > > alpm_parameters.lfps_half_cycle_num_of_syms);
> > > + crtc_state-
> > > > alpm_parameters.lfps_half_cycle_num_of_syms);
> > > }
> > >
> > > intel_de_write(display, PORT_ALPM_CTL(port), alpm_ctl_val); diff
> > > --git a/drivers/gpu/drm/i915/display/intel_alpm.h
> > > b/drivers/gpu/drm/i915/display/intel_alpm.h
> > > index a861c20b5d79..53599b464dea 100644
> > > --- a/drivers/gpu/drm/i915/display/intel_alpm.h
> > > +++ b/drivers/gpu/drm/i915/display/intel_alpm.h
> > > @@ -17,7 +17,7 @@ struct intel_crtc;
> > >
> > > void intel_alpm_init(struct intel_dp *intel_dp);
> > > bool intel_alpm_compute_params(struct intel_dp *intel_dp,
> > > - const struct intel_crtc_state
> > > *crtc_state);
> > > + struct intel_crtc_state
> > > *crtc_state);
> > > void intel_alpm_lobf_compute_config(struct intel_dp *intel_dp,
> > > struct intel_crtc_state
> > > *crtc_state,
> > > struct drm_connector_state
> > > *conn_state);
> > > diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h
> > > b/drivers/gpu/drm/i915/display/intel_display_types.h
> > > index fd9d2527889b..1fc778067397 100644
> > > --- a/drivers/gpu/drm/i915/display/intel_display_types.h
> > > +++ b/drivers/gpu/drm/i915/display/intel_display_types.h
> > > @@ -1339,6 +1339,17 @@ struct intel_crtc_state {
> > >
> > > /* LOBF flag */
> > > bool has_lobf;
> > > +
> > > + struct {
> > > + u8 io_wake_lines;
> > > + u8 fast_wake_lines;
> > > +
> > > + /* LNL and beyond */
> > > + u8 check_entry_lines;
> > > + u8 aux_less_wake_lines;
> > > + u8 silence_period_sym_clocks;
> > > + u8 lfps_half_cycle_num_of_syms;
> > > + } alpm_parameters;
> >
> > The naming can be alpm_state here instead of alpm_parameters which is
> > present in intel_dp.
>
> Ok, I will change this.
>
> BR,
>
> Jouni Högander
>
> >
> > Regards,
> > Animesh
> >
> > > };
> > >
> > > enum intel_pipe_crc_source {
> > > @@ -1847,11 +1858,6 @@ struct intel_dp {
> > > enum transcoder transcoder;
> > > struct mutex lock;
> > >
> > > - /* LNL and beyond */
> > > - u8 check_entry_lines;
> > > - u8 aux_less_wake_lines;
> > > - u8 silence_period_sym_clocks;
> > > - u8 lfps_half_cycle_num_of_syms;
> > > bool lobf_disable_debug;
> > > bool sink_alpm_error;
> > > } alpm_parameters;
> > > diff --git a/drivers/gpu/drm/i915/display/intel_psr.c
> > > b/drivers/gpu/drm/i915/display/intel_psr.c
> > > index 22433fe2ee14..dd6df3154508 100644
> > > --- a/drivers/gpu/drm/i915/display/intel_psr.c
> > > +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> > > @@ -953,15 +953,16 @@ static u32 intel_psr2_get_tp_time(struct
> > > intel_dp
> > > *intel_dp)
> > > return val;
> > > }
> > >
> > > -static int psr2_block_count_lines(struct intel_dp *intel_dp)
> > > +static int
> > > +psr2_block_count_lines(u8 io_wake_lines, u8 fast_wake_lines)
> > > {
> > > - return intel_dp->alpm_parameters.io_wake_lines < 9 &&
> > > - intel_dp->alpm_parameters.fast_wake_lines < 9 ? 8
> > > : 12;
> > > + return io_wake_lines < 9 && fast_wake_lines < 9 ? 8 : 12;
> > > }
> > >
> > > static int psr2_block_count(struct intel_dp *intel_dp)
> > > {
> > > - return psr2_block_count_lines(intel_dp) / 4;
> > > + return psr2_block_count_lines(intel_dp-
> > > > alpm_parameters.io_wake_lines,
> > > + intel_dp-
> > > > alpm_parameters.fast_wake_lines) / 4;
> > > }
> > >
> > > static u8 frames_before_su_entry(struct intel_dp *intel_dp) @@
> > > -1367,11 +1368,12 @@ static bool wake_lines_fit_into_vblank(struct
> > > intel_dp *intel_dp,
> > > int wake_lines;
> > >
> > > if (aux_less)
> > > - wake_lines = intel_dp-
> > > > alpm_parameters.aux_less_wake_lines;
> > > + wake_lines = crtc_state-
> > > > alpm_parameters.aux_less_wake_lines;
> > > else
> > > wake_lines = DISPLAY_VER(display) < 20 ?
> > > - psr2_block_count_lines(intel_dp) :
> > > - intel_dp->alpm_parameters.io_wake_lines;
> > > + psr2_block_count_lines(crtc_state-
> > > > alpm_parameters.io_wake_lines,
> > > + crtc_state-
> > > > alpm_parameters.fast_wake_lines) :
> > > + crtc_state->alpm_parameters.io_wake_lines;
> > >
> > > if (crtc_state->req_psr2_sdp_prior_scanline)
> > > vblank -= 1;
> > > @@ -1384,7 +1386,7 @@ static bool wake_lines_fit_into_vblank(struct
> > > intel_dp *intel_dp,
> > > }
> > >
> > > static bool alpm_config_valid(struct intel_dp *intel_dp,
> > > - const struct intel_crtc_state
> > > *crtc_state,
> > > + struct intel_crtc_state *crtc_state,
> > > bool aux_less)
> > > {
> > > struct intel_display *display =
> > > to_intel_display(intel_dp);
> > > @@ -1589,7 +1591,7 @@ static bool _psr_compute_config(struct
> > > intel_dp *intel_dp,
> > >
> > > static bool
> > > _panel_replay_compute_config(struct intel_dp *intel_dp,
> > > - const struct intel_crtc_state
> > > *crtc_state,
> > > + struct intel_crtc_state *crtc_state,
> > > const struct drm_connector_state
> > > *conn_state)
> > > {
> > > struct intel_display *display =
> > > to_intel_display(intel_dp);
> > > --
> > > 2.43.0
> >
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters
2025-09-23 14:17 ` Manna, Animesh
@ 2025-09-24 4:14 ` Hogander, Jouni
0 siblings, 0 replies; 9+ messages in thread
From: Hogander, Jouni @ 2025-09-24 4:14 UTC (permalink / raw)
To: intel-xe@lists.freedesktop.org, Manna, Animesh,
intel-gfx@lists.freedesktop.org
On Tue, 2025-09-23 at 14:17 +0000, Manna, Animesh wrote:
>
>
> > -----Original Message-----
> > From: Hogander, Jouni <jouni.hogander@intel.com>
> > Sent: Tuesday, September 23, 2025 4:03 PM
> > To: intel-xe@lists.freedesktop.org; Manna, Animesh
> > <animesh.manna@intel.com>; intel-gfx@lists.freedesktop.org
> > Subject: Re: [PATCH] drm/i915/alpm: Compute ALPM parameters into
> > crtc_state->alpm_parameters
> >
> > On Tue, 2025-09-23 at 09:26 +0000, Manna, Animesh wrote:
> > >
> > >
> > > > -----Original Message-----
> > > > From: Intel-xe <intel-xe-bounces@lists.freedesktop.org> On
> > > > Behalf Of
> > > > Jouni Högander
> > > > Sent: Friday, September 5, 2025 12:31 PM
> > > > To: intel-gfx@lists.freedesktop.org;
> > > > intel-xe@lists.freedesktop.org
> > > > Cc: Hogander, Jouni <jouni.hogander@intel.com>
> > > > Subject: [PATCH] drm/i915/alpm: Compute ALPM parameters into
> > > > crtc_state-
> > > > > alpm_parameters
> > > >
> > > > Currently ALPM parameters are computed directly into
> > > > intel_dp->alpm_parameters. This is a problem when compute
> > > > config
> > > > ends up to not using the computed state.
>
> There are 6 alpm params added part of crtc_state, 2 are independent
> of mode and 4 are dependent of mode.
> If ALPM enablement conditions are not met that time intel_dp will be
> holding these values but not used as ALPM will not be enabled.
> Is it the only problem or something bigger?
Difference between new crtc state and old crtc state might not be ALPM
being enabled and disabled but parameter are changing. Then we would
end up writing parameters calculated for that new crtc state which was
not committed into the HW.
>
> > > >
> > > > Fix this by adding ALPM parameters into intel_crtc_state and
> > > > compute
> > > > into there. Copy needed parts of crtc_state->alpm_parameters
> > > > into
> > > > intel_dp->alpm.alpm_parameters (io_wake_lines and
> > > > fast_wake_lines)
> > > > when they are configured into HW.
>
> Good to mentioned why copy is needed for 2 params and not done for
> rest 4 params.
>
> > > >
> > > > Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
> > > > ---
> > > > drivers/gpu/drm/i915/display/intel_alpm.c | 38 ++++++++++-
> > > > ----
> > > > ----
> > > > drivers/gpu/drm/i915/display/intel_alpm.h | 2 +-
> > > > .../drm/i915/display/intel_display_types.h | 16 +++++---
> > > > drivers/gpu/drm/i915/display/intel_psr.c | 20 +++++-----
> > > > 4 files changed, 43 insertions(+), 33 deletions(-)
> > > >
> > > > diff --git a/drivers/gpu/drm/i915/display/intel_alpm.c
> > > > b/drivers/gpu/drm/i915/display/intel_alpm.c
> > > > index ed7a7ed486b5..bbc4fa2e084e 100644
> > > > --- a/drivers/gpu/drm/i915/display/intel_alpm.c
> > > > +++ b/drivers/gpu/drm/i915/display/intel_alpm.c
> > > > @@ -133,7 +133,7 @@ static int
> > > > _lnl_compute_aux_less_wake_time(const
> > > > struct intel_crtc_state *crtc_s
> > > >
> > > > static int
> > > > _lnl_compute_aux_less_alpm_params(struct intel_dp *intel_dp,
> > > > - const struct
> > > > intel_crtc_state
> > > > *crtc_state)
> > > > + struct intel_crtc_state
> > > > *crtc_state)
> > > > {
> > > > struct intel_display *display =
> > > > to_intel_display(intel_dp);
> > > > int aux_less_wake_time, aux_less_wake_lines,
> > > > silence_period, @@
> > > > -157,15 +157,15 @@ _lnl_compute_aux_less_alpm_params(struct
> > > > intel_dp *intel_dp,
> > > > if (display->params.psr_safest_params)
> > > > aux_less_wake_lines =
> > > > ALPM_CTL_AUX_LESS_WAKE_TIME_MASK;
> > > >
> > > > - intel_dp->alpm_parameters.aux_less_wake_lines =
> > > > aux_less_wake_lines;
> > > > - intel_dp->alpm_parameters.silence_period_sym_clocks =
> > > > silence_period;
> > > > - intel_dp->alpm_parameters.lfps_half_cycle_num_of_syms
> > > > =
> > > > lfps_half_cycle;
> > > > + crtc_state->alpm_parameters.aux_less_wake_lines =
> > > > aux_less_wake_lines;
> > > > + crtc_state->alpm_parameters.silence_period_sym_clocks
> > > > =
> > > > silence_period;
> > > > + crtc_state-
> > > > >alpm_parameters.lfps_half_cycle_num_of_syms =
> > > > lfps_half_cycle;
> > > >
> > > > return true;
> > > > }
> > > >
> > > > static bool _lnl_compute_alpm_params(struct intel_dp
> > > > *intel_dp,
> > > > - const struct
> > > > intel_crtc_state
> > > > *crtc_state)
> > > > + struct intel_crtc_state
> > > > *crtc_state)
> > > > {
> > > > struct intel_display *display =
> > > > to_intel_display(intel_dp);
> > > > int check_entry_lines;
> > > > @@ -186,7 +186,7 @@ static bool _lnl_compute_alpm_params(struct
> > > > intel_dp *intel_dp,
> > > > if (display->params.psr_safest_params)
> > > > check_entry_lines = 15;
> > > >
> > > > - intel_dp->alpm_parameters.check_entry_lines =
> > > > check_entry_lines;
> > > > + crtc_state->alpm_parameters.check_entry_lines =
> > > > check_entry_lines;
> > > >
> > > > return true;
> > > > }
> > > > @@ -217,7 +217,7 @@ static int io_buffer_wake_time(const struct
> > > > intel_crtc_state *crtc_state)
> > > > }
> > > >
> > > > bool intel_alpm_compute_params(struct intel_dp *intel_dp,
> > > > - const struct intel_crtc_state
> > > > *crtc_state)
> > > > + struct intel_crtc_state
> > > > *crtc_state)
> > > > {
> > > > struct intel_display *display =
> > > > to_intel_display(intel_dp);
> > > > int io_wake_lines, io_wake_time, fast_wake_lines,
> > > > fast_wake_time;
> > > > @@ -255,8 +255,8 @@ bool intel_alpm_compute_params(struct
> > > > intel_dp
> > > > *intel_dp,
> > > > io_wake_lines = fast_wake_lines =
> > > > max_wake_lines;
> > > >
> > > > /* According to Bspec lower limit should be set as 7
> > > > lines. */
> > > > - intel_dp->alpm_parameters.io_wake_lines =
> > > > max(io_wake_lines, 7);
> > > > - intel_dp->alpm_parameters.fast_wake_lines =
> > > > max(fast_wake_lines,
> > > > 7);
> > > > + crtc_state->alpm_parameters.io_wake_lines =
> > > > max(io_wake_lines,
> > > > 7);
> > > > + crtc_state->alpm_parameters.fast_wake_lines =
> > > > max(fast_wake_lines, 7);
> > > >
> > > > return true;
> > > > }
> > > > @@ -306,9 +306,9 @@ void intel_alpm_lobf_compute_config(struct
> > > > intel_dp
> > > > *intel_dp,
> > > > adjusted_mode->crtc_vdisplay -
> > > > context_latency;
> > > > first_sdp_position = adjusted_mode->crtc_vtotal -
> > > > adjusted_mode-
> > > > > crtc_vsync_start;
> > > > if (intel_alpm_aux_less_wake_supported(intel_dp))
> > > > - waketime_in_lines = intel_dp-
> > > > > alpm_parameters.io_wake_lines;
> > > > + waketime_in_lines = crtc_state-
> > > > > alpm_parameters.io_wake_lines;
> > > > else
> > > > - waketime_in_lines = intel_dp-
> > > > > alpm_parameters.aux_less_wake_lines;
> > > > + waketime_in_lines = crtc_state-
> > > > > alpm_parameters.aux_less_wake_lines;
> > > >
> > > > crtc_state->has_lobf = (context_latency + guardband) >
> > > > (first_sdp_position + waketime_in_lines); @@ -
> > > > 334,7 +334,7
> > @@
> > > > static void lnl_alpm_configure(struct intel_dp *intel_dp,
> > > > alpm_ctl = ALPM_CTL_ALPM_ENABLE |
> > > > ALPM_CTL_ALPM_AUX_LESS_ENABLE |
> > > >
> > > > ALPM_CTL_AUX_LESS_SLEEP_HOLD_TIME_50_SYMBOLS |
> > > > - ALPM_CTL_AUX_LESS_WAKE_TIME(intel_dp-
> > > > > alpm_parameters.aux_less_wake_lines);
> > > > + ALPM_CTL_AUX_LESS_WAKE_TIME(crtc_state
> > > > -
> > > > > alpm_parameters.aux_less_wake_lines);
> > > >
> > > > if (intel_dp->as_sdp_supported) {
> > > > u32 pr_alpm_ctl =
> > > > PR_ALPM_CTL_ADAPTIVE_SYNC_SDP_POSITION_T1;
> > > > @@ -352,7 +352,7 @@ static void lnl_alpm_configure(struct
> > > > intel_dp
> > > > *intel_dp,
> > > >
> > > > } else {
> > > > alpm_ctl = ALPM_CTL_EXTENDED_FAST_WAKE_ENABLE
> > > > |
> > > > -
> > > > ALPM_CTL_EXTENDED_FAST_WAKE_TIME(intel_dp-
> > > > > alpm_parameters.fast_wake_lines);
> > > > + ALPM_CTL_EXTENDED_FAST_WAKE_TIME(crtc_
> > > > stat
> > > > e-
> > > > > alpm_parameters.fast_wake_lines);
> > > > }
> > > >
> > > > if (crtc_state->has_lobf) {
> > > > @@ -360,7 +360,7 @@ static void lnl_alpm_configure(struct
> > > > intel_dp
> > > > *intel_dp,
> > > > drm_dbg_kms(display->drm, "Link off between
> > > > frames
> > > > (LOBF) enabled\n");
> > > > }
> > > >
> > > > - alpm_ctl |= ALPM_CTL_ALPM_ENTRY_CHECK(intel_dp-
> > > > > alpm_parameters.check_entry_lines);
> > > > + alpm_ctl |= ALPM_CTL_ALPM_ENTRY_CHECK(crtc_state-
> > > > > alpm_parameters.check_entry_lines);
> > > >
> > > > intel_de_write(display, ALPM_CTL(display,
> > > > cpu_transcoder),
> > > > alpm_ctl);
> > > > mutex_unlock(&intel_dp->alpm_parameters.lock);
> > > > @@ -371,6 +371,8 @@ void intel_alpm_configure(struct intel_dp
> > > > *intel_dp,
> > > > {
> > > > lnl_alpm_configure(intel_dp, crtc_state);
> > > > intel_dp->alpm_parameters.transcoder = crtc_state-
> > > > > cpu_transcoder;
> > > > + intel_dp->alpm_parameters.io_wake_lines = crtc_state-
> > > > > alpm_parameters.io_wake_lines;
> > > > + intel_dp->alpm_parameters.fast_wake_lines =
> > > > crtc_state-
> > > > > alpm_parameters.fast_wake_lines;
> > >
> > > As I understood io_wake_lines and fast_wake_lines will be needed
> > > in
> > > psr_work() and getting crtc_state will not be possible.
> > > Is it needed to store to crtc_state? maybe for the above reason
> > > we can
> > > keep in intel_dp only.
> >
> > Whole point of the patch is to have computed parameters that are
> > not yet
> > applied in crtc_state. Why this patch set is doing that: please
> > check commit
> > message and ask for clarification/improvements if needed.
>
> Added my doubts above.
>
> >
> > > Even if we don’t write into h/w still these values are saved in
> > > intel_dp during early return from lnl_alpm_configure().
> >
> > How about if we do it only when intel_psr_needs_alpm() == true?
>
> Yes it will work.
>
> Later if alpm got disabled then intel_dp-alpm params should be
> cleared... rt?
I think this is currently not done. It's not matter of this patch and I
don't think this is needed. It would probably not cause any harm
either.
BR,
Jouni Högander
>
> Regards,
> Animesh
> >
> > >
> > > > }
> > > >
> > > > void intel_alpm_port_configure(struct intel_dp *intel_dp, @@
> > > > -388,14 +390,14 @@ void intel_alpm_port_configure(struct
> > > > intel_dp
> > > > *intel_dp,
> > > > PORT_ALPM_CTL_MAX_PHY_SWING_SETUP(15)
> > > > |
> > > > PORT_ALPM_CTL_MAX_PHY_SWING_HOLD(0) |
> > > > PORT_ALPM_CTL_SILENCE_PERIOD(
> > > > - intel_dp-
> > > > > alpm_parameters.silence_period_sym_clocks);
> > > > + crtc_state-
> > > > > alpm_parameters.silence_period_sym_clocks);
> > > > lfps_ctl_val =
> > > > PORT_ALPM_LFPS_CTL_LFPS_CYCLE_COUNT(LFPS_CYCLE_COUNT) |
> > > >
> > > > PORT_ALPM_LFPS_CTL_LFPS_HALF_CYCLE_DURATION(
> > > > - intel_dp-
> > > > > alpm_parameters.lfps_half_cycle_num_of_syms) |
> > > > + crtc_state-
> > > > > alpm_parameters.lfps_half_cycle_num_of_syms) |
> > > >
> > > > PORT_ALPM_LFPS_CTL_FIRST_LFPS_HALF_CYCLE_DURATION(
> > > > - intel_dp-
> > > > > alpm_parameters.lfps_half_cycle_num_of_syms) |
> > > > + crtc_state-
> > > > > alpm_parameters.lfps_half_cycle_num_of_syms) |
> > > >
> > > > PORT_ALPM_LFPS_CTL_LAST_LFPS_HALF_CYCLE_DURATION(
> > > > - intel_dp-
> > > > > alpm_parameters.lfps_half_cycle_num_of_syms);
> > > > + crtc_state-
> > > > > alpm_parameters.lfps_half_cycle_num_of_syms);
> > > > }
> > > >
> > > > intel_de_write(display, PORT_ALPM_CTL(port),
> > > > alpm_ctl_val); diff
> > > > --git a/drivers/gpu/drm/i915/display/intel_alpm.h
> > > > b/drivers/gpu/drm/i915/display/intel_alpm.h
> > > > index a861c20b5d79..53599b464dea 100644
> > > > --- a/drivers/gpu/drm/i915/display/intel_alpm.h
> > > > +++ b/drivers/gpu/drm/i915/display/intel_alpm.h
> > > > @@ -17,7 +17,7 @@ struct intel_crtc;
> > > >
> > > > void intel_alpm_init(struct intel_dp *intel_dp);
> > > > bool intel_alpm_compute_params(struct intel_dp *intel_dp,
> > > > - const struct intel_crtc_state
> > > > *crtc_state);
> > > > + struct intel_crtc_state
> > > > *crtc_state);
> > > > void intel_alpm_lobf_compute_config(struct intel_dp *intel_dp,
> > > > struct intel_crtc_state
> > > > *crtc_state,
> > > > struct drm_connector_state
> > > > *conn_state);
> > > > diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h
> > > > b/drivers/gpu/drm/i915/display/intel_display_types.h
> > > > index fd9d2527889b..1fc778067397 100644
> > > > --- a/drivers/gpu/drm/i915/display/intel_display_types.h
> > > > +++ b/drivers/gpu/drm/i915/display/intel_display_types.h
> > > > @@ -1339,6 +1339,17 @@ struct intel_crtc_state {
> > > >
> > > > /* LOBF flag */
> > > > bool has_lobf;
> > > > +
> > > > + struct {
> > > > + u8 io_wake_lines;
> > > > + u8 fast_wake_lines;
> > > > +
> > > > + /* LNL and beyond */
> > > > + u8 check_entry_lines;
> > > > + u8 aux_less_wake_lines;
> > > > + u8 silence_period_sym_clocks;
> > > > + u8 lfps_half_cycle_num_of_syms;
> > > > + } alpm_parameters;
> > >
> > > The naming can be alpm_state here instead of alpm_parameters
> > > which is
> > > present in intel_dp.
> >
> > Ok, I will change this.
> >
> > BR,
> >
> > Jouni Högander
> >
> > >
> > > Regards,
> > > Animesh
> > >
> > > > };
> > > >
> > > > enum intel_pipe_crc_source {
> > > > @@ -1847,11 +1858,6 @@ struct intel_dp {
> > > > enum transcoder transcoder;
> > > > struct mutex lock;
> > > >
> > > > - /* LNL and beyond */
> > > > - u8 check_entry_lines;
> > > > - u8 aux_less_wake_lines;
> > > > - u8 silence_period_sym_clocks;
> > > > - u8 lfps_half_cycle_num_of_syms;
> > > > bool lobf_disable_debug;
> > > > bool sink_alpm_error;
> > > > } alpm_parameters;
> > > > diff --git a/drivers/gpu/drm/i915/display/intel_psr.c
> > > > b/drivers/gpu/drm/i915/display/intel_psr.c
> > > > index 22433fe2ee14..dd6df3154508 100644
> > > > --- a/drivers/gpu/drm/i915/display/intel_psr.c
> > > > +++ b/drivers/gpu/drm/i915/display/intel_psr.c
> > > > @@ -953,15 +953,16 @@ static u32 intel_psr2_get_tp_time(struct
> > > > intel_dp
> > > > *intel_dp)
> > > > return val;
> > > > }
> > > >
> > > > -static int psr2_block_count_lines(struct intel_dp *intel_dp)
> > > > +static int
> > > > +psr2_block_count_lines(u8 io_wake_lines, u8 fast_wake_lines)
> > > > {
> > > > - return intel_dp->alpm_parameters.io_wake_lines < 9 &&
> > > > - intel_dp->alpm_parameters.fast_wake_lines < 9
> > > > ? 8
> > > > : 12;
> > > > + return io_wake_lines < 9 && fast_wake_lines < 9 ? 8 :
> > > > 12;
> > > > }
> > > >
> > > > static int psr2_block_count(struct intel_dp *intel_dp)
> > > > {
> > > > - return psr2_block_count_lines(intel_dp) / 4;
> > > > + return psr2_block_count_lines(intel_dp-
> > > > > alpm_parameters.io_wake_lines,
> > > > + intel_dp-
> > > > > alpm_parameters.fast_wake_lines) / 4;
> > > > }
> > > >
> > > > static u8 frames_before_su_entry(struct intel_dp *intel_dp) @@
> > > > -1367,11 +1368,12 @@ static bool
> > > > wake_lines_fit_into_vblank(struct
> > > > intel_dp *intel_dp,
> > > > int wake_lines;
> > > >
> > > > if (aux_less)
> > > > - wake_lines = intel_dp-
> > > > > alpm_parameters.aux_less_wake_lines;
> > > > + wake_lines = crtc_state-
> > > > > alpm_parameters.aux_less_wake_lines;
> > > > else
> > > > wake_lines = DISPLAY_VER(display) < 20 ?
> > > > - psr2_block_count_lines(intel_dp) :
> > > > - intel_dp-
> > > > >alpm_parameters.io_wake_lines;
> > > > + psr2_block_count_lines(crtc_state-
> > > > > alpm_parameters.io_wake_lines,
> > > > + crtc_state-
> > > > > alpm_parameters.fast_wake_lines) :
> > > > + crtc_state-
> > > > >alpm_parameters.io_wake_lines;
> > > >
> > > > if (crtc_state->req_psr2_sdp_prior_scanline)
> > > > vblank -= 1;
> > > > @@ -1384,7 +1386,7 @@ static bool
> > > > wake_lines_fit_into_vblank(struct
> > > > intel_dp *intel_dp,
> > > > }
> > > >
> > > > static bool alpm_config_valid(struct intel_dp *intel_dp,
> > > > - const struct intel_crtc_state
> > > > *crtc_state,
> > > > + struct intel_crtc_state
> > > > *crtc_state,
> > > > bool aux_less)
> > > > {
> > > > struct intel_display *display =
> > > > to_intel_display(intel_dp);
> > > > @@ -1589,7 +1591,7 @@ static bool _psr_compute_config(struct
> > > > intel_dp *intel_dp,
> > > >
> > > > static bool
> > > > _panel_replay_compute_config(struct intel_dp *intel_dp,
> > > > - const struct intel_crtc_state
> > > > *crtc_state,
> > > > + struct intel_crtc_state
> > > > *crtc_state,
> > > > const struct drm_connector_state
> > > > *conn_state)
> > > > {
> > > > struct intel_display *display =
> > > > to_intel_display(intel_dp);
> > > > --
> > > > 2.43.0
> > >
>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-09-24 4:14 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-05 7:01 [PATCH] drm/i915/alpm: Compute ALPM parameters into crtc_state->alpm_parameters Jouni Högander
2025-09-05 7:07 ` ✗ CI.checkpatch: warning for " Patchwork
2025-09-05 7:08 ` ✓ CI.KUnit: success " Patchwork
2025-09-05 7:53 ` ✓ Xe.CI.BAT: " Patchwork
2025-09-05 17:15 ` ✓ Xe.CI.Full: " Patchwork
2025-09-23 9:26 ` [PATCH] " Manna, Animesh
2025-09-23 10:32 ` Hogander, Jouni
2025-09-23 14:17 ` Manna, Animesh
2025-09-24 4:14 ` Hogander, Jouni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox