* [PATCH 00/29] DP-HDMI PCON DSC fixes
@ 2026-11-20 14:07 Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 01/29] drm/i915/hdmi: Split the intel_hdmi_dsc_get_bpp() Ankit Nautiyal
` (32 more replies)
0 siblings, 33 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
The PCON mode_valid path currently does not fully account for the bandwidth
limitations of the PCON <-> HDMI link. The DSC capability between the
PCON and the HDMI sink also needs to be taken into account, which currently
isn't. Furthermore, the compressed bpp chosen needs to fit the
FRL configuration, which is also missing.
This series:
- reworks the HDMI DSC helpers so they can be reused across the
mode_valid, compute_config and FRL bandwidth check paths
- fixes the FRL/TMDS downstream bandwidth checks, and allows
PCON DSC modes through the FRL check
- Clamps the programmed DSC bpp to the FRL link bandwidth.
- Adds the PCON DSC operations (decode, decode and re-encode and
pass-through), and uses the FRL rate of the stream on the HDMI link.
This series is sent as a whole to have all the solution in one place.
It will be split in 3 series and merged in this order:
1. Groundwork (patches 1-9): FRL/TMDS downstream bandwidth checks and
the HDMI DSC helpers. A couple of patches are still to be reviewed,
so these will be separated out for CI testing and merged first.
2. PCON DSC operations (patches 10-21): PCON DSC state, decode and
decode and re-encode operations and the FRL rate of the stream.
3. DSC pass-through (patches 22-29): pass-through of a DSC 1.2a stream,
within the limits of the HDMI sink.
Rev2:
- Rebase and address comments from Suraj.
- Drop drm/i915/dp: Use FRL pair check for the DFP dotclock limit as no
longer required.
Rev3:
- Address Comments from Sashiko.
- Account for FRL encoding overhead during bw calculation.
- Pass pixel clock instead of using mode->crtc_clock to make it work
with mode-valid case.
- Clamp the target bpp only when it equals the pipe bpp to avoid
missing the case when dsc min_bpp and max_bpp are same.
Rev4:
- Add the PCON DSC operations as per DP Spec: decode,
decode and re-encode, and pass-through for a DSC 1.2a stream.
- Add the PCON DSC state to crtc_state, compute the operation and the
PCON DSC encoder parameters in compute_config, and only program them
at enable. Disable the PCON DSC encoder unless it is needed.
- Enable DSC pass-through in the PCON, and limit the slice count and
the compressed bpp of the DP stream to what the HDMI sink supports.
- Store the FRL rate in crtc_state, use the regular or the DSC max FRL
rate depending on the stream on the HDMI link, and retrain the FRL
link from the link check work.
- Use link bpp instead of pipe bpp in the target_bpp clamp patch and
reuse intel_dp_output_format_link_bpp_x16(). (Suraj)
Ankit Nautiyal (29):
drm/i915/hdmi: Split the intel_hdmi_dsc_get_bpp()
drm/i915/dp: Fix FRL BW check for HDMI2.1 DFP
drm/i915/dp: Add a wrapper to check frl/tmds downstream constraints
drm/i915/dp: Use the common downstream bw check in compute_bpc
drm/i915/hdmi: Expose DSC min/max bpp helpers
drm/i915/hdmi: Add helper to check if DSC chunksize fits the sink
limits
drm/i915/hdmi: Pass pixel clock to DSC slice helper
drm/i915/dp: Account for FRL 16b/18b encoding overhead
drm/i915/hdmi: Clamp the target_bpp only when it equals the link bpp
drm/i915/dp: Add PCON DSC state to crtc_state
drm/dp: Add a helper to disable the PCON DSC encoder
drm/i915/dp: Compute the PCON DSC operation
drm/i915/dp: Disable the PCON DSC encoder unless it is needed
drm/i915/dp: Clamp PCON DSC bpp to the FRL link bandwidth
drm/i915/dp: Add a helper for the DSC stream version
drm/i915/dp: Add a helper for the FRL payload bandwidth
drm/i915/dp: Compute the PCON DSC encoder parameters
drm/i915/dp: Retrain the PCON FRL link from the link check work
drm/i915/dp: Store the PCON FRL rate in the crtc state
drm/i915/dp: Use the FRL rate of the stream on the HDMI link
drm/i915/dp: Allow PCON DSC modes through the FRL bw check
drm/i915/dp: Enable DSC pass-through in the PCON
drm/i915/dp: Limit the DP link bpp for DSC pass-through to the FRL
bandwidth
drm/i915/dp: Select DSC pass-through in the PCON for DSC 1.2a streams
drm/i915/dp: Allow limiting the DSC slice count for the downstream
device
drm/i915/dp: Check the HDMI sink slice limits for DSC pass-through
drm/i915/dp: Pick the DSC slice count for pass-through within the HDMI
limits
drm/i915/dp: Limit the compressed bpp for pass-through to the HDMI
sink
drm/i915/dp: Accept DSC 1.2a pass-through modes in the PCON mode check
drivers/gpu/drm/display/drm_dp_helper.c | 23 +
drivers/gpu/drm/i915/display/g4x_dp.c | 2 +-
.../drm/i915/display/intel_crtc_state_dump.c | 17 +
drivers/gpu/drm/i915/display/intel_ddi.c | 4 +-
.../drm/i915/display/intel_display_types.h | 31 +
drivers/gpu/drm/i915/display/intel_dp.c | 668 ++++++++++++++----
drivers/gpu/drm/i915/display/intel_dp.h | 13 +-
.../drm/i915/display/intel_dp_link_training.c | 5 +-
drivers/gpu/drm/i915/display/intel_hdmi.c | 138 +++-
drivers/gpu/drm/i915/display/intel_hdmi.h | 8 +-
include/drm/display/drm_dp_helper.h | 1 +
11 files changed, 731 insertions(+), 179 deletions(-)
--
2.50.1
^ permalink raw reply [flat|nested] 43+ messages in thread
* [PATCH 01/29] drm/i915/hdmi: Split the intel_hdmi_dsc_get_bpp()
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:32 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 02/29] drm/i915/dp: Fix FRL BW check for HDMI2.1 DFP Ankit Nautiyal
` (31 subsequent siblings)
32 siblings, 1 reply; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal, Suraj Kandpal
Split the intel_hdmi_dsc_get_bpp() into two helper functions
that can be called independently.
While at it, improve the comments in the helper.
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
---
drivers/gpu/drm/i915/display/intel_hdmi.c | 97 ++++++++++++++---------
1 file changed, 59 insertions(+), 38 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.c b/drivers/gpu/drm/i915/display/intel_hdmi.c
index 4ec0db8d93fb..a67bcc8ef691 100644
--- a/drivers/gpu/drm/i915/display/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/display/intel_hdmi.c
@@ -3325,61 +3325,49 @@ intel_hdmi_dsc_get_num_slices(const struct drm_display_mode *mode,
return target_slices;
}
-/*
- * intel_hdmi_dsc_get_bpp - get the appropriate compressed bits_per_pixel based on
- * source and sink capabilities.
- *
- * @src_fraction_bpp: fractional bpp supported by the source
- * @slice_width: dsc slice width supported by the source and sink
- * @num_slices: num of slices supported by the source and sink
- * @output_format: video output format
- * @bpc: bits per color
- * @hdmi_all_bpp: sink supports decoding of 1/16th bpp setting
- * @hdmi_max_chunk_bytes: max bytes in a line of chunks supported by sink
- *
- * @return: compressed bits_per_pixel in step of 1/16 of bits_per_pixel
- */
-int
-intel_hdmi_dsc_get_bpp(int src_fractional_bpp, int slice_width, int num_slices,
- enum intel_output_format output_format, int bpc,
- bool hdmi_all_bpp, int hdmi_max_chunk_bytes)
+static void
+get_dsc_min_max_bpp(enum intel_output_format output_format, u8 bpc,
+ bool hdmi_all_bpp, int *min_dsc_bpp, int *max_dsc_bpp)
{
- int max_dsc_bpp, min_dsc_bpp;
- int target_bytes;
- bool bpp_found = false;
- int bpp_decrement_x16;
- int bpp_target;
- int bpp_target_x16;
-
/*
- * Get min bpp and max bpp as per Table 7.23, in HDMI2.1 spec
+ * Get min bpp and max bpp that can be supported for a
+ * given bpc and output format.
* Start with the max bpp and keep on decrementing with
- * fractional bpp, if supported by PCON DSC encoder
+ * fractional bpp, if supported by the DSC encoder
*
* for each bpp we check if no of bytes can be supported by HDMI sink
*/
if (output_format == INTEL_OUTPUT_FORMAT_YCBCR420) {
- min_dsc_bpp = 6;
- max_dsc_bpp = 3 * bpc / 2;
+ *min_dsc_bpp = 6;
+ *max_dsc_bpp = 3 * bpc / 2;
} else if (output_format == INTEL_OUTPUT_FORMAT_YCBCR444 ||
output_format == INTEL_OUTPUT_FORMAT_RGB) {
- min_dsc_bpp = 8;
- max_dsc_bpp = 3 * bpc;
+ *min_dsc_bpp = 8;
+ *max_dsc_bpp = 3 * bpc;
} else {
/* Assuming 4:2:2 encoding */
- min_dsc_bpp = 7;
- max_dsc_bpp = 2 * bpc;
+ *min_dsc_bpp = 7;
+ *max_dsc_bpp = 2 * bpc;
}
/*
- * Taking into account if all dsc_all_bpp supported by HDMI2.1 sink
- * Section 7.7.34 : Source shall not enable compressed Video
- * Transport with bpp_target settings above 12 bpp unless
- * DSC_all_bpp is set to 1.
+ * Don't enable DSC bpp_target settings above 12 bpp,
+ * unless DSC_all_bpp is set to 1.
*/
if (!hdmi_all_bpp)
- max_dsc_bpp = min(max_dsc_bpp, 12);
+ *max_dsc_bpp = min(*max_dsc_bpp, 12);
+}
+
+static int
+get_dsc_compressed_bpp(int num_slices, int slice_width, int hdmi_max_chunk_bytes,
+ int src_fractional_bpp, int min_dsc_bpp, int max_dsc_bpp)
+{
+ int target_bytes;
+ bool bpp_found = false;
+ int bpp_decrement_x16;
+ int bpp_target;
+ int bpp_target_x16;
/*
* The Sink has a limit of compressed data in bytes for a scanline,
@@ -3423,6 +3411,39 @@ intel_hdmi_dsc_get_bpp(int src_fractional_bpp, int slice_width, int num_slices,
return 0;
}
+/*
+ * intel_hdmi_dsc_get_bpp - get the appropriate compressed bits_per_pixel based on
+ * source and sink capabilities.
+ *
+ * @src_fraction_bpp: fractional bpp supported by the source
+ * @slice_width: dsc slice width supported by the source and sink
+ * @num_slices: num of slices supported by the source and sink
+ * @output_format: video output format
+ * @bpc: bits per color
+ * @hdmi_all_bpp: sink supports decoding of 1/16th bpp setting
+ * @hdmi_max_chunk_bytes: max bytes in a line of chunks supported by sink
+ *
+ * @return: compressed bits_per_pixel in step of 1/16 of bits_per_pixel
+ */
+int
+intel_hdmi_dsc_get_bpp(int src_fractional_bpp, int slice_width, int num_slices,
+ enum intel_output_format output_format, int bpc,
+ bool hdmi_all_bpp, int hdmi_max_chunk_bytes)
+{
+ int max_dsc_bpp, min_dsc_bpp;
+ int dsc_bpp_x16;
+
+ get_dsc_min_max_bpp(output_format, bpc, hdmi_all_bpp,
+ &min_dsc_bpp, &max_dsc_bpp);
+
+ dsc_bpp_x16 = get_dsc_compressed_bpp(num_slices, slice_width,
+ hdmi_max_chunk_bytes,
+ src_fractional_bpp,
+ min_dsc_bpp, max_dsc_bpp);
+
+ return dsc_bpp_x16;
+}
+
int intel_hdmi_sink_max_frl_rate(struct drm_connector *connector)
{
int max_lanes = connector->display_info.hdmi.max_lanes;
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 02/29] drm/i915/dp: Fix FRL BW check for HDMI2.1 DFP
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 01/29] drm/i915/hdmi: Split the intel_hdmi_dsc_get_bpp() Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:34 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 03/29] drm/i915/dp: Add a wrapper to check frl/tmds downstream constraints Ankit Nautiyal
` (30 subsequent siblings)
32 siblings, 1 reply; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal, Suraj Kandpal
The FRL bandwidth check considers only the PCON's max FRL rate, ignoring
the HDMI2.1 sink's own max FRL rate. Cap the available bandwidth by the
minimum of the two, similar to the TMDS case.
Move the check into a helper intel_dp_frl_bw_valid() so it can also be
used in the compute_config phase in a subsequent change.
The DSC case, where both the PCON and HDMI sink support DSC, is left
as a FIXME and handled later.
v2: Remove extra braces and re-format comment. (Suraj)
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 51 ++++++++++++++++---------
1 file changed, 34 insertions(+), 17 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index ef164a797618..05d78763c716 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -128,6 +128,7 @@ bool intel_dp_is_edp(struct intel_dp *intel_dp)
}
static void intel_dp_unset_edid(struct intel_dp *intel_dp);
+static int intel_dp_hdmi_sink_max_frl(struct intel_dp *intel_dp);
/* Is link rate UHBR and thus 128b/132b? */
bool intel_dp_is_uhbr(const struct intel_crtc_state *crtc_state)
@@ -1189,30 +1190,46 @@ static int frl_required_bw(int clock, int bpc,
}
static enum drm_mode_status
-intel_dp_mode_valid_downstream(struct intel_connector *connector,
- const struct drm_display_mode *mode,
- int target_clock,
- enum intel_output_format sink_format)
+intel_dp_frl_bw_valid(struct intel_dp *intel_dp, int target_clock,
+ int bpc, enum intel_output_format sink_format,
+ bool respect_downstream_limits)
{
- struct intel_dp *intel_dp = intel_attached_dp(connector);
+ int target_bw;
+ int max_frl_bw;
- /* If PCON supports FRL MODE, check FRL bandwidth constraints */
- if (intel_dp->dfp.pcon_max_frl_bw) {
- int target_bw, max_frl_bw;
+ if (!respect_downstream_limits)
+ return MODE_OK;
- /* Assume 8bpc for the FRL bandwidth check */
- target_bw = frl_required_bw(target_clock, 8, sink_format);
+ target_bw = frl_required_bw(target_clock, bpc, sink_format);
- max_frl_bw = intel_dp->dfp.pcon_max_frl_bw;
+ /* check for MAX FRL BW for both PCON and HDMI2.1 sink */
+ max_frl_bw = min(intel_dp->dfp.pcon_max_frl_bw,
+ intel_dp_hdmi_sink_max_frl(intel_dp));
- /* converting bw from Gbps to Kbps*/
- max_frl_bw = max_frl_bw * 1000000;
+ /* converting bw from Gbps to Kbps*/
+ max_frl_bw = max_frl_bw * 1000000;
- if (target_bw > max_frl_bw)
- return MODE_CLOCK_HIGH;
+ /* #FIXME check bandwidth with DSC if both PCON and HDMI sink support DSC */
+ if (target_bw > max_frl_bw)
+ return MODE_CLOCK_HIGH;
- return MODE_OK;
- }
+ return MODE_OK;
+}
+
+static enum drm_mode_status
+intel_dp_mode_valid_downstream(struct intel_connector *connector,
+ const struct drm_display_mode *mode,
+ int target_clock,
+ enum intel_output_format sink_format)
+{
+ struct intel_dp *intel_dp = intel_attached_dp(connector);
+
+ /*
+ * If PCON supports FRL MODE, check FRL bandwidth constraints.
+ * Assume 8bpc for the HDMI2.1 FRL BW check
+ */
+ if (intel_dp->dfp.pcon_max_frl_bw && intel_dp_hdmi_sink_max_frl(intel_dp))
+ return intel_dp_frl_bw_valid(intel_dp, target_clock, 8, sink_format, true);
if (intel_dp->dfp.max_dotclock &&
target_clock > intel_dp->dfp.max_dotclock)
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 03/29] drm/i915/dp: Add a wrapper to check frl/tmds downstream constraints
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 01/29] drm/i915/hdmi: Split the intel_hdmi_dsc_get_bpp() Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 02/29] drm/i915/dp: Fix FRL BW check for HDMI2.1 DFP Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 04/29] drm/i915/dp: Use the common downstream bw check in compute_bpc Ankit Nautiyal
` (29 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal, Suraj Kandpal
Add a wrapper function to check dp_downstream clock/bandwidth
constraints. Based on whether the sink supports FRL/TMDS the wrapper
calls the appropriate FRL/TMDS functions.
v2: Don't modify the dfp.maxdotclock check which deals with VGA.
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 34 +++++++++++++++++--------
1 file changed, 24 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 05d78763c716..82a4e3abf4ae 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -1216,6 +1216,28 @@ intel_dp_frl_bw_valid(struct intel_dp *intel_dp, int target_clock,
return MODE_OK;
}
+static bool
+intel_dp_pcon_sink_support_frl(struct intel_dp *intel_dp)
+{
+ return intel_dp->dfp.pcon_max_frl_bw &&
+ intel_dp_hdmi_sink_max_frl(intel_dp);
+}
+
+static enum drm_mode_status
+intel_dp_hdmi_bw_valid(struct intel_dp *intel_dp,
+ int target_clock, int bpc,
+ enum intel_output_format sink_format,
+ bool respect_downstream_limits)
+{
+ if (intel_dp_pcon_sink_support_frl(intel_dp))
+ return intel_dp_frl_bw_valid(intel_dp, target_clock, bpc,
+ sink_format,
+ respect_downstream_limits);
+
+ return intel_dp_tmds_clock_valid(intel_dp, target_clock, bpc, sink_format,
+ respect_downstream_limits);
+}
+
static enum drm_mode_status
intel_dp_mode_valid_downstream(struct intel_connector *connector,
const struct drm_display_mode *mode,
@@ -1223,21 +1245,13 @@ intel_dp_mode_valid_downstream(struct intel_connector *connector,
enum intel_output_format sink_format)
{
struct intel_dp *intel_dp = intel_attached_dp(connector);
-
- /*
- * If PCON supports FRL MODE, check FRL bandwidth constraints.
- * Assume 8bpc for the HDMI2.1 FRL BW check
- */
- if (intel_dp->dfp.pcon_max_frl_bw && intel_dp_hdmi_sink_max_frl(intel_dp))
- return intel_dp_frl_bw_valid(intel_dp, target_clock, 8, sink_format, true);
+ int bpc = 8; /* Assume 8bpc for the DP++/HDMI/DVI TMDS/FRL bw check */
if (intel_dp->dfp.max_dotclock &&
target_clock > intel_dp->dfp.max_dotclock)
return MODE_CLOCK_HIGH;
- /* Assume 8bpc for the DP++/HDMI/DVI TMDS clock check */
- return intel_dp_tmds_clock_valid(intel_dp, target_clock,
- 8, sink_format, true);
+ return intel_dp_hdmi_bw_valid(intel_dp, target_clock, bpc, sink_format, true);
}
static enum drm_mode_status
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 04/29] drm/i915/dp: Use the common downstream bw check in compute_bpc
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (2 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 03/29] drm/i915/dp: Add a wrapper to check frl/tmds downstream constraints Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 05/29] drm/i915/hdmi: Expose DSC min/max bpp helpers Ankit Nautiyal
` (28 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal, Suraj Kandpal
Currently the FRL bandwidth check is only added for the mode_valid phase.
Add the check in the compute_config phase also, replacing the TMDS-only
check with the common function that checks for both TMDS and FRL.
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 82a4e3abf4ae..657bb56237f0 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -1778,8 +1778,8 @@ static int intel_dp_hdmi_compute_bpc(struct intel_dp *intel_dp,
for (; bpc >= 8; bpc -= 2) {
if (intel_hdmi_bpc_possible(crtc_state, bpc,
intel_dp_has_hdmi_sink(intel_dp)) &&
- intel_dp_tmds_clock_valid(intel_dp, clock, bpc, crtc_state->sink_format,
- respect_downstream_limits) == MODE_OK)
+ intel_dp_hdmi_bw_valid(intel_dp, clock, bpc, crtc_state->sink_format,
+ respect_downstream_limits) == MODE_OK)
return bpc;
}
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 05/29] drm/i915/hdmi: Expose DSC min/max bpp helpers
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (3 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 04/29] drm/i915/dp: Use the common downstream bw check in compute_bpc Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 06/29] drm/i915/hdmi: Add helper to check if DSC chunksize fits the sink limits Ankit Nautiyal
` (27 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal, Suraj Kandpal
Expose intel_hdmi_dsc_get_min_max_bpp() to query the allowed compressed
bpp range.
This will be used in the subsequent change to compute the compressed bpp
range in mode_valid() for an HDMI with DSC connected to a DP DFP.
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
---
drivers/gpu/drm/i915/display/intel_hdmi.c | 20 +++++++++++++++-----
drivers/gpu/drm/i915/display/intel_hdmi.h | 2 ++
2 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.c b/drivers/gpu/drm/i915/display/intel_hdmi.c
index a67bcc8ef691..3321b673b3b6 100644
--- a/drivers/gpu/drm/i915/display/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/display/intel_hdmi.c
@@ -3325,9 +3325,19 @@ intel_hdmi_dsc_get_num_slices(const struct drm_display_mode *mode,
return target_slices;
}
-static void
-get_dsc_min_max_bpp(enum intel_output_format output_format, u8 bpc,
- bool hdmi_all_bpp, int *min_dsc_bpp, int *max_dsc_bpp)
+/*
+ * intel_hdmi_dsc_get_min_max_bpp - get the min and max compressed bpp range
+ * allowed for a given output format and bpc.
+ *
+ * @output_format: video output format
+ * @bpc: bits per color
+ * @hdmi_all_bpp: sink supports decoding of 1/16th bpp setting
+ * @min_dsc_bpp: returns the minimum allowed compressed bpp
+ * @max_dsc_bpp: returns the maximum allowed compressed bpp
+ */
+void
+intel_hdmi_dsc_get_min_max_bpp(enum intel_output_format output_format, u8 bpc,
+ bool hdmi_all_bpp, int *min_dsc_bpp, int *max_dsc_bpp)
{
/*
* Get min bpp and max bpp that can be supported for a
@@ -3433,8 +3443,8 @@ intel_hdmi_dsc_get_bpp(int src_fractional_bpp, int slice_width, int num_slices,
int max_dsc_bpp, min_dsc_bpp;
int dsc_bpp_x16;
- get_dsc_min_max_bpp(output_format, bpc, hdmi_all_bpp,
- &min_dsc_bpp, &max_dsc_bpp);
+ intel_hdmi_dsc_get_min_max_bpp(output_format, bpc, hdmi_all_bpp,
+ &min_dsc_bpp, &max_dsc_bpp);
dsc_bpp_x16 = get_dsc_compressed_bpp(num_slices, slice_width,
hdmi_max_chunk_bytes,
diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.h b/drivers/gpu/drm/i915/display/intel_hdmi.h
index c95ed37bcc0c..3ab75ef4836e 100644
--- a/drivers/gpu/drm/i915/display/intel_hdmi.h
+++ b/drivers/gpu/drm/i915/display/intel_hdmi.h
@@ -57,6 +57,8 @@ int intel_hdmi_tmds_clock(int clock, int bpc, enum intel_output_format sink_form
int intel_hdmi_dsc_get_bpp(int src_fractional_bpp, int slice_width,
int num_slices, enum intel_output_format output_format,
int bpc, bool hdmi_all_bpp, int hdmi_max_chunk_bytes);
+void intel_hdmi_dsc_get_min_max_bpp(enum intel_output_format output_format, u8 bpc,
+ bool hdmi_all_bpp, int *min_dsc_bpp, int *max_dsc_bpp);
int intel_hdmi_dsc_get_num_slices(const struct drm_display_mode *mode,
enum intel_output_format output_format,
int src_max_slices, int src_max_slice_width,
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 06/29] drm/i915/hdmi: Add helper to check if DSC chunksize fits the sink limits
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (4 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 05/29] drm/i915/hdmi: Expose DSC min/max bpp helpers Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 07/29] drm/i915/hdmi: Pass pixel clock to DSC slice helper Ankit Nautiyal
` (26 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal, Suraj Kandpal
Introduce the helper intel_hdmi_dsc_bpp_fits_chunk_bytes() to check
whether the chunksize computed for the given slice configuration is with
in the sink's max chunksize limits.
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
---
drivers/gpu/drm/i915/display/intel_hdmi.c | 25 ++++++++++++++++++++---
drivers/gpu/drm/i915/display/intel_hdmi.h | 2 ++
2 files changed, 24 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.c b/drivers/gpu/drm/i915/display/intel_hdmi.c
index 3321b673b3b6..027a337ad8b8 100644
--- a/drivers/gpu/drm/i915/display/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/display/intel_hdmi.c
@@ -3369,11 +3369,30 @@ intel_hdmi_dsc_get_min_max_bpp(enum intel_output_format output_format, u8 bpc,
*max_dsc_bpp = min(*max_dsc_bpp, 12);
}
+/*
+ * intel_hdmi_dsc_bpp_fits_chunk_bytes - check if a given compressed bpp keeps
+ * the per-scanline chunk size within the sink's max_chunk_bytes limit.
+ *
+ * @bpp: compressed bits per pixel to test
+ * @num_slices: num of slices supported by the source and sink
+ * @slice_width: dsc slice width supported by the source and sink
+ * @hdmi_max_chunk_bytes: max bytes in a line of chunks supported by sink
+ *
+ * @return: true if the resulting chunk size fits the sink limit
+ */
+bool
+intel_hdmi_dsc_bpp_fits_chunk_bytes(int bpp, int num_slices, int slice_width,
+ int hdmi_max_chunk_bytes)
+{
+ int target_bytes = DIV_ROUND_UP((num_slices * slice_width * bpp), 8);
+
+ return target_bytes <= hdmi_max_chunk_bytes;
+}
+
static int
get_dsc_compressed_bpp(int num_slices, int slice_width, int hdmi_max_chunk_bytes,
int src_fractional_bpp, int min_dsc_bpp, int max_dsc_bpp)
{
- int target_bytes;
bool bpp_found = false;
int bpp_decrement_x16;
int bpp_target;
@@ -3408,8 +3427,8 @@ get_dsc_compressed_bpp(int num_slices, int slice_width, int hdmi_max_chunk_bytes
int bpp;
bpp = DIV_ROUND_UP(bpp_target_x16, 16);
- target_bytes = DIV_ROUND_UP((num_slices * slice_width * bpp), 8);
- if (target_bytes <= hdmi_max_chunk_bytes) {
+ if (intel_hdmi_dsc_bpp_fits_chunk_bytes(bpp, num_slices, slice_width,
+ hdmi_max_chunk_bytes)) {
bpp_found = true;
break;
}
diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.h b/drivers/gpu/drm/i915/display/intel_hdmi.h
index 3ab75ef4836e..db87656eb27f 100644
--- a/drivers/gpu/drm/i915/display/intel_hdmi.h
+++ b/drivers/gpu/drm/i915/display/intel_hdmi.h
@@ -59,6 +59,8 @@ int intel_hdmi_dsc_get_bpp(int src_fractional_bpp, int slice_width,
int bpc, bool hdmi_all_bpp, int hdmi_max_chunk_bytes);
void intel_hdmi_dsc_get_min_max_bpp(enum intel_output_format output_format, u8 bpc,
bool hdmi_all_bpp, int *min_dsc_bpp, int *max_dsc_bpp);
+bool intel_hdmi_dsc_bpp_fits_chunk_bytes(int bpp, int num_slices, int slice_width,
+ int hdmi_max_chunk_bytes);
int intel_hdmi_dsc_get_num_slices(const struct drm_display_mode *mode,
enum intel_output_format output_format,
int src_max_slices, int src_max_slice_width,
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 07/29] drm/i915/hdmi: Pass pixel clock to DSC slice helper
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (5 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 06/29] drm/i915/hdmi: Add helper to check if DSC chunksize fits the sink limits Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 08/29] drm/i915/dp: Account for FRL 16b/18b encoding overhead Ankit Nautiyal
` (25 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal, Suraj Kandpal
Pass the pixel clock explicitly to the DSC slice-count helper so callers
can use the effective clock for throughput validation.
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 1 +
drivers/gpu/drm/i915/display/intel_hdmi.c | 3 ++-
drivers/gpu/drm/i915/display/intel_hdmi.h | 1 +
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 657bb56237f0..45e4812777cb 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -4533,6 +4533,7 @@ intel_dp_pcon_dsc_enc_slices(struct intel_dp *intel_dp,
int pcon_max_slice_width = drm_dp_pcon_dsc_max_slice_width(intel_dp->pcon_dsc_dpcd);
return intel_hdmi_dsc_get_num_slices(&crtc_state->hw.adjusted_mode,
+ crtc_state->hw.adjusted_mode.crtc_clock,
crtc_state->output_format,
pcon_max_slices,
pcon_max_slice_width,
diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.c b/drivers/gpu/drm/i915/display/intel_hdmi.c
index 027a337ad8b8..ac2172a5a320 100644
--- a/drivers/gpu/drm/i915/display/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/display/intel_hdmi.c
@@ -3217,6 +3217,7 @@ int intel_hdmi_dsc_get_slice_height(int vactive)
* and dsc decoder capabilities
*
* @mode: drm_display_mode for which num of slices are needed
+ * @pixel_clock: pixel clock in kHz used for DSC throughput calculation
* @output_format : pipe output format
* @src_max_slices: maximum slices supported by the DSC encoder
* @src_max_slice_width: maximum slice width supported by DSC encoder
@@ -3228,6 +3229,7 @@ int intel_hdmi_dsc_get_slice_height(int vactive)
*/
int
intel_hdmi_dsc_get_num_slices(const struct drm_display_mode *mode,
+ int pixel_clock,
enum intel_output_format output_format,
int src_max_slices, int src_max_slice_width,
int hdmi_max_slices, int hdmi_throughput)
@@ -3250,7 +3252,6 @@ intel_hdmi_dsc_get_num_slices(const struct drm_display_mode *mode,
int max_throughput; /* max clock freq. in khz per slice */
int max_slice_width;
int slice_width;
- int pixel_clock = mode->crtc_clock;
if (!hdmi_throughput)
return 0;
diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.h b/drivers/gpu/drm/i915/display/intel_hdmi.h
index db87656eb27f..375f1b4decfb 100644
--- a/drivers/gpu/drm/i915/display/intel_hdmi.h
+++ b/drivers/gpu/drm/i915/display/intel_hdmi.h
@@ -62,6 +62,7 @@ void intel_hdmi_dsc_get_min_max_bpp(enum intel_output_format output_format, u8 b
bool intel_hdmi_dsc_bpp_fits_chunk_bytes(int bpp, int num_slices, int slice_width,
int hdmi_max_chunk_bytes);
int intel_hdmi_dsc_get_num_slices(const struct drm_display_mode *mode,
+ int pixel_clock,
enum intel_output_format output_format,
int src_max_slices, int src_max_slice_width,
int hdmi_max_slices, int hdmi_throughput);
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 08/29] drm/i915/dp: Account for FRL 16b/18b encoding overhead
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (6 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 07/29] drm/i915/hdmi: Pass pixel clock to DSC slice helper Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 09/29] drm/i915/hdmi: Clamp the target_bpp only when it equals the link bpp Ankit Nautiyal
` (24 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
HDMI 2.1 FRL uses 16b/18b line coding, so only 16/18 of the raw FRL
rate carries payload. The FRL bandwidth check compared the required
bandwidth against the raw rate of the PCON and the sink, and so
accepted modes that cannot be carried.
Use the payload bandwidth for the check. The requirement is still
estimated from the full pixel clock including blanking, so it remains
an upper bound.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 45e4812777cb..0e32e0f0789a 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -1206,8 +1206,11 @@ intel_dp_frl_bw_valid(struct intel_dp *intel_dp, int target_clock,
max_frl_bw = min(intel_dp->dfp.pcon_max_frl_bw,
intel_dp_hdmi_sink_max_frl(intel_dp));
- /* converting bw from Gbps to Kbps*/
- max_frl_bw = max_frl_bw * 1000000;
+ /*
+ * Convert the rate from Gbps to kbps. FRL uses 16b/18b line coding, so
+ * only 16/18 of the raw rate carries payload.
+ */
+ max_frl_bw = max_frl_bw * 1000000 * 16 / 18;
/* #FIXME check bandwidth with DSC if both PCON and HDMI sink support DSC */
if (target_bw > max_frl_bw)
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 09/29] drm/i915/hdmi: Clamp the target_bpp only when it equals the link bpp
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (7 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 08/29] drm/i915/dp: Account for FRL 16b/18b encoding overhead Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 10/29] drm/i915/dp: Add PCON DSC state to crtc_state Ankit Nautiyal
` (23 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
The max bpp from intel_hdmi_dsc_get_min_max_bpp() is at most the
uncompressed link bpp, so when picking the compressed bpp we reduce the
target to keep it below the uncompressed link bpp. Doing this
unconditionally makes the search skip both the max and min boundaries,
returning 0 when max_dsc_bpp equals min_dsc_bpp.
That case isn't hit as of now, but an upcoming FRL link-bandwidth clamp
can make max_dsc_bpp == min_dsc_bpp.
Reduce the target only when it equals the uncompressed link bpp, start
at max_dsc_bpp otherwise, and iterate down to and including min_dsc_bpp.
v2: Use link bpp, reuse intel_dp_output_format_link_bpp_x16(). (Suraj)
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_hdmi.c | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.c b/drivers/gpu/drm/i915/display/intel_hdmi.c
index ac2172a5a320..09c8d5b92b1c 100644
--- a/drivers/gpu/drm/i915/display/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/display/intel_hdmi.c
@@ -3391,13 +3391,15 @@ intel_hdmi_dsc_bpp_fits_chunk_bytes(int bpp, int num_slices, int slice_width,
}
static int
-get_dsc_compressed_bpp(int num_slices, int slice_width, int hdmi_max_chunk_bytes,
+get_dsc_compressed_bpp(enum intel_output_format output_format, int bpc,
+ int num_slices, int slice_width, int hdmi_max_chunk_bytes,
int src_fractional_bpp, int min_dsc_bpp, int max_dsc_bpp)
{
bool bpp_found = false;
int bpp_decrement_x16;
int bpp_target;
int bpp_target_x16;
+ int link_bpp_x16 = intel_dp_output_format_link_bpp_x16(output_format, 3 * bpc);
/*
* The Sink has a limit of compressed data in bytes for a scanline,
@@ -3422,9 +3424,13 @@ get_dsc_compressed_bpp(int num_slices, int slice_width, int hdmi_max_chunk_bytes
if (!src_fractional_bpp)
src_fractional_bpp = 1;
bpp_decrement_x16 = DIV_ROUND_UP(16, src_fractional_bpp);
- bpp_target_x16 = (bpp_target * 16) - bpp_decrement_x16;
+ bpp_target_x16 = bpp_target * 16;
- while (bpp_target_x16 > (min_dsc_bpp * 16)) {
+ /* The compressed bpp can't be the same as the uncompressed link bpp */
+ if (bpp_target_x16 == link_bpp_x16)
+ bpp_target_x16 -= bpp_decrement_x16;
+
+ while (bpp_target_x16 >= (min_dsc_bpp * 16)) {
int bpp;
bpp = DIV_ROUND_UP(bpp_target_x16, 16);
@@ -3466,7 +3472,8 @@ intel_hdmi_dsc_get_bpp(int src_fractional_bpp, int slice_width, int num_slices,
intel_hdmi_dsc_get_min_max_bpp(output_format, bpc, hdmi_all_bpp,
&min_dsc_bpp, &max_dsc_bpp);
- dsc_bpp_x16 = get_dsc_compressed_bpp(num_slices, slice_width,
+ dsc_bpp_x16 = get_dsc_compressed_bpp(output_format, bpc,
+ num_slices, slice_width,
hdmi_max_chunk_bytes,
src_fractional_bpp,
min_dsc_bpp, max_dsc_bpp);
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 10/29] drm/i915/dp: Add PCON DSC state to crtc_state
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (8 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 09/29] drm/i915/hdmi: Clamp the target_bpp only when it equals the link bpp Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 11/29] drm/dp: Add a helper to disable the PCON DSC encoder Ankit Nautiyal
` (22 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
A DP->HDMI 2.1 PCON handles DSC in one of three ways, depending on
whether the HDMI link needs DSC and on the DSC version of the DP
stream: decode, pass-through, or decode and re-encode.
Add the state to hold that decision, along with the PCON DSC encoder
PPS override parameters, so that they can be computed during
compute_config and only programmed at enable time.
The state is not read out: it does not map to any register, and
reading back the DPCD is unreliable. Reset it for every link
configuration attempt and print it in the crtc state dump.
No functional change.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
.../drm/i915/display/intel_crtc_state_dump.c | 16 ++++++++++
.../drm/i915/display/intel_display_types.h | 29 +++++++++++++++++++
drivers/gpu/drm/i915/display/intel_dp.c | 1 +
3 files changed, 46 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c b/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
index 57e64dda79c1..51e8f3688362 100644
--- a/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
+++ b/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
@@ -73,6 +73,13 @@ static const char * const output_type_str[] = {
#undef OUTPUT_TYPE
+static const char * const pcon_dsc_op_str[] = {
+ [INTEL_PCON_NO_DSC] = "none",
+ [INTEL_PCON_DSC_DECODE] = "decode",
+ [INTEL_PCON_DSC_PASSTHROUGH] = "pass-through",
+ [INTEL_PCON_DSC_DECODE_ENCODE] = "decode+encode",
+};
+
static void snprintf_output_types(char *buf, size_t len,
unsigned int output_types)
{
@@ -243,6 +250,15 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
str_enabled_disabled(pipe_config->fec_enable),
str_enabled_disabled(pipe_config->enhanced_framing));
+ drm_printf(&p, "pcon: dsc op %s\n",
+ pcon_dsc_op_str[pipe_config->pcon_config.dsc_op]);
+ if (pipe_config->pcon_config.dsc_op == INTEL_PCON_DSC_DECODE_ENCODE)
+ drm_printf(&p,
+ "pcon dsc encoder: slice height: %u, slice width: %u, bpp_x16: %u\n",
+ pipe_config->pcon_config.dsc_enc.slice_height,
+ pipe_config->pcon_config.dsc_enc.slice_width,
+ pipe_config->pcon_config.dsc_enc.bpp_x16);
+
drm_printf(&p, "sdp split: %s\n",
str_enabled_disabled(pipe_config->sdp_split_enable));
diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h b/drivers/gpu/drm/i915/display/intel_display_types.h
index 90a5d29169c6..429a071afad5 100644
--- a/drivers/gpu/drm/i915/display/intel_display_types.h
+++ b/drivers/gpu/drm/i915/display/intel_display_types.h
@@ -978,6 +978,25 @@ enum intel_output_format {
INTEL_OUTPUT_FORMAT_YCBCR444,
};
+enum intel_pcon_dsc_op {
+ /* The PCON does not take part in DSC, also used when there is no HDMI 2.1 PCON */
+ INTEL_PCON_NO_DSC,
+ /* PCON decodes the DSC stream from the DP link, HDMI link is uncompressed */
+ INTEL_PCON_DSC_DECODE,
+ /* PCON forwards the DSC 1.2a stream to the HDMI sink as is */
+ INTEL_PCON_DSC_PASSTHROUGH,
+ /* PCON decodes a DSC 1.1 stream and encodes DSC 1.2a for the HDMI sink */
+ INTEL_PCON_DSC_DECODE_ENCODE,
+};
+
+/* PCON DSC encoder PPS override parameters */
+struct intel_pcon_dsc_enc_config {
+ u16 slice_height;
+ u16 slice_width;
+ /* Compressed Bpp in U6.4 format */
+ u16 bpp_x16;
+};
+
/* Used by dp and fdi links */
struct intel_link_m_n {
u32 tu;
@@ -1380,6 +1399,16 @@ struct intel_crtc_state {
struct drm_dsc_config config;
} dsc;
+ /*
+ * Configuration of a DP->HDMI PCON. Only used for state computation,
+ * not read out from the HW.
+ */
+ struct {
+ enum intel_pcon_dsc_op dsc_op;
+ /* Only valid for INTEL_PCON_DSC_DECODE_ENCODE */
+ struct intel_pcon_dsc_enc_config dsc_enc;
+ } pcon_config;
+
/* DP tunnel used for BW allocation. */
struct drm_dp_tunnel_ref dp_tunnel_ref;
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 0e32e0f0789a..6412248e9dcc 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -2514,6 +2514,7 @@ void intel_dp_dsc_reset_config(struct intel_crtc_state *crtc_state)
memset(&crtc_state->dsc.slice_config, 0, sizeof(crtc_state->dsc.slice_config));
memset(&crtc_state->dsc.config, 0, sizeof(crtc_state->dsc.config));
+ memset(&crtc_state->pcon_config, 0, sizeof(crtc_state->pcon_config));
}
int intel_dp_dsc_compute_config(struct intel_dp *intel_dp,
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 11/29] drm/dp: Add a helper to disable the PCON DSC encoder
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (9 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 10/29] drm/i915/dp: Add PCON DSC state to crtc_state Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 12/29] drm/i915/dp: Compute the PCON DSC operation Ankit Nautiyal
` (21 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
The DSC encoder of a PCON is enabled through DPCD 3052h[1], together
with an optional PPS override in DPCD 3052h[3:2]. The existing helpers
only ever set these bits.
Add a helper to clear both, so that a driver can switch the encoder off
when the PCON does not need to encode the stream.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/display/drm_dp_helper.c | 23 +++++++++++++++++++++++
include/drm/display/drm_dp_helper.h | 1 +
2 files changed, 24 insertions(+)
diff --git a/drivers/gpu/drm/display/drm_dp_helper.c b/drivers/gpu/drm/display/drm_dp_helper.c
index 2b6ce05556b0..e810addf52bc 100644
--- a/drivers/gpu/drm/display/drm_dp_helper.c
+++ b/drivers/gpu/drm/display/drm_dp_helper.c
@@ -4161,6 +4161,29 @@ int drm_dp_pcon_pps_override_param(struct drm_dp_aux *aux, u8 pps_param[6])
}
EXPORT_SYMBOL(drm_dp_pcon_pps_override_param);
+/**
+ * drm_dp_pcon_dsc_enc_disable() - Disable the DSC encoder of a PCON
+ * @aux: DisplayPort AUX channel
+ *
+ * Disable the DSC encoder of a PCON, along with the encoder PPS override.
+ *
+ * Returns 0 on success, else returns negative error code.
+ */
+int drm_dp_pcon_dsc_enc_disable(struct drm_dp_aux *aux)
+{
+ u8 buf;
+ int ret;
+
+ ret = drm_dp_dpcd_read_byte(aux, DP_PROTOCOL_CONVERTER_CONTROL_2, &buf);
+ if (ret < 0)
+ return ret;
+
+ buf &= ~(DP_PCON_ENABLE_DSC_ENCODER | DP_PCON_ENCODER_PPS_OVERRIDE_MASK);
+
+ return drm_dp_dpcd_write_byte(aux, DP_PROTOCOL_CONVERTER_CONTROL_2, buf);
+}
+EXPORT_SYMBOL(drm_dp_pcon_dsc_enc_disable);
+
/*
* drm_dp_pcon_convert_rgb_to_ycbcr() - Configure the PCon to convert RGB to Ycbcr
* @aux: displayPort AUX channel
diff --git a/include/drm/display/drm_dp_helper.h b/include/drm/display/drm_dp_helper.h
index f497c9f3a550..32c95f657631 100644
--- a/include/drm/display/drm_dp_helper.h
+++ b/include/drm/display/drm_dp_helper.h
@@ -1019,6 +1019,7 @@ int drm_dp_pcon_dsc_bpp_incr(const u8 pcon_dsc_dpcd[DP_PCON_DSC_ENCODER_CAP_SIZE
int drm_dp_pcon_pps_default(struct drm_dp_aux *aux);
int drm_dp_pcon_pps_override_buf(struct drm_dp_aux *aux, u8 pps_buf[128]);
int drm_dp_pcon_pps_override_param(struct drm_dp_aux *aux, u8 pps_param[6]);
+int drm_dp_pcon_dsc_enc_disable(struct drm_dp_aux *aux);
bool drm_dp_downstream_rgb_to_ycbcr_conversion(const u8 dpcd[DP_RECEIVER_CAP_SIZE],
const u8 port_cap[4], u8 color_spc);
int drm_dp_pcon_convert_rgb_to_ycbcr(struct drm_dp_aux *aux, u8 color_spc);
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 12/29] drm/i915/dp: Compute the PCON DSC operation
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (10 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 11/29] drm/dp: Add a helper to disable the PCON DSC encoder Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 13/29] drm/i915/dp: Disable the PCON DSC encoder unless it is needed Ankit Nautiyal
` (20 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
When the DP stream is compressed and the HDMI link of an HDMI 2.1 PCON
carries it uncompressed, the PCON decodes the DSC stream. Record this in
the PCON DSC state once the DP link configuration is final.
The operations for HDMI links that need DSC are added once such modes
can be selected.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 6412248e9dcc..e837645a6421 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -129,6 +129,7 @@ bool intel_dp_is_edp(struct intel_dp *intel_dp)
static void intel_dp_unset_edid(struct intel_dp *intel_dp);
static int intel_dp_hdmi_sink_max_frl(struct intel_dp *intel_dp);
+static bool intel_dp_is_hdmi_2_1_sink(struct intel_dp *intel_dp);
/* Is link rate UHBR and thus 128b/132b? */
bool intel_dp_is_uhbr(const struct intel_crtc_state *crtc_state)
@@ -3013,6 +3014,19 @@ bool intel_dp_joiner_needs_dsc(struct intel_display *display,
num_joined_pipes == 4;
}
+static int
+intel_dp_pcon_compute_config(struct intel_dp *intel_dp,
+ struct intel_crtc_state *crtc_state)
+{
+ if (!intel_dp_is_hdmi_2_1_sink(intel_dp))
+ return 0;
+
+ if (crtc_state->dsc.compression_enable)
+ crtc_state->pcon_config.dsc_op = INTEL_PCON_DSC_DECODE;
+
+ return 0;
+}
+
static int
intel_dp_compute_link_for_joined_pipes(struct intel_encoder *encoder,
struct intel_crtc_state *pipe_config,
@@ -3098,6 +3112,10 @@ intel_dp_compute_link_for_joined_pipes(struct intel_encoder *encoder,
return -EINVAL;
}
+ ret = intel_dp_pcon_compute_config(intel_dp, pipe_config);
+ if (ret)
+ return ret;
+
drm_dbg_kms(display->drm,
"DP lane count %d clock %d bpp input %d compressed " FXP_Q4_FMT " HDR %s link rate required %d available %d\n",
pipe_config->lane_count, pipe_config->port_clock,
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 13/29] drm/i915/dp: Disable the PCON DSC encoder unless it is needed
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (11 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 12/29] drm/i915/dp: Compute the PCON DSC operation Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 14/29] drm/i915/dp: Clamp PCON DSC bpp to the FRL link bandwidth Ankit Nautiyal
` (19 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
The PCON DSC encoder is only used when the PCON decodes a DSC 1.1 stream
and encodes DSC 1.2a for the HDMI sink. Otherwise the PCON either
decodes the stream, or passes a DSC 1.2a stream through, or there is no
DSC at all.
Currently the encoder is enabled with PPS override parameters whenever
the PCON and the HDMI sink support DSC 1.2, even for streams that do not
need it, and it is never disabled again.
Program the encoder only for the decode and re-encode operation, and
explicitly disable it for all the other operations.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index e837645a6421..9f6cd726af26 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -4610,6 +4610,13 @@ intel_dp_pcon_dsc_configure(struct intel_dp *intel_dp,
!hdmi_is_dsc_1_2)
return;
+ if (crtc_state->pcon_config.dsc_op != INTEL_PCON_DSC_DECODE_ENCODE) {
+ ret = drm_dp_pcon_dsc_enc_disable(&intel_dp->aux);
+ if (ret < 0)
+ drm_dbg_kms(display->drm, "Failed to disable pcon DSC encoder\n");
+ return;
+ }
+
slice_height = intel_dp_pcon_dsc_enc_slice_height(crtc_state);
if (!slice_height)
return;
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 14/29] drm/i915/dp: Clamp PCON DSC bpp to the FRL link bandwidth
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (12 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 13/29] drm/i915/dp: Disable the PCON DSC encoder unless it is needed Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 15/29] drm/i915/dp: Add a helper for the DSC stream version Ankit Nautiyal
` (18 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
While configuring the PCON DSC encoder, intel_hdmi_dsc_get_bpp() picks
the highest compressed bpp that fits the sink's per-scanline chunk-bytes
limit. However it does not account for the FRL link bandwidth, so the
selected bpp can end up exceeding what the trained PCON/sink FRL link can
actually carry.
Add a parameter to limit the maximum bpp to what the link can carry. All
callers pass 0 for now, which means no limit.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 2 +-
drivers/gpu/drm/i915/display/intel_hdmi.c | 8 +++++++-
drivers/gpu/drm/i915/display/intel_hdmi.h | 3 ++-
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 9f6cd726af26..1b61f36adaa7 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -4578,7 +4578,7 @@ intel_dp_pcon_dsc_enc_bpp(struct intel_dp *intel_dp,
return intel_hdmi_dsc_get_bpp(pcon_fractional_bpp, slice_width,
num_slices, output_format, bpc, hdmi_all_bpp,
- hdmi_max_chunk_bytes);
+ hdmi_max_chunk_bytes, 0);
}
void
diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.c b/drivers/gpu/drm/i915/display/intel_hdmi.c
index 09c8d5b92b1c..6763275bb262 100644
--- a/drivers/gpu/drm/i915/display/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/display/intel_hdmi.c
@@ -3458,13 +3458,15 @@ get_dsc_compressed_bpp(enum intel_output_format output_format, int bpc,
* @bpc: bits per color
* @hdmi_all_bpp: sink supports decoding of 1/16th bpp setting
* @hdmi_max_chunk_bytes: max bytes in a line of chunks supported by sink
+ * @max_link_dsc_bpp: max compressed bpp the link bandwidth can carry, or 0 if not limited
*
* @return: compressed bits_per_pixel in step of 1/16 of bits_per_pixel
*/
int
intel_hdmi_dsc_get_bpp(int src_fractional_bpp, int slice_width, int num_slices,
enum intel_output_format output_format, int bpc,
- bool hdmi_all_bpp, int hdmi_max_chunk_bytes)
+ bool hdmi_all_bpp, int hdmi_max_chunk_bytes,
+ int max_link_dsc_bpp)
{
int max_dsc_bpp, min_dsc_bpp;
int dsc_bpp_x16;
@@ -3472,6 +3474,10 @@ intel_hdmi_dsc_get_bpp(int src_fractional_bpp, int slice_width, int num_slices,
intel_hdmi_dsc_get_min_max_bpp(output_format, bpc, hdmi_all_bpp,
&min_dsc_bpp, &max_dsc_bpp);
+ /* Limit the bpp to what the link bandwidth can carry */
+ if (max_link_dsc_bpp)
+ max_dsc_bpp = min(max_dsc_bpp, max_link_dsc_bpp);
+
dsc_bpp_x16 = get_dsc_compressed_bpp(output_format, bpc,
num_slices, slice_width,
hdmi_max_chunk_bytes,
diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.h b/drivers/gpu/drm/i915/display/intel_hdmi.h
index 375f1b4decfb..acc025ae507c 100644
--- a/drivers/gpu/drm/i915/display/intel_hdmi.h
+++ b/drivers/gpu/drm/i915/display/intel_hdmi.h
@@ -56,7 +56,8 @@ bool intel_hdmi_bpc_possible(const struct intel_crtc_state *crtc_state,
int intel_hdmi_tmds_clock(int clock, int bpc, enum intel_output_format sink_format);
int intel_hdmi_dsc_get_bpp(int src_fractional_bpp, int slice_width,
int num_slices, enum intel_output_format output_format,
- int bpc, bool hdmi_all_bpp, int hdmi_max_chunk_bytes);
+ int bpc, bool hdmi_all_bpp, int hdmi_max_chunk_bytes,
+ int max_link_dsc_bpp);
void intel_hdmi_dsc_get_min_max_bpp(enum intel_output_format output_format, u8 bpc,
bool hdmi_all_bpp, int *min_dsc_bpp, int *max_dsc_bpp);
bool intel_hdmi_dsc_bpp_fits_chunk_bytes(int bpp, int num_slices, int slice_width,
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 15/29] drm/i915/dp: Add a helper for the DSC stream version
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (13 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 14/29] drm/i915/dp: Clamp PCON DSC bpp to the FRL link bandwidth Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 16/29] drm/i915/dp: Add a helper for the FRL payload bandwidth Ankit Nautiyal
` (17 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
The DSC version of the stream the source sends is the lower of the
source and sink versions. This is open coded twice. Add a helper for it,
so that the following changes can use it as well.
No functional change.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 1b61f36adaa7..14df2cebd17c 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -1984,6 +1984,15 @@ static int intel_dp_sink_dsc_version_minor(const u8 dsc_dpcd[DP_DSC_RECEIVER_CAP
DP_DSC_MINOR_SHIFT;
}
+/* The DSC version of the stream the source sends: the lower of the source and sink versions */
+static int intel_dp_dsc_stream_version_minor(const struct intel_connector *connector)
+{
+ struct intel_display *display = to_intel_display(connector);
+
+ return min(intel_dp_source_dsc_version_minor(display),
+ intel_dp_sink_dsc_version_minor(connector->dp.dsc_dpcd));
+}
+
static int intel_dp_get_slice_height(int vactive)
{
int slice_height;
@@ -2031,9 +2040,7 @@ static int intel_dp_dsc_compute_params(const struct intel_connector *connector,
vdsc_cfg->dsc_version_major =
(connector->dp.dsc_dpcd[DP_DSC_REV - DP_DSC_SUPPORT] &
DP_DSC_MAJOR_MASK) >> DP_DSC_MAJOR_SHIFT;
- vdsc_cfg->dsc_version_minor =
- min(intel_dp_source_dsc_version_minor(display),
- intel_dp_sink_dsc_version_minor(connector->dp.dsc_dpcd));
+ vdsc_cfg->dsc_version_minor = intel_dp_dsc_stream_version_minor(connector);
if (vdsc_cfg->convert_rgb)
vdsc_cfg->convert_rgb =
connector->dp.dsc_dpcd[DP_DSC_DEC_COLOR_FORMAT_CAP - DP_DSC_SUPPORT] &
@@ -2057,7 +2064,6 @@ static int intel_dp_dsc_compute_params(const struct intel_connector *connector,
static bool intel_dp_dsc_supports_format(const struct intel_connector *connector,
enum intel_output_format output_format)
{
- struct intel_display *display = to_intel_display(connector);
u8 sink_dsc_format;
switch (output_format) {
@@ -2068,8 +2074,7 @@ static bool intel_dp_dsc_supports_format(const struct intel_connector *connector
sink_dsc_format = DP_DSC_YCbCr444;
break;
case INTEL_OUTPUT_FORMAT_YCBCR420:
- if (min(intel_dp_source_dsc_version_minor(display),
- intel_dp_sink_dsc_version_minor(connector->dp.dsc_dpcd)) < 2)
+ if (intel_dp_dsc_stream_version_minor(connector) < 2)
return false;
sink_dsc_format = DP_DSC_YCbCr420_Native;
break;
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 16/29] drm/i915/dp: Add a helper for the FRL payload bandwidth
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (14 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 15/29] drm/i915/dp: Add a helper for the DSC stream version Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 17/29] drm/i915/dp: Compute the PCON DSC encoder parameters Ankit Nautiyal
` (16 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
The payload bandwidth of the HDMI FRL link is limited by both the PCON
and the HDMI 2.1 sink. Add a helper for it, so that the following
changes can use it as well.
No functional change.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 14df2cebd17c..07ce99829303 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -1190,6 +1190,18 @@ static int frl_required_bw(int clock, int bpc,
return clock * bpc * 3;
}
+/*
+ * Both the PCON and the HDMI 2.1 sink limit the FRL rate. FRL uses 16b/18b
+ * line coding, so only 16/18 of the raw rate carries payload. Returns kbps.
+ */
+static int intel_dp_hdmi_frl_payload_bw(struct intel_dp *intel_dp)
+{
+ int max_frl_rate = min(intel_dp->dfp.pcon_max_frl_bw,
+ intel_dp_hdmi_sink_max_frl(intel_dp));
+
+ return max_frl_rate * 1000000 * 16 / 18;
+}
+
static enum drm_mode_status
intel_dp_frl_bw_valid(struct intel_dp *intel_dp, int target_clock,
int bpc, enum intel_output_format sink_format,
@@ -1204,14 +1216,7 @@ intel_dp_frl_bw_valid(struct intel_dp *intel_dp, int target_clock,
target_bw = frl_required_bw(target_clock, bpc, sink_format);
/* check for MAX FRL BW for both PCON and HDMI2.1 sink */
- max_frl_bw = min(intel_dp->dfp.pcon_max_frl_bw,
- intel_dp_hdmi_sink_max_frl(intel_dp));
-
- /*
- * Convert the rate from Gbps to kbps. FRL uses 16b/18b line coding, so
- * only 16/18 of the raw rate carries payload.
- */
- max_frl_bw = max_frl_bw * 1000000 * 16 / 18;
+ max_frl_bw = intel_dp_hdmi_frl_payload_bw(intel_dp);
/* #FIXME check bandwidth with DSC if both PCON and HDMI sink support DSC */
if (target_bw > max_frl_bw)
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 17/29] drm/i915/dp: Compute the PCON DSC encoder parameters
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (15 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 16/29] drm/i915/dp: Add a helper for the FRL payload bandwidth Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 18/29] drm/i915/dp: Retrain the PCON FRL link from the link check work Ankit Nautiyal
` (15 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
When the HDMI link needs DSC and the DP stream is a DSC 1.1 stream, the
PCON decodes it and encodes a DSC 1.2a stream for the HDMI sink. The
encoder parameters are the slice height and width, and the compressed
bpp. They describe the stream the HDMI sink receives, so compute them
for the sink format, within the bandwidth of the FRL link.
Do this when the DP link configuration is final, and store the result in
the crtc state, instead of deriving the parameters at enable time from
the stream going out of the pipe, whose format can differ from what the
HDMI sink gets. The enable path now only programs the stored values.
A DSC 1.2a stream can't be re-encoded by the PCON, so reject those. Modes
that need DSC on the HDMI link are not selectable yet, so there is no
change in behavior.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 194 +++++++++++++-----------
1 file changed, 105 insertions(+), 89 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 07ce99829303..0991f913100e 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -130,6 +130,7 @@ bool intel_dp_is_edp(struct intel_dp *intel_dp)
static void intel_dp_unset_edid(struct intel_dp *intel_dp);
static int intel_dp_hdmi_sink_max_frl(struct intel_dp *intel_dp);
static bool intel_dp_is_hdmi_2_1_sink(struct intel_dp *intel_dp);
+static int intel_dp_dsc_stream_version_minor(const struct intel_connector *connector);
/* Is link rate UHBR and thus 128b/132b? */
bool intel_dp_is_uhbr(const struct intel_crtc_state *crtc_state)
@@ -1232,6 +1233,69 @@ intel_dp_pcon_sink_support_frl(struct intel_dp *intel_dp)
intel_dp_hdmi_sink_max_frl(intel_dp);
}
+static bool intel_dp_pcon_can_encode_dsc(struct intel_dp *intel_dp)
+{
+ struct intel_connector *connector = intel_dp->attached_connector;
+
+ return intel_dp_is_hdmi_2_1_sink(intel_dp) &&
+ connector->base.display_info.hdmi.dsc_cap.v_1p2 &&
+ drm_dp_pcon_enc_is_dsc_1_2(intel_dp->pcon_dsc_dpcd);
+}
+
+/*
+ * Compute the PCON DSC encoder parameters for the stream sent to the HDMI
+ * sink, which is in @sink_format. @enc can be NULL to only check feasibility.
+ */
+static bool
+intel_dp_pcon_dsc_enc_compute(struct intel_dp *intel_dp,
+ const struct drm_display_mode *mode, int pixel_clock,
+ int bpc, enum intel_output_format sink_format,
+ struct intel_pcon_dsc_enc_config *enc)
+{
+ struct intel_connector *connector = intel_dp->attached_connector;
+ const struct drm_display_info *info = &connector->base.display_info;
+ int pcon_max_slices = drm_dp_pcon_dsc_max_slices(intel_dp->pcon_dsc_dpcd);
+ int pcon_max_slice_width = drm_dp_pcon_dsc_max_slice_width(intel_dp->pcon_dsc_dpcd);
+ int slice_height, num_slices, slice_width, max_link_dsc_bpp, bpp_x16;
+
+ if (!intel_dp_pcon_can_encode_dsc(intel_dp))
+ return false;
+
+ slice_height = intel_hdmi_dsc_get_slice_height(mode->vdisplay);
+ if (!slice_height)
+ return false;
+
+ num_slices = intel_hdmi_dsc_get_num_slices(mode, pixel_clock, sink_format,
+ pcon_max_slices, pcon_max_slice_width,
+ info->hdmi.dsc_cap.max_slices,
+ info->hdmi.dsc_cap.clk_per_slice);
+ if (!num_slices)
+ return false;
+
+ slice_width = DIV_ROUND_UP(mode->hdisplay, num_slices);
+
+ /* The compressed stream has to fit the FRL link */
+ max_link_dsc_bpp = intel_dp_hdmi_frl_payload_bw(intel_dp) / pixel_clock;
+ if (!max_link_dsc_bpp)
+ return false;
+
+ bpp_x16 = intel_hdmi_dsc_get_bpp(drm_dp_pcon_dsc_bpp_incr(intel_dp->pcon_dsc_dpcd),
+ slice_width, num_slices, sink_format, bpc,
+ info->hdmi.dsc_cap.all_bpp,
+ info->hdmi.dsc_cap.total_chunk_kbytes * 1024,
+ max_link_dsc_bpp);
+ if (!bpp_x16)
+ return false;
+
+ if (enc) {
+ enc->slice_height = slice_height;
+ enc->slice_width = slice_width;
+ enc->bpp_x16 = bpp_x16;
+ }
+
+ return true;
+}
+
static enum drm_mode_status
intel_dp_hdmi_bw_valid(struct intel_dp *intel_dp,
int target_clock, int bpc,
@@ -3026,14 +3090,44 @@ bool intel_dp_joiner_needs_dsc(struct intel_display *display,
static int
intel_dp_pcon_compute_config(struct intel_dp *intel_dp,
- struct intel_crtc_state *crtc_state)
+ struct intel_crtc_state *crtc_state,
+ bool respect_downstream_limits)
{
+ struct intel_display *display = to_intel_display(intel_dp);
+ struct intel_connector *connector = intel_dp->attached_connector;
+ const struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode;
+ int bpc = crtc_state->pipe_bpp / 3;
+
if (!intel_dp_is_hdmi_2_1_sink(intel_dp))
return 0;
if (crtc_state->dsc.compression_enable)
crtc_state->pcon_config.dsc_op = INTEL_PCON_DSC_DECODE;
+ if (!respect_downstream_limits || !intel_dp_pcon_sink_support_frl(intel_dp))
+ return 0;
+
+ if (intel_dp_frl_bw_valid(intel_dp, adjusted_mode->crtc_clock, bpc,
+ crtc_state->sink_format, true) == MODE_OK)
+ return 0;
+
+ /*
+ * The HDMI link needs DSC. The PCON can only get it from a compressed DP
+ * stream, and re-encoding is only valid for a DSC 1.1 stream.
+ */
+ if (!crtc_state->dsc.compression_enable ||
+ intel_dp_dsc_stream_version_minor(connector) >= 2 ||
+ !intel_dp_pcon_dsc_enc_compute(intel_dp, adjusted_mode,
+ adjusted_mode->crtc_clock, bpc,
+ crtc_state->sink_format,
+ &crtc_state->pcon_config.dsc_enc)) {
+ drm_dbg_kms(display->drm,
+ "HDMI link needs DSC, but the PCON can't provide it\n");
+ return -EINVAL;
+ }
+
+ crtc_state->pcon_config.dsc_op = INTEL_PCON_DSC_DECODE_ENCODE;
+
return 0;
}
@@ -3122,7 +3216,8 @@ intel_dp_compute_link_for_joined_pipes(struct intel_encoder *encoder,
return -EINVAL;
}
- ret = intel_dp_pcon_compute_config(intel_dp, pipe_config);
+ ret = intel_dp_pcon_compute_config(intel_dp, pipe_config,
+ respect_downstream_limits);
if (ret)
return ret;
@@ -4545,79 +4640,16 @@ void intel_dp_check_frl_training(struct intel_dp *intel_dp)
}
}
-static int
-intel_dp_pcon_dsc_enc_slice_height(const struct intel_crtc_state *crtc_state)
-{
- int vactive = crtc_state->hw.adjusted_mode.vdisplay;
-
- return intel_hdmi_dsc_get_slice_height(vactive);
-}
-
-static int
-intel_dp_pcon_dsc_enc_slices(struct intel_dp *intel_dp,
- const struct intel_crtc_state *crtc_state)
-{
- struct intel_connector *connector = intel_dp->attached_connector;
- const struct drm_display_info *info = &connector->base.display_info;
- int hdmi_throughput = info->hdmi.dsc_cap.clk_per_slice;
- int hdmi_max_slices = info->hdmi.dsc_cap.max_slices;
- int pcon_max_slices = drm_dp_pcon_dsc_max_slices(intel_dp->pcon_dsc_dpcd);
- int pcon_max_slice_width = drm_dp_pcon_dsc_max_slice_width(intel_dp->pcon_dsc_dpcd);
-
- return intel_hdmi_dsc_get_num_slices(&crtc_state->hw.adjusted_mode,
- crtc_state->hw.adjusted_mode.crtc_clock,
- crtc_state->output_format,
- pcon_max_slices,
- pcon_max_slice_width,
- hdmi_max_slices, hdmi_throughput);
-}
-
-static int
-intel_dp_pcon_dsc_enc_bpp(struct intel_dp *intel_dp,
- const struct intel_crtc_state *crtc_state,
- int num_slices, int slice_width)
-{
- struct intel_connector *connector = intel_dp->attached_connector;
- const struct drm_display_info *info = &connector->base.display_info;
- int output_format = crtc_state->output_format;
- bool hdmi_all_bpp = info->hdmi.dsc_cap.all_bpp;
- int pcon_fractional_bpp = drm_dp_pcon_dsc_bpp_incr(intel_dp->pcon_dsc_dpcd);
- int hdmi_max_chunk_bytes =
- info->hdmi.dsc_cap.total_chunk_kbytes * 1024;
- int bpc = crtc_state->pipe_bpp / 3;
-
- return intel_hdmi_dsc_get_bpp(pcon_fractional_bpp, slice_width,
- num_slices, output_format, bpc, hdmi_all_bpp,
- hdmi_max_chunk_bytes, 0);
-}
-
void
intel_dp_pcon_dsc_configure(struct intel_dp *intel_dp,
const struct intel_crtc_state *crtc_state)
{
struct intel_display *display = to_intel_display(intel_dp);
- struct intel_connector *connector = intel_dp->attached_connector;
- const struct drm_display_info *info;
+ const struct intel_pcon_dsc_enc_config *enc = &crtc_state->pcon_config.dsc_enc;
u8 pps_param[6];
- int slice_height;
- int slice_width;
- int num_slices;
- int bits_per_pixel;
int ret;
- bool hdmi_is_dsc_1_2;
-
- if (!intel_dp_is_hdmi_2_1_sink(intel_dp))
- return;
-
- if (!connector)
- return;
- info = &connector->base.display_info;
-
- hdmi_is_dsc_1_2 = info->hdmi.dsc_cap.v_1p2;
-
- if (!drm_dp_pcon_enc_is_dsc_1_2(intel_dp->pcon_dsc_dpcd) ||
- !hdmi_is_dsc_1_2)
+ if (!intel_dp_pcon_can_encode_dsc(intel_dp))
return;
if (crtc_state->pcon_config.dsc_op != INTEL_PCON_DSC_DECODE_ENCODE) {
@@ -4627,28 +4659,12 @@ intel_dp_pcon_dsc_configure(struct intel_dp *intel_dp,
return;
}
- slice_height = intel_dp_pcon_dsc_enc_slice_height(crtc_state);
- if (!slice_height)
- return;
-
- num_slices = intel_dp_pcon_dsc_enc_slices(intel_dp, crtc_state);
- if (!num_slices)
- return;
-
- slice_width = DIV_ROUND_UP(crtc_state->hw.adjusted_mode.hdisplay,
- num_slices);
-
- bits_per_pixel = intel_dp_pcon_dsc_enc_bpp(intel_dp, crtc_state,
- num_slices, slice_width);
- if (!bits_per_pixel)
- return;
-
- pps_param[0] = slice_height & 0xFF;
- pps_param[1] = slice_height >> 8;
- pps_param[2] = slice_width & 0xFF;
- pps_param[3] = slice_width >> 8;
- pps_param[4] = bits_per_pixel & 0xFF;
- pps_param[5] = (bits_per_pixel >> 8) & 0x3;
+ pps_param[0] = enc->slice_height & 0xFF;
+ pps_param[1] = enc->slice_height >> 8;
+ pps_param[2] = enc->slice_width & 0xFF;
+ pps_param[3] = enc->slice_width >> 8;
+ pps_param[4] = enc->bpp_x16 & 0xFF;
+ pps_param[5] = (enc->bpp_x16 >> 8) & 0x3;
ret = drm_dp_pcon_pps_override_param(&intel_dp->aux, pps_param);
if (ret < 0)
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 18/29] drm/i915/dp: Retrain the PCON FRL link from the link check work
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (16 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 17/29] drm/i915/dp: Compute the PCON DSC encoder parameters Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:46 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 19/29] drm/i915/dp: Store the PCON FRL rate in the crtc state Ankit Nautiyal
` (14 subsequent siblings)
32 siblings, 1 reply; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
When the HDMI link of a PCON goes down while the stream is active, the
HDMI link status change handler restarts the FRL training, or falls back
to TMDS mode, directly from the short pulse handling. That runs without
any modeset lock, so it can race with a modeset that trains the link as
well, and it has no access to the state of the active stream.
Queue the link check work instead, as it is done for the DP link
retraining, and restart the FRL training there, with the modeset locks
held and only if a stream is active. The work restarts the training only
if the FRL link is not trained and the HDMI link is not active, so it
does nothing after a fallback to TMDS mode.
This allows to use the state of the active stream for the training in
the following changes.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 43 ++++++++++++++++++-
drivers/gpu/drm/i915/display/intel_dp.h | 2 +
.../drm/i915/display/intel_dp_link_training.c | 5 ++-
3 files changed, 47 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 0991f913100e..61c2917e4b91 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -4640,6 +4640,42 @@ void intel_dp_check_frl_training(struct intel_dp *intel_dp)
}
}
+/*
+ * Restart FRL training after the HDMI link went down while the stream is
+ * active, or fall back to TMDS mode.
+ */
+int intel_dp_pcon_frl_recover(struct intel_encoder *encoder,
+ struct drm_modeset_acquire_ctx *ctx)
+{
+ struct intel_display *display = to_intel_display(encoder);
+ struct intel_dp *intel_dp = enc_to_intel_dp(encoder);
+ u8 pipe_mask;
+ int ret;
+
+ if (!(intel_dp->downstream_ports[2] & DP_PCON_SOURCE_CTL_MODE) ||
+ !intel_dp_is_hdmi_2_1_sink(intel_dp) ||
+ intel_dp->frl.is_trained ||
+ drm_dp_pcon_hdmi_link_active(&intel_dp->aux))
+ return 0;
+
+ /* The connection mutex may be held already by the link retraining */
+ ret = drm_modeset_lock(&display->drm->mode_config.connection_mutex, ctx);
+ if (ret && ret != -EALREADY)
+ return ret;
+
+ ret = intel_dp_get_active_pipes(intel_dp, ctx, &pipe_mask);
+ if (ret)
+ return ret;
+
+ /* Without an active stream the next enable trains the link */
+ if (pipe_mask == 0)
+ return 0;
+
+ intel_dp_check_frl_training(intel_dp);
+
+ return 0;
+}
+
void
intel_dp_pcon_dsc_configure(struct intel_dp *intel_dp,
const struct intel_crtc_state *crtc_state)
@@ -6063,8 +6099,11 @@ intel_dp_handle_hdmi_link_status_change(struct intel_dp *intel_dp)
intel_dp->frl.is_trained = false;
- /* Restart FRL training or fall back to TMDS mode */
- intel_dp_check_frl_training(intel_dp);
+ /*
+ * Restart FRL training or fall back to TMDS mode, from the link
+ * check work, where the modeset locks can be taken.
+ */
+ intel_encoder_link_check_queue_work(&dp_to_dig_port(intel_dp)->base, 0);
}
}
diff --git a/drivers/gpu/drm/i915/display/intel_dp.h b/drivers/gpu/drm/i915/display/intel_dp.h
index 1f4a3aff9abe..070f6229cc39 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.h
+++ b/drivers/gpu/drm/i915/display/intel_dp.h
@@ -188,6 +188,8 @@ void intel_dp_sync_state(struct intel_encoder *encoder,
const struct intel_crtc_state *crtc_state);
void intel_dp_check_frl_training(struct intel_dp *intel_dp);
+int intel_dp_pcon_frl_recover(struct intel_encoder *encoder,
+ struct drm_modeset_acquire_ctx *ctx);
void intel_dp_pcon_dsc_configure(struct intel_dp *intel_dp,
const struct intel_crtc_state *crtc_state);
diff --git a/drivers/gpu/drm/i915/display/intel_dp_link_training.c b/drivers/gpu/drm/i915/display/intel_dp_link_training.c
index ac1aff6edf05..4f7c061223a3 100644
--- a/drivers/gpu/drm/i915/display/intel_dp_link_training.c
+++ b/drivers/gpu/drm/i915/display/intel_dp_link_training.c
@@ -2627,8 +2627,11 @@ void intel_dp_link_check(struct intel_encoder *encoder)
struct drm_modeset_acquire_ctx ctx;
int ret;
- intel_modeset_lock_ctx_retry(&ctx, NULL, 0, ret)
+ intel_modeset_lock_ctx_retry(&ctx, NULL, 0, ret) {
ret = intel_dp_retrain_link(encoder, &ctx);
+ if (!ret)
+ ret = intel_dp_pcon_frl_recover(encoder, &ctx);
+ }
}
void intel_dp_check_link_state(struct intel_dp *intel_dp)
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 19/29] drm/i915/dp: Store the PCON FRL rate in the crtc state
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (17 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 18/29] drm/i915/dp: Retrain the PCON FRL link from the link check work Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:39 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 20/29] drm/i915/dp: Use the FRL rate of the stream on the HDMI link Ankit Nautiyal
` (13 subsequent siblings)
32 siblings, 1 reply; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
The FRL training derives the max rate to train the HDMI link at from the
capabilities of the PCON and the HDMI sink, regardless of the stream
that is going to be sent. The rate the stream needs can depend on the
PCON DSC operation, which is only known once the DP link is computed.
Compute the FRL rate together with the PCON DSC operation, store it in
the crtc state and train the link at that rate. For now this is still
the lower of the PCON and sink max rates, so there is no change in
behavior.
A link that is already trained is kept only if it was trained at least
at the rate the new stream needs, otherwise train it again.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/g4x_dp.c | 2 +-
.../drm/i915/display/intel_crtc_state_dump.c | 5 ++-
drivers/gpu/drm/i915/display/intel_ddi.c | 4 +-
.../drm/i915/display/intel_display_types.h | 2 +
drivers/gpu/drm/i915/display/intel_dp.c | 38 +++++++++++--------
drivers/gpu/drm/i915/display/intel_dp.h | 3 +-
6 files changed, 33 insertions(+), 21 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/g4x_dp.c b/drivers/gpu/drm/i915/display/g4x_dp.c
index b867443ff227..f8ac6d51f6ff 100644
--- a/drivers/gpu/drm/i915/display/g4x_dp.c
+++ b/drivers/gpu/drm/i915/display/g4x_dp.c
@@ -709,7 +709,7 @@ static void intel_enable_dp(struct intel_atomic_state *state,
intel_dp_set_power(intel_dp, DP_SET_POWER_D0);
intel_dp_configure_protocol_converter(intel_dp, pipe_config);
- intel_dp_check_frl_training(intel_dp);
+ intel_dp_check_frl_training(intel_dp, pipe_config);
intel_dp_pcon_dsc_configure(intel_dp, pipe_config);
intel_dp_start_link_train(state, intel_dp, pipe_config);
intel_dp_stop_link_train(intel_dp, pipe_config);
diff --git a/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c b/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
index 51e8f3688362..3c803371e54a 100644
--- a/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
+++ b/drivers/gpu/drm/i915/display/intel_crtc_state_dump.c
@@ -250,8 +250,9 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
str_enabled_disabled(pipe_config->fec_enable),
str_enabled_disabled(pipe_config->enhanced_framing));
- drm_printf(&p, "pcon: dsc op %s\n",
- pcon_dsc_op_str[pipe_config->pcon_config.dsc_op]);
+ drm_printf(&p, "pcon: dsc op %s, frl rate: %d Gbps\n",
+ pcon_dsc_op_str[pipe_config->pcon_config.dsc_op],
+ pipe_config->pcon_config.frl_rate_gbps);
if (pipe_config->pcon_config.dsc_op == INTEL_PCON_DSC_DECODE_ENCODE)
drm_printf(&p,
"pcon dsc encoder: slice height: %u, slice width: %u, bpp_x16: %u\n",
diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display/intel_ddi.c
index e21c237b39f4..f8357574710c 100644
--- a/drivers/gpu/drm/i915/display/intel_ddi.c
+++ b/drivers/gpu/drm/i915/display/intel_ddi.c
@@ -2714,7 +2714,7 @@ static void mtl_ddi_pre_enable_dp(struct intel_atomic_state *state,
*/
intel_dp_sink_set_fec_ready(intel_dp, crtc_state, true);
- intel_dp_check_frl_training(intel_dp);
+ intel_dp_check_frl_training(intel_dp, crtc_state);
intel_dp_pcon_dsc_configure(intel_dp, crtc_state);
/*
@@ -2876,7 +2876,7 @@ static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state,
*/
intel_dp_sink_set_fec_ready(intel_dp, crtc_state, true);
- intel_dp_check_frl_training(intel_dp);
+ intel_dp_check_frl_training(intel_dp, crtc_state);
intel_dp_pcon_dsc_configure(intel_dp, crtc_state);
/*
diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h b/drivers/gpu/drm/i915/display/intel_display_types.h
index 429a071afad5..20f3b29f6e17 100644
--- a/drivers/gpu/drm/i915/display/intel_display_types.h
+++ b/drivers/gpu/drm/i915/display/intel_display_types.h
@@ -1407,6 +1407,8 @@ struct intel_crtc_state {
enum intel_pcon_dsc_op dsc_op;
/* Only valid for INTEL_PCON_DSC_DECODE_ENCODE */
struct intel_pcon_dsc_enc_config dsc_enc;
+ /* Max FRL rate in Gbps to train the HDMI link at, 0 if no FRL */
+ int frl_rate_gbps;
} pcon_config;
/* DP tunnel used for BW allocation. */
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 61c2917e4b91..ff6fb5eca166 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -3101,6 +3101,9 @@ intel_dp_pcon_compute_config(struct intel_dp *intel_dp,
if (!intel_dp_is_hdmi_2_1_sink(intel_dp))
return 0;
+ crtc_state->pcon_config.frl_rate_gbps =
+ min(intel_dp->dfp.pcon_max_frl_bw, intel_dp_hdmi_sink_max_frl(intel_dp));
+
if (crtc_state->dsc.compression_enable)
crtc_state->pcon_config.dsc_op = INTEL_PCON_DSC_DECODE;
@@ -4510,23 +4513,19 @@ intel_dp_pcon_is_frl_trained(struct intel_dp *intel_dp,
return false;
}
-static int intel_dp_pcon_start_frl_training(struct intel_dp *intel_dp)
+static int intel_dp_pcon_start_frl_training(struct intel_dp *intel_dp,
+ const struct intel_crtc_state *crtc_state)
{
struct intel_display *display = to_intel_display(intel_dp);
#define TIMEOUT_FRL_READY_MS 500
#define TIMEOUT_HDMI_LINK_ACTIVE_MS 1000
- int max_frl_bw, max_pcon_frl_bw, max_edid_frl_bw, ret;
+ int max_frl_bw, ret;
u8 max_frl_bw_mask = 0, frl_trained_mask;
bool is_active;
- max_pcon_frl_bw = intel_dp->dfp.pcon_max_frl_bw;
- drm_dbg(display->drm, "PCON max rate = %d Gbps\n", max_pcon_frl_bw);
-
- max_edid_frl_bw = intel_dp_hdmi_sink_max_frl(intel_dp);
- drm_dbg(display->drm, "Sink max rate from EDID = %d Gbps\n",
- max_edid_frl_bw);
-
- max_frl_bw = min(max_edid_frl_bw, max_pcon_frl_bw);
+ max_frl_bw = crtc_state->pcon_config.frl_rate_gbps;
+ drm_dbg(display->drm, "FRL max rate = %d Gbps (PCON max rate = %d Gbps)\n",
+ max_frl_bw, intel_dp->dfp.pcon_max_frl_bw);
if (max_frl_bw <= 0)
return -EINVAL;
@@ -4610,7 +4609,8 @@ int intel_dp_pcon_set_tmds_mode(struct intel_dp *intel_dp)
return 0;
}
-void intel_dp_check_frl_training(struct intel_dp *intel_dp)
+void intel_dp_check_frl_training(struct intel_dp *intel_dp,
+ const struct intel_crtc_state *crtc_state)
{
struct intel_display *display = to_intel_display(intel_dp);
@@ -4620,11 +4620,15 @@ void intel_dp_check_frl_training(struct intel_dp *intel_dp)
* -sink is HDMI2.1
*/
if (!(intel_dp->downstream_ports[2] & DP_PCON_SOURCE_CTL_MODE) ||
- !intel_dp_is_hdmi_2_1_sink(intel_dp) ||
- intel_dp->frl.is_trained)
+ !intel_dp_is_hdmi_2_1_sink(intel_dp))
return;
- if (intel_dp_pcon_start_frl_training(intel_dp) < 0) {
+ /* A link trained at a lower rate than the stream needs has to be retrained */
+ if (intel_dp->frl.is_trained &&
+ intel_dp->frl.trained_rate_gbps >= crtc_state->pcon_config.frl_rate_gbps)
+ return;
+
+ if (intel_dp_pcon_start_frl_training(intel_dp, crtc_state) < 0) {
int ret, mode;
drm_dbg(display->drm,
@@ -4649,6 +4653,7 @@ int intel_dp_pcon_frl_recover(struct intel_encoder *encoder,
{
struct intel_display *display = to_intel_display(encoder);
struct intel_dp *intel_dp = enc_to_intel_dp(encoder);
+ struct intel_crtc *crtc;
u8 pipe_mask;
int ret;
@@ -4671,7 +4676,10 @@ int intel_dp_pcon_frl_recover(struct intel_encoder *encoder,
if (pipe_mask == 0)
return 0;
- intel_dp_check_frl_training(intel_dp);
+ /* The stream is on the pipe of the connector's CRTC, locked above */
+ crtc = intel_crtc_for_pipe(display, ffs(pipe_mask) - 1);
+
+ intel_dp_check_frl_training(intel_dp, to_intel_crtc_state(crtc->base.state));
return 0;
}
diff --git a/drivers/gpu/drm/i915/display/intel_dp.h b/drivers/gpu/drm/i915/display/intel_dp.h
index 070f6229cc39..83954c2c28e6 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.h
+++ b/drivers/gpu/drm/i915/display/intel_dp.h
@@ -187,7 +187,8 @@ bool intel_dp_initial_fastset_check(struct intel_encoder *encoder,
void intel_dp_sync_state(struct intel_encoder *encoder,
const struct intel_crtc_state *crtc_state);
-void intel_dp_check_frl_training(struct intel_dp *intel_dp);
+void intel_dp_check_frl_training(struct intel_dp *intel_dp,
+ const struct intel_crtc_state *crtc_state);
int intel_dp_pcon_frl_recover(struct intel_encoder *encoder,
struct drm_modeset_acquire_ctx *ctx);
void intel_dp_pcon_dsc_configure(struct intel_dp *intel_dp,
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 20/29] drm/i915/dp: Use the FRL rate of the stream on the HDMI link
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (18 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 19/29] drm/i915/dp: Store the PCON FRL rate in the crtc state Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:43 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 21/29] drm/i915/dp: Allow PCON DSC modes through the FRL bw check Ankit Nautiyal
` (12 subsequent siblings)
32 siblings, 1 reply; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
The HDMI sink has two max FRL rates: one for uncompressed video and a
separate, possibly lower one for compressed video transport. The FRL
training is sticky, so it can train the link only at a single rate, and
the max rate helper returned the lower of the two whenever the PCON has
a DSC encoder, even if the HDMI link carries an uncompressed stream.
That drops modes that fit the link uncompressed at the regular rate.
Pass to the helpers whether the stream on the HDMI link is compressed,
and use the regular max rate for an uncompressed stream and the sink DSC
max rate for a compressed one. The capability checks and the
bandwidth check for an uncompressed stream use the regular rate, the
check for a compressed stream the DSC rate. Store the rate matching the
PCON DSC operation in the crtc state, which the FRL training uses.
As a result, modes that fit the HDMI link uncompressed at the regular
max rate of a sink with a lower DSC max rate are not dropped any more
for a PCON with a DSC encoder.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 44 ++++++++++++++-----------
1 file changed, 25 insertions(+), 19 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index ff6fb5eca166..7d3b5f35c206 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -128,7 +128,7 @@ bool intel_dp_is_edp(struct intel_dp *intel_dp)
}
static void intel_dp_unset_edid(struct intel_dp *intel_dp);
-static int intel_dp_hdmi_sink_max_frl(struct intel_dp *intel_dp);
+static int intel_dp_hdmi_sink_max_frl(struct intel_dp *intel_dp, bool dsc);
static bool intel_dp_is_hdmi_2_1_sink(struct intel_dp *intel_dp);
static int intel_dp_dsc_stream_version_minor(const struct intel_connector *connector);
@@ -1192,15 +1192,22 @@ static int frl_required_bw(int clock, int bpc,
}
/*
- * Both the PCON and the HDMI 2.1 sink limit the FRL rate. FRL uses 16b/18b
- * line coding, so only 16/18 of the raw rate carries payload. Returns kbps.
+ * Both the PCON and the HDMI 2.1 sink limit the FRL rate. The sink has a
+ * separate limit for @dsc, a compressed stream on the HDMI link.
*/
-static int intel_dp_hdmi_frl_payload_bw(struct intel_dp *intel_dp)
+static int intel_dp_pcon_max_frl_rate(struct intel_dp *intel_dp, bool dsc)
{
- int max_frl_rate = min(intel_dp->dfp.pcon_max_frl_bw,
- intel_dp_hdmi_sink_max_frl(intel_dp));
+ return min(intel_dp->dfp.pcon_max_frl_bw,
+ intel_dp_hdmi_sink_max_frl(intel_dp, dsc));
+}
- return max_frl_rate * 1000000 * 16 / 18;
+/*
+ * FRL uses 16b/18b line coding, so only 16/18 of the raw rate carries
+ * payload. Returns kbps.
+ */
+static int intel_dp_hdmi_frl_payload_bw(struct intel_dp *intel_dp, bool dsc)
+{
+ return intel_dp_pcon_max_frl_rate(intel_dp, dsc) * 1000000 * 16 / 18;
}
static enum drm_mode_status
@@ -1217,7 +1224,7 @@ intel_dp_frl_bw_valid(struct intel_dp *intel_dp, int target_clock,
target_bw = frl_required_bw(target_clock, bpc, sink_format);
/* check for MAX FRL BW for both PCON and HDMI2.1 sink */
- max_frl_bw = intel_dp_hdmi_frl_payload_bw(intel_dp);
+ max_frl_bw = intel_dp_hdmi_frl_payload_bw(intel_dp, false);
/* #FIXME check bandwidth with DSC if both PCON and HDMI sink support DSC */
if (target_bw > max_frl_bw)
@@ -1230,7 +1237,7 @@ static bool
intel_dp_pcon_sink_support_frl(struct intel_dp *intel_dp)
{
return intel_dp->dfp.pcon_max_frl_bw &&
- intel_dp_hdmi_sink_max_frl(intel_dp);
+ intel_dp_hdmi_sink_max_frl(intel_dp, false);
}
static bool intel_dp_pcon_can_encode_dsc(struct intel_dp *intel_dp)
@@ -1275,7 +1282,7 @@ intel_dp_pcon_dsc_enc_compute(struct intel_dp *intel_dp,
slice_width = DIV_ROUND_UP(mode->hdisplay, num_slices);
/* The compressed stream has to fit the FRL link */
- max_link_dsc_bpp = intel_dp_hdmi_frl_payload_bw(intel_dp) / pixel_clock;
+ max_link_dsc_bpp = intel_dp_hdmi_frl_payload_bw(intel_dp, true) / pixel_clock;
if (!max_link_dsc_bpp)
return false;
@@ -3101,8 +3108,8 @@ intel_dp_pcon_compute_config(struct intel_dp *intel_dp,
if (!intel_dp_is_hdmi_2_1_sink(intel_dp))
return 0;
- crtc_state->pcon_config.frl_rate_gbps =
- min(intel_dp->dfp.pcon_max_frl_bw, intel_dp_hdmi_sink_max_frl(intel_dp));
+ /* The HDMI link carries an uncompressed stream, unless the PCON compresses it */
+ crtc_state->pcon_config.frl_rate_gbps = intel_dp_pcon_max_frl_rate(intel_dp, false);
if (crtc_state->dsc.compression_enable)
crtc_state->pcon_config.dsc_op = INTEL_PCON_DSC_DECODE;
@@ -3130,6 +3137,7 @@ intel_dp_pcon_compute_config(struct intel_dp *intel_dp,
}
crtc_state->pcon_config.dsc_op = INTEL_PCON_DSC_DECODE_ENCODE;
+ crtc_state->pcon_config.frl_rate_gbps = intel_dp_pcon_max_frl_rate(intel_dp, true);
return 0;
}
@@ -4481,7 +4489,7 @@ static int intel_dp_pcon_set_frl_mask(int max_frl)
return 0;
}
-static int intel_dp_hdmi_sink_max_frl(struct intel_dp *intel_dp)
+static int intel_dp_hdmi_sink_max_frl(struct intel_dp *intel_dp, bool dsc)
{
struct intel_connector *connector = intel_dp->attached_connector;
struct drm_connector *drm_connector = &connector->base;
@@ -4490,12 +4498,10 @@ static int intel_dp_hdmi_sink_max_frl(struct intel_dp *intel_dp)
/*
* The sink's DSC max FRL rate only applies to compressed video
- * transport, which requires a DSC 1.2 encoder in the PCON. Without
- * one the HDMI link always carries uncompressed video, for which
- * the regular max FRL rate is the limit.
+ * transport. For uncompressed video the regular max FRL rate is the
+ * limit.
*/
- if (drm_dp_pcon_enc_is_dsc_1_2(intel_dp->pcon_dsc_dpcd) &&
- dsc_max_frl_rate)
+ if (dsc && dsc_max_frl_rate)
return min(max_frl_rate, dsc_max_frl_rate);
return max_frl_rate;
@@ -4581,7 +4587,7 @@ static bool intel_dp_is_hdmi_2_1_sink(struct intel_dp *intel_dp)
{
if (drm_dp_is_branch(intel_dp->dpcd) &&
intel_dp_has_hdmi_sink(intel_dp) &&
- intel_dp_hdmi_sink_max_frl(intel_dp) > 0)
+ intel_dp_hdmi_sink_max_frl(intel_dp, false) > 0)
return true;
return false;
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 21/29] drm/i915/dp: Allow PCON DSC modes through the FRL bw check
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (19 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 20/29] drm/i915/dp: Use the FRL rate of the stream on the HDMI link Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:48 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 22/29] drm/i915/dp: Enable DSC pass-through in the PCON Ankit Nautiyal
` (11 subsequent siblings)
32 siblings, 1 reply; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
The FRL bandwidth check rejects every mode whose uncompressed bandwidth
exceeds the FRL rate, even though an HDMI 2.1 PCON can decode a DSC 1.1
stream and encode DSC 1.2a for the HDMI sink. High bandwidth modes (e.g.
4k120, 8k60) get pruned for such PCONs, although the PCON and the sink
can carry them.
Accept such a mode if the HDMI link can carry it compressed, and the DP
stream can be compressed too: the PCON can't encode an uncompressed
stream. Do the same when selecting the bpc, but only in the pass that
compresses the DP stream, and only if no bpc fits the HDMI link
uncompressed, so that the HDMI link stays uncompressed whenever it can.
This takes care of the FIXME in the FRL bandwidth check.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 59 ++++++++++++++++++++++---
1 file changed, 53 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 7d3b5f35c206..2d5587ec923c 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -1226,7 +1226,6 @@ intel_dp_frl_bw_valid(struct intel_dp *intel_dp, int target_clock,
/* check for MAX FRL BW for both PCON and HDMI2.1 sink */
max_frl_bw = intel_dp_hdmi_frl_payload_bw(intel_dp, false);
- /* #FIXME check bandwidth with DSC if both PCON and HDMI sink support DSC */
if (target_bw > max_frl_bw)
return MODE_CLOCK_HIGH;
@@ -1303,6 +1302,23 @@ intel_dp_pcon_dsc_enc_compute(struct intel_dp *intel_dp,
return true;
}
+/*
+ * Whether the PCON can compress a stream that doesn't fit the HDMI FRL link
+ * uncompressed. The DP stream has to be compressed for that as well.
+ */
+static bool
+intel_dp_hdmi_dsc_possible(struct intel_dp *intel_dp,
+ const struct drm_display_mode *mode, int pixel_clock,
+ int bpc, enum intel_output_format sink_format)
+{
+ struct intel_connector *connector = intel_dp->attached_connector;
+
+ return intel_dp_pcon_sink_support_frl(intel_dp) &&
+ intel_dp_dsc_stream_version_minor(connector) < 2 &&
+ intel_dp_pcon_dsc_enc_compute(intel_dp, mode, pixel_clock, bpc,
+ sink_format, NULL);
+}
+
static enum drm_mode_status
intel_dp_hdmi_bw_valid(struct intel_dp *intel_dp,
int target_clock, int bpc,
@@ -1326,12 +1342,22 @@ intel_dp_mode_valid_downstream(struct intel_connector *connector,
{
struct intel_dp *intel_dp = intel_attached_dp(connector);
int bpc = 8; /* Assume 8bpc for the DP++/HDMI/DVI TMDS/FRL bw check */
+ enum drm_mode_status status;
if (intel_dp->dfp.max_dotclock &&
target_clock > intel_dp->dfp.max_dotclock)
return MODE_CLOCK_HIGH;
- return intel_dp_hdmi_bw_valid(intel_dp, target_clock, bpc, sink_format, true);
+ status = intel_dp_hdmi_bw_valid(intel_dp, target_clock, bpc, sink_format, true);
+ if (status != MODE_CLOCK_HIGH)
+ return status;
+
+ /* The PCON may be able to compress the stream for the HDMI link */
+ if (intel_dp_has_dsc(connector) &&
+ intel_dp_hdmi_dsc_possible(intel_dp, mode, target_clock, bpc, sink_format))
+ return MODE_OK;
+
+ return status;
}
static enum drm_mode_status
@@ -1836,9 +1862,11 @@ bool intel_dp_supports_dsc(struct intel_dp *intel_dp,
static int intel_dp_hdmi_compute_bpc(struct intel_dp *intel_dp,
const struct intel_crtc_state *crtc_state,
- int bpc, bool respect_downstream_limits)
+ int bpc, bool respect_downstream_limits,
+ bool dsc)
{
int clock = crtc_state->hw.adjusted_mode.crtc_clock;
+ int max_bpc;
/*
* Current bpc could already be below 8bpc due to
@@ -1855,6 +1883,8 @@ static int intel_dp_hdmi_compute_bpc(struct intel_dp *intel_dp,
if (!respect_downstream_limits)
bpc = 8;
+ max_bpc = bpc;
+
for (; bpc >= 8; bpc -= 2) {
if (intel_hdmi_bpc_possible(crtc_state, bpc,
intel_dp_has_hdmi_sink(intel_dp)) &&
@@ -1863,12 +1893,27 @@ static int intel_dp_hdmi_compute_bpc(struct intel_dp *intel_dp,
return bpc;
}
+ /*
+ * No bpc fits the HDMI link uncompressed. If the DP stream is compressed
+ * the PCON may be able to compress the stream for the HDMI link as well.
+ */
+ if (!dsc || !respect_downstream_limits)
+ return -EINVAL;
+
+ for (bpc = max_bpc; bpc >= 8; bpc -= 2) {
+ if (intel_hdmi_bpc_possible(crtc_state, bpc,
+ intel_dp_has_hdmi_sink(intel_dp)) &&
+ intel_dp_hdmi_dsc_possible(intel_dp, &crtc_state->hw.adjusted_mode,
+ clock, bpc, crtc_state->sink_format))
+ return bpc;
+ }
+
return -EINVAL;
}
static int intel_dp_max_bpp(struct intel_dp *intel_dp,
const struct intel_crtc_state *crtc_state,
- bool respect_downstream_limits)
+ bool respect_downstream_limits, bool dsc)
{
struct intel_display *display = to_intel_display(intel_dp);
struct intel_connector *connector = intel_dp->attached_connector;
@@ -1883,7 +1928,8 @@ static int intel_dp_max_bpp(struct intel_dp *intel_dp,
int max_hdmi_bpc;
max_hdmi_bpc = intel_dp_hdmi_compute_bpc(intel_dp, crtc_state, bpc,
- respect_downstream_limits);
+ respect_downstream_limits,
+ dsc);
if (max_hdmi_bpc < 0)
return 0;
@@ -2970,7 +3016,8 @@ intel_dp_compute_config_limits(struct intel_dp *intel_dp,
limits->pipe.max_bpp = min(crtc_state->max_pipe_bpp, 24);
} else {
limits->pipe.max_bpp = intel_dp_max_bpp(intel_dp, crtc_state,
- respect_downstream_limits);
+ respect_downstream_limits,
+ dsc);
}
if (!dsc && intel_dp_in_hdr_mode(conn_state)) {
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 22/29] drm/i915/dp: Enable DSC pass-through in the PCON
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (20 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 21/29] drm/i915/dp: Allow PCON DSC modes through the FRL bw check Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:38 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 23/29] drm/i915/dp: Limit the DP link bpp for DSC pass-through to the FRL bandwidth Ankit Nautiyal
` (10 subsequent siblings)
32 siblings, 1 reply; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
A PCON that passes a DSC 1.2a stream through to the HDMI sink must not
decode it: the source has to write DPCD 160h = 02h, setting only the
pass-through bit, and leave the decompression bit clear.
For SST the sink's AUX channel is the one of the PCON. When the stream
goes through the PCON, set the pass-through bit there instead of
enabling decompression, and clear it again when the stream is disabled.
No PCON DSC operation selects pass-through yet, so there is no change
in behavior.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 26 ++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 2d5587ec923c..9e69035a99eb 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -4175,6 +4175,18 @@ intel_dp_sink_set_dsc_passthrough(const struct intel_connector *connector,
str_enable_disable(enable));
}
+static void
+intel_dp_pcon_set_dsc_passthrough(struct intel_connector *connector, bool enable)
+{
+ struct intel_display *display = to_intel_display(connector);
+
+ if (write_dsc_decompression_flag(connector->dp.dsc_decompression_aux,
+ DP_DSC_PASSTHROUGH_EN, enable) < 0)
+ drm_dbg_kms(display->drm,
+ "Failed to %s PCON DSC pass-through\n",
+ str_enable_disable(enable));
+}
+
static int intel_dp_dsc_aux_ref_count(struct intel_atomic_state *state,
const struct intel_connector *connector,
bool for_get_ref)
@@ -4245,7 +4257,8 @@ static bool intel_dp_dsc_aux_put_ref(struct intel_atomic_state *state,
* sink device, whereas on MST based on each device's DSC capabilities it's
* either the last branch device (enabling decompression in it) or both the
* last branch device (enabling passthrough in it) and the sink device
- * (enabling decompression in it).
+ * (enabling decompression in it). A PCON passing a DSC stream through to
+ * the HDMI sink gets passthrough enabled instead of decompression.
*/
void intel_dp_sink_enable_decompression(struct intel_atomic_state *state,
struct intel_connector *connector,
@@ -4264,6 +4277,12 @@ void intel_dp_sink_enable_decompression(struct intel_atomic_state *state,
if (!intel_dp_dsc_aux_get_ref(state, connector))
return;
+ /* A PCON passing the DSC stream through to the HDMI sink doesn't decode it */
+ if (new_crtc_state->pcon_config.dsc_op == INTEL_PCON_DSC_PASSTHROUGH) {
+ intel_dp_pcon_set_dsc_passthrough(connector, true);
+ return;
+ }
+
intel_dp_sink_set_dsc_passthrough(connector, true);
intel_dp_sink_set_dsc_decompression(connector, true);
}
@@ -4295,6 +4314,11 @@ void intel_dp_sink_disable_decompression(struct intel_atomic_state *state,
if (!intel_dp_dsc_aux_put_ref(state, connector))
return;
+ if (old_crtc_state->pcon_config.dsc_op == INTEL_PCON_DSC_PASSTHROUGH) {
+ intel_dp_pcon_set_dsc_passthrough(connector, false);
+ return;
+ }
+
intel_dp_sink_set_dsc_decompression(connector, false);
intel_dp_sink_set_dsc_passthrough(connector, false);
}
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 23/29] drm/i915/dp: Limit the DP link bpp for DSC pass-through to the FRL bandwidth
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (21 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 22/29] drm/i915/dp: Enable DSC pass-through in the PCON Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 24/29] drm/i915/dp: Select DSC pass-through in the PCON for DSC 1.2a streams Ankit Nautiyal
` (9 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
When the PCON passes a DSC 1.2a stream through, the HDMI sink gets the
compressed stream of the source as is. The compressed bpp of the DP
stream therefore also has to fit the HDMI FRL link, which is not
checked when computing the DP link.
If the uncompressed stream doesn't fit the FRL link, limit the maximum
link bpp of the DSC pass to what the FRL link can carry. Fail the
limits computation if this leaves no valid bpp.
This applies to an HDMI 2.1 sink that supports DSC 1.2 behind a PCON
that advertises pass-through support, so add a helper for that
capability. Modes that need DSC on the HDMI link are not accepted for
a DSC 1.2a source yet, so there is no change in behavior.
The function returns bool like the other functions computing the link
config limits, true if the limits are valid. It cannot fail yet, the
following changes add more limits for which it can return false.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 55 +++++++++++++++++++++++--
1 file changed, 51 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 9e69035a99eb..9d662b5f7b47 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -1248,6 +1248,16 @@ static bool intel_dp_pcon_can_encode_dsc(struct intel_dp *intel_dp)
drm_dp_pcon_enc_is_dsc_1_2(intel_dp->pcon_dsc_dpcd);
}
+static bool intel_dp_pcon_can_passthrough_dsc(struct intel_dp *intel_dp)
+{
+ struct intel_connector *connector = intel_dp->attached_connector;
+
+ return intel_dp_is_hdmi_2_1_sink(intel_dp) &&
+ connector->base.display_info.hdmi.dsc_cap.v_1p2 &&
+ (connector->dp.dsc_dpcd[DP_DSC_SUPPORT - DP_DSC_SUPPORT] &
+ DP_DSC_PASSTHROUGH_IS_SUPPORTED);
+}
+
/*
* Compute the PCON DSC encoder parameters for the stream sent to the HDMI
* sink, which is in @sink_format. @enc can be NULL to only check feasibility.
@@ -2987,6 +2997,39 @@ intel_dp_compute_m_n_ratio_limits(struct intel_dp *intel_dp,
return true;
}
+/*
+ * The stream of a PCON passing DSC through is not recompressed, so it has to
+ * fit the HDMI FRL link as is. Limit the compressed bpp of the DP stream.
+ *
+ * This applies only if the HDMI link needs DSC and the DP stream is a DSC 1.2a
+ * stream, as passing it through is the only PCON operation possible then.
+ */
+static bool
+intel_dp_pcon_dsc_compute_passthrough_limits(struct intel_dp *intel_dp,
+ const struct intel_crtc_state *crtc_state,
+ struct link_config_limits *limits)
+{
+ struct intel_connector *connector = intel_dp->attached_connector;
+ const struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode;
+
+ if (!intel_dp_pcon_sink_support_frl(intel_dp) ||
+ !intel_dp_pcon_can_passthrough_dsc(intel_dp) ||
+ intel_dp_dsc_stream_version_minor(connector) < 2 ||
+ crtc_state->output_format != crtc_state->sink_format)
+ return true;
+
+ if (intel_dp_frl_bw_valid(intel_dp, adjusted_mode->crtc_clock,
+ limits->pipe.max_bpp / 3, crtc_state->sink_format,
+ true) == MODE_OK)
+ return true;
+
+ limits->link.max_bpp_x16 =
+ min(limits->link.max_bpp_x16,
+ intel_dp_hdmi_frl_payload_bw(intel_dp, true) * 16 / adjusted_mode->crtc_clock);
+
+ return true;
+}
+
bool
intel_dp_compute_config_limits(struct intel_dp *intel_dp,
struct drm_connector_state *conn_state,
@@ -3110,10 +3153,14 @@ intel_dp_compute_config_limits(struct intel_dp *intel_dp,
if (!intel_dp_test_compute_config(connector, crtc_state, limits))
return false;
- return intel_dp_compute_config_link_bpp_limits(connector,
- crtc_state,
- dsc,
- limits);
+ if (!intel_dp_compute_config_link_bpp_limits(connector, crtc_state, dsc, limits))
+ return false;
+
+ if (dsc && respect_downstream_limits &&
+ !intel_dp_pcon_dsc_compute_passthrough_limits(intel_dp, crtc_state, limits))
+ return false;
+
+ return limits->link.min_bpp_x16 <= limits->link.max_bpp_x16;
}
int intel_dp_config_required_rate(const struct intel_crtc_state *crtc_state)
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 24/29] drm/i915/dp: Select DSC pass-through in the PCON for DSC 1.2a streams
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (22 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 23/29] drm/i915/dp: Limit the DP link bpp for DSC pass-through to the FRL bandwidth Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 25/29] drm/i915/dp: Allow limiting the DSC slice count for the downstream device Ankit Nautiyal
` (8 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
When the HDMI link needs DSC, the PCON can only get it from a compressed
DP stream. It can pass a DSC 1.2a stream through to the HDMI sink, and
it can re-encode a DSC 1.1 stream, but only that.
Select the pass-through operation for a DSC 1.2a stream, if the PCON
supports it and the stream is one the HDMI sink can decode: the number
of slices, the compressed bpp and the chunk size have to be within the
limits of the HDMI sink, the format can't change, as the PCON can't
convert a compressed stream, and the stream has to fit the FRL link.
Otherwise fail the config as before.
This makes the PCON enable the DSC pass-through on the sink.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 83 ++++++++++++++++++++-----
1 file changed, 69 insertions(+), 14 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 9d662b5f7b47..83134be623cf 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -1312,6 +1312,52 @@ intel_dp_pcon_dsc_enc_compute(struct intel_dp *intel_dp,
return true;
}
+/*
+ * The PCON passes the DSC stream of the source to the HDMI sink as is, so
+ * the stream has to be one the HDMI sink can decode.
+ */
+static bool
+intel_dp_pcon_dsc_passthrough_ok(struct intel_dp *intel_dp,
+ const struct intel_crtc_state *crtc_state)
+{
+ struct intel_connector *connector = intel_dp->attached_connector;
+ const struct drm_display_info *info = &connector->base.display_info;
+ const struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode;
+ int num_slices = intel_dsc_line_slice_count(&crtc_state->dsc.slice_config);
+ int bpp_x16 = crtc_state->dsc.compressed_bpp_x16;
+ int bpc = crtc_state->pipe_bpp / 3;
+ int min_dsc_bpp, max_dsc_bpp;
+
+ if (!intel_dp_pcon_can_passthrough_dsc(intel_dp))
+ return false;
+
+ /* The PCON can't convert the format of a compressed stream */
+ if (crtc_state->output_format != crtc_state->sink_format)
+ return false;
+
+ if (num_slices > info->hdmi.dsc_cap.max_slices ||
+ !intel_hdmi_dsc_get_num_slices(adjusted_mode, adjusted_mode->crtc_clock,
+ crtc_state->sink_format, num_slices,
+ INT_MAX, info->hdmi.dsc_cap.max_slices,
+ info->hdmi.dsc_cap.clk_per_slice))
+ return false;
+
+ intel_hdmi_dsc_get_min_max_bpp(crtc_state->sink_format, bpc,
+ info->hdmi.dsc_cap.all_bpp,
+ &min_dsc_bpp, &max_dsc_bpp);
+ if (bpp_x16 < min_dsc_bpp * 16 || bpp_x16 > max_dsc_bpp * 16)
+ return false;
+
+ if (!intel_hdmi_dsc_bpp_fits_chunk_bytes(DIV_ROUND_UP(bpp_x16, 16), num_slices,
+ crtc_state->dsc.config.slice_width,
+ info->hdmi.dsc_cap.total_chunk_kbytes * 1024))
+ return false;
+
+ /* The compressed stream has to fit the FRL link */
+ return DIV_ROUND_UP(adjusted_mode->crtc_clock * bpp_x16, 16) <=
+ intel_dp_hdmi_frl_payload_bw(intel_dp, true);
+}
+
/*
* Whether the PCON can compress a stream that doesn't fit the HDMI FRL link
* uncompressed. The DP stream has to be compressed for that as well.
@@ -3216,24 +3262,33 @@ intel_dp_pcon_compute_config(struct intel_dp *intel_dp,
return 0;
/*
- * The HDMI link needs DSC. The PCON can only get it from a compressed DP
- * stream, and re-encoding is only valid for a DSC 1.1 stream.
+ * The HDMI link needs DSC, which the PCON can only get from a compressed
+ * DP stream. It passes a DSC 1.2a stream through, and it can only
+ * re-encode a DSC 1.1 stream.
*/
- if (!crtc_state->dsc.compression_enable ||
- intel_dp_dsc_stream_version_minor(connector) >= 2 ||
- !intel_dp_pcon_dsc_enc_compute(intel_dp, adjusted_mode,
- adjusted_mode->crtc_clock, bpc,
- crtc_state->sink_format,
- &crtc_state->pcon_config.dsc_enc)) {
- drm_dbg_kms(display->drm,
- "HDMI link needs DSC, but the PCON can't provide it\n");
- return -EINVAL;
+ if (crtc_state->dsc.compression_enable) {
+ if (intel_dp_dsc_stream_version_minor(connector) >= 2) {
+ if (intel_dp_pcon_dsc_passthrough_ok(intel_dp, crtc_state)) {
+ crtc_state->pcon_config.dsc_op = INTEL_PCON_DSC_PASSTHROUGH;
+ crtc_state->pcon_config.frl_rate_gbps =
+ intel_dp_pcon_max_frl_rate(intel_dp, true);
+ return 0;
+ }
+ } else if (intel_dp_pcon_dsc_enc_compute(intel_dp, adjusted_mode,
+ adjusted_mode->crtc_clock, bpc,
+ crtc_state->sink_format,
+ &crtc_state->pcon_config.dsc_enc)) {
+ crtc_state->pcon_config.dsc_op = INTEL_PCON_DSC_DECODE_ENCODE;
+ crtc_state->pcon_config.frl_rate_gbps =
+ intel_dp_pcon_max_frl_rate(intel_dp, true);
+ return 0;
+ }
}
- crtc_state->pcon_config.dsc_op = INTEL_PCON_DSC_DECODE_ENCODE;
- crtc_state->pcon_config.frl_rate_gbps = intel_dp_pcon_max_frl_rate(intel_dp, true);
+ drm_dbg_kms(display->drm,
+ "HDMI link needs DSC, but the PCON can't provide it\n");
- return 0;
+ return -EINVAL;
}
static int
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 25/29] drm/i915/dp: Allow limiting the DSC slice count for the downstream device
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (23 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 24/29] drm/i915/dp: Select DSC pass-through in the PCON for DSC 1.2a streams Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:41 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 26/29] drm/i915/dp: Check the HDMI sink slice limits for DSC pass-through Ankit Nautiyal
` (7 subsequent siblings)
32 siblings, 1 reply; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
The DP side picks the smallest DSC slice count that satisfies the DP
sink. A device downstream of the DP sink, like an HDMI sink behind a
PCON that passes the DSC stream through, can have its own limits for
the slice count.
Add the minimum and the maximum slice count to the link config limits,
and apply them when picking the slice config. No limit is set yet, so
there is no change in behavior.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 13 ++++++++++++-
drivers/gpu/drm/i915/display/intel_dp.h | 8 ++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 83134be623cf..691148fba8f8 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -910,6 +910,7 @@ static bool
intel_dp_dsc_get_slice_config(const struct intel_connector *connector,
int mode_clock, int mode_hdisplay,
int num_joined_pipes,
+ int dfp_min_slices, int dfp_max_slices,
struct intel_dsc_slice_config *config_ret)
{
struct intel_display *display = to_intel_display(connector);
@@ -921,6 +922,8 @@ intel_dp_dsc_get_slice_config(const struct intel_connector *connector,
drm_dp_dsc_sink_slice_count_mask(connector->dp.dsc_dpcd, is_edp);
int slices_per_pipe;
+ min_slice_count = max(min_slice_count, dfp_min_slices);
+
/*
* Find the closest match to the valid slice count values
*
@@ -950,6 +953,9 @@ intel_dp_dsc_get_slice_config(const struct intel_connector *connector,
sink_slice_count_mask))
continue;
+ if (slices_per_line > dfp_max_slices)
+ continue;
+
if (mode_hdisplay % slices_per_line)
continue;
@@ -979,7 +985,7 @@ u8 intel_dp_dsc_get_slice_count(const struct intel_connector *connector,
if (!intel_dp_dsc_get_slice_config(connector,
mode_clock, mode_hdisplay,
- num_joined_pipes, &config))
+ num_joined_pipes, 0, INT_MAX, &config))
return 0;
return intel_dsc_line_slice_count(&config);
@@ -2741,6 +2747,8 @@ int intel_dp_dsc_compute_config(struct intel_dp *intel_dp,
if (!intel_dp_dsc_get_slice_config(connector, adjusted_mode->crtc_clock,
adjusted_mode->crtc_hdisplay, num_joined_pipes,
+ limits->dfp_dsc.min_slices,
+ limits->dfp_dsc.max_slices,
&pipe_config->dsc.slice_config))
return -EINVAL;
@@ -3092,6 +3100,9 @@ intel_dp_compute_config_limits(struct intel_dp *intel_dp,
limits->link_config_filter = INTEL_DP_LINK_CAPS_FILTER_ALL;
+ limits->dfp_dsc.min_slices = 0;
+ limits->dfp_dsc.max_slices = INT_MAX;
+
limits->pipe.min_bpp = intel_dp_min_bpp(crtc_state->output_format);
if (is_mst) {
/*
diff --git a/drivers/gpu/drm/i915/display/intel_dp.h b/drivers/gpu/drm/i915/display/intel_dp.h
index 83954c2c28e6..f02ae879fca2 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.h
+++ b/drivers/gpu/drm/i915/display/intel_dp.h
@@ -38,6 +38,14 @@ struct link_config_limits {
/* Compressed or uncompressed link output bpp in 1/16 bpp units */
int min_bpp_x16, max_bpp_x16;
} link;
+ struct {
+ /*
+ * DSC limits of the downstream facing port: the slice count per
+ * line, for an HDMI sink behind a PCON passing the DSC stream
+ * through. No limit: 0 and INT_MAX.
+ */
+ int min_slices, max_slices;
+ } dfp_dsc;
};
void intel_edp_fixup_vbt_bpp(struct intel_encoder *encoder, int pipe_bpp);
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 26/29] drm/i915/dp: Check the HDMI sink slice limits for DSC pass-through
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (24 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 25/29] drm/i915/dp: Allow limiting the DSC slice count for the downstream device Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 27/29] drm/i915/dp: Pick the DSC slice count for pass-through within the HDMI limits Ankit Nautiyal
` (6 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
The pass-through check only compared the slice count of the DP stream
with the max slices of the HDMI sink. The HDMI sink also needs at least
the slice count its throughput and the slice width limit require.
Add a helper to get the minimum and the maximum slice count of the HDMI
sink, and use it in the pass-through check, so that the same limits can
be used when picking the slice count. Nothing selects pass-through yet
for modes that are affected, so there is no change in behavior.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 37 +++++++++++++++++++++----
1 file changed, 32 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 691148fba8f8..9898e6c6266c 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -1318,6 +1318,32 @@ intel_dp_pcon_dsc_enc_compute(struct intel_dp *intel_dp,
return true;
}
+/*
+ * Get the limits of the DSC slice count per line of the HDMI sink: the minimum
+ * its throughput and the slice width limit require, and the maximum it
+ * supports.
+ */
+static bool
+intel_dp_pcon_dsc_hdmi_slice_limits(const struct intel_connector *connector,
+ const struct drm_display_mode *mode,
+ int pixel_clock,
+ enum intel_output_format sink_format,
+ int *min_slices, int *max_slices)
+{
+ const struct drm_display_info *info = &connector->base.display_info;
+
+ *min_slices = intel_hdmi_dsc_get_num_slices(mode, pixel_clock, sink_format,
+ 16, INT_MAX,
+ info->hdmi.dsc_cap.max_slices,
+ info->hdmi.dsc_cap.clk_per_slice);
+ if (!*min_slices)
+ return false;
+
+ *max_slices = info->hdmi.dsc_cap.max_slices;
+
+ return true;
+}
+
/*
* The PCON passes the DSC stream of the source to the HDMI sink as is, so
* the stream has to be one the HDMI sink can decode.
@@ -1333,6 +1359,7 @@ intel_dp_pcon_dsc_passthrough_ok(struct intel_dp *intel_dp,
int bpp_x16 = crtc_state->dsc.compressed_bpp_x16;
int bpc = crtc_state->pipe_bpp / 3;
int min_dsc_bpp, max_dsc_bpp;
+ int min_slices, max_slices;
if (!intel_dp_pcon_can_passthrough_dsc(intel_dp))
return false;
@@ -1341,11 +1368,11 @@ intel_dp_pcon_dsc_passthrough_ok(struct intel_dp *intel_dp,
if (crtc_state->output_format != crtc_state->sink_format)
return false;
- if (num_slices > info->hdmi.dsc_cap.max_slices ||
- !intel_hdmi_dsc_get_num_slices(adjusted_mode, adjusted_mode->crtc_clock,
- crtc_state->sink_format, num_slices,
- INT_MAX, info->hdmi.dsc_cap.max_slices,
- info->hdmi.dsc_cap.clk_per_slice))
+ if (!intel_dp_pcon_dsc_hdmi_slice_limits(connector, adjusted_mode,
+ adjusted_mode->crtc_clock,
+ crtc_state->sink_format,
+ &min_slices, &max_slices) ||
+ num_slices < min_slices || num_slices > max_slices)
return false;
intel_hdmi_dsc_get_min_max_bpp(crtc_state->sink_format, bpc,
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 27/29] drm/i915/dp: Pick the DSC slice count for pass-through within the HDMI limits
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (25 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 26/29] drm/i915/dp: Check the HDMI sink slice limits for DSC pass-through Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:48 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 28/29] drm/i915/dp: Limit the compressed bpp for pass-through to the HDMI sink Ankit Nautiyal
` (5 subsequent siblings)
32 siblings, 1 reply; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
The PCON passes a DSC 1.2a stream to the HDMI sink as is, so the slice
count of the DP stream has to be one the HDMI sink can decode. The DP
side picks the smallest count that satisfies the DP sink only, which can
end up outside the limits of the HDMI sink, and then the pass-through
check rejects the mode.
Fill the limits of the slice count for a pass-through stream from the
HDMI sink, so that the slice config picks a valid count. Fail the limits
computation if the HDMI sink has no valid slice count.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 9898e6c6266c..2282e7e027d7 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -3080,7 +3080,8 @@ intel_dp_compute_m_n_ratio_limits(struct intel_dp *intel_dp,
/*
* The stream of a PCON passing DSC through is not recompressed, so it has to
- * fit the HDMI FRL link as is. Limit the compressed bpp of the DP stream.
+ * fit the HDMI link and be one the HDMI sink can decode as is. Limit the DSC
+ * parameters of the DP stream accordingly.
*
* This applies only if the HDMI link needs DSC and the DP stream is a DSC 1.2a
* stream, as passing it through is the only PCON operation possible then.
@@ -3104,6 +3105,13 @@ intel_dp_pcon_dsc_compute_passthrough_limits(struct intel_dp *intel_dp,
true) == MODE_OK)
return true;
+ if (!intel_dp_pcon_dsc_hdmi_slice_limits(connector, adjusted_mode,
+ adjusted_mode->crtc_clock,
+ crtc_state->sink_format,
+ &limits->dfp_dsc.min_slices,
+ &limits->dfp_dsc.max_slices))
+ return false;
+
limits->link.max_bpp_x16 =
min(limits->link.max_bpp_x16,
intel_dp_hdmi_frl_payload_bw(intel_dp, true) * 16 / adjusted_mode->crtc_clock);
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 28/29] drm/i915/dp: Limit the compressed bpp for pass-through to the HDMI sink
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (26 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 27/29] drm/i915/dp: Pick the DSC slice count for pass-through within the HDMI limits Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 29/29] drm/i915/dp: Accept DSC 1.2a pass-through modes in the PCON mode check Ankit Nautiyal
` (4 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
The compressed bpp of a DSC stream passed through the PCON also has to
be one the HDMI sink can decode. So far only the FRL bandwidth limited
it, and the pass-through check rejected the mode if the bpp was outside
the range the sink supports, or made a line exceed the chunk bytes limit
of the sink.
Limit the link bpp range to the range the sink supports, and to the
highest bpp within the chunk bytes limit of the sink, using the same
helper as for the PCON DSC encoder. The slice count is picked later, so
use the minimum slice count of the HDMI sink for it. Fail the limits
computation if no bpp fits the chunk bytes limit.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 25 +++++++++++++++++++++++--
1 file changed, 23 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 2282e7e027d7..5ac687412406 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -3092,7 +3092,10 @@ intel_dp_pcon_dsc_compute_passthrough_limits(struct intel_dp *intel_dp,
struct link_config_limits *limits)
{
struct intel_connector *connector = intel_dp->attached_connector;
+ const struct drm_display_info *info = &connector->base.display_info;
const struct drm_display_mode *adjusted_mode = &crtc_state->hw.adjusted_mode;
+ int bpc = limits->pipe.max_bpp / 3;
+ int min_dsc_bpp, max_dsc_bpp, hdmi_bpp_x16, slice_width;
if (!intel_dp_pcon_sink_support_frl(intel_dp) ||
!intel_dp_pcon_can_passthrough_dsc(intel_dp) ||
@@ -3112,9 +3115,27 @@ intel_dp_pcon_dsc_compute_passthrough_limits(struct intel_dp *intel_dp,
&limits->dfp_dsc.max_slices))
return false;
+ intel_hdmi_dsc_get_min_max_bpp(crtc_state->sink_format, bpc,
+ info->hdmi.dsc_cap.all_bpp,
+ &min_dsc_bpp, &max_dsc_bpp);
+
+ /*
+ * The slice count of the stream is picked later, use the minimum one
+ * for the highest bpp the sink supports in the range and within the
+ * chunk bytes limit.
+ */
+ slice_width = DIV_ROUND_UP(adjusted_mode->crtc_hdisplay, limits->dfp_dsc.min_slices);
+ hdmi_bpp_x16 = intel_hdmi_dsc_get_bpp(16, slice_width, limits->dfp_dsc.min_slices,
+ crtc_state->sink_format, bpc,
+ info->hdmi.dsc_cap.all_bpp,
+ info->hdmi.dsc_cap.total_chunk_kbytes * 1024, 0);
+ if (!hdmi_bpp_x16)
+ return false;
+
+ limits->link.min_bpp_x16 = max(limits->link.min_bpp_x16, min_dsc_bpp * 16);
limits->link.max_bpp_x16 =
- min(limits->link.max_bpp_x16,
- intel_dp_hdmi_frl_payload_bw(intel_dp, true) * 16 / adjusted_mode->crtc_clock);
+ min3(limits->link.max_bpp_x16, hdmi_bpp_x16,
+ intel_dp_hdmi_frl_payload_bw(intel_dp, true) * 16 / adjusted_mode->crtc_clock);
return true;
}
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* [PATCH 29/29] drm/i915/dp: Accept DSC 1.2a pass-through modes in the PCON mode check
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (27 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 28/29] drm/i915/dp: Limit the compressed bpp for pass-through to the HDMI sink Ankit Nautiyal
@ 2026-11-20 14:07 ` Ankit Nautiyal
2026-11-20 14:33 ` ✗ CI.checkpatch: warning for DP-HDMI PCON DSC fixes (rev4) Patchwork
` (3 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Ankit Nautiyal @ 2026-11-20 14:07 UTC (permalink / raw)
To: intel-gfx, intel-xe; +Cc: alexander.kaplan, Ankit Nautiyal
An HDMI 2.1 PCON that supports DSC pass-through can forward a DSC 1.2a
stream of the source to the HDMI sink as is. The mode check only
considered the PCON DSC encoder, which can re-encode just a DSC 1.1
stream, so modes that need DSC on the HDMI link were never accepted for
a DSC 1.2a source.
Now that the pass-through is selected when computing the config, accept
such a mode if the PCON supports pass-through and the lowest compressed
bpp the HDMI sink supports fits the FRL bandwidth. The stream
parameters are only known once the DP link is computed, so this is just
a rough estimate, the config computation does the exact check.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
---
drivers/gpu/drm/i915/display/intel_dp.c | 28 +++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
index 5ac687412406..81a8e4ad2c92 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -1392,8 +1392,9 @@ intel_dp_pcon_dsc_passthrough_ok(struct intel_dp *intel_dp,
}
/*
- * Whether the PCON can compress a stream that doesn't fit the HDMI FRL link
- * uncompressed. The DP stream has to be compressed for that as well.
+ * Whether the PCON can pass a DSC 1.2a stream through, or compress a stream
+ * that doesn't fit the HDMI FRL link uncompressed. The DP stream has to be
+ * compressed for that as well.
*/
static bool
intel_dp_hdmi_dsc_possible(struct intel_dp *intel_dp,
@@ -1401,11 +1402,26 @@ intel_dp_hdmi_dsc_possible(struct intel_dp *intel_dp,
int bpc, enum intel_output_format sink_format)
{
struct intel_connector *connector = intel_dp->attached_connector;
+ const struct drm_display_info *info = &connector->base.display_info;
+ int min_dsc_bpp, max_dsc_bpp;
+
+ if (!intel_dp_pcon_sink_support_frl(intel_dp))
+ return false;
+
+ /* A DSC 1.1 stream is re-encoded, a DSC 1.2a stream is passed through */
+ if (intel_dp_dsc_stream_version_minor(connector) < 2)
+ return intel_dp_pcon_dsc_enc_compute(intel_dp, mode, pixel_clock, bpc,
+ sink_format, NULL);
+
+ if (!intel_dp_pcon_can_passthrough_dsc(intel_dp) ||
+ intel_dp_output_format(connector, sink_format) != sink_format)
+ return false;
+
+ /* The stream parameters are only known once the DP link is computed */
+ intel_hdmi_dsc_get_min_max_bpp(sink_format, bpc, info->hdmi.dsc_cap.all_bpp,
+ &min_dsc_bpp, &max_dsc_bpp);
- return intel_dp_pcon_sink_support_frl(intel_dp) &&
- intel_dp_dsc_stream_version_minor(connector) < 2 &&
- intel_dp_pcon_dsc_enc_compute(intel_dp, mode, pixel_clock, bpc,
- sink_format, NULL);
+ return intel_dp_hdmi_frl_payload_bw(intel_dp, true) / pixel_clock >= min_dsc_bpp;
}
static enum drm_mode_status
--
2.50.1
^ permalink raw reply related [flat|nested] 43+ messages in thread
* Re: [PATCH 01/29] drm/i915/hdmi: Split the intel_hdmi_dsc_get_bpp()
2026-11-20 14:07 ` [PATCH 01/29] drm/i915/hdmi: Split the intel_hdmi_dsc_get_bpp() Ankit Nautiyal
@ 2026-11-20 14:32 ` sashiko-bot
0 siblings, 0 replies; 43+ messages in thread
From: sashiko-bot @ 2026-11-20 14:32 UTC (permalink / raw)
To: Ankit Nautiyal, intel-gfx, intel-xe
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/i915/hdmi: misleading loop comment left in
get_dsc_min_max_bpp()
--
commit 4124d2f34b7c42a6bd777db7dfc5a6ab748c239c
Author: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
drm/i915/hdmi: Split the intel_hdmi_dsc_get_bpp()
This commit splits intel_hdmi_dsc_get_bpp() into get_dsc_min_max_bpp() and
get_dsc_compressed_bpp() and updates the comments inside the helpers.
> diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.c b/drivers/gpu/drm/i915/display/intel_hdmi.c
> index b6fa1a1558b82..205c55522bca7 100644
> --- a/drivers/gpu/drm/i915/display/intel_hdmi.c
> +++ b/drivers/gpu/drm/i915/display/intel_hdmi.c
> @@ -3325,61 +3325,49 @@ intel_hdmi_dsc_get_num_slices(const struct drm_display_mode *mode,
> return target_slices;
> }
>
> -/*
> - * intel_hdmi_dsc_get_bpp - get the appropriate compressed bits_per_pixel based on
> - * source and sink capabilities.
> - *
> - * @src_fraction_bpp: fractional bpp supported by the source
> - * @slice_width: dsc slice width supported by the source and sink
> - * @num_slices: num of slices supported by the source and sink
> - * @output_format: video output format
> - * @bpc: bits per color
> - * @hdmi_all_bpp: sink supports decoding of 1/16th bpp setting
> - * @hdmi_max_chunk_bytes: max bytes in a line of chunks supported by sink
> - *
> - * @return: compressed bits_per_pixel in step of 1/16 of bits_per_pixel
> - */
> -int
> -intel_hdmi_dsc_get_bpp(int src_fractional_bpp, int slice_width, int num_slices,
> - enum intel_output_format output_format, int bpc,
> - bool hdmi_all_bpp, int hdmi_max_chunk_bytes)
> +static void
> +get_dsc_min_max_bpp(enum intel_output_format output_format, u8 bpc,
> + bool hdmi_all_bpp, int *min_dsc_bpp, int *max_dsc_bpp)
> {
> - int max_dsc_bpp, min_dsc_bpp;
> - int target_bytes;
> - bool bpp_found = false;
> - int bpp_decrement_x16;
> - int bpp_target;
> - int bpp_target_x16;
> -
> /*
> - * Get min bpp and max bpp as per Table 7.23, in HDMI2.1 spec
> + * Get min bpp and max bpp that can be supported for a
> + * given bpc and output format.
> * Start with the max bpp and keep on decrementing with
> - * fractional bpp, if supported by PCON DSC encoder
> + * fractional bpp, if supported by the DSC encoder
> *
> * for each bpp we check if no of bytes can be supported by HDMI sink
> */
[Severity: Low]
This isn't a bug, but the second part of this comment describes the
fractional bpp decrement and sink chunk-byte check loop that was moved into
get_dsc_compressed_bpp() below, while get_dsc_min_max_bpp() only computes
the min and max bpp bounds. The edits to the comments in
get_dsc_min_max_bpp() also drop the HDMI 2.1 Table 7.23 and Section 7.7.34
references that documented where these limits come from.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261120140729.466177-1-ankit.k.nautiyal@intel.com?part=1
^ permalink raw reply [flat|nested] 43+ messages in thread
* ✗ CI.checkpatch: warning for DP-HDMI PCON DSC fixes (rev4)
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (28 preceding siblings ...)
2026-11-20 14:07 ` [PATCH 29/29] drm/i915/dp: Accept DSC 1.2a pass-through modes in the PCON mode check Ankit Nautiyal
@ 2026-11-20 14:33 ` Patchwork
2026-11-20 14:35 ` ✓ CI.KUnit: success " Patchwork
` (2 subsequent siblings)
32 siblings, 0 replies; 43+ messages in thread
From: Patchwork @ 2026-11-20 14:33 UTC (permalink / raw)
To: Ankit Nautiyal; +Cc: intel-xe
== Series Details ==
Series: DP-HDMI PCON DSC fixes (rev4)
URL : https://patchwork.freedesktop.org/series/171346/
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
3009867cd31863246e4afc138520a7a8bd37bb11
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit ff066773fb782549adf1b77dcfc5e9fc6d86adaa
Author: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Date: Fri Nov 20 19:37:29 2026 +0530
drm/i915/dp: Accept DSC 1.2a pass-through modes in the PCON mode check
An HDMI 2.1 PCON that supports DSC pass-through can forward a DSC 1.2a
stream of the source to the HDMI sink as is. The mode check only
considered the PCON DSC encoder, which can re-encode just a DSC 1.1
stream, so modes that need DSC on the HDMI link were never accepted for
a DSC 1.2a source.
Now that the pass-through is selected when computing the config, accept
such a mode if the PCON supports pass-through and the lowest compressed
bpp the HDMI sink supports fits the FRL bandwidth. The stream
parameters are only known once the DP link is computed, so this is just
a rough estimate, the config computation does the exact check.
Assisted-by: LLM
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
+ /mt/dim checkpatch 5273820504a824f0c81ed31f939599dd0da3fc69 drm-intel
2d697c6729c6 drm/i915/hdmi: Split the intel_hdmi_dsc_get_bpp()
10f10ce2464f drm/i915/dp: Fix FRL BW check for HDMI2.1 DFP
4f7d87ef908b drm/i915/dp: Add a wrapper to check frl/tmds downstream constraints
1d406bb3315e drm/i915/dp: Use the common downstream bw check in compute_bpc
58a9727088fa drm/i915/hdmi: Expose DSC min/max bpp helpers
47dfc075f0f0 drm/i915/hdmi: Add helper to check if DSC chunksize fits the sink limits
9e5709fc69a8 drm/i915/hdmi: Pass pixel clock to DSC slice helper
1481d78921b2 drm/i915/dp: Account for FRL 16b/18b encoding overhead
-:15: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#15:
Assisted-by: LLM
-:15: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#15:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 13 lines checked
fe864079e51f drm/i915/hdmi: Clamp the target_bpp only when it equals the link bpp
-:21: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#21:
Assisted-by: LLM
-:21: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#21:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 40 lines checked
b95af584eb55 drm/i915/dp: Add PCON DSC state to crtc_state
-:20: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#20:
Assisted-by: LLM
-:20: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#20:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 76 lines checked
dfdeadbb5caa drm/dp: Add a helper to disable the PCON DSC encoder
-:13: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#13:
Assisted-by: LLM
-:13: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#13:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 36 lines checked
9dd3e8f11337 drm/i915/dp: Compute the PCON DSC operation
-:13: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#13:
Assisted-by: LLM
-:13: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#13:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 36 lines checked
9c4bf9713e0b drm/i915/dp: Disable the PCON DSC encoder unless it is needed
-:18: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#18:
Assisted-by: LLM
-:18: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#18:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 13 lines checked
0e955216aebc drm/i915/dp: Clamp PCON DSC bpp to the FRL link bandwidth
-:15: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#15:
Assisted-by: LLM
-:15: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#15:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 43 lines checked
5453c2b58d98 drm/i915/dp: Add a helper for the DSC stream version
-:12: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#12:
Assisted-by: LLM
-:12: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#12:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 41 lines checked
2c22595847fe drm/i915/dp: Add a helper for the FRL payload bandwidth
-:12: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#12:
Assisted-by: LLM
-:12: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#12:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 33 lines checked
427cad5e76dc drm/i915/dp: Compute the PCON DSC encoder parameters
-:21: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#21:
Assisted-by: LLM
-:21: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#21:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 245 lines checked
e935c254de79 drm/i915/dp: Retrain the PCON FRL link from the link check work
-:22: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#22:
Assisted-by: LLM
-:22: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#22:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 75 lines checked
7d598238009b drm/i915/dp: Store the PCON FRL rate in the crtc state
-:19: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#19:
Assisted-by: LLM
-:19: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#19:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 135 lines checked
c36368226c91 drm/i915/dp: Use the FRL rate of the stream on the HDMI link
-:24: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#24:
Assisted-by: LLM
-:24: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#24:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 108 lines checked
f1ecbb765bf5 drm/i915/dp: Allow PCON DSC modes through the FRL bw check
-:20: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#20:
Assisted-by: LLM
-:20: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#20:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 119 lines checked
408a9ce85afd drm/i915/dp: Enable DSC pass-through in the PCON
-:17: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#17:
Assisted-by: LLM
-:17: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#17:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 50 lines checked
c8b8172e730c drm/i915/dp: Limit the DP link bpp for DSC pass-through to the FRL bandwidth
-:25: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#25:
Assisted-by: LLM
-:25: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#25:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 73 lines checked
755ae2d36f85 drm/i915/dp: Select DSC pass-through in the PCON for DSC 1.2a streams
-:20: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#20:
Assisted-by: LLM
-:20: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#20:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 99 lines checked
79f453c80061 drm/i915/dp: Allow limiting the DSC slice count for the downstream device
-:16: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#16:
Assisted-by: LLM
-:16: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#16:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 63 lines checked
b691041977bb drm/i915/dp: Check the HDMI sink slice limits for DSC pass-through
-:16: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#16:
Assisted-by: LLM
-:16: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#16:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 55 lines checked
3b3f8b5f5d78 drm/i915/dp: Pick the DSC slice count for pass-through within the HDMI limits
-:17: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#17:
Assisted-by: LLM
-:17: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#17:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 22 lines checked
d3743deeed32 drm/i915/dp: Limit the compressed bpp for pass-through to the HDMI sink
-:19: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#19:
Assisted-by: LLM
-:19: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#19:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 39 lines checked
ff066773fb78 drm/i915/dp: Accept DSC 1.2a pass-through modes in the PCON mode check
-:19: WARNING:BAD_SIGN_OFF: Non-standard signature: Assisted-by:
#19:
Assisted-by: LLM
-:19: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'LLM'
#19:
Assisted-by: LLM
total: 1 errors, 1 warnings, 0 checks, 41 lines checked
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [PATCH 02/29] drm/i915/dp: Fix FRL BW check for HDMI2.1 DFP
2026-11-20 14:07 ` [PATCH 02/29] drm/i915/dp: Fix FRL BW check for HDMI2.1 DFP Ankit Nautiyal
@ 2026-11-20 14:34 ` sashiko-bot
0 siblings, 0 replies; 43+ messages in thread
From: sashiko-bot @ 2026-11-20 14:34 UTC (permalink / raw)
To: Ankit Nautiyal, intel-gfx, intel-xe
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] drm/i915/dp: missing Fixes: trailer for HDMI 2.1 DFP FRL
bandwidth check fix
--
commit addfd82d3927c014185f27ec746e89863b581033
Author: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
> drm/i915/dp: Fix FRL BW check for HDMI2.1 DFP
>
> The FRL bandwidth check considers only the PCON's max FRL rate, ignoring
> the HDMI2.1 sink's own max FRL rate. Cap the available bandwidth by the
> minimum of the two, similar to the TMDS case.
>
> Move the check into a helper intel_dp_frl_bw_valid() so it can also be
> used in the compute_config phase in a subsequent change.
>
> The DSC case, where both the PCON and HDMI sink support DSC, is left
> as a FIXME and handled later.
>
> v2: Remove extra braces and re-format comment. (Suraj)
>
> Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
> Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
[Severity: Low]
This fixes the downstream FRL bandwidth check in
intel_dp_mode_valid_downstream(), which previously only checked
intel_dp->dfp.pcon_max_frl_bw without considering the HDMI 2.1 sink's max
FRL rate. Should this include:
Fixes: 2f78347e3634 ("drm/i915: Capture max frl rate for PCON in dfp cap structure")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261120140729.466177-1-ankit.k.nautiyal@intel.com?part=2
^ permalink raw reply [flat|nested] 43+ messages in thread
* ✓ CI.KUnit: success for DP-HDMI PCON DSC fixes (rev4)
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (29 preceding siblings ...)
2026-11-20 14:33 ` ✗ CI.checkpatch: warning for DP-HDMI PCON DSC fixes (rev4) Patchwork
@ 2026-11-20 14:35 ` Patchwork
2026-11-20 15:24 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-20 17:31 ` ✓ i915.CI.BAT: " Patchwork
32 siblings, 0 replies; 43+ messages in thread
From: Patchwork @ 2026-11-20 14:35 UTC (permalink / raw)
To: Ankit Nautiyal; +Cc: intel-xe
== Series Details ==
Series: DP-HDMI PCON DSC fixes (rev4)
URL : https://patchwork.freedesktop.org/series/171346/
State : success
== Summary ==
+ trap cleanup EXIT
+ kunitconfigs=('/kernel/drivers/gpu/tests/.kunitconfig' '/kernel/drivers/gpu/drm/xe/.kunitconfig' '/kernel/drivers/gpu/drm/tests/.kunitconfig' '/kernel/drivers/gpu/drm/ttm/tests/.kunitconfig' '/kernel/drivers/dma-buf/.kunitconfig')
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/tests/.kunitconfig
[14:33:23] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[14:33:28] 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
[14:33:48] Starting KUnit Kernel (1/1)...
[14:33:48] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[14:33:48] ================= gpu_buddy (15 subtests) ==================
[14:33:48] [PASSED] gpu_test_buddy_alloc_limit
[14:33:48] [PASSED] gpu_test_buddy_alloc_optimistic
[14:33:48] [PASSED] gpu_test_buddy_alloc_pessimistic
[14:33:48] [PASSED] gpu_test_buddy_alloc_pathological
[14:33:48] [PASSED] gpu_test_buddy_alloc_contiguous
[14:33:48] [PASSED] gpu_test_buddy_alloc_clear
[14:33:48] [PASSED] gpu_test_buddy_alloc_range
[14:33:48] [PASSED] gpu_test_buddy_alloc_range_bias
[14:33:49] [PASSED] gpu_test_buddy_alloc_range_clear_guard
[14:33:49] [PASSED] gpu_test_buddy_fragmentation_performance
[14:33:50] [PASSED] gpu_test_buddy_dirty_tracker_performance
[14:33:50] [PASSED] gpu_test_buddy_alloc_exceeds_max_order
[14:33:50] [PASSED] gpu_test_buddy_offset_aligned_allocation
[14:33:50] [PASSED] gpu_test_buddy_subtree_offset_alignment_stress
[14:33:50] [PASSED] gpu_test_buddy_addr_to_block
[14:33:50] ==================== [PASSED] gpu_buddy ====================
[14:33:50] ============================================================
[14:33:50] Testing complete. Ran 15 tests: passed: 15
[14:33:50] Elapsed time: 27.579s total, 5.016s configuring, 20.545s building, 1.983s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/xe/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig
[14:33:50] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[14:33:53] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
[14:34:32] Starting KUnit Kernel (1/1)...
[14:34:32] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[14:34:32] ================= xe_ggtt_iov (9 subtests) =================
[14:34:32] [PASSED] init_shared_pf
[14:34:32] [PASSED] init_partial_overlap
[14:34:32] [PASSED] alloc_usable_pool_low
[14:34:32] [PASSED] alloc_shareable_pool_high
[14:34:32] [PASSED] alloc_partial_overlap
[14:34:32] [PASSED] alloc_partial_overlap_usable_full
[14:34:32] [PASSED] alloc_partial_overlap_shareable_full
[14:34:32] [PASSED] alloc_shareable_pool_unavailable
[14:34:32] [PASSED] alloc_shareable_pool_oversized
[14:34:32] =================== [PASSED] xe_ggtt_iov ===================
[14:34:32] =================== xe_ggtt (3 subtests) ===================
[14:34:32] [PASSED] init_native
[14:34:32] [PASSED] alloc_usable_pool_native
[14:34:32] [PASSED] alloc_usable_pool_oversized
[14:34:32] ===================== [PASSED] xe_ggtt =====================
[14:34:32] ================== guc_buf (11 subtests) ===================
[14:34:32] [PASSED] test_smallest
[14:34:32] [PASSED] test_largest
[14:34:32] [PASSED] test_granular
[14:34:32] [PASSED] test_unique
[14:34:32] [PASSED] test_overlap
[14:34:32] [PASSED] test_reusable
[14:34:32] [PASSED] test_too_big
[14:34:32] [PASSED] test_flush
[14:34:32] [PASSED] test_lookup
[14:34:32] [PASSED] test_data
[14:34:32] [PASSED] test_class
[14:34:32] ===================== [PASSED] guc_buf =====================
[14:34:32] =================== guc_dbm (7 subtests) ===================
[14:34:32] [PASSED] test_empty
[14:34:32] [PASSED] test_default
[14:34:32] ======================== test_size ========================
[14:34:32] [PASSED] 4
[14:34:32] [PASSED] 8
[14:34:32] [PASSED] 32
[14:34:32] [PASSED] 256
[14:34:32] ==================== [PASSED] test_size ====================
[14:34:32] ======================= test_reuse ========================
[14:34:32] [PASSED] 4
[14:34:32] [PASSED] 8
[14:34:32] [PASSED] 32
[14:34:32] [PASSED] 256
[14:34:32] =================== [PASSED] test_reuse ====================
[14:34:32] =================== test_range_overlap ====================
[14:34:32] [PASSED] 4
[14:34:32] [PASSED] 8
[14:34:32] [PASSED] 32
[14:34:32] [PASSED] 256
[14:34:32] =============== [PASSED] test_range_overlap ================
[14:34:32] =================== test_range_compact ====================
[14:34:32] [PASSED] 4
[14:34:32] [PASSED] 8
[14:34:32] [PASSED] 32
[14:34:32] [PASSED] 256
[14:34:32] =============== [PASSED] test_range_compact ================
[14:34:32] ==================== test_range_spare =====================
[14:34:32] [PASSED] 4
[14:34:32] [PASSED] 8
[14:34:32] [PASSED] 32
[14:34:32] [PASSED] 256
[14:34:32] ================ [PASSED] test_range_spare =================
[14:34:32] ===================== [PASSED] guc_dbm =====================
[14:34:32] ================== guc_idm (22 subtests) ===================
[14:34:32] [PASSED] bad_init
[14:34:32] [PASSED] no_init
[14:34:32] [PASSED] init_fini
[14:34:32] [PASSED] check_init_small
[14:34:32] [PASSED] check_init_shared
[14:34:32] [PASSED] check_used
[14:34:32] [PASSED] check_quota
[14:34:32] [PASSED] check_all
[14:34:32] [PASSED] check_limits
[14:34:32] [PASSED] check_overlap
[14:34:32] [PASSED] check_overlap_alloc
[14:34:32] [PASSED] check_overlap_release
[14:34:32] [PASSED] check_overlap_partial_init
[14:34:32] [PASSED] check_overlap_partial_shared_range_blocking
[14:34:32] [PASSED] check_used_usable
[14:34:32] [PASSED] check_used_shareable
[14:34:32] [PASSED] check_used_mixed
[14:34:32] [PASSED] check_release_usable_range
[14:34:32] [PASSED] check_release_shareable_range
[14:34:32] [PASSED] check_split_boundaries
[14:34:32] [PASSED] check_shareable_spare
[14:34:32] [PASSED] check_shareable_spare_fragmented_tail
[14:34:32] ===================== [PASSED] guc_idm =====================
[14:34:32] ============== guc_klv_helpers (13 subtests) ===============
[14:34:32] [PASSED] test_count
[14:34:32] [PASSED] test_encode_u32
[14:34:32] [PASSED] test_encode_u64
[14:34:32] [PASSED] test_encode_string
[14:34:32] [PASSED] test_encode_object_raw
[14:34:32] [PASSED] test_encode_object_klv
[14:34:32] [PASSED] test_encode_object_nested
[14:34:32] [PASSED] test_encode_object_basic
[14:34:32] ===================== test_decode_u16 =====================
[14:34:32] [PASSED] empty
[14:34:32] [PASSED] valid
[14:34:32] [PASSED] max
[14:34:32] [PASSED] big
[14:34:32] [PASSED] long
[14:34:32] ================= [PASSED] test_decode_u16 =================
[14:34:32] ===================== test_decode_u32 =====================
[14:34:32] [PASSED] empty
[14:34:32] [PASSED] valid
[14:34:32] [PASSED] max
[14:34:32] [PASSED] long
[14:34:32] ================= [PASSED] test_decode_u32 =================
[14:34:32] ===================== test_decode_u64 =====================
[14:34:32] [PASSED] empty
[14:34:32] [PASSED] short
[14:34:32] [PASSED] valid
[14:34:32] [PASSED] max
[14:34:32] [PASSED] long
[14:34:32] ================= [PASSED] test_decode_u64 =================
[14:34:32] ===================== test_decode_str =====================
[14:34:32] [PASSED] empty
[14:34:32] [PASSED] one
[14:34:32] [PASSED] one_trash
[14:34:32] [PASSED] two
[14:34:32] [PASSED] two_trash
[14:34:32] [PASSED] three
[14:34:32] [PASSED] dword
[14:34:32] [PASSED] four
[14:34:32] [PASSED] five
[14:34:32] [PASSED] six
[14:34:32] [PASSED] seven
[14:34:32] [PASSED] qword
[14:34:32] ================= [PASSED] test_decode_str =================
[14:34:32] [PASSED] test_print
[14:34:32] ================= [PASSED] guc_klv_helpers =================
[14:34:32] =================== xe_log (4 subtests) ====================
[14:34:32] [PASSED] demo_cper
[14:34:32] [PASSED] demo_dmesg
[14:34:32] ======================= test_dmesg ========================
[14:34:32] [PASSED] test_fatal
[14:34:32] [PASSED] test_fatal_tile
[14:34:32] [PASSED] test_fatal_gt
[14:34:32] [PASSED] test_fatal_comp
[14:34:32] [PASSED] test_fatal_comp_tile
[14:34:32] [PASSED] test_fatal_comp_gt
[14:34:32] [PASSED] test_fatal_all
[14:34:32] [PASSED] test_recoverable
[14:34:32] [PASSED] test_recoverable_tile
[14:34:32] [PASSED] test_recoverable_gt
[14:34:32] [PASSED] test_recoverable_comp
[14:34:32] [PASSED] test_recoverable_comp_tile
[14:34:32] [PASSED] test_recoverable_comp_gt
[14:34:32] [PASSED] test_recoverable_all
[14:34:32] [PASSED] test_info
[14:34:32] [PASSED] test_info_tile
[14:34:32] [PASSED] test_info_gt
[14:34:32] [PASSED] test_info_err
[14:34:32] [PASSED] test_info_comp
[14:34:32] [PASSED] test_info_comp_tile
[14:34:32] [PASSED] test_info_comp_gt
[14:34:32] [PASSED] test_info_all
[14:34:32] [PASSED] test_hw_fatal
[14:34:32] [PASSED] test_hw_recoverable
[14:34:32] [PASSED] test_hw_corrected
[14:34:32] [PASSED] test_hw_informational
[14:34:32] =================== [PASSED] test_dmesg ====================
[14:34:32] ====================== test_invalid =======================
[14:34:32] [SKIPPED] no-component no-location no-warn (requires CONFIG_DRM_XE_DEBUG)
[14:34:32] [SKIPPED] reserved location (requires CONFIG_DRM_XE_DEBUG)
[14:34:32] [SKIPPED] unknown location (requires CONFIG_DRM_XE_DEBUG)
[14:34:32] [SKIPPED] nonzero-device-id location (requires CONFIG_DRM_XE_DEBUG)
[14:34:32] [SKIPPED] invalid-tile-id location (requires CONFIG_DRM_XE_DEBUG)
[14:34:32] [SKIPPED] invalid-gt-id location (requires CONFIG_DRM_XE_DEBUG)
[14:34:32] [SKIPPED] unknown component class (requires CONFIG_DRM_XE_DEBUG)
[14:34:32] [SKIPPED] unknown system component (requires CONFIG_DRM_XE_DEBUG)
[14:34:32] [SKIPPED] unknown hardware component (requires CONFIG_DRM_XE_DEBUG)
[14:34:32] [SKIPPED] unknown component and location (requires CONFIG_DRM_XE_DEBUG)
[14:34:32] ================== [SKIPPED] test_invalid ==================
[14:34:32] ===================== [PASSED] xe_log ======================
[14:34:32] ================== no_relay (3 subtests) ===================
[14:34:32] [PASSED] xe_drops_guc2pf_if_not_ready
[14:34:32] [PASSED] xe_drops_guc2vf_if_not_ready
[14:34:32] [PASSED] xe_rejects_send_if_not_ready
[14:34:32] ==================== [PASSED] no_relay =====================
[14:34:32] ================== pf_relay (14 subtests) ==================
[14:34:32] [PASSED] pf_rejects_guc2pf_too_short
[14:34:32] [PASSED] pf_rejects_guc2pf_too_long
[14:34:32] [PASSED] pf_rejects_guc2pf_no_payload
[14:34:32] [PASSED] pf_fails_no_payload
[14:34:32] [PASSED] pf_fails_bad_origin
[14:34:32] [PASSED] pf_fails_bad_type
[14:34:32] [PASSED] pf_txn_reports_error
[14:34:32] [PASSED] pf_txn_sends_pf2guc
[14:34:32] [PASSED] pf_sends_pf2guc
[14:34:32] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[14:34:32] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[14:34:32] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[14:34:32] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[14:34:32] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV)
[14:34:32] ==================== [PASSED] pf_relay =====================
[14:34:32] ================== vf_relay (3 subtests) ===================
[14:34:32] [PASSED] vf_rejects_guc2vf_too_short
[14:34:32] [PASSED] vf_rejects_guc2vf_too_long
[14:34:32] [PASSED] vf_rejects_guc2vf_no_payload
[14:34:32] ==================== [PASSED] vf_relay =====================
[14:34:32] ================ pf_gt_config (9 subtests) =================
[14:34:32] [PASSED] fair_contexts_1vf
[14:34:32] [PASSED] fair_doorbells_1vf
[14:34:32] [PASSED] fair_ggtt_1vf
[14:34:32] ====================== fair_vram_1vf ======================
[14:34:32] [PASSED] 3.50 GiB
[14:34:32] [PASSED] 11.5 GiB
[14:34:32] [PASSED] 15.5 GiB
[14:34:32] [PASSED] 31.5 GiB
[14:34:32] [PASSED] 63.5 GiB
[14:34:32] [PASSED] 1.91 GiB
[14:34:32] ================== [PASSED] fair_vram_1vf ==================
[14:34:32] ================ fair_vram_1vf_admin_only =================
[14:34:32] [PASSED] 3.50 GiB
[14:34:32] [PASSED] 11.5 GiB
[14:34:32] [PASSED] 15.5 GiB
[14:34:32] [PASSED] 31.5 GiB
[14:34:32] [PASSED] 63.5 GiB
[14:34:32] [PASSED] 1.91 GiB
[14:34:32] ============ [PASSED] fair_vram_1vf_admin_only =============
[14:34:32] ====================== fair_contexts ======================
[14:34:32] [PASSED] 1 VF
[14:34:32] [PASSED] 2 VFs
[14:34:32] [PASSED] 3 VFs
[14:34:32] [PASSED] 4 VFs
[14:34:32] [PASSED] 5 VFs
[14:34:32] [PASSED] 6 VFs
[14:34:32] [PASSED] 7 VFs
[14:34:32] [PASSED] 8 VFs
[14:34:32] [PASSED] 9 VFs
[14:34:32] [PASSED] 10 VFs
[14:34:32] [PASSED] 11 VFs
[14:34:32] [PASSED] 12 VFs
[14:34:32] [PASSED] 13 VFs
[14:34:32] [PASSED] 14 VFs
[14:34:32] [PASSED] 15 VFs
[14:34:32] [PASSED] 16 VFs
[14:34:32] [PASSED] 17 VFs
[14:34:32] [PASSED] 18 VFs
[14:34:32] [PASSED] 19 VFs
[14:34:32] [PASSED] 20 VFs
[14:34:32] [PASSED] 21 VFs
[14:34:32] [PASSED] 22 VFs
[14:34:32] [PASSED] 23 VFs
[14:34:32] [PASSED] 24 VFs
[14:34:32] [PASSED] 25 VFs
[14:34:32] [PASSED] 26 VFs
[14:34:32] [PASSED] 27 VFs
[14:34:32] [PASSED] 28 VFs
[14:34:32] [PASSED] 29 VFs
[14:34:32] [PASSED] 30 VFs
[14:34:32] [PASSED] 31 VFs
[14:34:32] [PASSED] 32 VFs
[14:34:32] [PASSED] 33 VFs
[14:34:32] [PASSED] 34 VFs
[14:34:32] [PASSED] 35 VFs
[14:34:32] [PASSED] 36 VFs
[14:34:32] [PASSED] 37 VFs
[14:34:32] [PASSED] 38 VFs
[14:34:32] [PASSED] 39 VFs
[14:34:32] [PASSED] 40 VFs
[14:34:32] [PASSED] 41 VFs
[14:34:32] [PASSED] 42 VFs
[14:34:32] [PASSED] 43 VFs
[14:34:32] [PASSED] 44 VFs
[14:34:32] [PASSED] 45 VFs
[14:34:32] [PASSED] 46 VFs
[14:34:32] [PASSED] 47 VFs
[14:34:32] [PASSED] 48 VFs
[14:34:32] [PASSED] 49 VFs
[14:34:32] [PASSED] 50 VFs
[14:34:32] [PASSED] 51 VFs
[14:34:32] [PASSED] 52 VFs
[14:34:32] [PASSED] 53 VFs
[14:34:32] [PASSED] 54 VFs
[14:34:32] [PASSED] 55 VFs
[14:34:32] [PASSED] 56 VFs
[14:34:32] [PASSED] 57 VFs
[14:34:32] [PASSED] 58 VFs
[14:34:32] [PASSED] 59 VFs
[14:34:32] [PASSED] 60 VFs
[14:34:32] [PASSED] 61 VFs
[14:34:32] [PASSED] 62 VFs
[14:34:32] [PASSED] 63 VFs
[14:34:32] ================== [PASSED] fair_contexts ==================
[14:34:32] ===================== fair_doorbells ======================
[14:34:32] [PASSED] 1 VF
[14:34:32] [PASSED] 2 VFs
[14:34:32] [PASSED] 3 VFs
[14:34:32] [PASSED] 4 VFs
[14:34:32] [PASSED] 5 VFs
[14:34:32] [PASSED] 6 VFs
[14:34:32] [PASSED] 7 VFs
[14:34:32] [PASSED] 8 VFs
[14:34:32] [PASSED] 9 VFs
[14:34:32] [PASSED] 10 VFs
[14:34:32] [PASSED] 11 VFs
[14:34:32] [PASSED] 12 VFs
[14:34:32] [PASSED] 13 VFs
[14:34:32] [PASSED] 14 VFs
[14:34:32] [PASSED] 15 VFs
[14:34:32] [PASSED] 16 VFs
[14:34:32] [PASSED] 17 VFs
[14:34:32] [PASSED] 18 VFs
[14:34:32] [PASSED] 19 VFs
[14:34:32] [PASSED] 20 VFs
[14:34:32] [PASSED] 21 VFs
[14:34:32] [PASSED] 22 VFs
[14:34:32] [PASSED] 23 VFs
[14:34:32] [PASSED] 24 VFs
[14:34:32] [PASSED] 25 VFs
[14:34:32] [PASSED] 26 VFs
[14:34:32] [PASSED] 27 VFs
[14:34:32] [PASSED] 28 VFs
[14:34:32] [PASSED] 29 VFs
[14:34:32] [PASSED] 30 VFs
[14:34:32] [PASSED] 31 VFs
[14:34:32] [PASSED] 32 VFs
[14:34:32] [PASSED] 33 VFs
[14:34:32] [PASSED] 34 VFs
[14:34:32] [PASSED] 35 VFs
[14:34:32] [PASSED] 36 VFs
[14:34:32] [PASSED] 37 VFs
[14:34:32] [PASSED] 38 VFs
[14:34:32] [PASSED] 39 VFs
[14:34:32] [PASSED] 40 VFs
[14:34:32] [PASSED] 41 VFs
[14:34:32] [PASSED] 42 VFs
[14:34:32] [PASSED] 43 VFs
[14:34:32] [PASSED] 44 VFs
[14:34:32] [PASSED] 45 VFs
[14:34:32] [PASSED] 46 VFs
[14:34:32] [PASSED] 47 VFs
[14:34:32] [PASSED] 48 VFs
[14:34:32] [PASSED] 49 VFs
[14:34:32] [PASSED] 50 VFs
[14:34:32] [PASSED] 51 VFs
[14:34:32] [PASSED] 52 VFs
[14:34:32] [PASSED] 53 VFs
[14:34:32] [PASSED] 54 VFs
[14:34:32] [PASSED] 55 VFs
[14:34:32] [PASSED] 56 VFs
[14:34:32] [PASSED] 57 VFs
[14:34:32] [PASSED] 58 VFs
[14:34:32] [PASSED] 59 VFs
[14:34:32] [PASSED] 60 VFs
[14:34:32] [PASSED] 61 VFs
[14:34:32] [PASSED] 62 VFs
[14:34:32] [PASSED] 63 VFs
[14:34:32] ================= [PASSED] fair_doorbells ==================
[14:34:32] ======================== fair_ggtt ========================
[14:34:32] [PASSED] 1 VF
[14:34:32] [PASSED] 2 VFs
[14:34:32] [PASSED] 3 VFs
[14:34:32] [PASSED] 4 VFs
[14:34:32] [PASSED] 5 VFs
[14:34:32] [PASSED] 6 VFs
[14:34:32] [PASSED] 7 VFs
[14:34:32] [PASSED] 8 VFs
[14:34:32] [PASSED] 9 VFs
[14:34:32] [PASSED] 10 VFs
[14:34:32] [PASSED] 11 VFs
[14:34:32] [PASSED] 12 VFs
[14:34:32] [PASSED] 13 VFs
[14:34:32] [PASSED] 14 VFs
[14:34:32] [PASSED] 15 VFs
[14:34:32] [PASSED] 16 VFs
[14:34:32] [PASSED] 17 VFs
[14:34:32] [PASSED] 18 VFs
[14:34:32] [PASSED] 19 VFs
[14:34:32] [PASSED] 20 VFs
[14:34:32] [PASSED] 21 VFs
[14:34:32] [PASSED] 22 VFs
[14:34:32] [PASSED] 23 VFs
[14:34:32] [PASSED] 24 VFs
[14:34:32] [PASSED] 25 VFs
[14:34:32] [PASSED] 26 VFs
[14:34:32] [PASSED] 27 VFs
[14:34:32] [PASSED] 28 VFs
[14:34:32] [PASSED] 29 VFs
[14:34:32] [PASSED] 30 VFs
[14:34:32] [PASSED] 31 VFs
[14:34:32] [PASSED] 32 VFs
[14:34:32] [PASSED] 33 VFs
[14:34:32] [PASSED] 34 VFs
[14:34:32] [PASSED] 35 VFs
[14:34:32] [PASSED] 36 VFs
[14:34:32] [PASSED] 37 VFs
[14:34:32] [PASSED] 38 VFs
[14:34:32] [PASSED] 39 VFs
[14:34:32] [PASSED] 40 VFs
[14:34:32] [PASSED] 41 VFs
[14:34:32] [PASSED] 42 VFs
[14:34:32] [PASSED] 43 VFs
[14:34:32] [PASSED] 44 VFs
[14:34:32] [PASSED] 45 VFs
[14:34:32] [PASSED] 46 VFs
[14:34:32] [PASSED] 47 VFs
[14:34:32] [PASSED] 48 VFs
[14:34:32] [PASSED] 49 VFs
[14:34:32] [PASSED] 50 VFs
[14:34:32] [PASSED] 51 VFs
[14:34:32] [PASSED] 52 VFs
[14:34:32] [PASSED] 53 VFs
[14:34:32] [PASSED] 54 VFs
[14:34:32] [PASSED] 55 VFs
[14:34:32] [PASSED] 56 VFs
[14:34:32] [PASSED] 57 VFs
[14:34:32] [PASSED] 58 VFs
[14:34:32] [PASSED] 59 VFs
[14:34:32] [PASSED] 60 VFs
[14:34:32] [PASSED] 61 VFs
[14:34:32] [PASSED] 62 VFs
[14:34:32] [PASSED] 63 VFs
[14:34:32] ==================== [PASSED] fair_ggtt ====================
[14:34:32] ======================== fair_vram ========================
[14:34:32] [PASSED] 1 VF
[14:34:32] [PASSED] 2 VFs
[14:34:32] [PASSED] 3 VFs
[14:34:32] [PASSED] 4 VFs
[14:34:32] [PASSED] 5 VFs
[14:34:32] [PASSED] 6 VFs
[14:34:32] [PASSED] 7 VFs
[14:34:32] [PASSED] 8 VFs
[14:34:32] [PASSED] 9 VFs
[14:34:32] [PASSED] 10 VFs
[14:34:32] [PASSED] 11 VFs
[14:34:32] [PASSED] 12 VFs
[14:34:32] [PASSED] 13 VFs
[14:34:32] [PASSED] 14 VFs
[14:34:32] [PASSED] 15 VFs
[14:34:32] [PASSED] 16 VFs
[14:34:32] [PASSED] 17 VFs
[14:34:32] [PASSED] 18 VFs
[14:34:32] [PASSED] 19 VFs
[14:34:32] [PASSED] 20 VFs
[14:34:32] [PASSED] 21 VFs
[14:34:32] [PASSED] 22 VFs
[14:34:32] [PASSED] 23 VFs
[14:34:32] [PASSED] 24 VFs
[14:34:32] [PASSED] 25 VFs
[14:34:32] [PASSED] 26 VFs
[14:34:32] [PASSED] 27 VFs
[14:34:32] [PASSED] 28 VFs
[14:34:32] [PASSED] 29 VFs
[14:34:32] [PASSED] 30 VFs
[14:34:32] [PASSED] 31 VFs
[14:34:32] [PASSED] 32 VFs
[14:34:32] [PASSED] 33 VFs
[14:34:32] [PASSED] 34 VFs
[14:34:32] [PASSED] 35 VFs
[14:34:32] [PASSED] 36 VFs
[14:34:32] [PASSED] 37 VFs
[14:34:32] [PASSED] 38 VFs
[14:34:32] [PASSED] 39 VFs
[14:34:32] [PASSED] 40 VFs
[14:34:32] [PASSED] 41 VFs
[14:34:32] [PASSED] 42 VFs
[14:34:32] [PASSED] 43 VFs
[14:34:32] [PASSED] 44 VFs
[14:34:32] [PASSED] 45 VFs
[14:34:32] [PASSED] 46 VFs
[14:34:32] [PASSED] 47 VFs
[14:34:32] [PASSED] 48 VFs
[14:34:33] [PASSED] 49 VFs
[14:34:33] [PASSED] 50 VFs
[14:34:33] [PASSED] 51 VFs
[14:34:33] [PASSED] 52 VFs
[14:34:33] [PASSED] 53 VFs
[14:34:33] [PASSED] 54 VFs
[14:34:33] [PASSED] 55 VFs
[14:34:33] [PASSED] 56 VFs
[14:34:33] [PASSED] 57 VFs
[14:34:33] [PASSED] 58 VFs
[14:34:33] [PASSED] 59 VFs
[14:34:33] [PASSED] 60 VFs
[14:34:33] [PASSED] 61 VFs
[14:34:33] [PASSED] 62 VFs
[14:34:33] [PASSED] 63 VFs
[14:34:33] ==================== [PASSED] fair_vram ====================
[14:34:33] ================== [PASSED] pf_gt_config ===================
[14:34:33] ===================== lmtt (1 subtest) =====================
[14:34:33] ======================== test_ops =========================
[14:34:33] [PASSED] 2-level
[14:34:33] [PASSED] multi-level
[14:34:33] ==================== [PASSED] test_ops =====================
[14:34:33] ====================== [PASSED] lmtt =======================
[14:34:33] ================= sriov_packet (1 subtest) =================
[14:34:33] [PASSED] test_descriptor_init
[14:34:33] ================== [PASSED] sriov_packet ===================
[14:34:33] ================= pf_service (11 subtests) =================
[14:34:33] [PASSED] pf_negotiate_any
[14:34:33] [PASSED] pf_negotiate_base_match
[14:34:33] [PASSED] pf_negotiate_base_newer
[14:34:33] [PASSED] pf_negotiate_base_next
[14:34:33] [SKIPPED] pf_negotiate_base_older (no older minor)
[14:34:33] [PASSED] pf_negotiate_base_prev
[14:34:33] [PASSED] pf_negotiate_latest_match
[14:34:33] [PASSED] pf_negotiate_latest_newer
[14:34:33] [PASSED] pf_negotiate_latest_next
[14:34:33] [SKIPPED] pf_negotiate_latest_older (no older minor)
[14:34:33] [SKIPPED] pf_negotiate_latest_prev (no prev major)
[14:34:33] =================== [PASSED] pf_service ====================
[14:34:33] ================= xe_guc_g2g (2 subtests) ==================
[14:34:33] ============== xe_live_guc_g2g_kunit_default ==============
[14:34:33] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ==========
[14:34:33] ============== xe_live_guc_g2g_kunit_allmem ===============
[14:34:33] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ==========
[14:34:33] =================== [SKIPPED] xe_guc_g2g ===================
[14:34:33] =================== xe_mocs (2 subtests) ===================
[14:34:33] ================ xe_live_mocs_kernel_kunit ================
[14:34:33] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============
[14:34:33] ================ xe_live_mocs_reset_kunit =================
[14:34:33] ============ [SKIPPED] xe_live_mocs_reset_kunit ============
[14:34:33] ==================== [SKIPPED] xe_mocs =====================
[14:34:33] ================= xe_migrate (3 subtests) ==================
[14:34:33] ================= xe_migrate_sanity_kunit =================
[14:34:33] ============ [SKIPPED] xe_migrate_sanity_kunit =============
[14:34:33] ================== xe_validate_ccs_kunit ==================
[14:34:33] ============= [SKIPPED] xe_validate_ccs_kunit ==============
[14:34:33] ============= xe_migrate_access_memory_kunit ==============
[14:34:33] ========= [SKIPPED] xe_migrate_access_memory_kunit =========
[14:34:33] =================== [SKIPPED] xe_migrate ===================
[14:34:33] ================== xe_dma_buf (1 subtest) ==================
[14:34:33] ==================== xe_dma_buf_kunit =====================
[14:34:33] ================ [SKIPPED] xe_dma_buf_kunit ================
[14:34:33] =================== [SKIPPED] xe_dma_buf ===================
[14:34:33] ================= xe_bo_shrink (1 subtest) =================
[14:34:33] =================== xe_bo_shrink_kunit ====================
[14:34:33] =============== [SKIPPED] xe_bo_shrink_kunit ===============
[14:34:33] ================== [SKIPPED] xe_bo_shrink ==================
[14:34:33] ==================== xe_bo (2 subtests) ====================
[14:34:33] ================== xe_ccs_migrate_kunit ===================
[14:34:33] ============== [SKIPPED] xe_ccs_migrate_kunit ==============
[14:34:33] ==================== xe_bo_evict_kunit ====================
[14:34:33] =============== [SKIPPED] xe_bo_evict_kunit ================
[14:34:33] ===================== [SKIPPED] xe_bo ======================
[14:34:33] =================== xe_any (9 subtests) ====================
[14:34:33] [PASSED] test_to_xe
[14:34:33] [PASSED] test_to_dev
[14:34:33] [PASSED] test_to_pdev
[14:34:33] [PASSED] test_to_drm
[14:34:33] [PASSED] test_if_pdev
[14:34:33] [PASSED] test_if_xe
[14:34:33] [PASSED] test_if_tile
[14:34:33] [PASSED] test_if_gt
[14:34:33] [PASSED] test_to_id
[14:34:33] ===================== [PASSED] xe_any ======================
[14:34:33] ==================== args (13 subtests) ====================
[14:34:33] [PASSED] count_args_test
[14:34:33] [PASSED] call_args_example
[14:34:33] [PASSED] call_args_test
[14:34:33] [PASSED] drop_first_arg_example
[14:34:33] [PASSED] drop_first_arg_test
[14:34:33] [PASSED] first_arg_example
[14:34:33] [PASSED] first_arg_test
[14:34:33] [PASSED] last_arg_example
[14:34:33] [PASSED] last_arg_test
[14:34:33] [PASSED] pick_arg_example
[14:34:33] [PASSED] if_args_example
[14:34:33] [PASSED] if_args_test
[14:34:33] [PASSED] sep_comma_example
[14:34:33] ====================== [PASSED] args =======================
[14:34:33] =================== xe_pci (3 subtests) ====================
[14:34:33] ==================== check_graphics_ip ====================
[14:34:33] [PASSED] 12.00 Xe_LP
[14:34:33] [PASSED] 12.10 Xe_LP+
[14:34:33] [PASSED] 12.55 Xe_HPG
[14:34:33] [PASSED] 12.60 Xe_HPC
[14:34:33] [PASSED] 12.70 Xe_LPG
[14:34:33] [PASSED] 12.71 Xe_LPG
[14:34:33] [PASSED] 12.74 Xe_LPG+
[14:34:33] [PASSED] 20.01 Xe2_HPG
[14:34:33] [PASSED] 20.02 Xe2_HPG
[14:34:33] [PASSED] 20.04 Xe2_LPG
[14:34:33] [PASSED] 30.00 Xe3_LPG
[14:34:33] [PASSED] 30.01 Xe3_LPG
[14:34:33] [PASSED] 30.03 Xe3_LPG
[14:34:33] [PASSED] 30.04 Xe3_LPG
[14:34:33] [PASSED] 30.05 Xe3_LPG
[14:34:33] [PASSED] 35.10 Xe3p_LPG
[14:34:33] [PASSED] 35.11 Xe3p_XPC
[14:34:33] ================ [PASSED] check_graphics_ip ================
[14:34:33] ===================== check_media_ip ======================
[14:34:33] [PASSED] 12.00 Xe_M
[14:34:33] [PASSED] 12.55 Xe_HPM
[14:34:33] [PASSED] 13.00 Xe_LPM+
[14:34:33] [PASSED] 13.01 Xe2_HPM
[14:34:33] [PASSED] 20.00 Xe2_LPM
[14:34:33] [PASSED] 30.00 Xe3_LPM
[14:34:33] [PASSED] 30.02 Xe3_LPM
[14:34:33] [PASSED] 35.00 Xe3p_LPM
[14:34:33] [PASSED] 35.03 Xe3p_HPM
[14:34:33] ================= [PASSED] check_media_ip ==================
[14:34:33] =================== check_platform_desc ===================
[14:34:33] [PASSED] 0x9A60 (TIGERLAKE)
[14:34:33] [PASSED] 0x9A68 (TIGERLAKE)
[14:34:33] [PASSED] 0x9A70 (TIGERLAKE)
[14:34:33] [PASSED] 0x9A40 (TIGERLAKE)
[14:34:33] [PASSED] 0x9A49 (TIGERLAKE)
[14:34:33] [PASSED] 0x9A59 (TIGERLAKE)
[14:34:33] [PASSED] 0x9A78 (TIGERLAKE)
[14:34:33] [PASSED] 0x9AC0 (TIGERLAKE)
[14:34:33] [PASSED] 0x9AC9 (TIGERLAKE)
[14:34:33] [PASSED] 0x9AD9 (TIGERLAKE)
[14:34:33] [PASSED] 0x9AF8 (TIGERLAKE)
[14:34:33] [PASSED] 0x4C80 (ROCKETLAKE)
[14:34:33] [PASSED] 0x4C8A (ROCKETLAKE)
[14:34:33] [PASSED] 0x4C8B (ROCKETLAKE)
[14:34:33] [PASSED] 0x4C8C (ROCKETLAKE)
[14:34:33] [PASSED] 0x4C90 (ROCKETLAKE)
[14:34:33] [PASSED] 0x4C9A (ROCKETLAKE)
[14:34:33] [PASSED] 0x4680 (ALDERLAKE_S)
[14:34:33] [PASSED] 0x4682 (ALDERLAKE_S)
[14:34:33] [PASSED] 0x4688 (ALDERLAKE_S)
[14:34:33] [PASSED] 0x468A (ALDERLAKE_S)
[14:34:33] [PASSED] 0x468B (ALDERLAKE_S)
[14:34:33] [PASSED] 0x4690 (ALDERLAKE_S)
[14:34:33] [PASSED] 0x4692 (ALDERLAKE_S)
[14:34:33] [PASSED] 0x4693 (ALDERLAKE_S)
[14:34:33] [PASSED] 0x46A0 (ALDERLAKE_P)
[14:34:33] [PASSED] 0x46A1 (ALDERLAKE_P)
[14:34:33] [PASSED] 0x46A2 (ALDERLAKE_P)
[14:34:33] [PASSED] 0x46A3 (ALDERLAKE_P)
[14:34:33] [PASSED] 0x46A6 (ALDERLAKE_P)
[14:34:33] [PASSED] 0x46A8 (ALDERLAKE_P)
[14:34:33] [PASSED] 0x46AA (ALDERLAKE_P)
[14:34:33] [PASSED] 0x462A (ALDERLAKE_P)
[14:34:33] [PASSED] 0x4626 (ALDERLAKE_P)
[14:34:33] [PASSED] 0x4628 (ALDERLAKE_P)
[14:34:33] [PASSED] 0x46B0 (ALDERLAKE_P)
[14:34:33] [PASSED] 0x46B1 (ALDERLAKE_P)
[14:34:33] [PASSED] 0x46B2 (ALDERLAKE_P)
[14:34:33] [PASSED] 0x46B3 (ALDERLAKE_P)
[14:34:33] [PASSED] 0x46C0 (ALDERLAKE_P)
[14:34:33] [PASSED] 0x46C1 (ALDERLAKE_P)
[14:34:33] [PASSED] 0x46C2 (ALDERLAKE_P)
[14:34:33] [PASSED] 0x46C3 (ALDERLAKE_P)
[14:34:33] [PASSED] 0x46D0 (ALDERLAKE_N)
[14:34:33] [PASSED] 0x46D1 (ALDERLAKE_N)
[14:34:33] [PASSED] 0x46D2 (ALDERLAKE_N)
[14:34:33] [PASSED] 0x46D3 (ALDERLAKE_N)
[14:34:33] [PASSED] 0x46D4 (ALDERLAKE_N)
[14:34:33] [PASSED] 0xA721 (ALDERLAKE_P)
[14:34:33] [PASSED] 0xA7A1 (ALDERLAKE_P)
[14:34:33] [PASSED] 0xA7A9 (ALDERLAKE_P)
[14:34:33] [PASSED] 0xA7AC (ALDERLAKE_P)
[14:34:33] [PASSED] 0xA7AD (ALDERLAKE_P)
[14:34:33] [PASSED] 0xA720 (ALDERLAKE_P)
[14:34:33] [PASSED] 0xA7A0 (ALDERLAKE_P)
[14:34:33] [PASSED] 0xA7A8 (ALDERLAKE_P)
[14:34:33] [PASSED] 0xA7AA (ALDERLAKE_P)
[14:34:33] [PASSED] 0xA7AB (ALDERLAKE_P)
[14:34:33] [PASSED] 0xA780 (ALDERLAKE_S)
[14:34:33] [PASSED] 0xA781 (ALDERLAKE_S)
[14:34:33] [PASSED] 0xA782 (ALDERLAKE_S)
[14:34:33] [PASSED] 0xA783 (ALDERLAKE_S)
[14:34:33] [PASSED] 0xA788 (ALDERLAKE_S)
[14:34:33] [PASSED] 0xA789 (ALDERLAKE_S)
[14:34:33] [PASSED] 0xA78A (ALDERLAKE_S)
[14:34:33] [PASSED] 0xA78B (ALDERLAKE_S)
[14:34:33] [PASSED] 0x4905 (DG1)
[14:34:33] [PASSED] 0x4906 (DG1)
[14:34:33] [PASSED] 0x4907 (DG1)
[14:34:33] [PASSED] 0x4908 (DG1)
[14:34:33] [PASSED] 0x4909 (DG1)
[14:34:33] [PASSED] 0x56C0 (DG2)
[14:34:33] [PASSED] 0x56C2 (DG2)
[14:34:33] [PASSED] 0x56C1 (DG2)
[14:34:33] [PASSED] 0x7D51 (METEORLAKE)
[14:34:33] [PASSED] 0x7DD1 (METEORLAKE)
[14:34:33] [PASSED] 0x7D41 (METEORLAKE)
[14:34:33] [PASSED] 0x7D67 (METEORLAKE)
[14:34:33] [PASSED] 0xB640 (METEORLAKE)
[14:34:33] [PASSED] 0x56A0 (DG2)
[14:34:33] [PASSED] 0x56A1 (DG2)
[14:34:33] [PASSED] 0x56A2 (DG2)
[14:34:33] [PASSED] 0x56BE (DG2)
[14:34:33] [PASSED] 0x56BF (DG2)
[14:34:33] [PASSED] 0x5690 (DG2)
[14:34:33] [PASSED] 0x5691 (DG2)
[14:34:33] [PASSED] 0x5692 (DG2)
[14:34:33] [PASSED] 0x56A5 (DG2)
[14:34:33] [PASSED] 0x56A6 (DG2)
[14:34:33] [PASSED] 0x56B0 (DG2)
[14:34:33] [PASSED] 0x56B1 (DG2)
[14:34:33] [PASSED] 0x56BA (DG2)
[14:34:33] [PASSED] 0x56BB (DG2)
[14:34:33] [PASSED] 0x56BC (DG2)
[14:34:33] [PASSED] 0x56BD (DG2)
[14:34:33] [PASSED] 0x5693 (DG2)
[14:34:33] [PASSED] 0x5694 (DG2)
[14:34:33] [PASSED] 0x5695 (DG2)
[14:34:33] [PASSED] 0x56A3 (DG2)
[14:34:33] [PASSED] 0x56A4 (DG2)
[14:34:33] [PASSED] 0x56B2 (DG2)
[14:34:33] [PASSED] 0x56B3 (DG2)
[14:34:33] [PASSED] 0x5696 (DG2)
[14:34:33] [PASSED] 0x5697 (DG2)
[14:34:33] [PASSED] 0xB69 (PVC)
[14:34:33] [PASSED] 0xB6E (PVC)
[14:34:33] [PASSED] 0xBD4 (PVC)
[14:34:33] [PASSED] 0xBD5 (PVC)
[14:34:33] [PASSED] 0xBD6 (PVC)
[14:34:33] [PASSED] 0xBD7 (PVC)
[14:34:33] [PASSED] 0xBD8 (PVC)
[14:34:33] [PASSED] 0xBD9 (PVC)
[14:34:33] [PASSED] 0xBDA (PVC)
[14:34:33] [PASSED] 0xBDB (PVC)
[14:34:33] [PASSED] 0xBE0 (PVC)
[14:34:33] [PASSED] 0xBE1 (PVC)
[14:34:33] [PASSED] 0xBE5 (PVC)
[14:34:33] [PASSED] 0x7D40 (METEORLAKE)
[14:34:33] [PASSED] 0x7D45 (METEORLAKE)
[14:34:33] [PASSED] 0x7D55 (METEORLAKE)
[14:34:33] [PASSED] 0x7D60 (METEORLAKE)
[14:34:33] [PASSED] 0x7DD5 (METEORLAKE)
[14:34:33] [PASSED] 0x6420 (LUNARLAKE)
[14:34:33] [PASSED] 0x64A0 (LUNARLAKE)
[14:34:33] [PASSED] 0x64B0 (LUNARLAKE)
[14:34:33] [PASSED] 0xE202 (BATTLEMAGE)
[14:34:33] [PASSED] 0xE209 (BATTLEMAGE)
[14:34:33] [PASSED] 0xE20B (BATTLEMAGE)
[14:34:33] [PASSED] 0xE20C (BATTLEMAGE)
[14:34:33] [PASSED] 0xE20D (BATTLEMAGE)
[14:34:33] [PASSED] 0xE210 (BATTLEMAGE)
[14:34:33] [PASSED] 0xE211 (BATTLEMAGE)
[14:34:33] [PASSED] 0xE212 (BATTLEMAGE)
[14:34:33] [PASSED] 0xE216 (BATTLEMAGE)
[14:34:33] [PASSED] 0xE220 (BATTLEMAGE)
[14:34:33] [PASSED] 0xE221 (BATTLEMAGE)
[14:34:33] [PASSED] 0xE222 (BATTLEMAGE)
[14:34:33] [PASSED] 0xE223 (BATTLEMAGE)
[14:34:33] [PASSED] 0xB080 (PANTHERLAKE)
[14:34:33] [PASSED] 0xB081 (PANTHERLAKE)
[14:34:33] [PASSED] 0xB082 (PANTHERLAKE)
[14:34:33] [PASSED] 0xB083 (PANTHERLAKE)
[14:34:33] [PASSED] 0xB084 (PANTHERLAKE)
[14:34:33] [PASSED] 0xB085 (PANTHERLAKE)
[14:34:33] [PASSED] 0xB086 (PANTHERLAKE)
[14:34:33] [PASSED] 0xB087 (PANTHERLAKE)
[14:34:33] [PASSED] 0xB08F (PANTHERLAKE)
[14:34:33] [PASSED] 0xB090 (PANTHERLAKE)
[14:34:33] [PASSED] 0xB0A0 (PANTHERLAKE)
[14:34:33] [PASSED] 0xB0A1 (PANTHERLAKE)
[14:34:33] [PASSED] 0xB0B0 (PANTHERLAKE)
[14:34:33] [PASSED] 0xFD80 (PANTHERLAKE)
[14:34:33] [PASSED] 0xFD81 (PANTHERLAKE)
[14:34:33] [PASSED] 0xD740 (NOVALAKE_S)
[14:34:33] [PASSED] 0xD741 (NOVALAKE_S)
[14:34:33] [PASSED] 0xD742 (NOVALAKE_S)
[14:34:33] [PASSED] 0xD743 (NOVALAKE_S)
[14:34:33] [PASSED] 0xD745 (NOVALAKE_S)
[14:34:33] [PASSED] 0xD74A (NOVALAKE_S)
[14:34:33] [PASSED] 0xD74B (NOVALAKE_S)
[14:34:33] [PASSED] 0x674C (CRESCENTISLAND)
[14:34:33] [PASSED] 0x674D (CRESCENTISLAND)
[14:34:33] [PASSED] 0x674E (CRESCENTISLAND)
[14:34:33] [PASSED] 0x674F (CRESCENTISLAND)
[14:34:33] [PASSED] 0x6750 (CRESCENTISLAND)
[14:34:33] [PASSED] 0x6751 (CRESCENTISLAND)
[14:34:33] [PASSED] 0x6752 (CRESCENTISLAND)
[14:34:33] [PASSED] 0x6753 (CRESCENTISLAND)
[14:34:33] [PASSED] 0x6754 (CRESCENTISLAND)
[14:34:33] [PASSED] 0x6755 (CRESCENTISLAND)
[14:34:33] [PASSED] 0x6756 (CRESCENTISLAND)
[14:34:33] [PASSED] 0xD750 (NOVALAKE_P)
[14:34:33] [PASSED] 0xD751 (NOVALAKE_P)
[14:34:33] [PASSED] 0xD752 (NOVALAKE_P)
[14:34:33] [PASSED] 0xD753 (NOVALAKE_P)
[14:34:33] [PASSED] 0xD754 (NOVALAKE_P)
[14:34:33] [PASSED] 0xD755 (NOVALAKE_P)
[14:34:33] [PASSED] 0xD756 (NOVALAKE_P)
[14:34:33] [PASSED] 0xD757 (NOVALAKE_P)
[14:34:33] [PASSED] 0xD75F (NOVALAKE_P)
[14:34:33] =============== [PASSED] check_platform_desc ===============
[14:34:33] ===================== [PASSED] xe_pci ======================
[14:34:33] ============= xe_rtp_tables_test (5 subtests) ==============
[14:34:33] ================== xe_rtp_table_gt_test ===================
[14:34:33] [PASSED] gt_was/14011060649
[14:34:33] [PASSED] gt_was/14011059788
[14:34:33] [PASSED] gt_was/14015795083
[14:34:33] [PASSED] gt_was/16021867713
[14:34:33] [PASSED] gt_was/14019449301
[14:34:33] [PASSED] gt_was/16028005424
[14:34:33] [PASSED] gt_was/14026578760
[14:34:33] [PASSED] gt_was/1409420604
[14:34:33] [PASSED] gt_was/1408615072
[14:34:33] [PASSED] gt_was/22010523718
[14:34:33] [PASSED] gt_was/14011006942
[14:34:33] [PASSED] gt_was/14014830051
[14:34:33] [PASSED] gt_was/18018781329
[14:34:33] [PASSED] gt_was/1509235366
[14:34:33] [PASSED] gt_was/18018781329
[14:34:33] [PASSED] gt_was/16016694945
[14:34:33] [PASSED] gt_was/14018575942
[14:34:33] [PASSED] gt_was/22016670082
[14:34:33] [PASSED] gt_was/22016670082
[14:34:33] [PASSED] gt_was/14017421178
[14:34:33] [PASSED] gt_was/16025250150
[14:34:33] [PASSED] gt_was/14021871409
[14:34:33] [PASSED] gt_was/16021865536
[14:34:33] [PASSED] gt_was/14021486841
[14:34:33] [PASSED] gt_was/14025160223
[14:34:33] [PASSED] gt_was/14026144927, 16029437861, 14026127056
[14:34:33] [PASSED] gt_was/14025635424
[14:34:33] [PASSED] gt_was/16028005424
[14:34:33] ============== [PASSED] xe_rtp_table_gt_test ===============
[14:34:33] ================== xe_rtp_table_gt_test ===================
[14:34:33] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable
[14:34:33] [PASSED] gt_tunings/Tuning: 32B Access Enable
[14:34:33] [PASSED] gt_tunings/Tuning: L3 cache
[14:34:33] [PASSED] gt_tunings/Tuning: L3 cache - media
[14:34:33] [PASSED] gt_tunings/Tuning: Compression Overfetch
[14:34:33] [PASSED] gt_tunings/Tuning: Compression Overfetch - media
[14:34:33] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3
[14:34:33] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media
[14:34:33] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only
[14:34:33] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media
[14:34:33] [PASSED] gt_tunings/Tuning: Stateless compression control
[14:34:33] [PASSED] gt_tunings/Tuning: Stateless compression control - media
[14:34:33] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache
[14:34:33] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media
[14:34:33] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB
[14:34:33] [PASSED] gt_tunings/Tuning: Force All Non-Compressible Memory Reads to be 256B Overfetches
[14:34:33] ============== [PASSED] xe_rtp_table_gt_test ===============
[14:34:33] ================== xe_rtp_table_oob_test ==================
[14:34:33] [PASSED] oob_was/1607983814
[14:34:33] [PASSED] oob_was/16010904313
[14:34:33] [PASSED] oob_was/18022495364
[14:34:33] [PASSED] oob_was/22012773006
[14:34:33] [PASSED] oob_was/14014475959
[14:34:33] [PASSED] oob_was/22011391025
[14:34:33] [PASSED] oob_was/22012727170
[14:34:33] [PASSED] oob_was/22012727685
[14:34:33] [PASSED] oob_was/22016596838
[14:34:33] [PASSED] oob_was/18020744125
[14:34:33] [PASSED] oob_was/1409600907
[14:34:33] [PASSED] oob_was/22014953428
[14:34:33] [PASSED] oob_was/16017236439
[14:34:33] [PASSED] oob_was/14019821291
[14:34:33] [PASSED] oob_was/14015076503
[14:34:33] [PASSED] oob_was/22016122933
[14:34:33] [PASSED] oob_was/14018913170
[14:34:33] [PASSED] oob_was/14018094691
[14:34:33] [PASSED] oob_was/18024947630
[14:34:33] [PASSED] oob_was/16022287689
[14:34:33] [PASSED] oob_was/13011645652
[14:34:33] [PASSED] oob_was/14022293748
[14:34:33] [PASSED] oob_was/22019794406
[14:34:33] [PASSED] oob_was/22019338487
[14:34:33] [PASSED] oob_was/16023588340
[14:34:33] [PASSED] oob_was/14019789679
[14:34:33] [PASSED] oob_was/14022866841
[14:34:33] [PASSED] oob_was/16021333562
[14:34:33] [PASSED] oob_was/14016712196
[14:34:33] [PASSED] oob_was/14015568240
[14:34:33] [PASSED] oob_was/18013179988
[14:34:33] [PASSED] oob_was/1508761755
[14:34:33] [PASSED] oob_was/16023105232
[14:34:33] [PASSED] oob_was/16026508708
[14:34:33] [PASSED] oob_was/14020001231
[14:34:33] [PASSED] oob_was/16023683509
[14:34:33] [PASSED] oob_was/14025515070
[14:34:33] [PASSED] oob_was/15015404425_disable
[14:34:33] [PASSED] oob_was/16026007364
[14:34:33] [PASSED] oob_was/14020316580
[14:34:33] [PASSED] oob_was/14025883347
[14:34:33] [PASSED] oob_was/16029380221
[14:34:33] [PASSED] oob_was/22022079272
[14:34:33] [PASSED] oob_was/16029897822
[14:34:33] [PASSED] oob_was/14026539277
[14:34:33] [PASSED] oob_was/14027054324
[14:34:33] [PASSED] oob_was/14025941587
[14:34:33] [PASSED] oob_was/16030224309
[14:34:33] [PASSED] oob_was/14028709524
[14:34:33] [PASSED] oob_was/14028250015
[14:34:33] [PASSED] oob_was/16031259911
[14:34:33] ============== [PASSED] xe_rtp_table_oob_test ==============
[14:34:33] ================ xe_rtp_table_dev_oob_test ================
[14:34:33] [PASSED] device_oob_was/22010954014
[14:34:33] [PASSED] device_oob_was/15015404425
[14:34:33] [PASSED] device_oob_was/22019338487_display
[14:34:33] [PASSED] device_oob_was/14022085890
[14:34:33] [PASSED] device_oob_was/14026633728
[14:34:33] [PASSED] device_oob_was/14026746987
[14:34:33] [PASSED] device_oob_was/14026779378
[14:34:33] [PASSED] device_oob_was/14028586678
[14:34:33] [PASSED] device_oob_was/14028434957
[14:34:33] ============ [PASSED] xe_rtp_table_dev_oob_test ============
[14:34:33] ========== xe_rtp_table_missing_upper_bound_test ==========
[14:34:33] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865
[14:34:33] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037
[14:34:33] [PASSED] register_whitelist/1806527549
[14:34:33] [PASSED] register_whitelist/allow_read_ctx_timestamp
[14:34:33] [PASSED] register_whitelist/allow_read_queue_timestamp
[14:34:33] [PASSED] register_whitelist/16014440446
[14:34:33] [PASSED] register_whitelist/16017236439
[14:34:33] [PASSED] register_whitelist/16020183090
[14:34:33] [PASSED] register_whitelist/14024997852
[14:34:33] [PASSED] register_whitelist/14024997852
[14:34:33] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ======
[14:34:33] =============== [PASSED] xe_rtp_tables_test ================
[14:34:33] =================== xe_rtp (3 subtests) ====================
[14:34:33] =================== xe_rtp_rules_tests ====================
[14:34:33] [PASSED] no
[14:34:33] [PASSED] yes
[14:34:33] [PASSED] no-and-no
[14:34:33] [PASSED] no-and-yes
[14:34:33] [PASSED] yes-and-no
[14:34:33] [PASSED] yes-and-yes
[14:34:33] [PASSED] no-or-no
[14:34:33] [PASSED] no-or-yes
[14:34:33] [PASSED] yes-or-no
[14:34:33] [PASSED] yes-or-yes
[14:34:33] [PASSED] no-yes-or-yes-no
[14:34:33] [PASSED] no-yes-or-yes-yes
[14:34:33] [PASSED] yes-yes-or-no-yes
[14:34:33] [PASSED] yes-yes-or-yes-yes
[14:34:33] [PASSED] no-no-or-yes-or-no
[14:34:33] [PASSED] or
[14:34:33] [PASSED] or-yes
[14:34:33] [PASSED] or-no
[14:34:33] [PASSED] yes-or
[14:34:33] [PASSED] no-or
[14:34:33] [PASSED] no-or-or-yes
[14:34:33] [PASSED] yes-or-or-no
[14:34:33] [PASSED] no-or-or-no
[14:34:33] [PASSED] missing-context-engine-class
[14:34:33] [PASSED] missing-context-engine-class-or-yes
[14:34:33] [PASSED] missing-context-engine-class-or-or-yes
[14:34:33] =============== [PASSED] xe_rtp_rules_tests ================
[14:34:33] =============== xe_rtp_process_to_sr_tests ================
[14:34:33] [PASSED] coalesce-same-reg
[14:34:33] [PASSED] coalesce-same-reg-literal-and-func
[14:34:33] [PASSED] no-match-no-add
[14:34:33] [PASSED] two-regs-two-entries
[14:34:33] [PASSED] clr-one-set-other
[14:34:33] [PASSED] set-field
[14:34:33] [PASSED] conflict-duplicate
[14:34:33] [PASSED] conflict-not-disjoint
[14:34:33] [PASSED] conflict-not-disjoint-literal-and-func
[14:34:33] [PASSED] conflict-reg-type
[14:34:33] [PASSED] bad-mcr-reg-forced-to-regular
[14:34:33] [PASSED] bad-regular-reg-forced-to-mcr
[14:34:33] =========== [PASSED] xe_rtp_process_to_sr_tests ============
[14:34:33] ================== xe_rtp_process_tests ===================
[14:34:33] [PASSED] active1
[14:34:33] [PASSED] active2
[14:34:33] [PASSED] active-inactive
[14:34:33] [PASSED] inactive-active
[14:34:33] [PASSED] inactive-active-inactive
[14:34:33] [PASSED] inactive-inactive-inactive
[14:34:33] ============== [PASSED] xe_rtp_process_tests ===============
[14:34:33] ===================== [PASSED] xe_rtp ======================
[14:34:33] ==================== xe_wa (1 subtest) =====================
[14:34:33] ======================== xe_wa_gt =========================
[14:34:33] [PASSED] TIGERLAKE B0
[14:34:33] [PASSED] DG1 A0
[14:34:33] [PASSED] DG1 B0
[14:34:33] [PASSED] ALDERLAKE_S A0
[14:34:33] [PASSED] ALDERLAKE_S B0
[14:34:33] [PASSED] ALDERLAKE_S C0
[14:34:33] [PASSED] ALDERLAKE_S D0
[14:34:33] [PASSED] ALDERLAKE_P A0
[14:34:33] [PASSED] ALDERLAKE_P B0
[14:34:33] [PASSED] ALDERLAKE_P C0
[14:34:33] [PASSED] ALDERLAKE_S RPLS D0
[14:34:33] [PASSED] ALDERLAKE_P RPLU E0
[14:34:33] [PASSED] DG2 G10 C0
[14:34:33] [PASSED] DG2 G11 B1
[14:34:33] [PASSED] DG2 G12 A1
[14:34:33] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0
[14:34:33] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0
[14:34:33] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0
[14:34:33] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0
[14:34:33] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0
[14:34:33] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1
[14:34:33] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0
[14:34:33] ==================== [PASSED] xe_wa_gt =====================
[14:34:33] ====================== [PASSED] xe_wa ======================
[14:34:33] ============================================================
[14:34:33] Testing complete. Ran 860 tests: passed: 831, skipped: 29
[14:34:33] Elapsed time: 42.346s total, 2.574s configuring, 39.006s building, 0.743s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig
[14:34:33] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[14:34:35] 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
[14:35:01] Starting KUnit Kernel (1/1)...
[14:35:01] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[14:35:01] ============ drm_test_pick_cmdline (2 subtests) ============
[14:35:01] [PASSED] drm_test_pick_cmdline_res_1920_1080_60
[14:35:01] =============== drm_test_pick_cmdline_named ===============
[14:35:01] [PASSED] NTSC
[14:35:01] [PASSED] NTSC-J
[14:35:01] [PASSED] PAL
[14:35:01] [PASSED] PAL-M
[14:35:01] =========== [PASSED] drm_test_pick_cmdline_named ===========
[14:35:01] ============== [PASSED] drm_test_pick_cmdline ==============
[14:35:01] == drm_test_atomic_get_connector_for_encoder (1 subtest) ===
[14:35:01] [PASSED] drm_test_drm_atomic_get_connector_for_encoder
[14:35:01] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ====
[14:35:01] =========== drm_validate_clone_mode (2 subtests) ===========
[14:35:01] ============== drm_test_check_in_clone_mode ===============
[14:35:01] [PASSED] in_clone_mode
[14:35:01] [PASSED] not_in_clone_mode
[14:35:01] ========== [PASSED] drm_test_check_in_clone_mode ===========
[14:35:01] =============== drm_test_check_valid_clones ===============
[14:35:01] [PASSED] not_in_clone_mode
[14:35:01] [PASSED] valid_clone
[14:35:01] [PASSED] invalid_clone
[14:35:01] =========== [PASSED] drm_test_check_valid_clones ===========
[14:35:01] ============= [PASSED] drm_validate_clone_mode =============
[14:35:01] ============= drm_validate_modeset (1 subtest) =============
[14:35:01] [PASSED] drm_test_check_connector_changed_modeset
[14:35:01] ============== [PASSED] drm_validate_modeset ===============
[14:35:01] ====== drm_test_bridge_get_current_state (1 subtest) =======
[14:35:01] [PASSED] drm_test_drm_bridge_get_current_state_atomic
[14:35:01] ======== [PASSED] drm_test_bridge_get_current_state ========
[14:35:01] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ======
[14:35:01] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic
[14:35:01] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled
[14:35:01] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts
[14:35:01] ======== [PASSED] drm_test_bridge_helper_reset_crtc ========
[14:35:01] ============== drm_bridge_alloc (2 subtests) ===============
[14:35:01] [PASSED] drm_test_drm_bridge_alloc_basic
[14:35:01] [PASSED] drm_test_drm_bridge_alloc_get_put
[14:35:01] ================ [PASSED] drm_bridge_alloc =================
[14:35:01] ============= drm_bridge_bus_fmt (5 subtests) ==============
[14:35:01] [PASSED] drm_test_bridge_rgb_yuv_rgb
[14:35:01] [PASSED] drm_test_bridge_must_convert_to_yuv444
[14:35:01] [PASSED] drm_test_bridge_hdmi_auto_rgb
[14:35:01] [PASSED] drm_test_bridge_auto_first
[14:35:01] [PASSED] drm_test_bridge_rgb_yuv_no_path
[14:35:01] =============== [PASSED] drm_bridge_bus_fmt ================
[14:35:01] ============= drm_cmdline_parser (40 subtests) =============
[14:35:01] [PASSED] drm_test_cmdline_force_d_only
[14:35:01] [PASSED] drm_test_cmdline_force_D_only_dvi
[14:35:01] [PASSED] drm_test_cmdline_force_D_only_hdmi
[14:35:01] [PASSED] drm_test_cmdline_force_D_only_not_digital
[14:35:01] [PASSED] drm_test_cmdline_force_e_only
[14:35:01] [PASSED] drm_test_cmdline_res
[14:35:01] [PASSED] drm_test_cmdline_res_vesa
[14:35:01] [PASSED] drm_test_cmdline_res_vesa_rblank
[14:35:01] [PASSED] drm_test_cmdline_res_rblank
[14:35:01] [PASSED] drm_test_cmdline_res_bpp
[14:35:01] [PASSED] drm_test_cmdline_res_refresh
[14:35:01] [PASSED] drm_test_cmdline_res_bpp_refresh
[14:35:01] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced
[14:35:01] [PASSED] drm_test_cmdline_res_bpp_refresh_margins
[14:35:01] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off
[14:35:01] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on
[14:35:01] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog
[14:35:01] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital
[14:35:01] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on
[14:35:01] [PASSED] drm_test_cmdline_res_margins_force_on
[14:35:01] [PASSED] drm_test_cmdline_res_vesa_margins
[14:35:01] [PASSED] drm_test_cmdline_name
[14:35:01] [PASSED] drm_test_cmdline_name_bpp
[14:35:01] [PASSED] drm_test_cmdline_name_option
[14:35:01] [PASSED] drm_test_cmdline_name_bpp_option
[14:35:01] [PASSED] drm_test_cmdline_rotate_0
[14:35:01] [PASSED] drm_test_cmdline_rotate_90
[14:35:01] [PASSED] drm_test_cmdline_rotate_180
[14:35:01] [PASSED] drm_test_cmdline_rotate_270
[14:35:01] [PASSED] drm_test_cmdline_hmirror
[14:35:01] [PASSED] drm_test_cmdline_vmirror
[14:35:01] [PASSED] drm_test_cmdline_margin_options
[14:35:01] [PASSED] drm_test_cmdline_multiple_options
[14:35:01] [PASSED] drm_test_cmdline_bpp_extra_and_option
[14:35:01] [PASSED] drm_test_cmdline_extra_and_option
[14:35:01] [PASSED] drm_test_cmdline_freestanding_options
[14:35:01] [PASSED] drm_test_cmdline_freestanding_force_e_and_options
[14:35:01] [PASSED] drm_test_cmdline_panel_orientation
[14:35:01] ================ drm_test_cmdline_invalid =================
[14:35:01] [PASSED] margin_only
[14:35:01] [PASSED] interlace_only
[14:35:01] [PASSED] res_missing_x
[14:35:01] [PASSED] res_missing_y
[14:35:01] [PASSED] res_bad_y
[14:35:01] [PASSED] res_missing_y_bpp
[14:35:01] [PASSED] res_bad_bpp
[14:35:01] [PASSED] res_bad_refresh
[14:35:01] [PASSED] res_bpp_refresh_force_on_off
[14:35:01] [PASSED] res_invalid_mode
[14:35:01] [PASSED] res_bpp_wrong_place_mode
[14:35:01] [PASSED] name_bpp_refresh
[14:35:01] [PASSED] name_refresh
[14:35:01] [PASSED] name_refresh_wrong_mode
[14:35:01] [PASSED] name_refresh_invalid_mode
[14:35:01] [PASSED] rotate_multiple
[14:35:01] [PASSED] rotate_invalid_val
[14:35:01] [PASSED] rotate_truncated
[14:35:01] [PASSED] invalid_option
[14:35:01] [PASSED] invalid_tv_option
[14:35:01] [PASSED] truncated_tv_option
[14:35:01] ============ [PASSED] drm_test_cmdline_invalid =============
[14:35:01] =============== drm_test_cmdline_tv_options ===============
[14:35:01] [PASSED] NTSC
[14:35:01] [PASSED] NTSC_443
[14:35:01] [PASSED] NTSC_J
[14:35:01] [PASSED] PAL
[14:35:01] [PASSED] PAL_M
[14:35:01] [PASSED] PAL_N
[14:35:01] [PASSED] SECAM
[14:35:01] [PASSED] MONO_525
[14:35:01] [PASSED] MONO_625
[14:35:01] =========== [PASSED] drm_test_cmdline_tv_options ===========
[14:35:01] =============== [PASSED] drm_cmdline_parser ================
[14:35:01] ========== drmm_connector_hdmi_init (20 subtests) ==========
[14:35:01] [PASSED] drm_test_connector_hdmi_init_valid
[14:35:01] [PASSED] drm_test_connector_hdmi_init_bpc_8
[14:35:01] [PASSED] drm_test_connector_hdmi_init_bpc_10
[14:35:01] [PASSED] drm_test_connector_hdmi_init_bpc_12
[14:35:01] [PASSED] drm_test_connector_hdmi_init_bpc_invalid
[14:35:01] [PASSED] drm_test_connector_hdmi_init_bpc_null
[14:35:01] [PASSED] drm_test_connector_hdmi_init_formats_empty
[14:35:01] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb
[14:35:01] === drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[14:35:01] [PASSED] supported_formats=0x9 yuv420_allowed=1
[14:35:01] [PASSED] supported_formats=0x9 yuv420_allowed=0
[14:35:01] [PASSED] supported_formats=0x5 yuv420_allowed=1
[14:35:01] [PASSED] supported_formats=0x5 yuv420_allowed=0
[14:35:01] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed ===
[14:35:01] [PASSED] drm_test_connector_hdmi_init_null_ddc
[14:35:01] [PASSED] drm_test_connector_hdmi_init_null_product
[14:35:01] [PASSED] drm_test_connector_hdmi_init_null_vendor
[14:35:01] [PASSED] drm_test_connector_hdmi_init_product_length_exact
[14:35:01] [PASSED] drm_test_connector_hdmi_init_product_length_too_long
[14:35:01] [PASSED] drm_test_connector_hdmi_init_product_valid
[14:35:01] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact
[14:35:01] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long
[14:35:01] [PASSED] drm_test_connector_hdmi_init_vendor_valid
[14:35:01] ========= drm_test_connector_hdmi_init_type_valid =========
[14:35:01] [PASSED] HDMI-A
[14:35:01] [PASSED] HDMI-B
[14:35:01] ===== [PASSED] drm_test_connector_hdmi_init_type_valid =====
[14:35:01] ======== drm_test_connector_hdmi_init_type_invalid ========
[14:35:01] [PASSED] Unknown
[14:35:01] [PASSED] VGA
[14:35:01] [PASSED] DVI-I
[14:35:01] [PASSED] DVI-D
[14:35:01] [PASSED] DVI-A
[14:35:01] [PASSED] Composite
[14:35:01] [PASSED] SVIDEO
[14:35:01] [PASSED] LVDS
[14:35:01] [PASSED] Component
[14:35:01] [PASSED] DIN
[14:35:01] [PASSED] DP
[14:35:01] [PASSED] TV
[14:35:01] [PASSED] eDP
[14:35:01] [PASSED] Virtual
[14:35:01] [PASSED] DSI
[14:35:01] [PASSED] DPI
[14:35:01] [PASSED] Writeback
[14:35:01] [PASSED] SPI
[14:35:01] [PASSED] USB
[14:35:01] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ====
[14:35:01] ============ [PASSED] drmm_connector_hdmi_init =============
[14:35:01] ============= drmm_connector_init (3 subtests) =============
[14:35:01] [PASSED] drm_test_drmm_connector_init
[14:35:01] [PASSED] drm_test_drmm_connector_init_null_ddc
[14:35:01] ========= drm_test_drmm_connector_init_type_valid =========
[14:35:01] [PASSED] Unknown
[14:35:01] [PASSED] VGA
[14:35:01] [PASSED] DVI-I
[14:35:01] [PASSED] DVI-D
[14:35:01] [PASSED] DVI-A
[14:35:01] [PASSED] Composite
[14:35:01] [PASSED] SVIDEO
[14:35:01] [PASSED] LVDS
[14:35:01] [PASSED] Component
[14:35:01] [PASSED] DIN
[14:35:01] [PASSED] DP
[14:35:01] [PASSED] HDMI-A
[14:35:01] [PASSED] HDMI-B
[14:35:01] [PASSED] TV
[14:35:01] [PASSED] eDP
[14:35:01] [PASSED] Virtual
[14:35:01] [PASSED] DSI
[14:35:01] [PASSED] DPI
[14:35:01] [PASSED] Writeback
[14:35:01] [PASSED] SPI
[14:35:01] [PASSED] USB
[14:35:01] ===== [PASSED] drm_test_drmm_connector_init_type_valid =====
[14:35:01] =============== [PASSED] drmm_connector_init ===============
[14:35:01] ========= drm_connector_dynamic_init (6 subtests) ==========
[14:35:01] [PASSED] drm_test_drm_connector_dynamic_init
[14:35:01] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc
[14:35:01] [PASSED] drm_test_drm_connector_dynamic_init_not_added
[14:35:01] [PASSED] drm_test_drm_connector_dynamic_init_properties
[14:35:01] ===== drm_test_drm_connector_dynamic_init_type_valid ======
[14:35:01] [PASSED] Unknown
[14:35:01] [PASSED] VGA
[14:35:01] [PASSED] DVI-I
[14:35:01] [PASSED] DVI-D
[14:35:01] [PASSED] DVI-A
[14:35:01] [PASSED] Composite
[14:35:01] [PASSED] SVIDEO
[14:35:01] [PASSED] LVDS
[14:35:01] [PASSED] Component
[14:35:01] [PASSED] DIN
[14:35:01] [PASSED] DP
[14:35:01] [PASSED] HDMI-A
[14:35:01] [PASSED] HDMI-B
[14:35:01] [PASSED] TV
[14:35:01] [PASSED] eDP
[14:35:01] [PASSED] Virtual
[14:35:01] [PASSED] DSI
[14:35:01] [PASSED] DPI
[14:35:01] [PASSED] Writeback
[14:35:01] [PASSED] SPI
[14:35:01] [PASSED] USB
[14:35:01] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid ==
[14:35:01] ======== drm_test_drm_connector_dynamic_init_name =========
[14:35:01] [PASSED] Unknown
[14:35:01] [PASSED] VGA
[14:35:01] [PASSED] DVI-I
[14:35:01] [PASSED] DVI-D
[14:35:01] [PASSED] DVI-A
[14:35:01] [PASSED] Composite
[14:35:01] [PASSED] SVIDEO
[14:35:01] [PASSED] LVDS
[14:35:01] [PASSED] Component
[14:35:01] [PASSED] DIN
[14:35:01] [PASSED] DP
[14:35:01] [PASSED] HDMI-A
[14:35:01] [PASSED] HDMI-B
[14:35:01] [PASSED] TV
[14:35:01] [PASSED] eDP
[14:35:01] [PASSED] Virtual
[14:35:01] [PASSED] DSI
[14:35:01] [PASSED] DPI
[14:35:01] [PASSED] Writeback
[14:35:01] [PASSED] SPI
[14:35:01] [PASSED] USB
[14:35:01] ==== [PASSED] drm_test_drm_connector_dynamic_init_name =====
[14:35:01] =========== [PASSED] drm_connector_dynamic_init ============
[14:35:01] ==== drm_connector_dynamic_register_early (4 subtests) =====
[14:35:01] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list
[14:35:01] [PASSED] drm_test_drm_connector_dynamic_register_early_defer
[14:35:01] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init
[14:35:01] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object
[14:35:01] ====== [PASSED] drm_connector_dynamic_register_early =======
[14:35:01] ======= drm_connector_dynamic_register (7 subtests) ========
[14:35:01] [PASSED] drm_test_drm_connector_dynamic_register_on_list
[14:35:01] [PASSED] drm_test_drm_connector_dynamic_register_no_defer
[14:35:01] [PASSED] drm_test_drm_connector_dynamic_register_no_init
[14:35:01] [PASSED] drm_test_drm_connector_dynamic_register_mode_object
[14:35:01] [PASSED] drm_test_drm_connector_dynamic_register_sysfs
[14:35:01] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name
[14:35:01] [PASSED] drm_test_drm_connector_dynamic_register_debugfs
[14:35:01] ========= [PASSED] drm_connector_dynamic_register ==========
[14:35:01] = drm_connector_attach_broadcast_rgb_property (2 subtests) =
[14:35:01] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property
[14:35:01] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector
[14:35:01] === [PASSED] drm_connector_attach_broadcast_rgb_property ===
[14:35:01] ========== drm_get_tv_mode_from_name (2 subtests) ==========
[14:35:01] ========== drm_test_get_tv_mode_from_name_valid ===========
[14:35:01] [PASSED] NTSC
[14:35:01] [PASSED] NTSC-443
[14:35:01] [PASSED] NTSC-J
[14:35:01] [PASSED] PAL
[14:35:01] [PASSED] PAL-M
[14:35:01] [PASSED] PAL-N
[14:35:01] [PASSED] SECAM
[14:35:01] [PASSED] Mono
[14:35:01] ====== [PASSED] drm_test_get_tv_mode_from_name_valid =======
[14:35:01] [PASSED] drm_test_get_tv_mode_from_name_truncated
[14:35:01] ============ [PASSED] drm_get_tv_mode_from_name ============
[14:35:01] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) =
[14:35:01] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb
[14:35:01] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc
[14:35:01] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1
[14:35:01] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc
[14:35:01] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1
[14:35:01] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double
[14:35:01] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid =
[14:35:01] [PASSED] VIC 96
[14:35:01] [PASSED] VIC 97
[14:35:01] [PASSED] VIC 101
[14:35:01] [PASSED] VIC 102
[14:35:01] [PASSED] VIC 106
[14:35:01] [PASSED] VIC 107
[14:35:01] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid ===
[14:35:01] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc
[14:35:01] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc
[14:35:01] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc
[14:35:01] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc
[14:35:01] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc
[14:35:01] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ====
[14:35:01] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) ==
[14:35:01] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ====
[14:35:01] [PASSED] Automatic
[14:35:01] [PASSED] Full
[14:35:01] [PASSED] Limited 16:235
[14:35:01] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name ===
[14:35:01] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid
[14:35:01] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ====
[14:35:01] == drm_hdmi_connector_get_output_format_name (2 subtests) ==
[14:35:01] === drm_test_drm_hdmi_connector_get_output_format_name ====
[14:35:01] [PASSED] RGB
[14:35:01] [PASSED] YUV 4:2:0
[14:35:01] [PASSED] YUV 4:2:2
[14:35:01] [PASSED] YUV 4:4:4
[14:35:01] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name ===
[14:35:01] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid
[14:35:01] ==== [PASSED] drm_hdmi_connector_get_output_format_name ====
[14:35:01] ============= drm_damage_helper (21 subtests) ==============
[14:35:01] [PASSED] drm_test_damage_iter_no_damage
[14:35:01] [PASSED] drm_test_damage_iter_no_damage_fractional_src
[14:35:01] [PASSED] drm_test_damage_iter_no_damage_src_moved
[14:35:01] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved
[14:35:01] [PASSED] drm_test_damage_iter_no_damage_not_visible
[14:35:01] [PASSED] drm_test_damage_iter_no_damage_no_crtc
[14:35:01] [PASSED] drm_test_damage_iter_no_damage_no_fb
[14:35:01] [PASSED] drm_test_damage_iter_simple_damage
[14:35:01] [PASSED] drm_test_damage_iter_single_damage
[14:35:01] [PASSED] drm_test_damage_iter_single_damage_intersect_src
[14:35:01] [PASSED] drm_test_damage_iter_single_damage_outside_src
[14:35:01] [PASSED] drm_test_damage_iter_single_damage_fractional_src
[14:35:01] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src
[14:35:01] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src
[14:35:01] [PASSED] drm_test_damage_iter_single_damage_src_moved
[14:35:01] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved
[14:35:01] [PASSED] drm_test_damage_iter_damage
[14:35:01] [PASSED] drm_test_damage_iter_damage_one_intersect
[14:35:01] [PASSED] drm_test_damage_iter_damage_one_outside
[14:35:01] [PASSED] drm_test_damage_iter_damage_src_moved
[14:35:01] [PASSED] drm_test_damage_iter_damage_not_visible
[14:35:01] ================ [PASSED] drm_damage_helper ================
[14:35:01] ============== drm_dp_mst_helper (3 subtests) ==============
[14:35:01] ============== drm_test_dp_mst_calc_pbn_mode ==============
[14:35:01] [PASSED] Clock 154000 BPP 30 DSC disabled
[14:35:01] [PASSED] Clock 234000 BPP 30 DSC disabled
[14:35:01] [PASSED] Clock 297000 BPP 24 DSC disabled
[14:35:01] [PASSED] Clock 332880 BPP 24 DSC enabled
[14:35:01] [PASSED] Clock 324540 BPP 24 DSC enabled
[14:35:01] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ==========
[14:35:01] ============== drm_test_dp_mst_calc_pbn_div ===============
[14:35:01] [PASSED] Link rate 2000000 lane count 4
[14:35:01] [PASSED] Link rate 2000000 lane count 2
[14:35:01] [PASSED] Link rate 2000000 lane count 1
[14:35:01] [PASSED] Link rate 1350000 lane count 4
[14:35:01] [PASSED] Link rate 1350000 lane count 2
[14:35:01] [PASSED] Link rate 1350000 lane count 1
[14:35:01] [PASSED] Link rate 1000000 lane count 4
[14:35:01] [PASSED] Link rate 1000000 lane count 2
[14:35:01] [PASSED] Link rate 1000000 lane count 1
[14:35:01] [PASSED] Link rate 810000 lane count 4
[14:35:01] [PASSED] Link rate 810000 lane count 2
[14:35:01] [PASSED] Link rate 810000 lane count 1
[14:35:01] [PASSED] Link rate 540000 lane count 4
[14:35:01] [PASSED] Link rate 540000 lane count 2
[14:35:01] [PASSED] Link rate 540000 lane count 1
[14:35:01] [PASSED] Link rate 270000 lane count 4
[14:35:01] [PASSED] Link rate 270000 lane count 2
[14:35:01] [PASSED] Link rate 270000 lane count 1
[14:35:01] [PASSED] Link rate 162000 lane count 4
[14:35:01] [PASSED] Link rate 162000 lane count 2
[14:35:01] [PASSED] Link rate 162000 lane count 1
[14:35:01] ========== [PASSED] drm_test_dp_mst_calc_pbn_div ===========
[14:35:01] ========= drm_test_dp_mst_sideband_msg_req_decode =========
[14:35:01] [PASSED] DP_ENUM_PATH_RESOURCES with port number
[14:35:01] [PASSED] DP_POWER_UP_PHY with port number
[14:35:01] [PASSED] DP_POWER_DOWN_PHY with port number
[14:35:01] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks
[14:35:01] [PASSED] DP_ALLOCATE_PAYLOAD with port number
[14:35:01] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI
[14:35:01] [PASSED] DP_ALLOCATE_PAYLOAD with PBN
[14:35:01] [PASSED] DP_QUERY_PAYLOAD with port number
[14:35:01] [PASSED] DP_QUERY_PAYLOAD with VCPI
[14:35:01] [PASSED] DP_REMOTE_DPCD_READ with port number
[14:35:01] [PASSED] DP_REMOTE_DPCD_READ with DPCD address
[14:35:01] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes
[14:35:01] [PASSED] DP_REMOTE_DPCD_WRITE with port number
[14:35:01] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address
[14:35:01] [PASSED] DP_REMOTE_DPCD_WRITE with data array
[14:35:01] [PASSED] DP_REMOTE_I2C_READ with port number
[14:35:01] [PASSED] DP_REMOTE_I2C_READ with I2C device ID
[14:35:01] [PASSED] DP_REMOTE_I2C_READ with transactions array
[14:35:01] [PASSED] DP_REMOTE_I2C_WRITE with port number
[14:35:01] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID
[14:35:01] [PASSED] DP_REMOTE_I2C_WRITE with data array
[14:35:01] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID
[14:35:01] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID
[14:35:01] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event
[14:35:01] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event
[14:35:01] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior
[14:35:01] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior
[14:35:01] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode =====
[14:35:01] ================ [PASSED] drm_dp_mst_helper ================
[14:35:01] ================== drm_exec (7 subtests) ===================
[14:35:01] [PASSED] sanitycheck
[14:35:01] [PASSED] test_lock
[14:35:01] [PASSED] test_lock_unlock
[14:35:01] [PASSED] test_duplicates
[14:35:01] [PASSED] test_prepare
[14:35:01] [PASSED] test_prepare_array
[14:35:01] [PASSED] test_multiple_loops
[14:35:01] ==================== [PASSED] drm_exec =====================
[14:35:01] =========== drm_format_helper_test (17 subtests) ===========
[14:35:01] ============== drm_test_fb_xrgb8888_to_gray8 ==============
[14:35:01] [PASSED] single_pixel_source_buffer
[14:35:01] [PASSED] single_pixel_clip_rectangle
[14:35:01] [PASSED] well_known_colors
[14:35:01] [PASSED] destination_pitch
[14:35:01] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ==========
[14:35:01] ============= drm_test_fb_xrgb8888_to_rgb332 ==============
[14:35:01] [PASSED] single_pixel_source_buffer
[14:35:01] [PASSED] single_pixel_clip_rectangle
[14:35:01] [PASSED] well_known_colors
[14:35:01] [PASSED] destination_pitch
[14:35:01] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ==========
[14:35:01] ============= drm_test_fb_xrgb8888_to_rgb565 ==============
[14:35:01] [PASSED] single_pixel_source_buffer
[14:35:01] [PASSED] single_pixel_clip_rectangle
[14:35:01] [PASSED] well_known_colors
[14:35:01] [PASSED] destination_pitch
[14:35:01] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ==========
[14:35:01] ============ drm_test_fb_xrgb8888_to_xrgb1555 =============
[14:35:01] [PASSED] single_pixel_source_buffer
[14:35:01] [PASSED] single_pixel_clip_rectangle
[14:35:01] [PASSED] well_known_colors
[14:35:01] [PASSED] destination_pitch
[14:35:01] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 =========
[14:35:01] ============ drm_test_fb_xrgb8888_to_argb1555 =============
[14:35:01] [PASSED] single_pixel_source_buffer
[14:35:01] [PASSED] single_pixel_clip_rectangle
[14:35:01] [PASSED] well_known_colors
[14:35:01] [PASSED] destination_pitch
[14:35:01] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 =========
[14:35:01] ============ drm_test_fb_xrgb8888_to_rgba5551 =============
[14:35:01] [PASSED] single_pixel_source_buffer
[14:35:01] [PASSED] single_pixel_clip_rectangle
[14:35:01] [PASSED] well_known_colors
[14:35:01] [PASSED] destination_pitch
[14:35:01] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 =========
[14:35:01] ============= drm_test_fb_xrgb8888_to_rgb888 ==============
[14:35:01] [PASSED] single_pixel_source_buffer
[14:35:01] [PASSED] single_pixel_clip_rectangle
[14:35:01] [PASSED] well_known_colors
[14:35:01] [PASSED] destination_pitch
[14:35:01] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ==========
[14:35:01] ============= drm_test_fb_xrgb8888_to_bgr888 ==============
[14:35:01] [PASSED] single_pixel_source_buffer
[14:35:01] [PASSED] single_pixel_clip_rectangle
[14:35:01] [PASSED] well_known_colors
[14:35:01] [PASSED] destination_pitch
[14:35:01] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ==========
[14:35:01] ============ drm_test_fb_xrgb8888_to_argb8888 =============
[14:35:01] [PASSED] single_pixel_source_buffer
[14:35:01] [PASSED] single_pixel_clip_rectangle
[14:35:01] [PASSED] well_known_colors
[14:35:01] [PASSED] destination_pitch
[14:35:01] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 =========
[14:35:01] =========== drm_test_fb_xrgb8888_to_xrgb2101010 ===========
[14:35:01] [PASSED] single_pixel_source_buffer
[14:35:01] [PASSED] single_pixel_clip_rectangle
[14:35:01] [PASSED] well_known_colors
[14:35:01] [PASSED] destination_pitch
[14:35:01] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 =======
[14:35:01] =========== drm_test_fb_xrgb8888_to_argb2101010 ===========
[14:35:01] [PASSED] single_pixel_source_buffer
[14:35:01] [PASSED] single_pixel_clip_rectangle
[14:35:01] [PASSED] well_known_colors
[14:35:01] [PASSED] destination_pitch
[14:35:01] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 =======
[14:35:01] ============== drm_test_fb_xrgb8888_to_mono ===============
[14:35:01] [PASSED] single_pixel_source_buffer
[14:35:01] [PASSED] single_pixel_clip_rectangle
[14:35:01] [PASSED] well_known_colors
[14:35:01] [PASSED] destination_pitch
[14:35:01] ========== [PASSED] drm_test_fb_xrgb8888_to_mono ===========
[14:35:01] ==================== drm_test_fb_swab =====================
[14:35:01] [PASSED] single_pixel_source_buffer
[14:35:01] [PASSED] single_pixel_clip_rectangle
[14:35:01] [PASSED] well_known_colors
[14:35:01] [PASSED] destination_pitch
[14:35:01] ================ [PASSED] drm_test_fb_swab =================
[14:35:01] ============ drm_test_fb_xrgb8888_to_xbgr8888 =============
[14:35:01] [PASSED] single_pixel_source_buffer
[14:35:01] [PASSED] single_pixel_clip_rectangle
[14:35:01] [PASSED] well_known_colors
[14:35:01] [PASSED] destination_pitch
[14:35:01] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 =========
[14:35:01] ============ drm_test_fb_xrgb8888_to_abgr8888 =============
[14:35:01] [PASSED] single_pixel_source_buffer
[14:35:01] [PASSED] single_pixel_clip_rectangle
[14:35:01] [PASSED] well_known_colors
[14:35:01] [PASSED] destination_pitch
[14:35:01] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 =========
[14:35:01] ================= drm_test_fb_clip_offset =================
[14:35:01] [PASSED] pass through
[14:35:01] [PASSED] horizontal offset
[14:35:01] [PASSED] vertical offset
[14:35:01] [PASSED] horizontal and vertical offset
[14:35:01] [PASSED] horizontal offset (custom pitch)
[14:35:01] [PASSED] vertical offset (custom pitch)
[14:35:01] [PASSED] horizontal and vertical offset (custom pitch)
[14:35:01] ============= [PASSED] drm_test_fb_clip_offset =============
[14:35:01] =================== drm_test_fb_memcpy ====================
[14:35:01] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258)
[14:35:01] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258)
[14:35:01] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559)
[14:35:01] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258)
[14:35:01] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258)
[14:35:01] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559)
[14:35:01] [PASSED] well_known_colors: XB24 little-endian (0x34324258)
[14:35:01] [PASSED] well_known_colors: XRA8 little-endian (0x38415258)
[14:35:01] [PASSED] well_known_colors: YU24 little-endian (0x34325559)
[14:35:01] [PASSED] destination_pitch: XB24 little-endian (0x34324258)
[14:35:01] [PASSED] destination_pitch: XRA8 little-endian (0x38415258)
[14:35:01] [PASSED] destination_pitch: YU24 little-endian (0x34325559)
[14:35:01] =============== [PASSED] drm_test_fb_memcpy ================
[14:35:01] ============= [PASSED] drm_format_helper_test ==============
[14:35:01] ================= drm_format (18 subtests) =================
[14:35:01] [PASSED] drm_test_format_block_width_invalid
[14:35:01] [PASSED] drm_test_format_block_width_one_plane
[14:35:01] [PASSED] drm_test_format_block_width_two_plane
[14:35:01] [PASSED] drm_test_format_block_width_three_plane
[14:35:01] [PASSED] drm_test_format_block_width_tiled
[14:35:01] [PASSED] drm_test_format_block_height_invalid
[14:35:01] [PASSED] drm_test_format_block_height_one_plane
[14:35:01] [PASSED] drm_test_format_block_height_two_plane
[14:35:01] [PASSED] drm_test_format_block_height_three_plane
[14:35:01] [PASSED] drm_test_format_block_height_tiled
[14:35:01] [PASSED] drm_test_format_min_pitch_invalid
[14:35:01] [PASSED] drm_test_format_min_pitch_one_plane_8bpp
[14:35:01] [PASSED] drm_test_format_min_pitch_one_plane_16bpp
[14:35:01] [PASSED] drm_test_format_min_pitch_one_plane_24bpp
[14:35:01] [PASSED] drm_test_format_min_pitch_one_plane_32bpp
[14:35:01] [PASSED] drm_test_format_min_pitch_two_plane
[14:35:01] [PASSED] drm_test_format_min_pitch_three_plane_8bpp
[14:35:01] [PASSED] drm_test_format_min_pitch_tiled
[14:35:01] =================== [PASSED] drm_format ====================
[14:35:01] ============== drm_framebuffer (10 subtests) ===============
[14:35:01] ========== drm_test_framebuffer_check_src_coords ==========
[14:35:01] [PASSED] Success: source fits into fb
[14:35:01] [PASSED] Fail: overflowing fb with x-axis coordinate
[14:35:01] [PASSED] Fail: overflowing fb with y-axis coordinate
[14:35:01] [PASSED] Fail: overflowing fb with source width
[14:35:01] [PASSED] Fail: overflowing fb with source height
[14:35:01] ====== [PASSED] drm_test_framebuffer_check_src_coords ======
[14:35:01] [PASSED] drm_test_framebuffer_cleanup
[14:35:01] =============== drm_test_framebuffer_create ===============
[14:35:01] [PASSED] ABGR8888 normal sizes
[14:35:01] [PASSED] ABGR8888 max sizes
[14:35:01] [PASSED] ABGR8888 pitch greater than min required
[14:35:01] [PASSED] ABGR8888 pitch less than min required
[14:35:01] [PASSED] ABGR8888 Invalid width
[14:35:01] [PASSED] ABGR8888 Invalid buffer handle
[14:35:01] [PASSED] No pixel format
[14:35:01] [PASSED] ABGR8888 Width 0
[14:35:01] [PASSED] ABGR8888 Height 0
[14:35:01] [PASSED] ABGR8888 Out of bound height * pitch combination
[14:35:01] [PASSED] ABGR8888 Large buffer offset
[14:35:01] [PASSED] ABGR8888 Buffer offset for inexistent plane
[14:35:01] [PASSED] ABGR8888 Invalid flag
[14:35:01] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers
[14:35:01] [PASSED] ABGR8888 Valid buffer modifier
[14:35:01] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE)
[14:35:01] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS
[14:35:01] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS
[14:35:01] [PASSED] NV12 Normal sizes
[14:35:01] [PASSED] NV12 Max sizes
[14:35:01] [PASSED] NV12 Invalid pitch
[14:35:01] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag
[14:35:01] [PASSED] NV12 different modifier per-plane
[14:35:01] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE
[14:35:01] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS
[14:35:01] [PASSED] NV12 Modifier for inexistent plane
[14:35:01] [PASSED] NV12 Handle for inexistent plane
[14:35:01] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS
[14:35:01] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier
[14:35:01] [PASSED] YVU420 Normal sizes
[14:35:01] [PASSED] YVU420 Max sizes
[14:35:01] [PASSED] YVU420 Invalid pitch
[14:35:01] [PASSED] YVU420 Different pitches
[14:35:01] [PASSED] YVU420 Different buffer offsets/pitches
[14:35:01] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS
[14:35:01] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS
[14:35:01] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS
[14:35:01] [PASSED] YVU420 Valid modifier
[14:35:01] [PASSED] YVU420 Different modifiers per plane
[14:35:01] [PASSED] YVU420 Modifier for inexistent plane
[14:35:01] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR)
[14:35:01] [PASSED] X0L2 Normal sizes
[14:35:01] [PASSED] X0L2 Max sizes
[14:35:01] [PASSED] X0L2 Invalid pitch
[14:35:01] [PASSED] X0L2 Pitch greater than minimum required
[14:35:01] [PASSED] X0L2 Handle for inexistent plane
[14:35:01] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set
[14:35:01] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set
[14:35:01] [PASSED] X0L2 Valid modifier
[14:35:01] [PASSED] X0L2 Modifier for inexistent plane
[14:35:01] =========== [PASSED] drm_test_framebuffer_create ===========
[14:35:01] [PASSED] drm_test_framebuffer_free
[14:35:01] [PASSED] drm_test_framebuffer_init
[14:35:01] [PASSED] drm_test_framebuffer_init_bad_format
[14:35:01] [PASSED] drm_test_framebuffer_init_dev_mismatch
[14:35:01] [PASSED] drm_test_framebuffer_lookup
[14:35:01] [PASSED] drm_test_framebuffer_lookup_inexistent
[14:35:01] [PASSED] drm_test_framebuffer_modifiers_not_supported
[14:35:01] ================= [PASSED] drm_framebuffer =================
[14:35:01] ================ drm_gem_shmem (8 subtests) ================
[14:35:01] [PASSED] drm_gem_shmem_test_obj_create
[14:35:01] [PASSED] drm_gem_shmem_test_obj_create_private
[14:35:01] [PASSED] drm_gem_shmem_test_pin_pages
[14:35:01] [PASSED] drm_gem_shmem_test_vmap
[14:35:01] [PASSED] drm_gem_shmem_test_get_sg_table
[14:35:01] [PASSED] drm_gem_shmem_test_get_pages_sgt
[14:35:01] [PASSED] drm_gem_shmem_test_madvise
[14:35:01] [PASSED] drm_gem_shmem_test_purge
[14:35:01] ================== [PASSED] drm_gem_shmem ==================
[14:35:01] === drm_atomic_helper_connector_hdmi_check (29 subtests) ===
[14:35:01] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode
[14:35:01] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1
[14:35:01] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode
[14:35:01] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1
[14:35:01] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode
[14:35:01] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1
[14:35:01] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 =======
[14:35:01] [PASSED] Automatic
[14:35:01] [PASSED] Full
[14:35:01] [PASSED] Limited 16:235
[14:35:01] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 ===
[14:35:01] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed
[14:35:01] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed
[14:35:01] [PASSED] drm_test_check_disable_connector
[14:35:01] [PASSED] drm_test_check_hdmi_funcs_reject_rate
[14:35:01] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb
[14:35:01] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420
[14:35:01] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422
[14:35:01] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420
[14:35:01] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420
[14:35:01] [PASSED] drm_test_check_output_bpc_crtc_mode_changed
[14:35:01] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed
[14:35:01] [PASSED] drm_test_check_output_bpc_dvi
[14:35:01] [PASSED] drm_test_check_output_bpc_format_vic_1
[14:35:01] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only
[14:35:01] [PASSED] drm_test_check_output_bpc_format_display_rgb_only
[14:35:01] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only
[14:35:01] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only
[14:35:01] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc
[14:35:01] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc
[14:35:01] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc
[14:35:01] ============ drm_test_check_hdmi_color_format =============
[14:35:01] [PASSED] AUTO -> RGB
[14:35:01] [PASSED] YCBCR422 -> YUV422
[14:35:01] [PASSED] YCBCR420 -> YUV420
[14:35:01] [PASSED] YCBCR444 -> YUV444
[14:35:01] [PASSED] RGB -> RGB
[14:35:01] ======== [PASSED] drm_test_check_hdmi_color_format =========
[14:35:01] ======== drm_test_check_hdmi_color_format_420_only ========
[14:35:01] [PASSED] RGB should fail
[14:35:01] [PASSED] YUV444 should fail
[14:35:01] [PASSED] YUV422 should fail
[14:35:01] [PASSED] YUV420 should work
[14:35:01] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ====
[14:35:01] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ======
[14:35:01] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ====
[14:35:01] [PASSED] drm_test_check_broadcast_rgb_value
[14:35:01] [PASSED] drm_test_check_bpc_8_value
[14:35:01] [PASSED] drm_test_check_bpc_10_value
[14:35:01] [PASSED] drm_test_check_bpc_12_value
[14:35:01] [PASSED] drm_test_check_format_value
[14:35:01] [PASSED] drm_test_check_tmds_char_value
[14:35:01] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ======
[14:35:01] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) =
[14:35:01] [PASSED] drm_test_check_mode_valid
[14:35:01] [PASSED] drm_test_check_mode_valid_reject
[14:35:01] [PASSED] drm_test_check_mode_valid_reject_rate
[14:35:01] [PASSED] drm_test_check_mode_valid_reject_max_clock
[14:35:01] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock
[14:35:01] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector
[14:35:01] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb
[14:35:01] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid ===
[14:35:01] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) =
[14:35:01] [PASSED] drm_test_check_infoframes
[14:35:01] [PASSED] drm_test_check_reject_avi_infoframe
[14:35:01] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8
[14:35:01] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10
[14:35:01] [PASSED] drm_test_check_reject_audio_infoframe
[14:35:01] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes ===
[14:35:01] ================= drm_managed (2 subtests) =================
[14:35:01] [PASSED] drm_test_managed_release_action
[14:35:01] [PASSED] drm_test_managed_run_action
[14:35:01] =================== [PASSED] drm_managed ===================
[14:35:01] =================== drm_mm (6 subtests) ====================
[14:35:01] [PASSED] drm_test_mm_init
[14:35:01] [PASSED] drm_test_mm_debug
[14:35:01] [PASSED] drm_test_mm_align32
[14:35:01] [PASSED] drm_test_mm_align64
[14:35:01] [PASSED] drm_test_mm_lowest
[14:35:01] [PASSED] drm_test_mm_highest
[14:35:01] ===================== [PASSED] drm_mm ======================
[14:35:01] ============= drm_modes_analog_tv (5 subtests) =============
[14:35:01] [PASSED] drm_test_modes_analog_tv_mono_576i
[14:35:01] [PASSED] drm_test_modes_analog_tv_ntsc_480i
[14:35:01] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined
[14:35:01] [PASSED] drm_test_modes_analog_tv_pal_576i
[14:35:01] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined
[14:35:01] =============== [PASSED] drm_modes_analog_tv ===============
[14:35:01] ============== drm_panic_helper (3 subtests) ===============
[14:35:01] ============= drm_test_panic_screen_user_map ==============
[14:35:01] [PASSED] Panic screen user, mode: 1024 x 768 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen user, mode: 494 x 494 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen user, mode: 1920 x 1080 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen user, mode: 1024 x 768 RG16 little-endian (0x36314752)
[14:35:01] [PASSED] Panic screen user, mode: 1024 x 768 RG24 little-endian (0x34324752)
[14:35:01] [PASSED] Panic screen kmsg, mode: 1024 x 768 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen kmsg, mode: 494 x 494 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen kmsg, mode: 1920 x 1080 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG16 little-endian (0x36314752)
[14:35:01] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG24 little-endian (0x34324752)
[14:35:01] ========= [PASSED] drm_test_panic_screen_user_map ==========
[14:35:01] ============= drm_test_panic_screen_user_page =============
[14:35:01] [PASSED] Panic screen user, mode: 1024 x 768 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen user, mode: 494 x 494 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen user, mode: 1920 x 1080 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen user, mode: 1024 x 768 RG16 little-endian (0x36314752)
[14:35:01] [PASSED] Panic screen user, mode: 1024 x 768 RG24 little-endian (0x34324752)
[14:35:01] [PASSED] Panic screen kmsg, mode: 1024 x 768 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen kmsg, mode: 494 x 494 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen kmsg, mode: 1920 x 1080 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG16 little-endian (0x36314752)
[14:35:01] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG24 little-endian (0x34324752)
[14:35:01] ========= [PASSED] drm_test_panic_screen_user_page =========
[14:35:01] ========== drm_test_panic_screen_user_set_pixel ===========
[14:35:01] [PASSED] Panic screen user, mode: 1024 x 768 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen user, mode: 494 x 494 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen user, mode: 1920 x 1080 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen user, mode: 1024 x 768 RG16 little-endian (0x36314752)
[14:35:01] [PASSED] Panic screen user, mode: 1024 x 768 RG24 little-endian (0x34324752)
[14:35:01] [PASSED] Panic screen kmsg, mode: 1024 x 768 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen kmsg, mode: 494 x 494 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen kmsg, mode: 1920 x 1080 XR24 little-endian (0x34325258)
[14:35:01] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG16 little-endian (0x36314752)
[14:35:01] [PASSED] Panic screen kmsg, mode: 1024 x 768 RG24 little-endian (0x34324752)
[14:35:01] ====== [PASSED] drm_test_panic_screen_user_set_pixel =======
[14:35:01] ================ [PASSED] drm_panic_helper =================
[14:35:01] ============== drm_plane_helper (2 subtests) ===============
[14:35:01] =============== drm_test_check_plane_state ================
[14:35:01] [PASSED] clipping_simple
[14:35:01] [PASSED] clipping_rotate_reflect
[14:35:01] [PASSED] positioning_simple
[14:35:01] [PASSED] upscaling
[14:35:01] [PASSED] downscaling
[14:35:01] [PASSED] rounding1
[14:35:01] [PASSED] rounding2
[14:35:01] [PASSED] rounding3
[14:35:01] [PASSED] rounding4
[14:35:01] =========== [PASSED] drm_test_check_plane_state ============
[14:35:01] =========== drm_test_check_invalid_plane_state ============
[14:35:01] [PASSED] positioning_invalid
[14:35:01] [PASSED] upscaling_invalid
[14:35:01] [PASSED] downscaling_invalid
[14:35:01] ======= [PASSED] drm_test_check_invalid_plane_state ========
[14:35:01] ================ [PASSED] drm_plane_helper =================
[14:35:01] ====== drm_connector_helper_tv_get_modes (1 subtest) =======
[14:35:01] ====== drm_test_connector_helper_tv_get_modes_check =======
[14:35:01] [PASSED] None
[14:35:01] [PASSED] PAL
[14:35:01] [PASSED] NTSC
[14:35:01] [PASSED] Both, NTSC Default
[14:35:01] [PASSED] Both, PAL Default
[14:35:01] [PASSED] Both, NTSC Default, with PAL on command-line
[14:35:01] [PASSED] Both, PAL Default, with NTSC on command-line
[14:35:01] == [PASSED] drm_test_connector_helper_tv_get_modes_check ===
[14:35:01] ======== [PASSED] drm_connector_helper_tv_get_modes ========
[14:35:01] ================== drm_rect (9 subtests) ===================
[14:35:01] [PASSED] drm_test_rect_clip_scaled_div_by_zero
[14:35:01] [PASSED] drm_test_rect_clip_scaled_not_clipped
[14:35:01] [PASSED] drm_test_rect_clip_scaled_clipped
[14:35:01] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned
[14:35:01] ================= drm_test_rect_intersect =================
[14:35:01] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0
[14:35:01] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1
[14:35:01] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0
[14:35:01] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1
[14:35:01] [PASSED] right x left: 2x1+0+0 x 3x1+1+0
[14:35:01] [PASSED] left x right: 3x1+1+0 x 2x1+0+0
[14:35:01] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1
[14:35:01] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0
[14:35:01] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1
[14:35:01] [PASSED] touching side: 1x1+0+0 x 1x1+1+0
[14:35:01] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0
[14:35:01] [PASSED] inside another: 2x2+0+0 x 1x1+1+1
[14:35:01] [PASSED] far away: 1x1+0+0 x 1x1+3+6
[14:35:01] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10
[14:35:01] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10
[14:35:01] ============= [PASSED] drm_test_rect_intersect =============
[14:35:01] ================ drm_test_rect_calc_hscale ================
[14:35:01] [PASSED] normal use
[14:35:01] [PASSED] out of max range
[14:35:01] [PASSED] out of min range
[14:35:01] [PASSED] zero dst
[14:35:01] [PASSED] negative src
[14:35:01] [PASSED] negative dst
[14:35:01] ============ [PASSED] drm_test_rect_calc_hscale ============
[14:35:01] ================ drm_test_rect_calc_vscale ================
[14:35:01] [PASSED] normal use
[14:35:01] [PASSED] out of max range
[14:35:01] [PASSED] out of min range
[14:35:01] [PASSED] zero dst
[14:35:01] [PASSED] negative src
[14:35:01] [PASSED] negative dst
[14:35:01] ============ [PASSED] drm_test_rect_calc_vscale ============
[14:35:01] ================== drm_test_rect_rotate ===================
[14:35:01] [PASSED] reflect-x
[14:35:01] [PASSED] reflect-y
[14:35:01] [PASSED] rotate-0
[14:35:01] [PASSED] rotate-90
[14:35:01] [PASSED] rotate-180
[14:35:01] [PASSED] rotate-270
[14:35:01] ============== [PASSED] drm_test_rect_rotate ===============
[14:35:01] ================ drm_test_rect_rotate_inv =================
[14:35:01] [PASSED] reflect-x
[14:35:01] [PASSED] reflect-y
[14:35:01] [PASSED] rotate-0
[14:35:01] [PASSED] rotate-90
[14:35:01] [PASSED] rotate-180
[14:35:01] [PASSED] rotate-270
[14:35:01] ============ [PASSED] drm_test_rect_rotate_inv =============
[14:35:01] ==================== [PASSED] drm_rect =====================
[14:35:01] ============ drm_sysfb_modeset_test (1 subtest) ============
[14:35:01] ============ drm_test_sysfb_build_fourcc_list =============
[14:35:01] [PASSED] no native formats
[14:35:01] [PASSED] XRGB8888 as native format
[14:35:01] [PASSED] remove duplicates
[14:35:01] [PASSED] convert alpha formats
[14:35:01] [PASSED] random formats
[14:35:01] ======== [PASSED] drm_test_sysfb_build_fourcc_list =========
[14:35:01] ============= [PASSED] drm_sysfb_modeset_test ==============
[14:35:01] ================== drm_fixp (2 subtests) ===================
[14:35:01] [PASSED] drm_test_int2fixp
[14:35:01] [PASSED] drm_test_sm2fixp
[14:35:01] ==================== [PASSED] drm_fixp =====================
[14:35:01] ============================================================
[14:35:01] Testing complete. Ran 667 tests: passed: 667
[14:35:01] Elapsed time: 28.567s total, 2.552s configuring, 25.597s building, 0.409s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig
[14:35:01] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[14:35:04] 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
[14:35:15] Starting KUnit Kernel (1/1)...
[14:35:15] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[14:35:15] ================= ttm_device (5 subtests) ==================
[14:35:15] [PASSED] ttm_device_init_basic
[14:35:15] [PASSED] ttm_device_init_multiple
[14:35:15] [PASSED] ttm_device_fini_basic
[14:35:15] [PASSED] ttm_device_init_no_vma_man
[14:35:15] ================== ttm_device_init_pools ==================
[14:35:15] [PASSED] No DMA allocations, no DMA32 required
[14:35:15] [PASSED] DMA allocations, DMA32 required
[14:35:15] [PASSED] No DMA allocations, DMA32 required
[14:35:15] [PASSED] DMA allocations, no DMA32 required
[14:35:15] ============== [PASSED] ttm_device_init_pools ==============
[14:35:15] =================== [PASSED] ttm_device ====================
[14:35:15] ================== ttm_pool (8 subtests) ===================
[14:35:15] ================== ttm_pool_alloc_basic ===================
[14:35:15] [PASSED] One page
[14:35:15] [PASSED] More than one page
[14:35:15] [PASSED] Above the allocation limit
[14:35:15] [PASSED] One page, with coherent DMA mappings enabled
[14:35:15] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[14:35:15] ============== [PASSED] ttm_pool_alloc_basic ===============
[14:35:15] ============== ttm_pool_alloc_basic_dma_addr ==============
[14:35:15] [PASSED] One page
[14:35:15] [PASSED] More than one page
[14:35:15] [PASSED] Above the allocation limit
[14:35:15] [PASSED] One page, with coherent DMA mappings enabled
[14:35:15] [PASSED] Above the allocation limit, with coherent DMA mappings enabled
[14:35:15] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ==========
[14:35:15] [PASSED] ttm_pool_alloc_order_caching_match
[14:35:15] [PASSED] ttm_pool_alloc_caching_mismatch
[14:35:15] [PASSED] ttm_pool_alloc_order_mismatch
[14:35:15] [PASSED] ttm_pool_free_dma_alloc
[14:35:15] [PASSED] ttm_pool_free_no_dma_alloc
[14:35:15] [PASSED] ttm_pool_fini_basic
[14:35:15] ==================== [PASSED] ttm_pool =====================
[14:35:15] ================ ttm_resource (8 subtests) =================
[14:35:15] ================= ttm_resource_init_basic =================
[14:35:15] [PASSED] Init resource in TTM_PL_SYSTEM
[14:35:15] [PASSED] Init resource in TTM_PL_VRAM
[14:35:15] [PASSED] Init resource in a private placement
[14:35:15] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags
[14:35:15] ============= [PASSED] ttm_resource_init_basic =============
[14:35:15] [PASSED] ttm_resource_init_pinned
[14:35:15] [PASSED] ttm_resource_fini_basic
[14:35:15] [PASSED] ttm_resource_manager_init_basic
[14:35:15] [PASSED] ttm_resource_manager_usage_basic
[14:35:15] [PASSED] ttm_resource_manager_set_used_basic
[14:35:15] [PASSED] ttm_sys_man_alloc_basic
[14:35:15] [PASSED] ttm_sys_man_free_basic
[14:35:15] ================== [PASSED] ttm_resource ===================
[14:35:15] =================== ttm_tt (15 subtests) ===================
[14:35:15] ==================== ttm_tt_init_basic ====================
[14:35:15] [PASSED] Page-aligned size
[14:35:15] [PASSED] Extra pages requested
[14:35:15] ================ [PASSED] ttm_tt_init_basic ================
[14:35:15] [PASSED] ttm_tt_init_misaligned
[14:35:15] [PASSED] ttm_tt_fini_basic
[14:35:15] [PASSED] ttm_tt_fini_sg
[14:35:15] [PASSED] ttm_tt_fini_shmem
[14:35:15] [PASSED] ttm_tt_create_basic
[14:35:15] [PASSED] ttm_tt_create_invalid_bo_type
[14:35:15] [PASSED] ttm_tt_create_ttm_exists
[14:35:15] [PASSED] ttm_tt_create_failed
[14:35:15] [PASSED] ttm_tt_destroy_basic
[14:35:15] [PASSED] ttm_tt_populate_null_ttm
[14:35:15] [PASSED] ttm_tt_populate_populated_ttm
[14:35:15] [PASSED] ttm_tt_unpopulate_basic
[14:35:15] [PASSED] ttm_tt_unpopulate_empty_ttm
[14:35:15] [PASSED] ttm_tt_swapin_basic
[14:35:15] ===================== [PASSED] ttm_tt ======================
[14:35:15] =================== ttm_bo (14 subtests) ===================
[14:35:15] =========== ttm_bo_reserve_optimistic_no_ticket ===========
[14:35:15] [PASSED] Cannot be interrupted and sleeps
[14:35:15] [PASSED] Cannot be interrupted, locks straight away
[14:35:15] [PASSED] Can be interrupted, sleeps
[14:35:15] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket =======
[14:35:15] [PASSED] ttm_bo_reserve_locked_no_sleep
[14:35:15] [PASSED] ttm_bo_reserve_no_wait_ticket
[14:35:15] [PASSED] ttm_bo_reserve_double_resv
[14:35:15] [PASSED] ttm_bo_reserve_interrupted
[14:35:15] [PASSED] ttm_bo_reserve_deadlock
[14:35:15] [PASSED] ttm_bo_unreserve_basic
[14:35:15] [PASSED] ttm_bo_unreserve_pinned
[14:35:15] [PASSED] ttm_bo_unreserve_bulk
[14:35:15] [PASSED] ttm_bo_fini_basic
[14:35:15] [PASSED] ttm_bo_fini_shared_resv
[14:35:15] [PASSED] ttm_bo_pin_basic
[14:35:15] [PASSED] ttm_bo_pin_unpin_resource
[14:35:15] [PASSED] ttm_bo_multiple_pin_one_unpin
[14:35:15] ===================== [PASSED] ttm_bo ======================
[14:35:15] ============== ttm_bo_validate (22 subtests) ===============
[14:35:15] ============== ttm_bo_init_reserved_sys_man ===============
[14:35:15] [PASSED] Buffer object for userspace
[14:35:15] [PASSED] Kernel buffer object
[14:35:15] [PASSED] Shared buffer object
[14:35:15] ========== [PASSED] ttm_bo_init_reserved_sys_man ===========
[14:35:15] ============== ttm_bo_init_reserved_mock_man ==============
[14:35:15] [PASSED] Buffer object for userspace
[14:35:15] [PASSED] Kernel buffer object
[14:35:15] [PASSED] Shared buffer object
[14:35:15] ========== [PASSED] ttm_bo_init_reserved_mock_man ==========
[14:35:15] [PASSED] ttm_bo_init_reserved_resv
[14:35:15] ================== ttm_bo_validate_basic ==================
[14:35:15] [PASSED] Buffer object for userspace
[14:35:15] [PASSED] Kernel buffer object
[14:35:15] [PASSED] Shared buffer object
[14:35:15] ============== [PASSED] ttm_bo_validate_basic ==============
[14:35:15] [PASSED] ttm_bo_validate_invalid_placement
[14:35:15] ============= ttm_bo_validate_same_placement ==============
[14:35:15] [PASSED] System manager
[14:35:15] [PASSED] VRAM manager
[14:35:15] ========= [PASSED] ttm_bo_validate_same_placement ==========
[14:35:15] [PASSED] ttm_bo_validate_failed_alloc
[14:35:15] [PASSED] ttm_bo_validate_pinned
[14:35:15] [PASSED] ttm_bo_validate_busy_placement
[14:35:15] ================ ttm_bo_validate_multihop =================
[14:35:15] [PASSED] Buffer object for userspace
[14:35:15] [PASSED] Kernel buffer object
[14:35:15] [PASSED] Shared buffer object
[14:35:15] ============ [PASSED] ttm_bo_validate_multihop =============
[14:35:15] ========== ttm_bo_validate_no_placement_signaled ==========
[14:35:15] [PASSED] Buffer object in system domain, no page vector
[14:35:15] [PASSED] Buffer object in system domain with an existing page vector
[14:35:15] ====== [PASSED] ttm_bo_validate_no_placement_signaled ======
[14:35:15] ======== ttm_bo_validate_no_placement_not_signaled ========
[14:35:15] [PASSED] Buffer object for userspace
[14:35:15] [PASSED] Kernel buffer object
[14:35:15] [PASSED] Shared buffer object
[14:35:15] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ====
[14:35:15] [PASSED] ttm_bo_validate_move_fence_signaled
[14:35:15] ========= ttm_bo_validate_move_fence_not_signaled =========
[14:35:15] [PASSED] Waits for GPU
[14:35:15] [PASSED] Tries to lock straight away
[14:35:15] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled =====
[14:35:15] [PASSED] ttm_bo_validate_swapout
[14:35:15] [PASSED] ttm_bo_validate_happy_evict
[14:35:15] [PASSED] ttm_bo_validate_all_pinned_evict
[14:35:15] [PASSED] ttm_bo_validate_allowed_only_evict
[14:35:15] [PASSED] ttm_bo_validate_deleted_evict
[14:35:15] [PASSED] ttm_bo_validate_busy_domain_evict
[14:35:15] [PASSED] ttm_bo_validate_evict_gutting
[14:35:15] [PASSED] ttm_bo_validate_recrusive_evict
[14:35:15] ================= [PASSED] ttm_bo_validate =================
[14:35:15] ============================================================
[14:35:15] Testing complete. Ran 102 tests: passed: 102
[14:35:15] Elapsed time: 13.475s total, 2.520s configuring, 10.740s building, 0.204s running
+ for kcfg in "${kunitconfigs[@]}"
+ [[ ! -f /kernel/drivers/dma-buf/.kunitconfig ]]
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/dma-buf/.kunitconfig
[14:35:15] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[14:35:18] 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
[14:35:27] Starting KUnit Kernel (1/1)...
[14:35:27] ============================================================
Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt
[14:35:27] =============== dma-buf-fence (12 subtests) ================
[14:35:27] [PASSED] test_sanitycheck
[14:35:27] [PASSED] test_signaling
[14:35:27] [PASSED] test_add_callback
[14:35:27] [PASSED] test_late_add_callback
[14:35:27] [PASSED] test_rm_callback
[14:35:27] [PASSED] test_late_rm_callback
[14:35:27] [PASSED] test_status
[14:35:27] [PASSED] test_error
[14:35:27] [PASSED] test_wait
[14:35:27] [PASSED] test_wait_timeout
[14:35:27] [PASSED] test_stub
[14:35:27] [SKIPPED] test_race_signal_callback (requires at least 2 CPUs)
[14:35:27] ================== [PASSED] dma-buf-fence ==================
[14:35:27] ============ dma-buf-fence-chain (11 subtests) =============
[14:35:27] [PASSED] test_sanitycheck
[14:35:27] [PASSED] test_find_seqno
[14:35:27] [PASSED] test_find_signaled
[14:35:27] [PASSED] test_find_out_of_order
[14:35:32] [PASSED] test_find_gap
[14:35:32] [PASSED] test_find_race
[14:35:32] [PASSED] test_signal_forward
[14:35:32] [PASSED] test_signal_backward
[14:35:32] [PASSED] test_wait_forward
[14:35:32] [PASSED] test_wait_backward
[14:35:32] [PASSED] test_wait_random
[14:35:32] =============== [PASSED] dma-buf-fence-chain ===============
[14:35:32] ============ dma-buf-fence-unwrap (11 subtests) ============
[14:35:32] [PASSED] test_sanitycheck
[14:35:32] [PASSED] test_unwrap_array
[14:35:32] [PASSED] test_unwrap_chain
[14:35:32] [PASSED] test_unwrap_chain_array
[14:35:32] [PASSED] test_unwrap_merge
[14:35:32] [PASSED] test_unwrap_merge_duplicate
[14:35:32] [PASSED] test_unwrap_merge_seqno
[14:35:32] [PASSED] test_unwrap_merge_order
[14:35:32] [PASSED] test_unwrap_merge_complex
[14:35:32] [PASSED] test_unwrap_merge_complex_seqno
[14:35:32] [PASSED] test_dedup_empty
[14:35:32] ============== [PASSED] dma-buf-fence-unwrap ===============
[14:35:32] ================ dma-buf-resv (5 subtests) =================
[14:35:32] [PASSED] test_sanitycheck
[14:35:32] ===================== test_signaling ======================
[14:35:32] [PASSED] kernel
[14:35:32] [PASSED] write
[14:35:32] [PASSED] read
[14:35:32] [PASSED] bookkeep
[14:35:32] ================= [PASSED] test_signaling ==================
[14:35:32] ====================== test_for_each ======================
[14:35:32] [PASSED] kernel
[14:35:32] [PASSED] write
[14:35:32] [PASSED] read
[14:35:32] [PASSED] bookkeep
[14:35:32] ================== [PASSED] test_for_each ==================
[14:35:32] ================= test_for_each_unlocked ==================
[14:35:32] [PASSED] kernel
[14:35:32] [PASSED] write
[14:35:32] [PASSED] read
[14:35:32] [PASSED] bookkeep
[14:35:32] ============= [PASSED] test_for_each_unlocked ==============
[14:35:32] ===================== test_get_fences =====================
[14:35:32] [PASSED] kernel
[14:35:32] [PASSED] write
[14:35:32] [PASSED] read
[14:35:32] [PASSED] bookkeep
[14:35:32] ================= [PASSED] test_get_fences =================
[14:35:32] ================== [PASSED] dma-buf-resv ===================
[14:35:32] ============================================================
[14:35:32] Testing complete. Ran 51 tests: passed: 50, skipped: 1
[14:35:32] Elapsed time: 17.339s total, 2.540s configuring, 9.428s building, 5.354s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [PATCH 22/29] drm/i915/dp: Enable DSC pass-through in the PCON
2026-11-20 14:07 ` [PATCH 22/29] drm/i915/dp: Enable DSC pass-through in the PCON Ankit Nautiyal
@ 2026-11-20 14:38 ` sashiko-bot
0 siblings, 0 replies; 43+ messages in thread
From: sashiko-bot @ 2026-11-20 14:38 UTC (permalink / raw)
To: Ankit Nautiyal, intel-gfx, intel-xe
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/i915/dp: stale DP_DSC_ENABLE bits in
intel_dp_sink_disable_decompression()
--
commit 2433da6ae530a721973aa8e15cc125c351ed4832
Author: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
drm/i915/dp: Enable DSC pass-through in the PCON
This commit adds helpers to enable and disable DSC pass-through in a PCON
instead of enabling sink decompression when pcon_config.dsc_op is set to
INTEL_PCON_DSC_PASSTHROUGH.
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
> index 7b66cd82b065e..5bfbcf91d7add 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
> @@ -3998,6 +3998,18 @@ intel_dp_sink_set_dsc_passthrough(const struct intel_connector *connector,
> str_enable_disable(enable));
> }
>
> +static void
> +intel_dp_pcon_set_dsc_passthrough(struct intel_connector *connector, bool enable)
> +{
> + struct intel_display *display = to_intel_display(connector);
> +
> + if (write_dsc_decompression_flag(connector->dp.dsc_decompression_aux,
> + DP_DSC_PASSTHROUGH_EN, enable) < 0)
> + drm_dbg_kms(display->drm,
> + "Failed to %s PCON DSC pass-through\n",
> + str_enable_disable(enable));
> +}
> +
> static int intel_dp_dsc_aux_ref_count(struct intel_atomic_state *state,
> const struct intel_connector *connector,
> bool for_get_ref)
> @@ -4068,7 +4080,8 @@ static bool intel_dp_dsc_aux_put_ref(struct intel_atomic_state *state,
> * sink device, whereas on MST based on each device's DSC capabilities it's
> * either the last branch device (enabling decompression in it) or both the
> * last branch device (enabling passthrough in it) and the sink device
> - * (enabling decompression in it).
> + * (enabling decompression in it). A PCON passing a DSC stream through to
> + * the HDMI sink gets passthrough enabled instead of decompression.
> */
> void intel_dp_sink_enable_decompression(struct intel_atomic_state *state,
> struct intel_connector *connector,
> @@ -4087,6 +4100,12 @@ void intel_dp_sink_enable_decompression(struct intel_atomic_state *state,
> if (!intel_dp_dsc_aux_get_ref(state, connector))
> return;
>
> + /* A PCON passing the DSC stream through to the HDMI sink doesn't decode it */
> + if (new_crtc_state->pcon_config.dsc_op == INTEL_PCON_DSC_PASSTHROUGH) {
> + intel_dp_pcon_set_dsc_passthrough(connector, true);
> + return;
> + }
> +
> intel_dp_sink_set_dsc_passthrough(connector, true);
> intel_dp_sink_set_dsc_decompression(connector, true);
> }
> @@ -4118,6 +4137,11 @@ void intel_dp_sink_disable_decompression(struct intel_atomic_state *state,
> if (!intel_dp_dsc_aux_put_ref(state, connector))
> return;
>
> + if (old_crtc_state->pcon_config.dsc_op == INTEL_PCON_DSC_PASSTHROUGH) {
> + intel_dp_pcon_set_dsc_passthrough(connector, false);
> + return;
> + }
[Severity: Medium]
Can this leave DP_DSC_PASSTHROUGH_EN and DP_DECOMPRESSION_EN stale or both
set in the PCON's DP_DSC_ENABLE register?
pcon_config.dsc_op is not read out from the hardware during initial probe
or resume:
drivers/gpu/drm/i915/display/intel_display_types.h:intel_crtc_state {
...
/*
* Configuration of a DP->HDMI PCON. Only used for state computation,
* not read out from the HW.
*/
struct {
enum intel_pcon_dsc_op dsc_op;
...
}
When taking over a DSC mode where the PCON had DP_DSC_PASSTHROUGH_EN set,
old_crtc_state->pcon_config.dsc_op is INTEL_PCON_NO_DSC during the disable
phase of the initial modeset. intel_dp_sink_disable_decompression() then
calls intel_dp_sink_set_dsc_decompression(connector, false), which only
clears DP_DECOMPRESSION_EN via write_dsc_decompression_flag(), while
intel_dp_sink_set_dsc_passthrough(connector, false) is a no-op on SST
because connector->mst.port is NULL.
As a result, DP_DSC_PASSTHROUGH_EN stays set in the PCON for a following
uncompressed mode, or gets combined with DP_DECOMPRESSION_EN (0x03) if the
next mode enables PCON DSC decoding. Likewise, because
intel_dp_pcon_set_dsc_passthrough(connector, true) only sets
DP_DSC_PASSTHROUGH_EN via write_dsc_decompression_flag(), any pre-existing
DP_DECOMPRESSION_EN bit in DP_DSC_ENABLE is not cleared when enabling
pass-through.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261120140729.466177-1-ankit.k.nautiyal@intel.com?part=22
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [PATCH 19/29] drm/i915/dp: Store the PCON FRL rate in the crtc state
2026-11-20 14:07 ` [PATCH 19/29] drm/i915/dp: Store the PCON FRL rate in the crtc state Ankit Nautiyal
@ 2026-11-20 14:39 ` sashiko-bot
0 siblings, 0 replies; 43+ messages in thread
From: sashiko-bot @ 2026-11-20 14:39 UTC (permalink / raw)
To: Ankit Nautiyal, intel-gfx, intel-xe
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/i915/dp: stale FRL state in intel_dp_check_frl_training()
on TMDS fallback
--
commit cf2883c19255833b909ba3e6b88f843de54aa02e
Author: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
drm/i915/dp: Store the PCON FRL rate in the crtc state
This commit computes and stores the PCON FRL rate in the CRTC state and
retrains the HDMI link if an already-trained link is below the rate
required by the new stream.
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
> index 3b8031cd5ef17..61e59c2631ee3 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
[ ... ]
> @@ -4433,7 +4432,8 @@ int intel_dp_pcon_set_tmds_mode(struct intel_dp *intel_dp)
> return 0;
> }
>
> -void intel_dp_check_frl_training(struct intel_dp *intel_dp)
> +void intel_dp_check_frl_training(struct intel_dp *intel_dp,
> + const struct intel_crtc_state *crtc_state)
> {
> struct intel_display *display = to_intel_display(intel_dp);
>
> @@ -4443,11 +4443,15 @@ void intel_dp_check_frl_training(struct intel_dp *intel_dp)
> * -sink is HDMI2.1
> */
> if (!(intel_dp->downstream_ports[2] & DP_PCON_SOURCE_CTL_MODE) ||
> - !intel_dp_is_hdmi_2_1_sink(intel_dp) ||
> - intel_dp->frl.is_trained)
> + !intel_dp_is_hdmi_2_1_sink(intel_dp))
> return;
>
> - if (intel_dp_pcon_start_frl_training(intel_dp) < 0) {
> + /* A link trained at a lower rate than the stream needs has to be retrained */
> + if (intel_dp->frl.is_trained &&
> + intel_dp->frl.trained_rate_gbps >= crtc_state->pcon_config.frl_rate_gbps)
> + return;
> +
> + if (intel_dp_pcon_start_frl_training(intel_dp, crtc_state) < 0) {
> int ret, mode;
>
> drm_dbg(display->drm,
[Severity: Medium]
Does this leave intel_dp->frl.is_trained and intel_dp->frl.trained_rate_gbps
stale if retraining an already-trained link at a higher rate fails?
Previously intel_dp_pcon_start_frl_training() only ran when
intel_dp->frl.is_trained was false. Now it also runs when retraining to a
higher rate, where drm_dp_pcon_frl_prepare() tears down the active FRL link
and the failure path falls back to intel_dp_pcon_set_tmds_mode() without
clearing intel_dp->frl.is_trained or intel_dp->frl.trained_rate_gbps. A
later modeset requesting a rate at or below the old trained_rate_gbps will
then return early from intel_dp_check_frl_training() and leave the PCON in
TMDS mode.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261120140729.466177-1-ankit.k.nautiyal@intel.com?part=19
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [PATCH 25/29] drm/i915/dp: Allow limiting the DSC slice count for the downstream device
2026-11-20 14:07 ` [PATCH 25/29] drm/i915/dp: Allow limiting the DSC slice count for the downstream device Ankit Nautiyal
@ 2026-11-20 14:41 ` sashiko-bot
0 siblings, 0 replies; 43+ messages in thread
From: sashiko-bot @ 2026-11-20 14:41 UTC (permalink / raw)
To: Ankit Nautiyal, intel-gfx, intel-xe
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/i915/dp: DFP slice limits bypassed in UHBR TU and
min_hblank paths
--
commit ebe2f0e6460b71fe1655c9706717ef4b175b371c
Author: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
drm/i915/dp: Allow limiting the DSC slice count for the downstream device
This commit adds minimum and maximum downstream facing port DSC slice count
limits to struct link_config_limits and applies them when selecting a DSC
slice configuration.
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
> index 0ac4e26666c30..1cd5385618ddb 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
[ ... ]
> @@ -971,7 +977,7 @@ u8 intel_dp_dsc_get_slice_count(const struct intel_connector *connector,
>
> if (!intel_dp_dsc_get_slice_config(connector,
> mode_clock, mode_hdisplay,
> - num_joined_pipes, &config))
> + num_joined_pipes, 0, INT_MAX, &config))
> return 0;
>
> return intel_dsc_line_slice_count(&config);
> @@ -2616,6 +2622,8 @@ int intel_dp_dsc_compute_config(struct intel_dp *intel_dp,
>
> if (!intel_dp_dsc_get_slice_config(connector, adjusted_mode->crtc_clock,
> adjusted_mode->crtc_hdisplay, num_joined_pipes,
> + limits->dfp_dsc.min_slices,
> + limits->dfp_dsc.max_slices,
> &pipe_config->dsc.slice_config))
> return -EINVAL;
[Severity: Medium]
Does passing 0 and INT_MAX in intel_dp_dsc_get_slice_count() cause UHBR link
TU calculations and intel_dp_compute_min_hblank() to use an unconstrained
slice count when limits->dfp_dsc restricts the downstream slice count?
Before intel_dp_dsc_compute_config() populates
pipe_config->dsc.slice_config with limits->dfp_dsc,
intel_dp_dsc_compute_pipe_bpp() -> dsc_compute_compressed_bpp() ->
dsc_compute_link_config() calls intel_dp_mtp_tu_compute_config() on UHBR
links, which queries the slice count via
intel_dp_mst_dsc_get_slice_count() -> intel_dp_dsc_get_slice_count().
Later, intel_dp_compute_min_hblank() also calls
intel_dp_dsc_get_slice_count() instead of reading
intel_dsc_line_slice_count(&crtc_state->dsc.slice_config). When a
downstream device requires a higher minimum (or lower maximum) slice count
than the DP sink, DSC EOC overhead, pipe_config->dp_m_n, and
pipe_config->min_hblank will be computed for a different slice count than
the one programmed in pipe_config->dsc.slice_config.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261120140729.466177-1-ankit.k.nautiyal@intel.com?part=25
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [PATCH 20/29] drm/i915/dp: Use the FRL rate of the stream on the HDMI link
2026-11-20 14:07 ` [PATCH 20/29] drm/i915/dp: Use the FRL rate of the stream on the HDMI link Ankit Nautiyal
@ 2026-11-20 14:43 ` sashiko-bot
0 siblings, 0 replies; 43+ messages in thread
From: sashiko-bot @ 2026-11-20 14:43 UTC (permalink / raw)
To: Ankit Nautiyal, intel-gfx, intel-xe
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/i915/dp: FRL link not retrained down to DSC max rate on
DSC modeset
--
commit cb3ec345bf9ce293b708da9d140003a687dee654
Author: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
drm/i915/dp: Use the FRL rate of the stream on the HDMI link
This commit selects the regular max FRL rate when the HDMI link carries an
uncompressed stream and the sink's DSC max FRL rate when the PCON encodes
DSC for the HDMI link, storing the chosen rate in
crtc_state->pcon_config.frl_rate_gbps.
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
> index 61e59c2631ee3..cea90ef761c3c 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
[ ... ]
> @@ -2930,8 +2937,8 @@ intel_dp_pcon_compute_config(struct intel_dp *intel_dp,
> if (!intel_dp_is_hdmi_2_1_sink(intel_dp))
> return 0;
>
> - crtc_state->pcon_config.frl_rate_gbps =
> - min(intel_dp->dfp.pcon_max_frl_bw, intel_dp_hdmi_sink_max_frl(intel_dp));
> + /* The HDMI link carries an uncompressed stream, unless the PCON compresses it */
> + crtc_state->pcon_config.frl_rate_gbps = intel_dp_pcon_max_frl_rate(intel_dp, false);
>
> if (crtc_state->dsc.compression_enable)
> crtc_state->pcon_config.dsc_op = INTEL_PCON_DSC_DECODE;
> @@ -2959,6 +2966,7 @@ intel_dp_pcon_compute_config(struct intel_dp *intel_dp,
> }
>
> crtc_state->pcon_config.dsc_op = INTEL_PCON_DSC_DECODE_ENCODE;
> + crtc_state->pcon_config.frl_rate_gbps = intel_dp_pcon_max_frl_rate(intel_dp, true);
>
> return 0;
> }
[Severity: Medium]
When a sink's DSC max FRL rate is lower than its uncompressed max FRL
rate, will switching from an uncompressed mode to a mode using
INTEL_PCON_DSC_DECODE_ENCODE fail to retrain the FRL link down to the
lower crtc_state->pcon_config.frl_rate_gbps?
The uncompressed modeset trains the link at the higher uncompressed rate
and records it in intel_dp->frl.trained_rate_gbps. On a later DSC
modeset, crtc_state->pcon_config.frl_rate_gbps is set to the lower DSC
rate, but both intel_dp_check_frl_training() and
intel_dp_pcon_is_frl_trained() skip retraining whenever the currently
trained rate is greater than or equal to the requested rate:
drivers/gpu/drm/i915/display/intel_dp.c:intel_dp_check_frl_training() {
...
/* A link trained at a lower rate than the stream needs has to be retrained */
if (intel_dp->frl.is_trained &&
intel_dp->frl.trained_rate_gbps >= crtc_state->pcon_config.frl_rate_gbps)
return;
...
}
drivers/gpu/drm/i915/display/intel_dp.c:intel_dp_pcon_is_frl_trained() {
if (drm_dp_pcon_hdmi_link_active(&intel_dp->aux) &&
drm_dp_pcon_hdmi_link_mode(&intel_dp->aux, frl_trained_mask) == DP_PCON_HDMI_MODE_FRL &&
*frl_trained_mask >= max_frl_bw_mask)
return true;
...
}
As a result, the HDMI link remains at the higher uncompressed FRL rate,
exceeding the sink's DSC max FRL rate limit and mismatching the FRL
bandwidth used by intel_dp_pcon_dsc_enc_compute().
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261120140729.466177-1-ankit.k.nautiyal@intel.com?part=20
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [PATCH 18/29] drm/i915/dp: Retrain the PCON FRL link from the link check work
2026-11-20 14:07 ` [PATCH 18/29] drm/i915/dp: Retrain the PCON FRL link from the link check work Ankit Nautiyal
@ 2026-11-20 14:46 ` sashiko-bot
0 siblings, 0 replies; 43+ messages in thread
From: sashiko-bot @ 2026-11-20 14:46 UTC (permalink / raw)
To: Ankit Nautiyal, intel-gfx, intel-xe
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/i915/dp: unlocked state and DPCD checks in
intel_dp_pcon_frl_recover()
--
commit e23a19c1e92fb70f0e2a9ba0ff0a7c17fe7d9715
Author: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
drm/i915/dp: Retrain the PCON FRL link from the link check work
This commit defers PCON FRL link retraining on HDMI link status changes
from the short pulse handler to the encoder link check work, taking
modeset locks and checking for an active stream before retraining.
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
> index 05056d226fc11..3b8031cd5ef17 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
> @@ -4463,6 +4463,42 @@ void intel_dp_check_frl_training(struct intel_dp *intel_dp)
> }
> }
>
> +/*
> + * Restart FRL training after the HDMI link went down while the stream is
> + * active, or fall back to TMDS mode.
> + */
> +int intel_dp_pcon_frl_recover(struct intel_encoder *encoder,
> + struct drm_modeset_acquire_ctx *ctx)
> +{
> + struct intel_display *display = to_intel_display(encoder);
> + struct intel_dp *intel_dp = enc_to_intel_dp(encoder);
> + u8 pipe_mask;
> + int ret;
> +
> + if (!(intel_dp->downstream_ports[2] & DP_PCON_SOURCE_CTL_MODE) ||
> + !intel_dp_is_hdmi_2_1_sink(intel_dp) ||
> + intel_dp->frl.is_trained ||
> + drm_dp_pcon_hdmi_link_active(&intel_dp->aux))
> + return 0;
> +
> + /* The connection mutex may be held already by the link retraining */
> + ret = drm_modeset_lock(&display->drm->mode_config.connection_mutex, ctx);
> + if (ret && ret != -EALREADY)
> + return ret;
> +
> + ret = intel_dp_get_active_pipes(intel_dp, ctx, &pipe_mask);
> + if (ret)
> + return ret;
> +
> + /* Without an active stream the next enable trains the link */
> + if (pipe_mask == 0)
> + return 0;
> +
> + intel_dp_check_frl_training(intel_dp);
> +
> + return 0;
> +}
[Severity: Medium]
Should the PCON capability, frl.is_trained and
drm_dp_pcon_hdmi_link_active() checks run after locking connection_mutex
and calling intel_dp_get_active_pipes()?
When DP link retraining is not needed, intel_dp_retrain_link() returns
before calling intel_dp_get_active_pipes(), so CRTC locks are not held
and in-flight commits have not been waited on when
intel_dp_pcon_frl_recover() starts:
kworker (link_check_work) modeset commit
intel_dp_pcon_frl_recover()
frl.is_trained == false
drm_dp_pcon_hdmi_link_active()
-> false
intel_dp_check_frl_training()
FRL fails -> sets TMDS mode
(frl.is_trained stays false,
HDMI link becomes active)
intel_dp_get_active_pipes()
wait_for_connector_hw_done()
intel_dp_check_frl_training() <-- tears down active TMDS link
Running drm_dp_pcon_hdmi_link_active() before checking pipe_mask == 0 and
intel_dp_is_connected() also issues DPCD AUX reads when the stream is
disabled (sink in D3) or after the sink is unplugged, where
intel_dp_retrain_link() returns before locking connection_mutex.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261120140729.466177-1-ankit.k.nautiyal@intel.com?part=18
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [PATCH 21/29] drm/i915/dp: Allow PCON DSC modes through the FRL bw check
2026-11-20 14:07 ` [PATCH 21/29] drm/i915/dp: Allow PCON DSC modes through the FRL bw check Ankit Nautiyal
@ 2026-11-20 14:48 ` sashiko-bot
0 siblings, 0 replies; 43+ messages in thread
From: sashiko-bot @ 2026-11-20 14:48 UTC (permalink / raw)
To: Ankit Nautiyal, intel-gfx, intel-xe
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/i915/dp: intel_dp_mode_valid_downstream() ignores mode DP
DSC validity
--
commit 02c40d12d5e3bd58a7720d18f4d98e8346680fdc
Author: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
drm/i915/dp: Allow PCON DSC modes through the FRL bw check
This commit updates downstream mode validation and HDMI bpc selection to
allow modes that exceed the uncompressed HDMI FRL bandwidth when both the
DP link and the PCON-to-HDMI FRL link can carry the stream compressed.
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
> index cea90ef761c3c..7b66cd82b065e 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
[ ... ]
> @@ -1318,12 +1334,22 @@ intel_dp_mode_valid_downstream(struct intel_connector *connector,
> {
> struct intel_dp *intel_dp = intel_attached_dp(connector);
> int bpc = 8; /* Assume 8bpc for the DP++/HDMI/DVI TMDS/FRL bw check */
> + enum drm_mode_status status;
>
> if (intel_dp->dfp.max_dotclock &&
> target_clock > intel_dp->dfp.max_dotclock)
> return MODE_CLOCK_HIGH;
>
> - return intel_dp_hdmi_bw_valid(intel_dp, target_clock, bpc, sink_format, true);
> + status = intel_dp_hdmi_bw_valid(intel_dp, target_clock, bpc, sink_format, true);
> + if (status != MODE_CLOCK_HIGH)
> + return status;
> +
> + /* The PCON may be able to compress the stream for the HDMI link */
> + if (intel_dp_has_dsc(connector) &&
> + intel_dp_hdmi_dsc_possible(intel_dp, mode, target_clock, bpc, sink_format))
> + return MODE_OK;
> +
> + return status;
> }
[Severity: Medium]
Can intel_dp_mode_valid_downstream() accept a mode that requires PCON DSC
even when the DP stream itself cannot be compressed for that mode?
intel_dp_has_dsc() only checks static device and DPCD DSC support, whereas
intel_dp_mode_valid_format() checks per-mode DP DSC constraints (FEC
support, PCON branch throughput, max line width, slice count, and DSC
dotclock overhead) in its for_each_joiner_candidate() loop:
drivers/gpu/drm/i915/display/intel_dp.c:intel_dp_mode_valid_format() {
...
if (intel_dp_joiner_needs_dsc(display, num_joined_pipes) && !dsc) {
status = MODE_CLOCK_HIGH;
continue;
}
if (mode_rate > max_rate && !dsc) {
status = MODE_CLOCK_HIGH;
continue;
}
...
if (!dsc)
dsc_slice_count = 0;
...
}
When a mode fits uncompressed on the DP link (mode_rate <= max_rate, e.g.
at the 6 bpc DP minimum or on a DP link faster than the downstream FRL
rate) without a joiner that forces DSC, that loop succeeds even if dsc is
false. intel_dp_mode_valid_downstream() then sees intel_dp_has_dsc() ==
true and returns MODE_OK, exposing a mode to userspace that later fails
atomic check in intel_dp_compute_link_for_joined_pipes() because the PCON
cannot encode an uncompressed DP stream into DSC.
Passing whether DP DSC was valid in intel_dp_mode_valid_format() (or
requiring dsc when downstream needs HDMI DSC) would avoid accepting modes
that cannot be compressed on the DP link.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261120140729.466177-1-ankit.k.nautiyal@intel.com?part=21
^ permalink raw reply [flat|nested] 43+ messages in thread
* Re: [PATCH 27/29] drm/i915/dp: Pick the DSC slice count for pass-through within the HDMI limits
2026-11-20 14:07 ` [PATCH 27/29] drm/i915/dp: Pick the DSC slice count for pass-through within the HDMI limits Ankit Nautiyal
@ 2026-11-20 14:48 ` sashiko-bot
0 siblings, 0 replies; 43+ messages in thread
From: sashiko-bot @ 2026-11-20 14:48 UTC (permalink / raw)
To: Ankit Nautiyal, intel-gfx, intel-xe
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/i915/dp: PCON pass-through DSC slice limits ignored in TU
and min_hblank
--
commit 5df55e454ef968026d14526944396c73e571eb41
Author: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
drm/i915/dp: Pick the DSC slice count for pass-through within the HDMI limits
This commit populates the downstream DSC slice count limits from the HDMI
sink when passing a DSC 1.2a stream through a PCON.
> diff --git a/drivers/gpu/drm/i915/display/intel_dp.c b/drivers/gpu/drm/i915/display/intel_dp.c
> index b4f943d6401d4..3a53d23c4587c 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp.c
> @@ -2912,7 +2912,8 @@ intel_dp_dsc_compute_pipe_bpp_limits(struct intel_connector *connector,
>
> /*
> * The stream of a PCON passing DSC through is not recompressed, so it has to
> - * fit the HDMI FRL link as is. Limit the compressed bpp of the DP stream.
> + * fit the HDMI link and be one the HDMI sink can decode as is. Limit the DSC
> + * parameters of the DP stream accordingly.
> *
> * This applies only if the HDMI link needs DSC and the DP stream is a DSC 1.2a
> * stream, as passing it through is the only PCON operation possible then.
> @@ -2936,6 +2937,13 @@ intel_dp_pcon_dsc_compute_passthrough_limits(struct intel_dp *intel_dp,
> true) == MODE_OK)
> return true;
>
> + if (!intel_dp_pcon_dsc_hdmi_slice_limits(connector, adjusted_mode,
> + adjusted_mode->crtc_clock,
> + crtc_state->sink_format,
> + &limits->dfp_dsc.min_slices,
> + &limits->dfp_dsc.max_slices))
> + return false;
[Severity: Medium]
Do the TU and min_hblank calculations still ignore limits->dfp_dsc when
the HDMI sink requires a larger minimum slice count than the DP sink?
In intel_dp_dsc_compute_config(), intel_dp_dsc_compute_pipe_bpp() runs
before intel_dp_dsc_get_slice_config() populates
pipe_config->dsc.slice_config:
drivers/gpu/drm/i915/display/intel_dp.c:intel_dp_dsc_compute_config() {
if (!is_mst) {
ret = intel_dp_dsc_compute_pipe_bpp(intel_dp, pipe_config,
conn_state, limits);
if (ret) {
...
return ret;
}
}
if (!intel_dp_dsc_get_slice_config(connector, adjusted_mode->crtc_clock,
adjusted_mode->crtc_hdisplay, num_joined_pipes,
limits->dfp_dsc.min_slices,
limits->dfp_dsc.max_slices,
&pipe_config->dsc.slice_config))
return -EINVAL;
}
On a UHBR link, intel_dp_dsc_compute_pipe_bpp() ->
dsc_compute_link_config() -> intel_dp_mtp_tu_compute_config() obtains the
slice count via intel_dp_dsc_get_slice_count(), which hardcodes
dfp_min_slices = 0 and dfp_max_slices = INT_MAX (and on non-UHBR links,
dsc_compute_link_config() reads
intel_dsc_line_slice_count(&pipe_config->dsc.slice_config) while
slice_config is still zeroed). Later in intel_dp_compute_config(),
intel_dp_compute_min_hblank() also calls intel_dp_dsc_get_slice_count()
instead of using
intel_dsc_line_slice_count(&crtc_state->dsc.slice_config).
As a result, symbol cycles, link M/N, TU, and min_hblank are computed for
the unconstrained DP slice count rather than the slice count programmed in
pipe_config->dsc.slice_config. Computing pipe_config->dsc.slice_config
before intel_dp_dsc_compute_pipe_bpp() and reading
intel_dsc_line_slice_count(&crtc_state->dsc.slice_config) in the downstream
callers would keep these calculations consistent.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261120140729.466177-1-ankit.k.nautiyal@intel.com?part=27
^ permalink raw reply [flat|nested] 43+ messages in thread
* ✓ Xe.CI.BAT: success for DP-HDMI PCON DSC fixes (rev4)
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (30 preceding siblings ...)
2026-11-20 14:35 ` ✓ CI.KUnit: success " Patchwork
@ 2026-11-20 15:24 ` Patchwork
2026-11-20 17:31 ` ✓ i915.CI.BAT: " Patchwork
32 siblings, 0 replies; 43+ messages in thread
From: Patchwork @ 2026-11-20 15:24 UTC (permalink / raw)
To: Ankit Nautiyal; +Cc: intel-xe
[-- Attachment #1: Type: text/plain, Size: 852 bytes --]
== Series Details ==
Series: DP-HDMI PCON DSC fixes (rev4)
URL : https://patchwork.freedesktop.org/series/171346/
State : success
== Summary ==
CI Bug Log - changes from xe-6195-5273820504a824f0c81ed31f939599dd0da3fc69_BAT -> xe-pw-171346v4_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (15 -> 15)
------------------------------
No changes in participating hosts
Changes
-------
No changes found
Build changes
-------------
* Linux: xe-6195-5273820504a824f0c81ed31f939599dd0da3fc69 -> xe-pw-171346v4
IGT_9200: 9200
xe-6195-5273820504a824f0c81ed31f939599dd0da3fc69: 5273820504a824f0c81ed31f939599dd0da3fc69
xe-pw-171346v4: 171346v4
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-171346v4/index.html
[-- Attachment #2: Type: text/html, Size: 1400 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
* ✓ i915.CI.BAT: success for DP-HDMI PCON DSC fixes (rev4)
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
` (31 preceding siblings ...)
2026-11-20 15:24 ` ✓ Xe.CI.BAT: " Patchwork
@ 2026-11-20 17:31 ` Patchwork
32 siblings, 0 replies; 43+ messages in thread
From: Patchwork @ 2026-11-20 17:31 UTC (permalink / raw)
To: Ankit Nautiyal; +Cc: intel-gfx
[-- Attachment #1: Type: text/plain, Size: 1496 bytes --]
== Series Details ==
Series: DP-HDMI PCON DSC fixes (rev4)
URL : https://patchwork.freedesktop.org/series/171345/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_19573 -> Patchwork_171345v4
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_171345v4/index.html
Participating hosts (40 -> 39)
------------------------------
Missing (1): bat-dg2-13
Known issues
------------
Here are the changes found in Patchwork_171345v4 that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@i915_pm_rpm@module-reload:
- bat-adls-6: [FAIL][1] ([i915#17803]) -> [PASS][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_19573/bat-adls-6/igt@i915_pm_rpm@module-reload.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_171345v4/bat-adls-6/igt@i915_pm_rpm@module-reload.html
[i915#17803]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/17803
Build changes
-------------
* Linux: CI_DRM_19573 -> Patchwork_171345v4
CI-20190529: 20190529
CI_DRM_19573: 24bfa0098b29748ef02332bb0c50700859cf09c9 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_9200: 9200
Patchwork_171345v4: 24bfa0098b29748ef02332bb0c50700859cf09c9 @ git://anongit.freedesktop.org/gfx-ci/linux
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_171345v4/index.html
[-- Attachment #2: Type: text/html, Size: 2081 bytes --]
^ permalink raw reply [flat|nested] 43+ messages in thread
end of thread, other threads:[~2026-11-20 17:31 UTC | newest]
Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-20 14:07 [PATCH 00/29] DP-HDMI PCON DSC fixes Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 01/29] drm/i915/hdmi: Split the intel_hdmi_dsc_get_bpp() Ankit Nautiyal
2026-11-20 14:32 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 02/29] drm/i915/dp: Fix FRL BW check for HDMI2.1 DFP Ankit Nautiyal
2026-11-20 14:34 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 03/29] drm/i915/dp: Add a wrapper to check frl/tmds downstream constraints Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 04/29] drm/i915/dp: Use the common downstream bw check in compute_bpc Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 05/29] drm/i915/hdmi: Expose DSC min/max bpp helpers Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 06/29] drm/i915/hdmi: Add helper to check if DSC chunksize fits the sink limits Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 07/29] drm/i915/hdmi: Pass pixel clock to DSC slice helper Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 08/29] drm/i915/dp: Account for FRL 16b/18b encoding overhead Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 09/29] drm/i915/hdmi: Clamp the target_bpp only when it equals the link bpp Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 10/29] drm/i915/dp: Add PCON DSC state to crtc_state Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 11/29] drm/dp: Add a helper to disable the PCON DSC encoder Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 12/29] drm/i915/dp: Compute the PCON DSC operation Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 13/29] drm/i915/dp: Disable the PCON DSC encoder unless it is needed Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 14/29] drm/i915/dp: Clamp PCON DSC bpp to the FRL link bandwidth Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 15/29] drm/i915/dp: Add a helper for the DSC stream version Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 16/29] drm/i915/dp: Add a helper for the FRL payload bandwidth Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 17/29] drm/i915/dp: Compute the PCON DSC encoder parameters Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 18/29] drm/i915/dp: Retrain the PCON FRL link from the link check work Ankit Nautiyal
2026-11-20 14:46 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 19/29] drm/i915/dp: Store the PCON FRL rate in the crtc state Ankit Nautiyal
2026-11-20 14:39 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 20/29] drm/i915/dp: Use the FRL rate of the stream on the HDMI link Ankit Nautiyal
2026-11-20 14:43 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 21/29] drm/i915/dp: Allow PCON DSC modes through the FRL bw check Ankit Nautiyal
2026-11-20 14:48 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 22/29] drm/i915/dp: Enable DSC pass-through in the PCON Ankit Nautiyal
2026-11-20 14:38 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 23/29] drm/i915/dp: Limit the DP link bpp for DSC pass-through to the FRL bandwidth Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 24/29] drm/i915/dp: Select DSC pass-through in the PCON for DSC 1.2a streams Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 25/29] drm/i915/dp: Allow limiting the DSC slice count for the downstream device Ankit Nautiyal
2026-11-20 14:41 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 26/29] drm/i915/dp: Check the HDMI sink slice limits for DSC pass-through Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 27/29] drm/i915/dp: Pick the DSC slice count for pass-through within the HDMI limits Ankit Nautiyal
2026-11-20 14:48 ` sashiko-bot
2026-11-20 14:07 ` [PATCH 28/29] drm/i915/dp: Limit the compressed bpp for pass-through to the HDMI sink Ankit Nautiyal
2026-11-20 14:07 ` [PATCH 29/29] drm/i915/dp: Accept DSC 1.2a pass-through modes in the PCON mode check Ankit Nautiyal
2026-11-20 14:33 ` ✗ CI.checkpatch: warning for DP-HDMI PCON DSC fixes (rev4) Patchwork
2026-11-20 14:35 ` ✓ CI.KUnit: success " Patchwork
2026-11-20 15:24 ` ✓ Xe.CI.BAT: " Patchwork
2026-11-20 17:31 ` ✓ i915.CI.BAT: " Patchwork
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.