drm/i915: Improve BW management on MST links
Subsystems (7)
cover drm/i915: Improve BW management on MST links
This is a new version of patches 12-24 in [1], with the following changes/additions:
- Fix accounting for FEC/DSC BW overheads (patch 8, 10-12).
- Add a workaround for a Synpatics HBLANK expansion vs. DSC quirk (patch 6, 7, 20).
- Add support for enabling DSC for each MST stream, required by the above workaround (patch 5, 17-19, 21-26).
- Enable FEC early, once it's known DSC will need it (patch 9).
- Adding a patch from Stan, which fixes DSC issues and allows enabling it (patch 29).
[1] https://lore.kernel.org/all/[email protected]
Imre Deak (27):
drm/dp_mst: Add helper to determine if an MST port is downstream of
another port
drm/dp_mst: Factor out a helper to check the atomic state of a
topology manager
drm/dp_mst: Swap the order of checking root vs. non-root port BW
limitations
drm/dp_mst: Allow DSC in any Synaptics last branch device drm/dp: Add DP_HBLANK_EXPANSION_CAPABLE and DSC_PASSTHROUGH_EN DPCD
flags
drm/dp_mst: Add HBLANK expansion quirk for Synaptics MST hubs drm/dp: Add helpers to calculate the link BW overhead drm/i915/dp_mst: Enable FEC early once it's known DSC is needed drm/i915/dp: Specify the FEC overhead as an increment vs. a remainder drm/i915/dp: Pass actual BW overhead to m_n calculation drm/i915/dp_mst: Account for FEC and DSC overhead during BW allocation drm/i915/dp_mst: Add atomic state for all streams on pre-tgl platforms drm/i915/dp_mst: Program the DSC PPS SDP for each stream drm/i915/dp: Make sure the DSC PPS SDP is disabled whenever DSC is
disabled
drm/i915/dp_mst: Add missing DSC compression disabling drm/i915/dp: Rename intel_ddi_disable_fec_state() to
intel_ddi_disable_fec()
drm/i915/dp: Wait for FEC detected status in the sink drm/i915/dp: Disable FEC ready flag in the sink drm/i915/dp_mst: Handle the Synaptics HBlank expansion quirk drm/i915/dp_mst: Enable decompression in the sink from the MST encoder
hooks
drm/i915/dp: Enable DSC via the connector decompression AUX drm/i915/dp_mst: Enable DSC passthrough
drm/i915/dp_mst: Enable MST DSC decompression for all streams drm/i915: Factor out function to clear pipe update flags drm/i915/dp_mst: Force modeset CRTC if DSC toggling requires it drm/i915/dp_mst: Improve BW sharing between MST streams drm/i915/dp_mst: Check BW limitations only after all streams are
computed
Stanislav Lisovskiy (1):
drm/i915: Query compressed bpp properly using correct DPCD and DP Spec
info
Ville Syrjälä (1):
drm/dp_mst: Fix fractional DSC bpp handling
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- .../display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 +- drivers/gpu/drm/display/drm_dp_helper.c | 115 ++++ drivers/gpu/drm/display/drm_dp_mst_topology.c | 206 +++++-- drivers/gpu/drm/i915/display/intel_ddi.c | 131 ++++- drivers/gpu/drm/i915/display/intel_ddi.h | 3 + drivers/gpu/drm/i915/display/intel_display.c | 101 ++-- drivers/gpu/drm/i915/display/intel_display.h | 4 +- .../drm/i915/display/intel_display_types.h | 3 + drivers/gpu/drm/i915/display/intel_dp.c | 135 ++++- drivers/gpu/drm/i915/display/intel_dp.h | 16 +- drivers/gpu/drm/i915/display/intel_dp_mst.c | 554 +++++++++++++++--- drivers/gpu/drm/i915/display/intel_dp_mst.h | 5 + drivers/gpu/drm/i915/display/intel_fdi.c | 5 +- drivers/gpu/drm/i915/display/intel_link_bw.c | 16 +- drivers/gpu/drm/i915/display/intel_link_bw.h | 1 + drivers/gpu/drm/nouveau/dispnv50/disp.c | 3 +- .../gpu/drm/tests/drm_dp_mst_helper_test.c | 6 +- include/drm/display/drm_dp.h | 2 + include/drm/display/drm_dp_helper.h | 18 + include/drm/display/drm_dp_mst_helper.h | 9 +- 21 files changed, 1108 insertions(+), 229 deletions(-)
Signature · 1 line
2.39.2
PATCH 1/29 drm/dp_mst: Fix fractional DSC bpp handling
From: Ville Syrjälä <[email protected]>
The current code does '(bpp << 4) / 16' in the MST PBN calculation, but that is just the same as 'bpp' so the DSC codepath achieves absolutely nothing. Fix it up so that the fractional part of the bpp value is actually used instead of truncated away. 64*1006 has enough zero lsbs that we can just shift that down in the dividend and thus still manage to stick to a 32bit divisor.
And while touching this, let's just make the whole thing more straightforward by making the passed in bpp value .4 binary fixed point always, instead of having to pass in different things based on whether DSC is enabled or not.
v2:
- Fix DSC kunit test cases.
--- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +- .../display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 +- drivers/gpu/drm/display/drm_dp_mst_topology.c | 20 +++++-------------- drivers/gpu/drm/i915/display/intel_dp_mst.c | 5 ++--- drivers/gpu/drm/nouveau/dispnv50/disp.c | 3 +-- .../gpu/drm/tests/drm_dp_mst_helper_test.c | 6 +++--- include/drm/display/drm_dp_mst_helper.h | 2 +- 7 files changed, 14 insertions(+), 26 deletions(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +1 -1
@@ -6918,7 +6918,7 @@ static int dm_encoder_helper_atomic_check(struct drm_encoder *encoder, max_bpc); bpp =convert_dc_color_depth_into_bpc (color_depth) *3 ; clock = adjusted_mode->clock; - dm_new_connector_state->pbn =drm_dp_calc_pbn_mode (clock, bpp, false); + dm_new_connector_state->pbn =drm_dp_calc_pbn_mode (clock, bpp <<4 ); } dm_new_connector_state->vcpi_slots =
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +1 -1
@@ -1642,7 +1642,7 @@ enum dc_status dm_dp_mst_is_port_support_mode( }else {/* check if mode could be supported within full_pbn */ bpp =convert_dc_color_depth_into_bpc (stream->timing.display_color_depth) *3 ; - pbn =drm_dp_calc_pbn_mode (stream->timing.pix_clk_100hz /10 , bpp, false); + pbn =drm_dp_calc_pbn_mode (stream->timing.pix_clk_100hz /10 , bpp <<4 );if (pbn > aconnector->mst_output_port->full_pbn)return DC_FAIL_BANDWIDTH_VALIDATE ;
drivers/gpu/drm/display/drm_dp_mst_topology.c +5 -15
@@ -4718,13 +4718,12 @@ EXPORT_SYMBOL(drm_dp_check_act_status);/** * drm_dp_calc_pbn_mode() - Calculate the PBN for a mode. -* @clock: dot clock for the mode -* @bpp: bpp for the mode. -* @dsc: DSC mode. If true, bpp has units of 1/16 of a bit per pixel +* @clock: dot clock +* @bpp: bpp as .4 binary fixed point * * This uses the formula in the spec to calculate the PBN value for a mode. */ -int drm_dp_calc_pbn_mode (int clock,int bpp,bool dsc) +int drm_dp_calc_pbn_mode (int clock,int bpp) {/* * margin 5300ppm + 300ppm ~ 0.6% as per spec, factor is 1.006
@@ -4735,18 +4734,9 @@ int drm_dp_calc_pbn_mode(int clock, int bpp, bool dsc)* peak_kbps *= (1006/1000) * peak_kbps *= (64/54) * peak_kbps *= 8 convert to bytes -* -* If the bpp is in units of 1/16, further divide by 16. Put this -* factor in the numerator rather than the denominator to avoid -* integer overflow */ - -if (dsc) -return DIV_ROUND_UP_ULL (mul_u32_u32 (clock * (bpp /16 ),64 *1006 ), -8 *54 *1000 *1000 ); - -return DIV_ROUND_UP_ULL (mul_u32_u32 (clock * bpp,64 *1006 ), -8 *54 *1000 *1000 ); +return DIV_ROUND_UP_ULL (mul_u32_u32 (clock * bpp,64 *1006 >>4 ), +1000 *8 *54 *1000 ); }EXPORT_SYMBOL (drm_dp_calc_pbn_mode);
drivers/gpu/drm/i915/display/intel_dp_mst.c +2 -3
@@ -106,8 +106,7 @@ static int intel_dp_mst_find_vcpi_slots_for_bpp(struct intel_encoder *encoder,continue ; crtc_state->pbn =drm_dp_calc_pbn_mode (adjusted_mode->crtc_clock, - dsc ? bpp <<4 : bpp, - dsc); + bpp <<4 ); slots = drm_dp_atomic_find_time_slots(state, &intel_dp->mst_mgr, connector->port,
@@ -975,7 +974,7 @@ intel_dp_mst_mode_valid_ctx(struct drm_connector *connector,return ret;if (mode_rate > max_rate || mode->clock > max_dotclk || -drm_dp_calc_pbn_mode (mode->clock, min_bpp, false) > port->full_pbn) { +drm_dp_calc_pbn_mode (mode->clock, min_bpp <<4 ) > port->full_pbn) { *status =MODE_CLOCK_HIGH ;return 0 ; }
drivers/gpu/drm/nouveau/dispnv50/disp.c +1 -2
@@ -982,8 +982,7 @@ nv50_msto_atomic_check(struct drm_encoder *encoder,const int clock = crtc_state->adjusted_mode.clock; asyh->or.bpc = connector->display_info.bpc; - asyh->dp.pbn =drm_dp_calc_pbn_mode (clock, asyh->or.bpc *3 , - false); + asyh->dp.pbn =drm_dp_calc_pbn_mode (clock, asyh->or.bpc *3 <<4 ); } mst_state =drm_atomic_get_mst_topology_state (state, &mstm->mgr);
drivers/gpu/drm/tests/drm_dp_mst_helper_test.c +3 -3
@@ -42,13 +42,13 @@ static const struct drm_dp_mst_calc_pbn_mode_test drm_dp_mst_calc_pbn_mode_cases .clock = 332880, .bpp = 24, .dsc = true, - .expected = 50 + .expected = 1191 }, { .clock = 324540, .bpp = 24, .dsc = true, - .expected = 49 + .expected = 1161 }, };
@@ -56,7 +56,7 @@ static void drm_test_dp_mst_calc_pbn_mode(struct kunit *test) {const struct drm_dp_mst_calc_pbn_mode_test *params = test->param_value; -KUNIT_EXPECT_EQ (test,drm_dp_calc_pbn_mode (params->clock, params->bpp, params->dsc), +KUNIT_EXPECT_EQ (test,drm_dp_calc_pbn_mode (params->clock, params->bpp <<4 ), params->expected); }
include/drm/display/drm_dp_mst_helper.h +1 -1
@@ -842,7 +842,7 @@ struct edid *drm_dp_mst_get_edid(struct drm_connector *connector,int drm_dp_get_vc_payload_bw (const struct drm_dp_mst_topology_mgr *mgr,int link_rate,int link_lane_count); -int drm_dp_calc_pbn_mode (int clock,int bpp,bool dsc); +int drm_dp_calc_pbn_mode (int clock,int bpp);void drm_dp_mst_update_slots (struct drm_dp_mst_topology_state *mst_state,uint8_t link_encoding_cap);
Signature · 1 line
2.39.2
PATCH 2/29 drm/dp_mst: Add helper to determine if an MST port is downstream of another port
In reply to Imre DeakAdd drm_dp_mst_port_downstream_of_parent() required by the i915 driver in a follow-up patch to resolve a BW overallocation of MST streams going through a given MST port.
--- drivers/gpu/drm/display/drm_dp_mst_topology.c | 52 +++++++++++++++++++ include/drm/display/drm_dp_mst_helper.h | 3 ++ 2 files changed, 55 insertions(+)
drivers/gpu/drm/display/drm_dp_mst_topology.c +52 -0
@@ -5126,6 +5126,58 @@ static bool drm_dp_mst_port_downstream_of_branch(struct drm_dp_mst_port *port,return false; } +static bool +drm_dp_mst_port_downstream_of_parent_locked (struct drm_dp_mst_topology_mgr *mgr, +struct drm_dp_mst_port *port, +struct drm_dp_mst_port *parent) +{ +if (!mgr->mst_primary) +return false; + + port =drm_dp_mst_topology_get_port_validated_locked (mgr->mst_primary, + port); +if (!port) +return false; + +if (!parent) +return true; + + parent =drm_dp_mst_topology_get_port_validated_locked (mgr->mst_primary, + parent); +if (!parent) +return false; + +if (!parent->mstb) +return false; + +return drm_dp_mst_port_downstream_of_branch (port, parent->mstb); +} + +/** +* drm_dp_mst_port_downstream_of_parent - check if a port is downstream of a parent port +* @mgr: MST topology manager +* @port: the port being looked up +* @parent: the parent port +* +* The function returns %true if @port is downstream of @parent. If @parent is +* %NULL - denoting the root port - the function returns %true if @port is in +* @mgr's topology. +*/ +bool +drm_dp_mst_port_downstream_of_parent (struct drm_dp_mst_topology_mgr *mgr, +struct drm_dp_mst_port *port, +struct drm_dp_mst_port *parent) +{ +bool ret; + +mutex_lock (&mgr->lock); + ret =drm_dp_mst_port_downstream_of_parent_locked (mgr, port, parent); +mutex_unlock (&mgr->lock); + +return ret; +} +EXPORT_SYMBOL (drm_dp_mst_port_downstream_of_parent); +static int drm_dp_mst_atomic_check_port_bw_limit (struct drm_dp_mst_port *port,struct drm_dp_mst_topology_state *state);
include/drm/display/drm_dp_mst_helper.h +3 -0
@@ -892,6 +892,9 @@ drm_atomic_get_new_mst_topology_state(struct drm_atomic_state *state,struct drm_dp_mst_atomic_payload *drm_atomic_get_mst_payload_state (struct drm_dp_mst_topology_state *state,struct drm_dp_mst_port *port); +bool drm_dp_mst_port_downstream_of_parent (struct drm_dp_mst_topology_mgr *mgr, +struct drm_dp_mst_port *port, +struct drm_dp_mst_port *parent); int __must_check drm_dp_atomic_find_time_slots(struct drm_atomic_state *state, struct drm_dp_mst_topology_mgr *mgr,
Signature · 1 line
2.39.2
PATCH 3/29 drm/dp_mst: Factor out a helper to check the atomic state of a topology manager
In reply to Imre DeakFactor out a helper to check the atomic state for one MST topology manager, returning the MST port where the BW limit check has failed. This will be used in a follow-up patch by the i915 driver to improve the BW sharing between MST streams.
--- drivers/gpu/drm/display/drm_dp_mst_topology.c | 93 +++++++++++++++---- include/drm/display/drm_dp_mst_helper.h | 4 + 2 files changed, 78 insertions(+), 19 deletions(-)
drivers/gpu/drm/display/drm_dp_mst_topology.c +74 -19
@@ -5180,11 +5180,13 @@ EXPORT_SYMBOL(drm_dp_mst_port_downstream_of_parent);static int drm_dp_mst_atomic_check_port_bw_limit (struct drm_dp_mst_port *port, -struct drm_dp_mst_topology_state *state); +struct drm_dp_mst_topology_state *state, +struct drm_dp_mst_port **failing_port);static int drm_dp_mst_atomic_check_mstb_bw_limit (struct drm_dp_mst_branch *mstb, -struct drm_dp_mst_topology_state *state) +struct drm_dp_mst_topology_state *state, +struct drm_dp_mst_port **failing_port) {struct drm_dp_mst_atomic_payload *payload;struct drm_dp_mst_port *port;
@@ -5213,7 +5215,7 @@ drm_dp_mst_atomic_check_mstb_bw_limit(struct drm_dp_mst_branch *mstb,drm_dbg_atomic (mstb->mgr->dev,"[MSTB:%p] Checking bandwidth limits\n" , mstb);list_for_each_entry (port, &mstb->ports, next) { - ret =drm_dp_mst_atomic_check_port_bw_limit (port, state); + ret =drm_dp_mst_atomic_check_port_bw_limit (port, state, failing_port);if (ret <0 )return ret;
@@ -5225,7 +5227,8 @@ drm_dp_mst_atomic_check_mstb_bw_limit(struct drm_dp_mst_branch *mstb,static int drm_dp_mst_atomic_check_port_bw_limit (struct drm_dp_mst_port *port, -struct drm_dp_mst_topology_state *state) +struct drm_dp_mst_topology_state *state, +struct drm_dp_mst_port **failing_port) {struct drm_dp_mst_atomic_payload *payload;int pbn_used =0 ;
@@ -5246,13 +5249,15 @@ drm_dp_mst_atomic_check_port_bw_limit(struct drm_dp_mst_port *port,drm_dbg_atomic (port->mgr->dev,"[MSTB:%p] [MST PORT:%p] no BW available for the port\n" , port->parent, port); + *failing_port = port;return -EINVAL ; } pbn_used = payload->pbn; }else { pbn_used =drm_dp_mst_atomic_check_mstb_bw_limit (port->mstb, - state); + state, + failing_port);if (pbn_used <=0 )return pbn_used; }
@@ -5261,6 +5266,7 @@ drm_dp_mst_atomic_check_port_bw_limit(struct drm_dp_mst_port *port,drm_dbg_atomic (port->mgr->dev,"[MSTB:%p] [MST PORT:%p] required PBN of %d exceeds port limit of %d\n" , port->parent, port, pbn_used, port->full_pbn); + *failing_port = port;return -ENOSPC ; }
@@ -5438,20 +5444,79 @@ int drm_dp_mst_atomic_enable_dsc(struct drm_atomic_state *state, }EXPORT_SYMBOL (drm_dp_mst_atomic_enable_dsc); +/** +* drm_dp_mst_atomic_check_mgr - Check the atomic state of an MST topology manager +* @state: The global atomic state +* @mgr: Manager to check +* @mst_state: The MST atomic state for @mgr +* @failing_port: Returns the port with a BW limitation +* +* Checks the given MST manager's topology state for an atomic update to ensure +* that it's valid. This includes checking whether there's enough bandwidth to +* support the new timeslot allocations in the atomic update. +* +* Any atomic drivers supporting DP MST must make sure to call this or +* the drm_dp_mst_atomic_check() function after checking the rest of their state +* in their &drm_mode_config_funcs.atomic_check() callback. +* +* See also: +* drm_dp_mst_atomic_check() +* drm_dp_atomic_find_time_slots() +* drm_dp_atomic_release_time_slots() +* +* Returns: +* - 0 if the new state is valid +* - %-ENOSPC, if the new state is invalid, because of BW limitation +* @failing_port is set to: +* - The non-root port where a BW limit check failed +* The returned port pointer is valid until at least +* one payload downstream of it exists. +* - %NULL if the BW limit check failed at the root port +* - %-EINVAL, if the new state is invalid, because the root port has +* too many payloads. +*/ +int drm_dp_mst_atomic_check_mgr (struct drm_atomic_state *state, +struct drm_dp_mst_topology_mgr *mgr, +struct drm_dp_mst_topology_state *mst_state, +struct drm_dp_mst_port **failing_port) +{ +int ret; + + *failing_port =NULL ; + +if (!mgr->mst_state) +return 0 ; + + ret =drm_dp_mst_atomic_check_payload_alloc_limits (mgr, mst_state); +if (ret) +return ret; + +mutex_lock (&mgr->lock); + ret =drm_dp_mst_atomic_check_mstb_bw_limit (mgr->mst_primary, + mst_state, + failing_port); +mutex_unlock (&mgr->lock); + +return ret <0 ? ret :0 ; +} +EXPORT_SYMBOL (drm_dp_mst_atomic_check_mgr); +/** * drm_dp_mst_atomic_check - Check that the new state of an MST topology in an * atomic update is valid * @state: Pointer to the new &struct drm_dp_mst_topology_state * * Checks the given topology state for an atomic update to ensure that it's -* valid. This includes checking whether there's enough bandwidth to support -* the new timeslot allocations in the atomic update. +* valid, calling drm_dp_mst_atomic_check_mgr() for all MST manager in the +* atomic state. This includes checking whether there's enough bandwidth to +* support the new timeslot allocations in the atomic update. * * Any atomic drivers supporting DP MST must make sure to call this after * checking the rest of their state in their * &drm_mode_config_funcs.atomic_check() callback. * * See also: +* drm_dp_mst_atomic_check_mgr() * drm_dp_atomic_find_time_slots() * drm_dp_atomic_release_time_slots() *
@@ -5466,21 +5531,11 @@ int drm_dp_mst_atomic_check(struct drm_atomic_state *state)int i, ret =0 ;for_each_new_mst_mgr_in_state (state, mgr, mst_state, i) { -if (!mgr->mst_state) -continue ; +struct drm_dp_mst_port *tmp_port; - ret =drm_dp_mst_atomic_check_payload_alloc_limits (mgr, mst_state); + ret =drm_dp_mst_atomic_check_mgr (state, mgr, mst_state, &tmp_port);if (ret)break ; - -mutex_lock (&mgr->lock); - ret =drm_dp_mst_atomic_check_mstb_bw_limit (mgr->mst_primary, - mst_state); -mutex_unlock (&mgr->lock); -if (ret <0 ) -break ; -else - ret =0 ; }return ret;
include/drm/display/drm_dp_mst_helper.h +4 -0
@@ -916,6 +916,10 @@ int drm_dp_send_power_updown_phy(struct drm_dp_mst_topology_mgr *mgr,int drm_dp_send_query_stream_enc_status (struct drm_dp_mst_topology_mgr *mgr,struct drm_dp_mst_port *port,struct drm_dp_query_stream_enc_status_ack_reply *status); +int __must_check drm_dp_mst_atomic_check_mgr (struct drm_atomic_state *state, +struct drm_dp_mst_topology_mgr *mgr, +struct drm_dp_mst_topology_state *mst_state, +struct drm_dp_mst_port **failing_port);int __must_check drm_dp_mst_atomic_check (struct drm_atomic_state *state);int __must_check drm_dp_mst_root_conn_atomic_check (struct drm_connector_state *new_conn_state,struct drm_dp_mst_topology_mgr *mgr);
Signature · 1 line
2.39.2
PATCH 4/29 drm/dp_mst: Swap the order of checking root vs. non-root port BW limitations
In reply to Imre Deakdrm_dp_mst_atomic_check_mgr() should check for BW limitation starting from sink ports continuing towards the root port, so that drivers can use the @failing_port returned to resolve a BW overallocation in an ideal way. For instance from streams A,B,C in a topology A,B going through @failing_port and C not going through it, a BW overallocation of A,B due to a limit of the port must be resolved first before considering the limits of other ports closer to the root port. This way can avoid reducing the BW of stream C unnecessarily due to a BW limit closer to the root port.
Based on the above swap the order of the BW check for the root port and the check for all the ports downstream of it (the latter going through the topology already in the sink->root port direction).
--- drivers/gpu/drm/display/drm_dp_mst_topology.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-)
drivers/gpu/drm/display/drm_dp_mst_topology.c +8 -5
@@ -5469,9 +5469,13 @@ EXPORT_SYMBOL(drm_dp_mst_atomic_enable_dsc);* - %-ENOSPC, if the new state is invalid, because of BW limitation * @failing_port is set to: * - The non-root port where a BW limit check failed +* with all the ports downstream of @failing_port passing +* the BW limit check. * The returned port pointer is valid until at least * one payload downstream of it exists. * - %NULL if the BW limit check failed at the root port +* with all the ports downstream of the root port passing +* the BW limit check. * - %-EINVAL, if the new state is invalid, because the root port has * too many payloads. */
@@ -5487,17 +5491,16 @@ int drm_dp_mst_atomic_check_mgr(struct drm_atomic_state *state,if (!mgr->mst_state)return 0 ; - ret =drm_dp_mst_atomic_check_payload_alloc_limits (mgr, mst_state); -if (ret) -return ret; -mutex_lock (&mgr->lock); ret =drm_dp_mst_atomic_check_mstb_bw_limit (mgr->mst_primary, mst_state, failing_port);mutex_unlock (&mgr->lock); -return ret <0 ? ret :0 ; +if (ret <0 ) +return ret; + +return drm_dp_mst_atomic_check_payload_alloc_limits (mgr, mst_state); }EXPORT_SYMBOL (drm_dp_mst_atomic_check_mgr);
Signature · 1 line
2.39.2
PATCH 5/29 drm/dp_mst: Allow DSC in any Synaptics last branch device
In reply to Imre DeakThe Synaptics MST branch deivces support DSC decompression on all their output ports, provided that they are last branch devices (with their output ports connected to the sinks). The Thinkpad 40B0 TBT dock for instance has two such branch devices, a secondary one connected to one of the output ports of the primary; hence the decompression needs to be enabled in both branch devices to enable decompression for all the sinks.
Based on the above add support for enabling decompression in last Synaptics branch devices.
--- drivers/gpu/drm/display/drm_dp_mst_topology.c | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-)
drivers/gpu/drm/display/drm_dp_mst_topology.c +13 -8
@@ -5994,6 +5994,7 @@ static bool drm_dp_mst_is_virtual_dpcd(struct drm_dp_mst_port *port)struct drm_dp_aux *drm_dp_mst_dsc_aux_for_port (struct drm_dp_mst_port *port) {struct drm_dp_mst_port *immediate_upstream_port; +struct drm_dp_aux *immediate_upstream_aux;struct drm_dp_mst_port *fec_port;struct drm_dp_desc desc = {};u8 endpoint_fec;
@@ -6058,21 +6059,25 @@ struct drm_dp_aux *drm_dp_mst_dsc_aux_for_port(struct drm_dp_mst_port *port)* - Port is on primary branch device * - Not a VGA adapter (DP_DWN_STRM_PORT_TYPE_ANALOG) */ -if (drm_dp_read_desc (port->mgr->aux, &desc, true)) +if (immediate_upstream_port) + immediate_upstream_aux = &immediate_upstream_port->aux; +else + immediate_upstream_aux = port->mgr->aux; + +if (drm_dp_read_desc (immediate_upstream_aux, &desc, true))return NULL ; -if (drm_dp_has_quirk (&desc,DP_DPCD_QUIRK_DSC_WITHOUT_VIRTUAL_DPCD ) && - port->mgr->dpcd[DP_DPCD_REV ] >=DP_DPCD_REV_14 && - port->parent == port->mgr->mst_primary) { +if (drm_dp_has_quirk (&desc,DP_DPCD_QUIRK_DSC_WITHOUT_VIRTUAL_DPCD )) {u8 dpcd_ext[DP_RECEIVER_CAP_SIZE ]; -if (drm_dp_read_dpcd_caps (port->mgr->aux, dpcd_ext) <0 ) +if (drm_dp_read_dpcd_caps (immediate_upstream_aux, dpcd_ext) <0 )return NULL ; -if ((dpcd_ext[DP_DOWNSTREAMPORT_PRESENT ] &DP_DWN_STRM_PORT_PRESENT ) && +if (dpcd_ext[DP_DPCD_REV ] >=DP_DPCD_REV_14 && + ((dpcd_ext[DP_DOWNSTREAMPORT_PRESENT ] &DP_DWN_STRM_PORT_PRESENT ) && ((dpcd_ext[DP_DOWNSTREAMPORT_PRESENT ] &DP_DWN_STRM_PORT_TYPE_MASK ) - !=DP_DWN_STRM_PORT_TYPE_ANALOG )) -return port->mgr->aux; + !=DP_DWN_STRM_PORT_TYPE_ANALOG ))) +return immediate_upstream_aux; }/*
Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 05/29] drm/dp_mst: Allow DSC in any Synaptics last branch device
Quoted 1 line · Imre Deak
The Synaptics MST branch deivces support DSC decompression on all their
devices
Quoted 7 lines
output ports, provided that they are last branch devices (with their output ports connected to the sinks). The Thinkpad 40B0 TBT dock for instance has two such branch devices, a secondary one connected to one of the output ports of the primary; hence the decompression needs to be enabled in both branch devices to enable decompression for all the sinks.
Quoted 5 lines
Based on the above add support for enabling decompression in last Synaptics branch devices.
Cc Lyude Paul <[email protected]>Signed-off-by Imre Deak <[email protected]>
Quoted 53 lines
--- drivers/gpu/drm/display/drm_dp_mst_topology.c | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-)drivers/gpu/drm/display/drm_dp_mst_topology.c +13
-8@@ -5994,6 +5994,7 @@ static bool drm_dp_mst_is_virtual_dpcd(struct drm_dp_mst_port *port)struct drm_dp_aux *drm_dp_mst_dsc_aux_for_port (struct drm_dp_mst_port *port) {struct drm_dp_mst_port *immediate_upstream_port; +struct drm_dp_aux *immediate_upstream_aux;struct drm_dp_mst_port *fec_port;struct drm_dp_desc desc = {};u8 endpoint_fec;@@ -6058,21 +6059,25 @@ struct drm_dp_aux *drm_dp_mst_dsc_aux_for_port(struct drm_dp_mst_port *port)* - Port is on primary branch device * - Not a VGA adapter (DP_DWN_STRM_PORT_TYPE_ANALOG) */ -if (drm_dp_read_desc (port->mgr->aux, &desc, true)) +if (immediate_upstream_port) + immediate_upstream_aux = &immediate_upstream_port->aux; +else + immediate_upstream_aux = port->mgr->aux; + +if (drm_dp_read_desc (immediate_upstream_aux, &desc, true))return NULL ; -if (drm_dp_has_quirk (&desc,DP_DPCD_QUIRK_DSC_WITHOUT_VIRTUAL_DPCD ) && - port->mgr->dpcd[DP_DPCD_REV ] >=DP_DPCD_REV_14 && - port->parent == port->mgr->mst_primary) { +if (drm_dp_has_quirk (&desc,DP_DPCD_QUIRK_DSC_WITHOUT_VIRTUAL_DPCD )) {u8 dpcd_ext[DP_RECEIVER_CAP_SIZE ]; -if (drm_dp_read_dpcd_caps (port->mgr->aux, dpcd_ext) <0 ) +if (drm_dp_read_dpcd_caps (immediate_upstream_aux, dpcd_ext) <0 )return NULL ; -if ((dpcd_ext[DP_DOWNSTREAMPORT_PRESENT ] &DP_DWN_STRM_PORT_PRESENT ) && +if (dpcd_ext[DP_DPCD_REV ] >=DP_DPCD_REV_14 && + ((dpcd_ext[DP_DOWNSTREAMPORT_PRESENT ] &DP_DWN_STRM_PORT_PRESENT ) && ((dpcd_ext[DP_DOWNSTREAMPORT_PRESENT ] &DP_DWN_STRM_PORT_TYPE_MASK ) - !=DP_DWN_STRM_PORT_TYPE_ANALOG )) -return port->mgr->aux; + !=DP_DWN_STRM_PORT_TYPE_ANALOG ))) +return immediate_upstream_aux; }/* Signature · 1 line
2.39.2
PATCH 6/29 drm/dp: Add DP_HBLANK_EXPANSION_CAPABLE and DSC_PASSTHROUGH_EN DPCD flags
In reply to Imre DeakAdd the DPCD flag to enable DSC passthrough in a last branch device, used in a follow-up i915 patch.
Also add a flag to detect HBLANK expansion support in a branch device, used by a workaround in a follow-up i915 patch.
--- include/drm/display/drm_dp.h | 2 ++ 1 file changed, 2 insertions(+)
include/drm/display/drm_dp.h +2 -0
@@ -148,6 +148,7 @@#define DP_RECEIVE_PORT_0_CAP_0 0x008# define DP_LOCAL_EDID_PRESENT (1 << 1)# define DP_ASSOCIATED_TO_PRECEDING_PORT (1 << 2) +# define DP_HBLANK_EXPANSION_CAPABLE (1 << 3)#define DP_RECEIVE_PORT_0_BUFFER_SIZE 0x009
@@ -699,6 +700,7 @@#define DP_DSC_ENABLE 0x160/* DP 1.4 */ # define DP_DECOMPRESSION_EN (1 << 0) +# define DP_DSC_PASSTHROUGH_EN (1 << 1)#define DP_DSC_CONFIGURATION 0x161/* DP 2.0 */ #define DP_PSR_EN_CFG 0x170/* XXX 1.2? */
Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 06/29] drm/dp: Add DP_HBLANK_EXPANSION_CAPABLE and DSC_PASSTHROUGH_EN DPCD flags
Quoted 8 lines · Imre Deak
Add the DPCD flag to enable DSC passthrough in a last branch device, used in a follow-up i915 patch.
Also add a flag to detect HBLANK expansion support in a branch device, used by a workaround in a follow-up i915 patch.
Cc Lyude Paul <[email protected]>Signed-off-by Imre Deak <[email protected]>
Quoted 27 lines
--- include/drm/display/drm_dp.h | 2 ++ 1 file changed, 2 insertions(+)include/drm/display/drm_dp.h +2
-0@@ -148,6 +148,7 @@#define DP_RECEIVE_PORT_0_CAP_0 0x008# define DP_LOCAL_EDID_PRESENT (1 << 1)# define DP_ASSOCIATED_TO_PRECEDING_PORT (1 << 2) +# define DP_HBLANK_EXPANSION_CAPABLE (1 << 3)#define DP_RECEIVE_PORT_0_BUFFER_SIZE 0x009@@ -699,6 +700,7 @@#define DP_DSC_ENABLE 0x160/* DP 1.4 */ # define DP_DECOMPRESSION_EN (1 << 0) +# define DP_DSC_PASSTHROUGH_EN (1 << 1)#define DP_DSC_CONFIGURATION 0x161/* DP 2.0 */ #define DP_PSR_EN_CFG 0x170/* XXX 1.2? */ Signature · 1 line
2.39.2
PATCH 7/29 drm/dp_mst: Add HBLANK expansion quirk for Synaptics MST hubs
In reply to Imre DeakAdd a quirk for Synaptics MST hubs, which require a workaround - at leat on i915 - for some modes, on which the hub applies HBLANK expansion. These modes will only work by enabling DSC decompression for them, a follow-up patch will do this in i915.
--- drivers/gpu/drm/display/drm_dp_helper.c | 2 ++ include/drm/display/drm_dp_helper.h | 7 +++++++ 2 files changed, 9 insertions(+)
drivers/gpu/drm/display/drm_dp_helper.c +2 -0
@@ -2245,6 +2245,8 @@ static const struct dpcd_quirk dpcd_quirk_list[] = { { OUI(0x00, 0x00, 0x00), DEVICE_ID('C', 'H', '7', '5', '1', '1'), false, BIT(DP_DPCD_QUIRK_NO_SINK_COUNT) },/* Synaptics DP1.4 MST hubs can support DSC without virtual DPCD */ { OUI(0x90, 0xCC, 0x24), DEVICE_ID_ANY, true, BIT(DP_DPCD_QUIRK_DSC_WITHOUT_VIRTUAL_DPCD) }, +/* Synaptics DP1.4 MST hubs require DSC for some modes on which it applies HBLANK expansion. */ + { OUI(0x90, 0xCC, 0x24), DEVICE_ID_ANY, true, BIT(DP_DPCD_QUIRK_HBLANK_EXPANSION_REQUIRES_DSC) },/* Apple MacBookPro 2017 15 inch eDP Retina panel reports too low DP_MAX_LINK_RATE */ { OUI(0x00, 0x10, 0xfa), DEVICE_ID(101, 68, 21, 101, 98, 97), false, BIT(DP_DPCD_QUIRK_CAN_DO_MAX_LINK_RATE_3_24_GBPS) }, };
include/drm/display/drm_dp_helper.h +7 -0
@@ -632,6 +632,13 @@ enum drm_dp_quirk {* the DP_MAX_LINK_RATE register reporting a lower max multiplier. */ DP_DPCD_QUIRK_CAN_DO_MAX_LINK_RATE_3_24_GBPS , +/** +* @DP_DPCD_QUIRK_HBLANK_EXPANSION_NEEDS_DSC: +* +* The device applies HBLANK expansion for some modes, but this +* requires enabling DSC. +*/ + DP_DPCD_QUIRK_HBLANK_EXPANSION_REQUIRES_DSC, };/**
Signature · 1 line
2.39.2
PATCH v2 7/29 drm/dp_mst: Add HBLANK expansion quirk for Synaptics MST hubs
Add a quirk for Synaptics MST hubs, which require a workaround - at leat on i915 - for some modes, on which the hub applies HBLANK expansion. These modes will only work by enabling DSC decompression for them, a follow-up patch will do this in i915.
v2:
- Fix the quirk name in its docbook description.
--- drivers/gpu/drm/display/drm_dp_helper.c | 2 ++ include/drm/display/drm_dp_helper.h | 7 +++++++ 2 files changed, 9 insertions(+)
drivers/gpu/drm/display/drm_dp_helper.c +2 -0
@@ -2245,6 +2245,8 @@ static const struct dpcd_quirk dpcd_quirk_list[] = { { OUI(0x00, 0x00, 0x00), DEVICE_ID('C', 'H', '7', '5', '1', '1'), false, BIT(DP_DPCD_QUIRK_NO_SINK_COUNT) },/* Synaptics DP1.4 MST hubs can support DSC without virtual DPCD */ { OUI(0x90, 0xCC, 0x24), DEVICE_ID_ANY, true, BIT(DP_DPCD_QUIRK_DSC_WITHOUT_VIRTUAL_DPCD) }, +/* Synaptics DP1.4 MST hubs require DSC for some modes on which it applies HBLANK expansion. */ + { OUI(0x90, 0xCC, 0x24), DEVICE_ID_ANY, true, BIT(DP_DPCD_QUIRK_HBLANK_EXPANSION_REQUIRES_DSC) },/* Apple MacBookPro 2017 15 inch eDP Retina panel reports too low DP_MAX_LINK_RATE */ { OUI(0x00, 0x10, 0xfa), DEVICE_ID(101, 68, 21, 101, 98, 97), false, BIT(DP_DPCD_QUIRK_CAN_DO_MAX_LINK_RATE_3_24_GBPS) }, };
include/drm/display/drm_dp_helper.h +7 -0
@@ -632,6 +632,13 @@ enum drm_dp_quirk {* the DP_MAX_LINK_RATE register reporting a lower max multiplier. */ DP_DPCD_QUIRK_CAN_DO_MAX_LINK_RATE_3_24_GBPS , +/** +* @DP_DPCD_QUIRK_HBLANK_EXPANSION_REQUIRES_DSC: +* +* The device applies HBLANK expansion for some modes, but this +* requires enabling DSC. +*/ + DP_DPCD_QUIRK_HBLANK_EXPANSION_REQUIRES_DSC, };/**
Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 07/29] drm/dp_mst: Add HBLANK expansion quirk for Synaptics MST hubs
In reply to Imre DeakQuoted 4 lines · Imre Deak
Add a quirk for Synaptics MST hubs, which require a workaround - at leat on i915 - for some modes, on which the hub applies HBLANK expansion. These modes will only work by enabling DSC decompression for them, a follow-up patch will do this in i915.
Quoted 42 lines
Cc Lyude Paul <[email protected]>Signed-off-by Imre Deak <[email protected]>--- drivers/gpu/drm/display/drm_dp_helper.c | 2 ++ include/drm/display/drm_dp_helper.h | 7 +++++++ 2 files changed, 9 insertions(+)drivers/gpu/drm/display/drm_dp_helper.c +2
-0@@ -2245,6 +2245,8 @@ static const struct dpcd_quirk dpcd_quirk_list[] = { { OUI(0x00, 0x00, 0x00), DEVICE_ID('C', 'H', '7', '5', '1', '1'), false, BIT(DP_DPCD_QUIRK_NO_SINK_COUNT) },/* Synaptics DP1.4 MST hubs can support DSC without virtual DPCD */ { OUI(0x90, 0xCC, 0x24), DEVICE_ID_ANY, true, BIT(DP_DPCD_QUIRK_DSC_WITHOUT_VIRTUAL_DPCD) }, +/* Synaptics DP1.4 MST hubs require DSC for some modes on which it applies HBLANK expansion. */ + { OUI(0x90, 0xCC, 0x24), DEVICE_ID_ANY, true, BIT(DP_DPCD_QUIRK_HBLANK_EXPANSION_REQUIRES_DSC) },/* Apple MacBookPro 2017 15 inch eDP Retina panel reports too low DP_MAX_LINK_RATE */ { OUI(0x00, 0x10, 0xfa), DEVICE_ID(101, 68, 21, 101, 98, 97), false, BIT(DP_DPCD_QUIRK_CAN_DO_MAX_LINK_RATE_3_24_GBPS) }, };include/drm/display/drm_dp_helper.h +7
-0@@ -632,6 +632,13 @@ enum drm_dp_quirk {* the DP_MAX_LINK_RATE register reporting a lower max multiplier. */ DP_DPCD_QUIRK_CAN_DO_MAX_LINK_RATE_3_24_GBPS , +/** +* @DP_DPCD_QUIRK_HBLANK_EXPANSION_NEEDS_DSC: +* +* The device applies HBLANK expansion for some modes, but this +* requires enabling DSC. +*/ + DP_DPCD_QUIRK_HBLANK_EXPANSION_REQUIRES_DSC, };/** Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 07/29] drm/dp_mst: Add HBLANK expansion quirk for Synaptics MST hubs
In reply to Imre DeakQuoted 7 lines · Imre Deak
Add a quirk for Synaptics MST hubs, which require a workaround - at leat on i915 - for some modes, on which the hub applies HBLANK expansion. These modes will only work by enabling DSC decompression for them, a follow-up patch will do this in i915.
Cc Lyude Paul <[email protected]>Signed-off-by Imre Deak <[email protected]>
Quoted 39 lines
--- drivers/gpu/drm/display/drm_dp_helper.c | 2 ++ include/drm/display/drm_dp_helper.h | 7 +++++++ 2 files changed, 9 insertions(+)drivers/gpu/drm/display/drm_dp_helper.c +2
-0@@ -2245,6 +2245,8 @@ static const struct dpcd_quirk dpcd_quirk_list[] = { { OUI(0x00, 0x00, 0x00), DEVICE_ID('C', 'H', '7', '5', '1', '1'), false, BIT(DP_DPCD_QUIRK_NO_SINK_COUNT) },/* Synaptics DP1.4 MST hubs can support DSC without virtual DPCD */ { OUI(0x90, 0xCC, 0x24), DEVICE_ID_ANY, true, BIT(DP_DPCD_QUIRK_DSC_WITHOUT_VIRTUAL_DPCD) }, +/* Synaptics DP1.4 MST hubs require DSC for some modes on which it applies HBLANK expansion. */ + { OUI(0x90, 0xCC, 0x24), DEVICE_ID_ANY, true, BIT(DP_DPCD_QUIRK_HBLANK_EXPANSION_REQUIRES_DSC) },/* Apple MacBookPro 2017 15 inch eDP Retina panel reports too low DP_MAX_LINK_RATE */ { OUI(0x00, 0x10, 0xfa), DEVICE_ID(101, 68, 21, 101, 98, 97), false, BIT(DP_DPCD_QUIRK_CAN_DO_MAX_LINK_RATE_3_24_GBPS) }, };include/drm/display/drm_dp_helper.h +7
-0@@ -632,6 +632,13 @@ enum drm_dp_quirk {* the DP_MAX_LINK_RATE register reporting a lower max multiplier. */ DP_DPCD_QUIRK_CAN_DO_MAX_LINK_RATE_3_24_GBPS , +/** +* @DP_DPCD_QUIRK_HBLANK_EXPANSION_NEEDS_DSC: +* +* The device applies HBLANK expansion for some modes, but this +* requires enabling DSC. +*/ + DP_DPCD_QUIRK_HBLANK_EXPANSION_REQUIRES_DSC, };/** Signature · 1 line
2.39.2
PATCH 8/29 drm/dp: Add helpers to calculate the link BW overhead
In reply to Imre DeakAdd helpers drivers can use to calculate the BW allocation overhead - due to SSC, FEC, DSC and data alignment on symbol cycles - and the channel coding efficiency - due to the 8b/10b, 128b/132b encoding. On 128b/132b links the FEC overhead is part of the coding efficiency, so not accounted for in the BW allocation overhead.
The drivers can use these functions to calculate a ratio, controlling the stream symbol insertion rate of the source device in each SST TU or MST MTP frame. Drivers can calculate this
m/n = drm_dp_bw_overhead() / drm_dp_bw_channel_coding_efficiency()
ratio for a given stream and with that the
mtp_count = CEIL(64 * m / n)
allocated MTPs for the stream in a frame and
pbn = CEIL(64 * dm_mst_get_pbn_divider() * m / n)
allocated PBNs for the stream on the MST link path.
Take drm_dp_bw_overhead() into use in drm_dp_calc_pbn_mode(), for drivers calculating the PBN value directly.
--- drivers/gpu/drm/display/drm_dp_helper.c | 113 ++++++++++++++++++ drivers/gpu/drm/display/drm_dp_mst_topology.c | 23 +++- include/drm/display/drm_dp_helper.h | 11 ++ 3 files changed, 141 insertions(+), 6 deletions(-)
drivers/gpu/drm/display/drm_dp_helper.c +113 -0
@@ -3899,4 +3899,117 @@ int drm_panel_dp_aux_backlight(struct drm_panel *panel, struct drm_dp_aux *aux) }EXPORT_SYMBOL (drm_panel_dp_aux_backlight); +/* See DP Standard v2.1 2.6.4.4.1.1, 2.8.4.4, 2.8.7 */ +static int drm_dp_link_symbol_cycles (int lane_count,int pixels,int bpp_x16, +int symbol_size,bool is_mst) +{ +int cycles =DIV_ROUND_UP (pixels * bpp_x16,16 * symbol_size * lane_count); +int align = is_mst ?4 / lane_count :1 ; + +return ALIGN (cycles, align); +} + +static int drm_dp_link_dsc_symbol_cycles (int lane_count,int pixels,int slice_count, +int bpp_x16,int symbol_size,bool is_mst) +{ +int slice_pixels =DIV_ROUND_UP (pixels, slice_count); +int slice_data_cycles =drm_dp_link_symbol_cycles (lane_count, slice_pixels, + bpp_x16, symbol_size, is_mst); +int slice_eoc_cycles = is_mst ?4 / lane_count :1 ; + +return slice_count * (slice_data_cycles + slice_eoc_cycles); +} + +/** +* drm_dp_bw_overhead - Calculate the BW overhead of a DP link stream +* @lane_count: DP link lane count +* @hactive: pixel count of the active period in one scanline of the stream +* @dsc_slice_count: DSC slice count if @flags/DRM_DP_LINK_BW_OVERHEAD_DSC is set +* @bpp_x16: bits per pixel in .4 binary fixed point +* @flags: DRM_DP_OVERHEAD_x flags +* +* Calculate the BW allocation overhead of a DP link stream, depending +* on the link's +* - @lane_count +* - SST/MST mode (@flags / %DRM_DP_OVERHEAD_MST) +* - symbol size (@flags / %DRM_DP_OVERHEAD_UHBR) +* - FEC mode (@flags / %DRM_DP_OVERHEAD_FEC) +* - SSC mode (@flags / %DRM_DP_OVERHEAD_SSC) +* as well as the stream's +* - @hactive timing +* - @bpp_x16 color depth +* - compression mode (@flags / %DRM_DP_OVERHEAD_DSC). +* Note that this overhead doesn't account for the 8b/10b, 128b/132b +* channel coding efficiency, for that see +* @drm_dp_link_bw_channel_coding_efficiency(). +* +* Returns the overhead as 100% + overhead% in 1ppm units. +*/ +int drm_dp_bw_overhead (int lane_count,int hactive, +int dsc_slice_count, +int bpp_x16,unsigned long flags) +{ +int symbol_size = flags &DRM_DP_BW_OVERHEAD_UHBR ?32 :8 ; +bool is_mst = flags &DRM_DP_BW_OVERHEAD_MST ; +u32 overhead =1000000 ; +int symbol_cycles; + +/* +* DP Standard v2.1 2.6.4.1 +* SSC downspread and ref clock variation margin: +* 5300ppm + 300ppm ~ 0.6% +*/ +if (flags &DRM_DP_BW_OVERHEAD_SSC ) + overhead +=6000 ; + +/* +* DP Standard v2.1 2.6.4.1.1: +* FEC symbol insertions for 8b/10b channel coding: +* 2.4% +*/ +if (flags &DRM_DP_BW_OVERHEAD_FEC ) + overhead +=24000 ; + +/* +* DP Standard v2.1 2.7.9, 5.9.7 +* The FEC overhead for UHBR is accounted for in its 96.71% channel +* coding efficiency. +*/ +WARN_ON ((flags &DRM_DP_BW_OVERHEAD_UHBR ) && + (flags &DRM_DP_BW_OVERHEAD_FEC )); + +if (flags &DRM_DP_BW_OVERHEAD_DSC ) + symbol_cycles =drm_dp_link_dsc_symbol_cycles (lane_count, hactive, + dsc_slice_count, + bpp_x16, symbol_size, + is_mst); +else + symbol_cycles =drm_dp_link_symbol_cycles (lane_count, hactive, + bpp_x16, symbol_size, + is_mst); + +return DIV_ROUND_UP_ULL (mul_u32_u32 (symbol_cycles * symbol_size * lane_count, + overhead *16 ), + hactive * bpp_x16); +} +EXPORT_SYMBOL (drm_dp_bw_overhead); + +/** +* Returns the efficiency in the 100%/coding-overhead% ratio in +* 1ppm units. +*/ +int drm_dp_bw_channel_coding_efficiency (bool is_uhbr) +{ +if (is_uhbr) +return 967100 ; +else +/* +* Note that on 8b/10b MST the efficiency is only +* 78.75% due to the 1 out of 64 MTPH packet overhead, +* not accounted for here. +*/ +return 800000 ; +} +EXPORT_SYMBOL (drm_dp_bw_channel_coding_efficiency); +#endif
drivers/gpu/drm/display/drm_dp_mst_topology.c +17 -6
@@ -4726,17 +4726,28 @@ EXPORT_SYMBOL(drm_dp_check_act_status);int drm_dp_calc_pbn_mode (int clock,int bpp) {/* -* margin 5300ppm + 300ppm ~ 0.6% as per spec, factor is 1.006 * The unit of 54/64Mbytes/sec is an arbitrary unit chosen based on * common multiplier to render an integer PBN for all link rate/lane * counts combinations * calculate -* peak_kbps *= (1006/1000) -* peak_kbps *= (64/54) -* peak_kbps *= 8 convert to bytes +* peak_kbps = clock * bpp / 16 +* peak_kbps *= SSC overhead / 1000000 +* peak_kbps /= 8 convert to Kbytes +* peak_kBps *= (64/54) / 1000 convert to PBN */ -return DIV_ROUND_UP_ULL (mul_u32_u32 (clock * bpp,64 *1006 >>4 ), -1000 *8 *54 *1000 ); +/* +* TODO: Use the actual link and mode parameters to calculate +* the overhead. For now it's assumed that these are +* 4 link lanes, 4096 hactive pixels, which don't add any +* significant data padding overhead and that there is no DSC +* or FEC overhead. +*/ +int overhead =drm_dp_bw_overhead (4 ,4096 ,0 , bpp, +DRM_DP_BW_OVERHEAD_MST | +DRM_DP_BW_OVERHEAD_SSC ); + +return DIV64_U64_ROUND_UP (mul_u32_u32 (clock * bpp,64 * overhead >>4 ), +1000000ULL *8 *54 *1000 ); }EXPORT_SYMBOL (drm_dp_calc_pbn_mode);
include/drm/display/drm_dp_helper.h +11 -0
@@ -788,4 +788,15 @@ bool drm_dp_downstream_rgb_to_ycbcr_conversion(const u8 dpcd[DP_RECEIVER_CAP_SIZ const u8 port_cap[4], u8 color_spc);int drm_dp_pcon_convert_rgb_to_ycbcr (struct drm_dp_aux *aux,u8 color_spc); +#define DRM_DP_BW_OVERHEAD_MST BIT(0) +#define DRM_DP_BW_OVERHEAD_UHBR BIT(1) +#define DRM_DP_BW_OVERHEAD_SSC BIT(2) +#define DRM_DP_BW_OVERHEAD_FEC BIT(3) +#define DRM_DP_BW_OVERHEAD_DSC BIT(4) + +int drm_dp_bw_overhead (int lane_count,int hactive, +int dsc_slice_count, +int bpp_x16,unsigned long flags); +int drm_dp_bw_channel_coding_efficiency (bool is_uhbr); +#endif /* _DRM_DP_HELPER_H_ */
Signature · 1 line
2.39.2
kernel test robot
build botRe: [Intel-gfx] [PATCH 08/29] drm/dp: Add helpers to calculate the link BW overhead
kernel test robot noticed the following build warnings:
Hi Imre,
kernel test robot noticed the following build warnings:
[auto build test WARNING on drm-tip/drm-tip]
url: https://github.com/intel-lab-lkp/linux/commits/Imre-Deak/drm-dp_mst-Fix-fractional-DSC-bpp-handling/20231024-091920 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20231024010925.3949910-9-imre.deak%40intel.com patch subject: [Intel-gfx] [PATCH 08/29] drm/dp: Add helpers to calculate the link BW overhead config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20231024/[email protected]/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231024/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/display/drm_dp_helper.c:4002: warning: Function parameter or member 'is_uhbr' not described in 'drm_dp_bw_channel_coding_efficiency' >> drivers/gpu/drm/display/drm_dp_helper.c:4002: warning: expecting prototype for Returns the efficiency in the 100%/coding(). Prototype was for drm_dp_bw_channel_coding_efficiency() instead
vim +4002 drivers/gpu/drm/display/drm_dp_helper.c
3996
3997 /**
3998 * Returns the efficiency in the 100%/coding-overhead% ratio in
3999 * 1ppm units.
4000 */
4001 int drm_dp_bw_channel_coding_efficiency(bool is_uhbr)
> 4002 { 4003 if (is_uhbr)
4004 return 967100;
4005 else
4006 /*
4007 * Note that on 8b/10b MST the efficiency is only
4008 * 78.75% due to the 1 out of 64 MTPH packet overhead,
4009 * not accounted for here.
4010 */
4011 return 800000;
4012 }
4013 EXPORT_SYMBOL(drm_dp_bw_channel_coding_efficiency);
4014
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
PATCH v2 8/29 drm/dp: Add helpers to calculate the link BW overhead
In reply to Imre DeakAdd helpers drivers can use to calculate the BW allocation overhead - due to SSC, FEC, DSC and data alignment on symbol cycles - and the channel coding efficiency - due to the 8b/10b, 128b/132b encoding. On 128b/132b links the FEC overhead is part of the coding efficiency, so not accounted for in the BW allocation overhead.
The drivers can use these functions to calculate a ratio, controlling the stream symbol insertion rate of the source device in each SST TU or MST MTP frame. Drivers can calculate this
m/n = (pixel_data_rate * drm_dp_bw_overhead()) /
(link_data_rate * drm_dp_bw_channel_coding_efficiency())
ratio for a given link and pixel stream and with that the
mtp_count = CEIL(64 * m / n)
allocated MTPs for the stream in a link frame and
pbn = CEIL(64 * dm_mst_get_pbn_divider() * m / n)
allocated PBNs for the stream on the MST link path.
Take drm_dp_bw_overhead() into use in drm_dp_calc_pbn_mode(), for drivers calculating the PBN value directly.
v2:
- Add dockbook description to drm_dp_bw_channel_coding_efficiency(). (LKP).
- Clarify the way m/n ratio is calculated in the commit log.
--- drivers/gpu/drm/display/drm_dp_helper.c | 124 ++++++++++++++++++ drivers/gpu/drm/display/drm_dp_mst_topology.c | 23 +++- include/drm/display/drm_dp_helper.h | 11 ++ 3 files changed, 152 insertions(+), 6 deletions(-)
drivers/gpu/drm/display/drm_dp_helper.c +124 -0
@@ -3899,4 +3899,128 @@ int drm_panel_dp_aux_backlight(struct drm_panel *panel, struct drm_dp_aux *aux) }EXPORT_SYMBOL (drm_panel_dp_aux_backlight); +/* See DP Standard v2.1 2.6.4.4.1.1, 2.8.4.4, 2.8.7 */ +static int drm_dp_link_symbol_cycles (int lane_count,int pixels,int bpp_x16, +int symbol_size,bool is_mst) +{ +int cycles =DIV_ROUND_UP (pixels * bpp_x16,16 * symbol_size * lane_count); +int align = is_mst ?4 / lane_count :1 ; + +return ALIGN (cycles, align); +} + +static int drm_dp_link_dsc_symbol_cycles (int lane_count,int pixels,int slice_count, +int bpp_x16,int symbol_size,bool is_mst) +{ +int slice_pixels =DIV_ROUND_UP (pixels, slice_count); +int slice_data_cycles =drm_dp_link_symbol_cycles (lane_count, slice_pixels, + bpp_x16, symbol_size, is_mst); +int slice_eoc_cycles = is_mst ?4 / lane_count :1 ; + +return slice_count * (slice_data_cycles + slice_eoc_cycles); +} + +/** +* drm_dp_bw_overhead - Calculate the BW overhead of a DP link stream +* @lane_count: DP link lane count +* @hactive: pixel count of the active period in one scanline of the stream +* @dsc_slice_count: DSC slice count if @flags/DRM_DP_LINK_BW_OVERHEAD_DSC is set +* @bpp_x16: bits per pixel in .4 binary fixed point +* @flags: DRM_DP_OVERHEAD_x flags +* +* Calculate the BW allocation overhead of a DP link stream, depending +* on the link's +* - @lane_count +* - SST/MST mode (@flags / %DRM_DP_OVERHEAD_MST) +* - symbol size (@flags / %DRM_DP_OVERHEAD_UHBR) +* - FEC mode (@flags / %DRM_DP_OVERHEAD_FEC) +* - SSC mode (@flags / %DRM_DP_OVERHEAD_SSC) +* as well as the stream's +* - @hactive timing +* - @bpp_x16 color depth +* - compression mode (@flags / %DRM_DP_OVERHEAD_DSC). +* Note that this overhead doesn't account for the 8b/10b, 128b/132b +* channel coding efficiency, for that see +* @drm_dp_link_bw_channel_coding_efficiency(). +* +* Returns the overhead as 100% + overhead% in 1ppm units. +*/ +int drm_dp_bw_overhead (int lane_count,int hactive, +int dsc_slice_count, +int bpp_x16,unsigned long flags) +{ +int symbol_size = flags &DRM_DP_BW_OVERHEAD_UHBR ?32 :8 ; +bool is_mst = flags &DRM_DP_BW_OVERHEAD_MST ; +u32 overhead =1000000 ; +int symbol_cycles; + +/* +* DP Standard v2.1 2.6.4.1 +* SSC downspread and ref clock variation margin: +* 5300ppm + 300ppm ~ 0.6% +*/ +if (flags &DRM_DP_BW_OVERHEAD_SSC ) + overhead +=6000 ; + +/* +* DP Standard v2.1 2.6.4.1.1: +* FEC symbol insertions for 8b/10b channel coding: +* 2.4% +*/ +if (flags &DRM_DP_BW_OVERHEAD_FEC ) + overhead +=24000 ; + +/* +* DP Standard v2.1 2.7.9, 5.9.7 +* The FEC overhead for UHBR is accounted for in its 96.71% channel +* coding efficiency. +*/ +WARN_ON ((flags &DRM_DP_BW_OVERHEAD_UHBR ) && + (flags &DRM_DP_BW_OVERHEAD_FEC )); + +if (flags &DRM_DP_BW_OVERHEAD_DSC ) + symbol_cycles =drm_dp_link_dsc_symbol_cycles (lane_count, hactive, + dsc_slice_count, + bpp_x16, symbol_size, + is_mst); +else + symbol_cycles =drm_dp_link_symbol_cycles (lane_count, hactive, + bpp_x16, symbol_size, + is_mst); + +return DIV_ROUND_UP_ULL (mul_u32_u32 (symbol_cycles * symbol_size * lane_count, + overhead *16 ), + hactive * bpp_x16); +} +EXPORT_SYMBOL (drm_dp_bw_overhead); + +/** +* drm_dp_bw_channel_coding_efficiency - Get a DP link's channel coding efficiency +* @is_uhbr: Whether the link has a 128b/132b channel coding +* +* Return the channel coding efficiency of the given DP link type, which is +* either 8b/10b or 128b/132b (aka UHBR). The corresponding overhead includes +* the 8b -> 10b, 128b -> 132b pixel data to link symbol conversion overhead +* and for 128b/132b any link or PHY level control symbol insertion overhead +* (LLCP, FEC, PHY sync, see DP Standard v2.1 3.5.2.18). For 8b/10b the +* corresponding FEC overhead is BW allocation specific, included in the value +* returned by drm_dp_bw_overhead(). +* +* Returns the efficiency in the 100%/coding-overhead% ratio in +* 1ppm units. +*/ +int drm_dp_bw_channel_coding_efficiency (bool is_uhbr) +{ +if (is_uhbr) +return 967100 ; +else +/* +* Note that on 8b/10b MST the efficiency is only +* 78.75% due to the 1 out of 64 MTPH packet overhead, +* not accounted for here. +*/ +return 800000 ; +} +EXPORT_SYMBOL (drm_dp_bw_channel_coding_efficiency); +#endif
drivers/gpu/drm/display/drm_dp_mst_topology.c +17 -6
@@ -4726,17 +4726,28 @@ EXPORT_SYMBOL(drm_dp_check_act_status);int drm_dp_calc_pbn_mode (int clock,int bpp) {/* -* margin 5300ppm + 300ppm ~ 0.6% as per spec, factor is 1.006 * The unit of 54/64Mbytes/sec is an arbitrary unit chosen based on * common multiplier to render an integer PBN for all link rate/lane * counts combinations * calculate -* peak_kbps *= (1006/1000) -* peak_kbps *= (64/54) -* peak_kbps *= 8 convert to bytes +* peak_kbps = clock * bpp / 16 +* peak_kbps *= SSC overhead / 1000000 +* peak_kbps /= 8 convert to Kbytes +* peak_kBps *= (64/54) / 1000 convert to PBN */ -return DIV_ROUND_UP_ULL (mul_u32_u32 (clock * bpp,64 *1006 >>4 ), -1000 *8 *54 *1000 ); +/* +* TODO: Use the actual link and mode parameters to calculate +* the overhead. For now it's assumed that these are +* 4 link lanes, 4096 hactive pixels, which don't add any +* significant data padding overhead and that there is no DSC +* or FEC overhead. +*/ +int overhead =drm_dp_bw_overhead (4 ,4096 ,0 , bpp, +DRM_DP_BW_OVERHEAD_MST | +DRM_DP_BW_OVERHEAD_SSC ); + +return DIV64_U64_ROUND_UP (mul_u32_u32 (clock * bpp,64 * overhead >>4 ), +1000000ULL *8 *54 *1000 ); }EXPORT_SYMBOL (drm_dp_calc_pbn_mode);
include/drm/display/drm_dp_helper.h +11 -0
@@ -788,4 +788,15 @@ bool drm_dp_downstream_rgb_to_ycbcr_conversion(const u8 dpcd[DP_RECEIVER_CAP_SIZ const u8 port_cap[4], u8 color_spc);int drm_dp_pcon_convert_rgb_to_ycbcr (struct drm_dp_aux *aux,u8 color_spc); +#define DRM_DP_BW_OVERHEAD_MST BIT(0) +#define DRM_DP_BW_OVERHEAD_UHBR BIT(1) +#define DRM_DP_BW_OVERHEAD_SSC BIT(2) +#define DRM_DP_BW_OVERHEAD_FEC BIT(3) +#define DRM_DP_BW_OVERHEAD_DSC BIT(4) + +int drm_dp_bw_overhead (int lane_count,int hactive, +int dsc_slice_count, +int bpp_x16,unsigned long flags); +int drm_dp_bw_channel_coding_efficiency (bool is_uhbr); +#endif /* _DRM_DP_HELPER_H_ */
Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH v2 08/29] drm/dp: Add helpers to calculate the link BW overhead
Quoted 23 lines · Imre Deak
Add helpers drivers can use to calculate the BW allocation overhead - due to SSC, FEC, DSC and data alignment on symbol cycles - and the channel coding efficiency - due to the 8b/10b, 128b/132b encoding. On 128b/132b links the FEC overhead is part of the coding efficiency, so not accounted for in the BW allocation overhead.
The drivers can use these functions to calculate a ratio, controlling the stream symbol insertion rate of the source device in each SST TU or MST MTP frame. Drivers can calculate this
m/n = (
pixel_data_rate*drm_dp_bw_overhead()) /
(link_data_rate*drm_dp_bw_channel_coding_efficiency())ratio for a given link and pixel stream and with that the
mtp_count=CEIL(64 * m / n)allocated MTPs for the stream in a link frame and
pbn =
CEIL(64 * dm_mst_get_pbn_divider() * m / n)allocated PBNs for the stream on the MST link path.
Quoted 7 lines
Take
drm_dp_bw_overhead()into use indrm_dp_calc_pbn_mode(), for drivers calculating the PBN value directly.v2:
- Add dockbook description todrm_dp_bw_channel_coding_efficiency(). (LKP).
- Clarify the way m/n ratio is calculated in the commit log.
Could not spot any obivous issues here, but wondering, whether someone could also take a look, as this seems to be affecting quite a lot.
Anyways, from my side:
Quoted 206 lines
Cc Lyude Paul <[email protected]>Cc kernel test robot <[email protected]>Signed-off-by Imre Deak <[email protected]>--- drivers/gpu/drm/display/drm_dp_helper.c | 124 ++++++++++++++++++ drivers/gpu/drm/display/drm_dp_mst_topology.c | 23 +++- include/drm/display/drm_dp_helper.h | 11 ++ 3 files changed, 152 insertions(+), 6 deletions(-)drivers/gpu/drm/display/drm_dp_helper.c +124
-0@@ -3899,4 +3899,128 @@ int drm_panel_dp_aux_backlight(struct drm_panel *panel, struct drm_dp_aux *aux) }EXPORT_SYMBOL (drm_panel_dp_aux_backlight); +/* See DP Standard v2.1 2.6.4.4.1.1, 2.8.4.4, 2.8.7 */ +static int drm_dp_link_symbol_cycles (int lane_count,int pixels,int bpp_x16, +int symbol_size,bool is_mst) +{ +int cycles =DIV_ROUND_UP (pixels * bpp_x16,16 * symbol_size * lane_count); +int align = is_mst ?4 / lane_count :1 ; + +return ALIGN (cycles, align); +} + +static int drm_dp_link_dsc_symbol_cycles (int lane_count,int pixels,int slice_count, +int bpp_x16,int symbol_size,bool is_mst) +{ +int slice_pixels =DIV_ROUND_UP (pixels, slice_count); +int slice_data_cycles =drm_dp_link_symbol_cycles (lane_count, slice_pixels, + bpp_x16, symbol_size, is_mst); +int slice_eoc_cycles = is_mst ?4 / lane_count :1 ; + +return slice_count * (slice_data_cycles + slice_eoc_cycles); +} + +/** +* drm_dp_bw_overhead - Calculate the BW overhead of a DP link stream +* @lane_count: DP link lane count +* @hactive: pixel count of the active period in one scanline of the stream +* @dsc_slice_count: DSC slice count if @flags/DRM_DP_LINK_BW_OVERHEAD_DSC is set +* @bpp_x16: bits per pixel in .4 binary fixed point +* @flags: DRM_DP_OVERHEAD_x flags +* +* Calculate the BW allocation overhead of a DP link stream, depending +* on the link's +* - @lane_count +* - SST/MST mode (@flags / %DRM_DP_OVERHEAD_MST) +* - symbol size (@flags / %DRM_DP_OVERHEAD_UHBR) +* - FEC mode (@flags / %DRM_DP_OVERHEAD_FEC) +* - SSC mode (@flags / %DRM_DP_OVERHEAD_SSC) +* as well as the stream's +* - @hactive timing +* - @bpp_x16 color depth +* - compression mode (@flags / %DRM_DP_OVERHEAD_DSC). +* Note that this overhead doesn't account for the 8b/10b, 128b/132b +* channel coding efficiency, for that see +* @drm_dp_link_bw_channel_coding_efficiency(). +* +* Returns the overhead as 100% + overhead% in 1ppm units. +*/ +int drm_dp_bw_overhead (int lane_count,int hactive, +int dsc_slice_count, +int bpp_x16,unsigned long flags) +{ +int symbol_size = flags &DRM_DP_BW_OVERHEAD_UHBR ?32 :8 ; +bool is_mst = flags &DRM_DP_BW_OVERHEAD_MST ; +u32 overhead =1000000 ; +int symbol_cycles; + +/* +* DP Standard v2.1 2.6.4.1 +* SSC downspread and ref clock variation margin: +* 5300ppm + 300ppm ~ 0.6% +*/ +if (flags &DRM_DP_BW_OVERHEAD_SSC ) + overhead +=6000 ; + +/* +* DP Standard v2.1 2.6.4.1.1: +* FEC symbol insertions for 8b/10b channel coding: +* 2.4% +*/ +if (flags &DRM_DP_BW_OVERHEAD_FEC ) + overhead +=24000 ; + +/* +* DP Standard v2.1 2.7.9, 5.9.7 +* The FEC overhead for UHBR is accounted for in its 96.71% channel +* coding efficiency. +*/ +WARN_ON ((flags &DRM_DP_BW_OVERHEAD_UHBR ) && + (flags &DRM_DP_BW_OVERHEAD_FEC )); + +if (flags &DRM_DP_BW_OVERHEAD_DSC ) + symbol_cycles =drm_dp_link_dsc_symbol_cycles (lane_count, hactive, + dsc_slice_count, + bpp_x16, symbol_size, + is_mst); +else + symbol_cycles =drm_dp_link_symbol_cycles (lane_count, hactive, + bpp_x16, symbol_size, + is_mst); + +return DIV_ROUND_UP_ULL (mul_u32_u32 (symbol_cycles * symbol_size * lane_count, + overhead *16 ), + hactive * bpp_x16); +} +EXPORT_SYMBOL (drm_dp_bw_overhead); + +/** +* drm_dp_bw_channel_coding_efficiency - Get a DP link's channel coding efficiency +* @is_uhbr: Whether the link has a 128b/132b channel coding +* +* Return the channel coding efficiency of the given DP link type, which is +* either 8b/10b or 128b/132b (aka UHBR). The corresponding overhead includes +* the 8b -> 10b, 128b -> 132b pixel data to link symbol conversion overhead +* and for 128b/132b any link or PHY level control symbol insertion overhead +* (LLCP, FEC, PHY sync, see DP Standard v2.1 3.5.2.18). For 8b/10b the +* corresponding FEC overhead is BW allocation specific, included in the value +* returned by drm_dp_bw_overhead(). +* +* Returns the efficiency in the 100%/coding-overhead% ratio in +* 1ppm units. +*/ +int drm_dp_bw_channel_coding_efficiency (bool is_uhbr) +{ +if (is_uhbr) +return 967100 ; +else +/* +* Note that on 8b/10b MST the efficiency is only +* 78.75% due to the 1 out of 64 MTPH packet overhead, +* not accounted for here. +*/ +return 800000 ; +} +EXPORT_SYMBOL (drm_dp_bw_channel_coding_efficiency); +#endif drivers/gpu/drm/display/drm_dp_mst_topology.c +17
-6@@ -4726,17 +4726,28 @@ EXPORT_SYMBOL(drm_dp_check_act_status);int drm_dp_calc_pbn_mode (int clock,int bpp) {/* -* margin 5300ppm + 300ppm ~ 0.6% as per spec, factor is 1.006 * The unit of 54/64Mbytes/sec is an arbitrary unit chosen based on * common multiplier to render an integer PBN for all link rate/lane * counts combinations * calculate -* peak_kbps *= (1006/1000) -* peak_kbps *= (64/54) -* peak_kbps *= 8 convert to bytes +* peak_kbps = clock * bpp / 16 +* peak_kbps *= SSC overhead / 1000000 +* peak_kbps /= 8 convert to Kbytes +* peak_kBps *= (64/54) / 1000 convert to PBN */ -return DIV_ROUND_UP_ULL (mul_u32_u32 (clock * bpp,64 *1006 >>4 ), -1000 *8 *54 *1000 ); +/* +* TODO: Use the actual link and mode parameters to calculate +* the overhead. For now it's assumed that these are +* 4 link lanes, 4096 hactive pixels, which don't add any +* significant data padding overhead and that there is no DSC +* or FEC overhead. +*/ +int overhead =drm_dp_bw_overhead (4 ,4096 ,0 , bpp, +DRM_DP_BW_OVERHEAD_MST | +DRM_DP_BW_OVERHEAD_SSC ); + +return DIV64_U64_ROUND_UP (mul_u32_u32 (clock * bpp,64 * overhead >>4 ), +1000000ULL *8 *54 *1000 ); }EXPORT_SYMBOL (drm_dp_calc_pbn_mode);include/drm/display/drm_dp_helper.h +11
-0@@ -788,4 +788,15 @@ bool drm_dp_downstream_rgb_to_ycbcr_conversion(const u8 dpcd[DP_RECEIVER_CAP_SIZ const u8 port_cap[4], u8 color_spc);int drm_dp_pcon_convert_rgb_to_ycbcr (struct drm_dp_aux *aux,u8 color_spc); +#define DRM_DP_BW_OVERHEAD_MST BIT(0) +#define DRM_DP_BW_OVERHEAD_UHBR BIT(1) +#define DRM_DP_BW_OVERHEAD_SSC BIT(2) +#define DRM_DP_BW_OVERHEAD_FEC BIT(3) +#define DRM_DP_BW_OVERHEAD_DSC BIT(4) + +int drm_dp_bw_overhead (int lane_count,int hactive, +int dsc_slice_count, +int bpp_x16,unsigned long flags); +int drm_dp_bw_channel_coding_efficiency (bool is_uhbr); +#endif /* _DRM_DP_HELPER_H_ */ Signature · 1 line
2.39.2
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [PATCH v2 08/29] drm/dp: Add helpers to calculate the link BW overhead
Quoted 106 lines · Ville Syrjälä
Quoted 105 lines · Imre Deak
Add helpers drivers can use to calculate the BW allocation overhead - due to SSC, FEC, DSC and data alignment on symbol cycles - and the channel coding efficiency - due to the 8b/10b, 128b/132b encoding. On 128b/132b links the FEC overhead is part of the coding efficiency, so not accounted for in the BW allocation overhead.
The drivers can use these functions to calculate a ratio, controlling the stream symbol insertion rate of the source device in each SST TU or MST MTP frame. Drivers can calculate this
m/n = (
pixel_data_rate*drm_dp_bw_overhead()) /
(link_data_rate*drm_dp_bw_channel_coding_efficiency())ratio for a given link and pixel stream and with that the
mtp_count=CEIL(64 * m / n)allocated MTPs for the stream in a link frame and
pbn =
CEIL(64 * dm_mst_get_pbn_divider() * m / n)allocated PBNs for the stream on the MST link path.
Take
drm_dp_bw_overhead()into use indrm_dp_calc_pbn_mode(), for drivers calculating the PBN value directly.v2:
- Add dockbook description todrm_dp_bw_channel_coding_efficiency(). (LKP).
- Clarify the way m/n ratio is calculated in the commit log.Cc Lyude Paul <[email protected]>Cc kernel test robot <[email protected]>Signed-off-by Imre Deak <[email protected]>--- drivers/gpu/drm/display/drm_dp_helper.c | 124 ++++++++++++++++++ drivers/gpu/drm/display/drm_dp_mst_topology.c | 23 +++- include/drm/display/drm_dp_helper.h | 11 ++ 3 files changed, 152 insertions(+), 6 deletions(-)drivers/gpu/drm/display/drm_dp_helper.c +56
-0@@ -3899,4 +3899,128 @@ int drm_panel_dp_aux_backlight(struct drm_panel *panel, struct drm_dp_aux *aux) }EXPORT_SYMBOL (drm_panel_dp_aux_backlight); +/* See DP Standard v2.1 2.6.4.4.1.1, 2.8.4.4, 2.8.7 */ +static int drm_dp_link_symbol_cycles (int lane_count,int pixels,int bpp_x16, +int symbol_size,bool is_mst) +{ +int cycles =DIV_ROUND_UP (pixels * bpp_x16,16 * symbol_size * lane_count); +int align = is_mst ?4 / lane_count :1 ; + +return ALIGN (cycles, align); +} + +static int drm_dp_link_dsc_symbol_cycles (int lane_count,int pixels,int slice_count, +int bpp_x16,int symbol_size,bool is_mst) +{ +int slice_pixels =DIV_ROUND_UP (pixels, slice_count); +int slice_data_cycles =drm_dp_link_symbol_cycles (lane_count, slice_pixels, + bpp_x16, symbol_size, is_mst); +int slice_eoc_cycles = is_mst ?4 / lane_count :1 ; + +return slice_count * (slice_data_cycles + slice_eoc_cycles); +} + +/** +* drm_dp_bw_overhead - Calculate the BW overhead of a DP link stream +* @lane_count: DP link lane count +* @hactive: pixel count of the active period in one scanline of the stream +* @dsc_slice_count: DSC slice count if @flags/DRM_DP_LINK_BW_OVERHEAD_DSC is set +* @bpp_x16: bits per pixel in .4 binary fixed point +* @flags: DRM_DP_OVERHEAD_x flags +* +* Calculate the BW allocation overhead of a DP link stream, depending +* on the link's +* - @lane_count +* - SST/MST mode (@flags / %DRM_DP_OVERHEAD_MST) +* - symbol size (@flags / %DRM_DP_OVERHEAD_UHBR) +* - FEC mode (@flags / %DRM_DP_OVERHEAD_FEC) +* - SSC mode (@flags / %DRM_DP_OVERHEAD_SSC) +* as well as the stream's +* - @hactive timing +* - @bpp_x16 color depth +* - compression mode (@flags / %DRM_DP_OVERHEAD_DSC). +* Note that this overhead doesn't account for the 8b/10b, 128b/132b +* channel coding efficiency, for that see +* @drm_dp_link_bw_channel_coding_efficiency(). +* +* Returns the overhead as 100% + overhead% in 1ppm units. +*/ +int drm_dp_bw_overhead (int lane_count,int hactive, +int dsc_slice_count, +int bpp_x16,unsigned long flags) +{ +int symbol_size = flags &DRM_DP_BW_OVERHEAD_UHBR ?32 :8 ; +bool is_mst = flags &DRM_DP_BW_OVERHEAD_MST ; +u32 overhead =1000000 ; +int symbol_cycles; + +/*
Quoted 8 lines
drivers/gpu/drm/display/drm_dp_helper.c int drm_panel_dp_aux_backlight(struct drm_panel *panel, struct drm_dp_aux *aux) · line 3962
Quoted 5 lines
drivers/gpu/drm/display/drm_dp_helper.c +5
-0+* DP Standard v2.1 2.6.4.1 +* SSC downspread and ref clock variation margin: +* 5300ppm + 300ppm ~ 0.6% +*/ +if (flags &DRM_DP_BW_OVERHEAD_SSC )Maybe the flag name should reflect that it accounts for both downspread and ref clk difference.
Ok, will rename it.
Quoted 129 lines
Quoted 125 lines
drivers/gpu/drm/display/drm_dp_helper.c +63
-0+ overhead +=6000 ; + +/* +* DP Standard v2.1 2.6.4.1.1: +* FEC symbol insertions for 8b/10b channel coding: +* 2.4% +*/ +if (flags &DRM_DP_BW_OVERHEAD_FEC ) + overhead +=24000 ; + +/* +* DP Standard v2.1 2.7.9, 5.9.7 +* The FEC overhead for UHBR is accounted for in its 96.71% channel +* coding efficiency. +*/ +WARN_ON ((flags &DRM_DP_BW_OVERHEAD_UHBR ) && + (flags &DRM_DP_BW_OVERHEAD_FEC )); + +if (flags &DRM_DP_BW_OVERHEAD_DSC ) + symbol_cycles =drm_dp_link_dsc_symbol_cycles (lane_count, hactive, + dsc_slice_count, + bpp_x16, symbol_size, + is_mst); +else + symbol_cycles =drm_dp_link_symbol_cycles (lane_count, hactive, + bpp_x16, symbol_size, + is_mst); + +return DIV_ROUND_UP_ULL (mul_u32_u32 (symbol_cycles * symbol_size * lane_count, + overhead *16 ), + hactive * bpp_x16); +} +EXPORT_SYMBOL (drm_dp_bw_overhead); + +/** +* drm_dp_bw_channel_coding_efficiency - Get a DP link's channel coding efficiency +* @is_uhbr: Whether the link has a 128b/132b channel coding +* +* Return the channel coding efficiency of the given DP link type, which is +* either 8b/10b or 128b/132b (aka UHBR). The corresponding overhead includes +* the 8b -> 10b, 128b -> 132b pixel data to link symbol conversion overhead +* and for 128b/132b any link or PHY level control symbol insertion overhead +* (LLCP, FEC, PHY sync, see DP Standard v2.1 3.5.2.18). For 8b/10b the +* corresponding FEC overhead is BW allocation specific, included in the value +* returned by drm_dp_bw_overhead(). +* +* Returns the efficiency in the 100%/coding-overhead% ratio in +* 1ppm units. +*/ +int drm_dp_bw_channel_coding_efficiency (bool is_uhbr) +{ +if (is_uhbr) +return 967100 ; +else +/* +* Note that on 8b/10b MST the efficiency is only +* 78.75% due to the 1 out of 64 MTPH packet overhead, +* not accounted for here. +*/ +return 800000 ; +} +EXPORT_SYMBOL (drm_dp_bw_channel_coding_efficiency); +#endif drivers/gpu/drm/display/drm_dp_mst_topology.c +17
-6@@ -4726,17 +4726,28 @@ EXPORT_SYMBOL(drm_dp_check_act_status);int drm_dp_calc_pbn_mode (int clock,int bpp) {/* -* margin 5300ppm + 300ppm ~ 0.6% as per spec, factor is 1.006 * The unit of 54/64Mbytes/sec is an arbitrary unit chosen based on * common multiplier to render an integer PBN for all link rate/lane * counts combinations * calculate -* peak_kbps *= (1006/1000) -* peak_kbps *= (64/54) -* peak_kbps *= 8 convert to bytes +* peak_kbps = clock * bpp / 16 +* peak_kbps *= SSC overhead / 1000000 +* peak_kbps /= 8 convert to Kbytes +* peak_kBps *= (64/54) / 1000 convert to PBN */ -return DIV_ROUND_UP_ULL (mul_u32_u32 (clock * bpp,64 *1006 >>4 ), -1000 *8 *54 *1000 ); +/* +* TODO: Use the actual link and mode parameters to calculate +* the overhead. For now it's assumed that these are +* 4 link lanes, 4096 hactive pixels, which don't add any +* significant data padding overhead and that there is no DSC +* or FEC overhead. +*/ +int overhead =drm_dp_bw_overhead (4 ,4096 ,0 , bpp, +DRM_DP_BW_OVERHEAD_MST | +DRM_DP_BW_OVERHEAD_SSC ); + +return DIV64_U64_ROUND_UP (mul_u32_u32 (clock * bpp,64 * overhead >>4 ), +1000000ULL *8 *54 *1000 ); }EXPORT_SYMBOL (drm_dp_calc_pbn_mode);include/drm/display/drm_dp_helper.h +11
-0@@ -788,4 +788,15 @@ bool drm_dp_downstream_rgb_to_ycbcr_conversion(const u8 dpcd[DP_RECEIVER_CAP_SIZ const u8 port_cap[4], u8 color_spc);int drm_dp_pcon_convert_rgb_to_ycbcr (struct drm_dp_aux *aux,u8 color_spc); +#define DRM_DP_BW_OVERHEAD_MST BIT(0) +#define DRM_DP_BW_OVERHEAD_UHBR BIT(1) +#define DRM_DP_BW_OVERHEAD_SSC BIT(2) +#define DRM_DP_BW_OVERHEAD_FEC BIT(3) +#define DRM_DP_BW_OVERHEAD_DSC BIT(4) + +int drm_dp_bw_overhead (int lane_count,int hactive, +int dsc_slice_count, +int bpp_x16,unsigned long flags); +int drm_dp_bw_channel_coding_efficiency (bool is_uhbr); +#endif /* _DRM_DP_HELPER_H_ */ Signature · 1 line
2.39.2Signature · 2 lines
Ville Syrjälä Intel
kernel test robot
build botRe: [Intel-gfx] [PATCH 08/29] drm/dp: Add helpers to calculate the link BW overhead
In reply to Imre Deakkernel test robot noticed the following build errors:
Hi Imre,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-tip/drm-tip]
url: https://github.com/intel-lab-lkp/linux/commits/Imre-Deak/drm-dp_mst-Fix-fractional-DSC-bpp-handling/20231024-091920 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20231024010925.3949910-9-imre.deak%40intel.com patch subject: [Intel-gfx] [PATCH 08/29] drm/dp: Add helpers to calculate the link BW overhead config: x86_64-buildonly-randconfig-003-20231024 (https://download.01.org/0day-ci/archive/20231024/[email protected]/config) compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231024/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
ld: drivers/gpu/drm/display/drm_dp_mst_topology.o: in function `drm_dp_calc_pbn_mode':
>> drm_dp_mst_topology.c:(.text+0x1403): undefined reference to `drm_dp_bw_overhead'
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
kernel test robot
build botRe: [Intel-gfx] [PATCH 08/29] drm/dp: Add helpers to calculate the link BW overhead
In reply to Imre Deakkernel test robot noticed the following build errors:
Hi Imre,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-tip/drm-tip]
url: https://github.com/intel-lab-lkp/linux/commits/Imre-Deak/drm-dp_mst-Fix-fractional-DSC-bpp-handling/20231024-091920 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip patch link: https://lore.kernel.org/r/20231024010925.3949910-9-imre.deak%40intel.com patch subject: [Intel-gfx] [PATCH 08/29] drm/dp: Add helpers to calculate the link BW overhead config: arm-s5pv210_defconfig (https://download.01.org/0day-ci/archive/20231025/[email protected]/config) compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231025/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
arm-linux-gnueabi-ld: drivers/gpu/drm/display/drm_dp_mst_topology.o: in function `drm_dp_calc_pbn_mode':
>> drivers/gpu/drm/display/drm_dp_mst_topology.c:4745:(.text+0x12b0): undefined reference to `drm_dp_bw_overhead'
vim +4745 drivers/gpu/drm/display/drm_dp_mst_topology.c
4718
4719 /**
4720 * drm_dp_calc_pbn_mode() - Calculate the PBN for a mode.
4721 * @clock: dot clock
4722 * @bpp: bpp as .4 binary fixed point
4723 *
4724 * This uses the formula in the spec to calculate the PBN value for a mode.
4725 */
4726 int drm_dp_calc_pbn_mode(int clock, int bpp)
4727 {
4728 /*
4729 * The unit of 54/64Mbytes/sec is an arbitrary unit chosen based on
4730 * common multiplier to render an integer PBN for all link rate/lane
4731 * counts combinations
4732 * calculate
4733 * peak_kbps = clock * bpp / 16
4734 * peak_kbps *= SSC overhead / 1000000
4735 * peak_kbps /= 8 convert to Kbytes
4736 * peak_kBps *= (64/54) / 1000 convert to PBN
4737 */
4738 /*
4739 * TODO: Use the actual link and mode parameters to calculate
4740 * the overhead. For now it's assumed that these are
4741 * 4 link lanes, 4096 hactive pixels, which don't add any
4742 * significant data padding overhead and that there is no DSC
4743 * or FEC overhead.
4744 */
> 4745 int overhead = drm_dp_bw_overhead(4, 4096, 0, bpp,
4746 DRM_DP_BW_OVERHEAD_MST |
4747 DRM_DP_BW_OVERHEAD_SSC);
4748
4749 return DIV64_U64_ROUND_UP(mul_u32_u32(clock * bpp, 64 * overhead >> 4),
4750 1000000ULL * 8 * 54 * 1000);
4751 }
4752 EXPORT_SYMBOL(drm_dp_calc_pbn_mode);
4753
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
PATCH 9/29 drm/i915/dp_mst: Enable FEC early once it's known DSC is needed
In reply to Imre DeakEnable FEC in crtc_state, as soon as it's known it will be needed by DSC. This fixes the calculation of BW allocation overhead, in case DSC is enabled by falling back to it during the encoder compute config phase (vs. enabling FEC due to DSC being enabled on other streams).
--- drivers/gpu/drm/i915/display/intel_dp.c | 6 +++--- drivers/gpu/drm/i915/display/intel_dp.h | 5 +++++ drivers/gpu/drm/i915/display/intel_dp_mst.c | 7 +++++++ 3 files changed, 15 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/display/intel_dp.c +3 -3
@@ -1369,9 +1369,9 @@ static bool intel_dp_source_supports_fec(struct intel_dp *intel_dp,return false; } -static bool intel_dp_supports_fec (struct intel_dp *intel_dp, -const struct intel_connector *connector, -const struct intel_crtc_state *pipe_config) +bool intel_dp_supports_fec (struct intel_dp *intel_dp, +const struct intel_connector *connector, +const struct intel_crtc_state *pipe_config) {return intel_dp_source_supports_fec (intel_dp, pipe_config) &&drm_dp_sink_supports_fec (connector->dp.fec_capability);
drivers/gpu/drm/i915/display/intel_dp.h +5 -0
@@ -137,6 +137,11 @@ static inline unsigned int intel_dp_unused_lane_mask(int lane_count) }u32 intel_dp_mode_to_fec_clock (u32 mode_clock); + +bool intel_dp_supports_fec (struct intel_dp *intel_dp, +const struct intel_connector *connector, +const struct intel_crtc_state *pipe_config); +u32 intel_dp_dsc_nearest_valid_bpp (struct drm_i915_private *i915,u32 bpp,u32 pipe_bpp); void intel_ddi_update_pipe(struct intel_atomic_state *state,
drivers/gpu/drm/i915/display/intel_dp_mst.c +7 -0
@@ -338,6 +338,8 @@ static int intel_dp_mst_compute_config(struct intel_encoder *encoder,struct drm_i915_private *dev_priv =to_i915 (encoder->base.dev);struct intel_dp_mst_encoder *intel_mst =enc_to_mst (encoder);struct intel_dp *intel_dp = &intel_mst->primary->dp; +const struct intel_connector *connector = +to_intel_connector (conn_state->connector);const struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode;struct link_config_limits limits;
@@ -380,6 +382,11 @@ static int intel_dp_mst_compute_config(struct intel_encoder *encoder, &limits))return -EINVAL ; +if (!intel_dp_supports_fec (intel_dp, connector, pipe_config)) +return -EINVAL ; + + pipe_config->fec_enable = !intel_dp_is_uhbr (pipe_config); +/* * FIXME: As bpc is hardcoded to 8, as mentioned above, * WARN and ignore the debug flag force_dsc_bpc for now.
Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 09/29] drm/i915/dp_mst: Enable FEC early once it's known DSC is needed
Quoted 6 lines · Imre Deak
Enable FEC in
crtc_state, as soon as it's known it will be needed by DSC. This fixes the calculation of BW allocation overhead, in case DSC is enabled by falling back to it during the encoder compute config phase (vs. enabling FEC due to DSC being enabled on other streams).Signed-off-by Imre Deak <[email protected]>
Quoted 67 lines
--- drivers/gpu/drm/i915/display/intel_dp.c | 6 +++--- drivers/gpu/drm/i915/display/intel_dp.h | 5 +++++ drivers/gpu/drm/i915/display/intel_dp_mst.c | 7 +++++++ 3 files changed, 15 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/display/intel_dp.c +3
-3@@ -1369,9 +1369,9 @@ static bool intel_dp_source_supports_fec(struct intel_dp *intel_dp,return false; } -static bool intel_dp_supports_fec (struct intel_dp *intel_dp, -const struct intel_connector *connector, -const struct intel_crtc_state *pipe_config) +bool intel_dp_supports_fec (struct intel_dp *intel_dp, +const struct intel_connector *connector, +const struct intel_crtc_state *pipe_config) {return intel_dp_source_supports_fec (intel_dp, pipe_config) &&drm_dp_sink_supports_fec (connector->dp.fec_capability);drivers/gpu/drm/i915/display/intel_dp.h +5
-0@@ -137,6 +137,11 @@ static inline unsigned int intel_dp_unused_lane_mask(int lane_count) }u32 intel_dp_mode_to_fec_clock (u32 mode_clock); + +bool intel_dp_supports_fec (struct intel_dp *intel_dp, +const struct intel_connector *connector, +const struct intel_crtc_state *pipe_config); +u32 intel_dp_dsc_nearest_valid_bpp (struct drm_i915_private *i915,u32 bpp,u32 pipe_bpp); void intel_ddi_update_pipe(struct intel_atomic_state *state,drivers/gpu/drm/i915/display/intel_dp_mst.c +7
-0@@ -338,6 +338,8 @@ static int intel_dp_mst_compute_config(struct intel_encoder *encoder,struct drm_i915_private *dev_priv =to_i915 (encoder->base.dev);struct intel_dp_mst_encoder *intel_mst =enc_to_mst (encoder);struct intel_dp *intel_dp = &intel_mst->primary->dp; +const struct intel_connector *connector = +to_intel_connector (conn_state->connector);const struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode;struct link_config_limits limits;@@ -380,6 +382,11 @@ static int intel_dp_mst_compute_config(struct intel_encoder *encoder, &limits))return -EINVAL ; +if (!intel_dp_supports_fec (intel_dp, connector, pipe_config)) +return -EINVAL ; + + pipe_config->fec_enable = !intel_dp_is_uhbr (pipe_config); +/* * FIXME: As bpc is hardcoded to 8, as mentioned above, * WARN and ignore the debug flag force_dsc_bpc for now. Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 09/29] drm/i915/dp_mst: Enable FEC early once it's known DSC is needed
In reply to Imre DeakQuoted 59 lines · Imre Deak
Enable FEC in
crtc_state, as soon as it's known it will be needed by DSC. This fixes the calculation of BW allocation overhead, in case DSC is enabled by falling back to it during the encoder compute config phase (vs. enabling FEC due to DSC being enabled on other streams).Signed-off-by Imre Deak <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 6 +++--- drivers/gpu/drm/i915/display/intel_dp.h | 5 +++++ drivers/gpu/drm/i915/display/intel_dp_mst.c | 7 +++++++ 3 files changed, 15 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/display/intel_dp.c +3
-3@@ -1369,9 +1369,9 @@ static bool intel_dp_source_supports_fec(struct intel_dp *intel_dp,return false; } -static bool intel_dp_supports_fec (struct intel_dp *intel_dp, -const struct intel_connector *connector, -const struct intel_crtc_state *pipe_config) +bool intel_dp_supports_fec (struct intel_dp *intel_dp, +const struct intel_connector *connector, +const struct intel_crtc_state *pipe_config) {return intel_dp_source_supports_fec (intel_dp, pipe_config) &&drm_dp_sink_supports_fec (connector->dp.fec_capability);drivers/gpu/drm/i915/display/intel_dp.h +5
-0@@ -137,6 +137,11 @@ static inline unsigned int intel_dp_unused_lane_mask(int lane_count) }u32 intel_dp_mode_to_fec_clock (u32 mode_clock); + +bool intel_dp_supports_fec (struct intel_dp *intel_dp, +const struct intel_connector *connector, +const struct intel_crtc_state *pipe_config); +u32 intel_dp_dsc_nearest_valid_bpp (struct drm_i915_private *i915,u32 bpp,u32 pipe_bpp); void intel_ddi_update_pipe(struct intel_atomic_state *state,drivers/gpu/drm/i915/display/intel_dp_mst.c +2
-0@@ -338,6 +338,8 @@ static int intel_dp_mst_compute_config(struct intel_encoder *encoder,struct drm_i915_private *dev_priv =to_i915 (encoder->base.dev);struct intel_dp_mst_encoder *intel_mst =enc_to_mst (encoder);struct intel_dp *intel_dp = &intel_mst->primary->dp; +const struct intel_connector *connector = +to_intel_connector (conn_state->connector);const struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode;struct link_config_limits limits;
drivers/gpu/drm/i915/display/intel_dp_mst.c static int intel_dp_mst_compute_config(struct intel_encoder *encoder, · line 388
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_dp_mst.c +4
-0@@ -380,6 +382,11 @@ static int intel_dp_mst_compute_config(struct intel_encoder *encoder, &limits))return -EINVAL ; +if (!intel_dp_supports_fec (intel_dp, connector, pipe_config)) +return -EINVAL ; + + pipe_config->fec_enable = !intel_dp_is_uhbr (pipe_config);
The above is bogus, since pipe_config->port_clock will be set only later in intel_dp_mst_find_vcpi_slots_for_bpp(). I'll send an updated version moving the above later to that function.
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_dp_mst.c +1
-0+/* * FIXME: As bpc is hardcoded to 8, as mentioned above, * WARN and ignore the debug flag force_dsc_bpc for now. Signature · 1 line
2.39.2
PATCH 10/29 drm/i915/dp: Specify the FEC overhead as an increment vs. a remainder
In reply to Imre DeakA follow-up patch will add up all the overheads on a DP link, where it makes more sense to specify each overhead factor in terms of the added overhead amount vs. the reciprocal remainder (of usable BW remaining after deducting the overhead). Prepare for that here, keeping the existing behavior.
--- drivers/gpu/drm/i915/display/intel_dp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/intel_dp.c +4 -4
@@ -85,8 +85,8 @@#define DP_DSC_MAX_ENC_THROUGHPUT_0 340000#define DP_DSC_MAX_ENC_THROUGHPUT_1 400000 -/* DP DSC FEC Overhead factor = 1/(0.972261) */ -#define DP_DSC_FEC_OVERHEAD_FACTOR 972261 +/* DP DSC FEC Overhead factor = 1/(0.972261) = 1.028530 ppm */ +#define DP_DSC_FEC_OVERHEAD_FACTOR 1028530/* Compliance test status bits */ #define INTEL_DP_RESOLUTION_SHIFT_MASK 0
@@ -680,8 +680,8 @@ int intel_dp_get_link_train_fallback_values(struct intel_dp *intel_dp,u32 intel_dp_mode_to_fec_clock (u32 mode_clock) { -return div_u64 (mul_u32_u32 (mode_clock,1000000U ), -DP_DSC_FEC_OVERHEAD_FACTOR ); +return div_u64 (mul_u32_u32 (mode_clock,DP_DSC_FEC_OVERHEAD_FACTOR ), +1000000U ); } static int
Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 10/29] drm/i915/dp: Specify the FEC overhead as an increment vs. a remainder
Quoted 16 lines · Imre Deak
A follow-up patch will add up all the overheads on a DP link, where it makes more sense to specify each overhead factor in terms of the added overhead amount vs. the reciprocal remainder (of usable BW remaining after deducting the overhead). Prepare for that here, keeping the existing behavior.
Signed-off-by Imre Deak <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/gpu/drm/i915/display/intel_dp.c +0
-0
drivers/gpu/drm/i915/display/intel_dp.c line 89
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_dp.c +0
-2@@ -85,8 +85,8 @@#define DP_DSC_MAX_ENC_THROUGHPUT_0 340000#define DP_DSC_MAX_ENC_THROUGHPUT_1 400000 -/* DP DSC FEC Overhead factor = 1/(0.972261) */ -#define DP_DSC_FEC_OVERHEAD_FACTOR 972261
Does anyone know where this magic number comes from?
AFAICS we should have 250 LL + 5 FEC_PARITY_PH + 1 CD_ADJ, which gives us the 256/250 = 2.4% number. In addition there's the extra parity marker symbol insterted every 128 FEC blocks, which makes the total overhead 2.4015625%, which is still not that magic number.
Quoted 18 lines
drivers/gpu/drm/i915/display/intel_dp.c +4
-2+/* DP DSC FEC Overhead factor = 1/(0.972261) = 1.028530 ppm */ +#define DP_DSC_FEC_OVERHEAD_FACTOR 1028530/* Compliance test status bits */ #define INTEL_DP_RESOLUTION_SHIFT_MASK 0@@ -680,8 +680,8 @@ int intel_dp_get_link_train_fallback_values(struct intel_dp *intel_dp,u32 intel_dp_mode_to_fec_clock (u32 mode_clock) { -return div_u64 (mul_u32_u32 (mode_clock,1000000U ), -DP_DSC_FEC_OVERHEAD_FACTOR ); +return div_u64 (mul_u32_u32 (mode_clock,DP_DSC_FEC_OVERHEAD_FACTOR ), +1000000U ); } static intSignature · 1 line
2.39.2
Signature · 2 lines
Ville Syrjälä Intel
Re: [Intel-gfx] [PATCH 10/29] drm/i915/dp: Specify the FEC overhead as an increment vs. a remainder
Quoted 25 lines · Ville Syrjälä
Quoted 16 lines · Imre Deak
A follow-up patch will add up all the overheads on a DP link, where it makes more sense to specify each overhead factor in terms of the added overhead amount vs. the reciprocal remainder (of usable BW remaining after deducting the overhead). Prepare for that here, keeping the existing behavior.
Signed-off-by Imre Deak <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)drivers/gpu/drm/i915/display/intel_dp.c +0
-0drivers/gpu/drm/i915/display/intel_dp.c line 89
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_dp.c +0
-2@@ -85,8 +85,8 @@#define DP_DSC_MAX_ENC_THROUGHPUT_0 340000#define DP_DSC_MAX_ENC_THROUGHPUT_1 400000 -/* DP DSC FEC Overhead factor = 1/(0.972261) */ -#define DP_DSC_FEC_OVERHEAD_FACTOR 972261Does anyone know where this magic number comes from?
Quoted 5 lines
AFAICS we should have 250 LL + 5
FEC_PARITY_PH+ 1CD_ADJ, which gives us the 256/250 = 2.4% number. In addition there's the extra parity marker symbol insterted every 128 FEC blocks, which makes the total overhead 2.4015625%, which is still not that magic number.
IIRC it's mentioned in the bpsec audio programming sequence, but the rational for it isn't detailed. I suppose it could be the 2.4% FEC overhead + a fixed overhead for DSC EOC symbols; but the latter is not really fixed, it depends on the video mode/slice count etc. as I commented on later.
Quoted 23 lines
Quoted 19 lines
drivers/gpu/drm/i915/display/intel_dp.c +4
-2+/* DP DSC FEC Overhead factor = 1/(0.972261) = 1.028530 ppm */ +#define DP_DSC_FEC_OVERHEAD_FACTOR 1028530/* Compliance test status bits */ #define INTEL_DP_RESOLUTION_SHIFT_MASK 0@@ -680,8 +680,8 @@ int intel_dp_get_link_train_fallback_values(struct intel_dp *intel_dp,u32 intel_dp_mode_to_fec_clock (u32 mode_clock) { -return div_u64 (mul_u32_u32 (mode_clock,1000000U ), -DP_DSC_FEC_OVERHEAD_FACTOR ); +return div_u64 (mul_u32_u32 (mode_clock,DP_DSC_FEC_OVERHEAD_FACTOR ), +1000000U ); } static intSignature · 1 line
2.39.2Signature · 2 lines
Ville Syrjälä Intel
PATCH 11/29 drm/i915/dp: Pass actual BW overhead to m_n calculation
In reply to Imre DeakA follow-up MST patch will need to specify the total BW allocation overhead, prepare for that here by passing the amount of overhead to intel_link_compute_m_n(), keeping the existing behavior.
--- drivers/gpu/drm/i915/display/intel_display.c | 40 +++++++++++++++++--- drivers/gpu/drm/i915/display/intel_display.h | 4 +- drivers/gpu/drm/i915/display/intel_dp.c | 30 ++++++++++++--- drivers/gpu/drm/i915/display/intel_dp.h | 2 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 8 ++-- drivers/gpu/drm/i915/display/intel_fdi.c | 5 ++- 6 files changed, 71 insertions(+), 18 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +34 -6
@@ -2396,17 +2396,45 @@ static void compute_m_n(u32 *ret_m, u32 *ret_n,intel_reduce_m_n_ratio (ret_m, ret_n); } +static void +add_bw_alloc_overhead (int link_clock,int bw_overhead, +int pixel_data_rate,int link_data_rate, +u32 *data_m,u32 *data_n) +{ +bool is_uhbr =intel_dp_is_uhbr_rate (link_clock); +int ch_coding_efficiency = +drm_dp_bw_channel_coding_efficiency (is_uhbr); + +/* +* TODO: adjust for actual UHBR channel coding efficiency and BW +* overhead. +*/ +if (is_uhbr) { + *data_m = pixel_data_rate; + *data_n = link_data_rate *8 /10 ; +return ; + } + + *data_m =DIV_ROUND_UP_ULL (mul_u32_u32 (pixel_data_rate, bw_overhead), +1000000 ); + *data_n =DIV_ROUND_DOWN_ULL (mul_u32_u32 (link_data_rate, ch_coding_efficiency), +1000000 ); +} +void intel_link_compute_m_n (u16 bits_per_pixel,int nlanes,int pixel_clock,int link_clock, -struct intel_link_m_n *m_n, -bool fec_enable) +int bw_overhead, +struct intel_link_m_n *m_n) {u32 data_clock = bits_per_pixel * pixel_clock; +u32 data_m; +u32 data_n; -if (fec_enable) - data_clock =intel_dp_mode_to_fec_clock (data_clock); - +add_bw_alloc_overhead (link_clock, bw_overhead, + data_clock, + link_clock *10 * nlanes, + &data_m, &data_n);/* * Windows/BIOS uses fixed M/N values always. Follow suit. *
@@ -2416,7 +2444,7 @@ intel_link_compute_m_n(u16 bits_per_pixel, int nlanes,*/ m_n->tu =64 ;compute_m_n (&m_n->data_m, &m_n->data_n, - data_clock, link_clock * nlanes *8 , + data_m, data_n,0x8000000 ); compute_m_n(&m_n->link_m, &m_n->link_n,
drivers/gpu/drm/i915/display/intel_display.h +2 -2
@@ -395,8 +395,8 @@ u8 intel_calc_active_pipes(struct intel_atomic_state *state, u8 active_pipes);void intel_link_compute_m_n (u16 bpp,int nlanes,int pixel_clock,int link_clock, -struct intel_link_m_n *m_n, -bool fec_enable); +int bw_overhead, +struct intel_link_m_n *m_n);u32 intel_plane_fb_max_stride (struct drm_i915_private *dev_priv,u32 pixel_format,u64 modifier);enum drm_mode_status
drivers/gpu/drm/i915/display/intel_dp.c +25 -5
@@ -121,10 +121,15 @@ bool intel_dp_is_edp(struct intel_dp *intel_dp)static void intel_dp_unset_edid (struct intel_dp *intel_dp); +bool intel_dp_is_uhbr_rate (int rate) +{ +return rate >=1000000 ; +} +/* Is link rate UHBR and thus 128b/132b? */ bool intel_dp_is_uhbr (const struct intel_crtc_state *crtc_state) { -return crtc_state->port_clock >=1000000 ; +return intel_dp_is_uhbr_rate (crtc_state->port_clock); }static void intel_dp_set_default_sink_rates (struct intel_dp *intel_dp)
@@ -684,6 +689,20 @@ u32 intel_dp_mode_to_fec_clock(u32 mode_clock) 1000000U); } +int intel_dp_bw_fec_overhead (bool fec_enabled) +{ +/* +* TODO: Calculate the actual overhead for a given mode. +* The hard-coded 1/0.972261=2.853% overhead factor +* corresponds (for instance) to the 8b/10b DP FEC 2.4% + +* 0.453% DSC overhead. This is enough for a 3840 width mode, +* which has a DSC overhead of up to ~0.2%, but may not be +* enough for a 1024 width mode where this is ~0.8% (on a 4 +* lane DP link, with 2 DSC slices and 8 bpp color depth). +*/ +return fec_enabled ?DP_DSC_FEC_OVERHEAD_FACTOR :1000000 ; +} +static int small_joiner_ram_size_bits (struct drm_i915_private *i915) {
@@ -2655,8 +2674,9 @@ intel_dp_drrs_compute_config(struct intel_connector *connector, pixel_clock /= pipe_config->splitter.link_count;intel_link_compute_m_n (link_bpp, pipe_config->lane_count, pixel_clock, - pipe_config->port_clock, &pipe_config->dp_m2_n2, - pipe_config->fec_enable); + pipe_config->port_clock, +intel_dp_bw_fec_overhead (pipe_config->fec_enable), + &pipe_config->dp_m2_n2);/* FIXME: abstract this better */ if (pipe_config->splitter.enable)
@@ -2837,8 +2857,8 @@ intel_dp_compute_config(struct intel_encoder *encoder, pipe_config->lane_count, adjusted_mode->crtc_clock, pipe_config->port_clock, - &pipe_config->dp_m_n, - pipe_config->fec_enable); +intel_dp_bw_fec_overhead (pipe_config->fec_enable), + &pipe_config->dp_m_n);/* FIXME: abstract this better */ if (pipe_config->splitter.enable)
drivers/gpu/drm/i915/display/intel_dp.h +2 -0
@@ -77,6 +77,7 @@ void intel_dp_audio_compute_config(struct intel_encoder *encoder, struct drm_connector_state *conn_state);bool intel_dp_has_hdmi_sink (struct intel_dp *intel_dp);bool intel_dp_is_edp (struct intel_dp *intel_dp); +bool intel_dp_is_uhbr_rate (int rate);bool intel_dp_is_uhbr (const struct intel_crtc_state *crtc_state);bool intel_dp_is_port_edp (struct drm_i915_private *dev_priv,enum port port); enum irqreturn intel_dp_hpd_pulse(struct intel_digital_port *dig_port,
@@ -137,6 +138,7 @@ static inline unsigned int intel_dp_unused_lane_mask(int lane_count) }u32 intel_dp_mode_to_fec_clock (u32 mode_clock); +int intel_dp_bw_fec_overhead (bool fec_enabled); bool intel_dp_supports_fec(struct intel_dp *intel_dp, const struct intel_connector *connector,
drivers/gpu/drm/i915/display/intel_dp_mst.c +4 -4
@@ -172,8 +172,8 @@ static int intel_dp_mst_compute_link_config(struct intel_encoder *encoder, crtc_state->lane_count, adjusted_mode->crtc_clock, crtc_state->port_clock, - &crtc_state->dp_m_n, - crtc_state->fec_enable); +intel_dp_bw_fec_overhead (crtc_state), + &crtc_state->dp_m_n); crtc_state->dp_m_n.tu = slots;return 0 ;
@@ -267,8 +267,8 @@ static int intel_dp_dsc_mst_compute_link_config(struct intel_encoder *encoder, crtc_state->lane_count, adjusted_mode->crtc_clock, crtc_state->port_clock, - &crtc_state->dp_m_n, - crtc_state->fec_enable); +intel_dp_bw_fec_overhead (crtc_state), + &crtc_state->dp_m_n); crtc_state->dp_m_n.tu = slots;return 0 ;
drivers/gpu/drm/i915/display/intel_fdi.c +4 -1
@@ -10,6 +10,7 @@#include "intel_crtc.h" #include "intel_ddi.h" #include "intel_de.h" +#include "intel_dp.h" #include "intel_display_types.h" #include "intel_fdi.h" #include "intel_fdi_regs.h"
@@ -339,7 +340,9 @@ int ilk_fdi_compute_config(struct intel_crtc *crtc, pipe_config->fdi_lanes = lane;intel_link_compute_m_n (pipe_config->pipe_bpp, lane, fdi_dotclock, - link_bw, &pipe_config->fdi_m_n, false); + link_bw, +intel_dp_bw_fec_overhead (false), + &pipe_config->fdi_m_n);return 0 ; }
Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 11/29] drm/i915/dp: Pass actual BW overhead to m_n calculation
Quoted 5 lines · Imre Deak
A follow-up MST patch will need to specify the total BW allocation overhead, prepare for that here by passing the amount of overhead to
intel_link_compute_m_n(), keeping the existing behavior.Signed-off-by Imre Deak <[email protected]>
Quoted 225 lines
--- drivers/gpu/drm/i915/display/intel_display.c | 40 +++++++++++++++++--- drivers/gpu/drm/i915/display/intel_display.h | 4 +- drivers/gpu/drm/i915/display/intel_dp.c | 30 ++++++++++++--- drivers/gpu/drm/i915/display/intel_dp.h | 2 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 8 ++-- drivers/gpu/drm/i915/display/intel_fdi.c | 5 ++- 6 files changed, 71 insertions(+), 18 deletions(-)drivers/gpu/drm/i915/display/intel_display.c +34
-6@@ -2396,17 +2396,45 @@ static void compute_m_n(u32 *ret_m, u32 *ret_n,intel_reduce_m_n_ratio (ret_m, ret_n); } +static void +add_bw_alloc_overhead (int link_clock,int bw_overhead, +int pixel_data_rate,int link_data_rate, +u32 *data_m,u32 *data_n) +{ +bool is_uhbr =intel_dp_is_uhbr_rate (link_clock); +int ch_coding_efficiency = +drm_dp_bw_channel_coding_efficiency (is_uhbr); + +/* +* TODO: adjust for actual UHBR channel coding efficiency and BW +* overhead. +*/ +if (is_uhbr) { + *data_m = pixel_data_rate; + *data_n = link_data_rate *8 /10 ; +return ; + } + + *data_m =DIV_ROUND_UP_ULL (mul_u32_u32 (pixel_data_rate, bw_overhead), +1000000 ); + *data_n =DIV_ROUND_DOWN_ULL (mul_u32_u32 (link_data_rate, ch_coding_efficiency), +1000000 ); +} +void intel_link_compute_m_n (u16 bits_per_pixel,int nlanes,int pixel_clock,int link_clock, -struct intel_link_m_n *m_n, -bool fec_enable) +int bw_overhead, +struct intel_link_m_n *m_n) {u32 data_clock = bits_per_pixel * pixel_clock; +u32 data_m; +u32 data_n; -if (fec_enable) - data_clock =intel_dp_mode_to_fec_clock (data_clock); - +add_bw_alloc_overhead (link_clock, bw_overhead, + data_clock, + link_clock *10 * nlanes, + &data_m, &data_n);/* * Windows/BIOS uses fixed M/N values always. Follow suit. * @@ -2416,7 +2444,7 @@ intel_link_compute_m_n(u16 bits_per_pixel, int nlanes,*/ m_n->tu =64 ;compute_m_n (&m_n->data_m, &m_n->data_n, - data_clock, link_clock * nlanes *8 , + data_m, data_n,0x8000000 ); compute_m_n(&m_n->link_m, &m_n->link_n,drivers/gpu/drm/i915/display/intel_display.h +2
-2@@ -395,8 +395,8 @@ u8 intel_calc_active_pipes(struct intel_atomic_state *state, u8 active_pipes);void intel_link_compute_m_n (u16 bpp,int nlanes,int pixel_clock,int link_clock, -struct intel_link_m_n *m_n, -bool fec_enable); +int bw_overhead, +struct intel_link_m_n *m_n);u32 intel_plane_fb_max_stride (struct drm_i915_private *dev_priv,u32 pixel_format,u64 modifier);enum drm_mode_status drivers/gpu/drm/i915/display/intel_dp.c +25
-5@@ -121,10 +121,15 @@ bool intel_dp_is_edp(struct intel_dp *intel_dp)static void intel_dp_unset_edid (struct intel_dp *intel_dp); +bool intel_dp_is_uhbr_rate (int rate) +{ +return rate >=1000000 ; +} +/* Is link rate UHBR and thus 128b/132b? */ bool intel_dp_is_uhbr (const struct intel_crtc_state *crtc_state) { -return crtc_state->port_clock >=1000000 ; +return intel_dp_is_uhbr_rate (crtc_state->port_clock); }static void intel_dp_set_default_sink_rates (struct intel_dp *intel_dp)@@ -684,6 +689,20 @@ u32 intel_dp_mode_to_fec_clock(u32 mode_clock) 1000000U); } +int intel_dp_bw_fec_overhead (bool fec_enabled) +{ +/* +* TODO: Calculate the actual overhead for a given mode. +* The hard-coded 1/0.972261=2.853% overhead factor +* corresponds (for instance) to the 8b/10b DP FEC 2.4% + +* 0.453% DSC overhead. This is enough for a 3840 width mode, +* which has a DSC overhead of up to ~0.2%, but may not be +* enough for a 1024 width mode where this is ~0.8% (on a 4 +* lane DP link, with 2 DSC slices and 8 bpp color depth). +*/ +return fec_enabled ?DP_DSC_FEC_OVERHEAD_FACTOR :1000000 ; +} +static int small_joiner_ram_size_bits (struct drm_i915_private *i915) {@@ -2655,8 +2674,9 @@ intel_dp_drrs_compute_config(struct intel_connector *connector, pixel_clock /= pipe_config->splitter.link_count;intel_link_compute_m_n (link_bpp, pipe_config->lane_count, pixel_clock, - pipe_config->port_clock, &pipe_config->dp_m2_n2, - pipe_config->fec_enable); + pipe_config->port_clock, +intel_dp_bw_fec_overhead (pipe_config->fec_enable), + &pipe_config->dp_m2_n2);/* FIXME: abstract this better */ if (pipe_config->splitter.enable)@@ -2837,8 +2857,8 @@ intel_dp_compute_config(struct intel_encoder *encoder, pipe_config->lane_count, adjusted_mode->crtc_clock, pipe_config->port_clock, - &pipe_config->dp_m_n, - pipe_config->fec_enable); +intel_dp_bw_fec_overhead (pipe_config->fec_enable), + &pipe_config->dp_m_n);/* FIXME: abstract this better */ if (pipe_config->splitter.enable)drivers/gpu/drm/i915/display/intel_dp.h +2
-0@@ -77,6 +77,7 @@ void intel_dp_audio_compute_config(struct intel_encoder *encoder, struct drm_connector_state *conn_state);bool intel_dp_has_hdmi_sink (struct intel_dp *intel_dp);bool intel_dp_is_edp (struct intel_dp *intel_dp); +bool intel_dp_is_uhbr_rate (int rate);bool intel_dp_is_uhbr (const struct intel_crtc_state *crtc_state);bool intel_dp_is_port_edp (struct drm_i915_private *dev_priv,enum port port); enum irqreturn intel_dp_hpd_pulse(struct intel_digital_port *dig_port,@@ -137,6 +138,7 @@ static inline unsigned int intel_dp_unused_lane_mask(int lane_count) }u32 intel_dp_mode_to_fec_clock (u32 mode_clock); +int intel_dp_bw_fec_overhead (bool fec_enabled); bool intel_dp_supports_fec(struct intel_dp *intel_dp, const struct intel_connector *connector,drivers/gpu/drm/i915/display/intel_dp_mst.c +4
-4@@ -172,8 +172,8 @@ static int intel_dp_mst_compute_link_config(struct intel_encoder *encoder, crtc_state->lane_count, adjusted_mode->crtc_clock, crtc_state->port_clock, - &crtc_state->dp_m_n, - crtc_state->fec_enable); +intel_dp_bw_fec_overhead (crtc_state), + &crtc_state->dp_m_n); crtc_state->dp_m_n.tu = slots;return 0 ;@@ -267,8 +267,8 @@ static int intel_dp_dsc_mst_compute_link_config(struct intel_encoder *encoder, crtc_state->lane_count, adjusted_mode->crtc_clock, crtc_state->port_clock, - &crtc_state->dp_m_n, - crtc_state->fec_enable); +intel_dp_bw_fec_overhead (crtc_state), + &crtc_state->dp_m_n); crtc_state->dp_m_n.tu = slots;return 0 ;drivers/gpu/drm/i915/display/intel_fdi.c +4
-1@@ -10,6 +10,7 @@#include "intel_crtc.h" #include "intel_ddi.h" #include "intel_de.h" +#include "intel_dp.h" #include "intel_display_types.h" #include "intel_fdi.h" #include "intel_fdi_regs.h" @@ -339,7 +340,9 @@ int ilk_fdi_compute_config(struct intel_crtc *crtc, pipe_config->fdi_lanes = lane;intel_link_compute_m_n (pipe_config->pipe_bpp, lane, fdi_dotclock, - link_bw, &pipe_config->fdi_m_n, false); + link_bw, +intel_dp_bw_fec_overhead (false), + &pipe_config->fdi_m_n);return 0 ; }Signature · 1 line
2.39.2
PATCH 12/29 drm/i915/dp_mst: Account for FEC and DSC overhead during BW allocation
In reply to Imre DeakAtm, the BW allocated for an MST stream doesn't take into account the DSC control symbol (EOC) and data alignment overhead on the local (first downstream) MST link (reflected by the data M/N/TU values) and - besides the above overheads - the FEC symbol overhead on 8b/10b remote (after a downstream branch device) MST links.
In addition the FEC overhead used on the local link is a fixed amount, which only applies to certain modes, but not enough for all modes; add a code comment clarifying this.
Fix the above by calculating the data M/N values with the total BW overhead (not including the SSC overhead, since this isn't enabled by the source device) and using this the PBN and TU values for the local link and PBN for remote links (including SSC, since this is mandatory for links after downstream branch devices).
For now keep the current fixed FEC overhead as a minimum, since this is what bspec requires for audio functionality.
Calculate the effective link BW in a clearer way, applying the channel coding efficiency based on the coding type. The calculation was correct for 8b/10b, but not for 128b/132b links; this patch leaves the behavior for this unchanged, leaving the fix for a follow-up.
--- drivers/gpu/drm/i915/display/intel_dp_mst.c | 99 +++++++++++++++------ 1 file changed, 74 insertions(+), 25 deletions(-)
drivers/gpu/drm/i915/display/intel_dp_mst.c +74 -25
@@ -66,6 +66,63 @@ static int intel_dp_mst_check_constraints(struct drm_i915_private *i915, int bppreturn 0 ; } +static int intel_dp_mst_bw_overhead (const struct intel_crtc_state *crtc_state, +const struct intel_connector *connector, +bool ssc,bool dsc,int bpp) +{ +const struct drm_display_mode *adjusted_mode = + &crtc_state->hw.adjusted_mode; +unsigned long flags =DRM_DP_BW_OVERHEAD_MST ; +int dsc_slice_count =0 ; +int overhead; + + flags |=intel_dp_is_uhbr (crtc_state) ?DRM_DP_BW_OVERHEAD_UHBR :0 ; + flags |= ssc ?DRM_DP_BW_OVERHEAD_SSC :0 ; + flags |= crtc_state->fec_enable ?DRM_DP_BW_OVERHEAD_FEC :0 ; + +if (dsc) { + flags |=DRM_DP_BW_OVERHEAD_DSC ; +/* TODO: add support for bigjoiner */ + dsc_slice_count =intel_dp_dsc_get_slice_count (connector, + adjusted_mode->clock, + adjusted_mode->hdisplay, + false); + } + + overhead =drm_dp_bw_overhead (crtc_state->lane_count, + adjusted_mode->hdisplay, + dsc_slice_count, +to_bpp_x16 (bpp), + flags); + +/* +* TODO: clarify whether a minimum required by the fixed FEC overhead +* in the bspec audio programming sequence is required here. +*/ +return max (overhead,intel_dp_bw_fec_overhead (crtc_state->fec_enable)); +} + +static void intel_dp_mst_compute_m_n (const struct intel_crtc_state *crtc_state, +const struct intel_connector *connector, +bool ssc,bool dsc, +int bpp, +struct intel_link_m_n *m_n) +{ +const struct drm_display_mode *adjusted_mode = + &crtc_state->hw.adjusted_mode; +int overhead =intel_dp_mst_bw_overhead (crtc_state, + connector, + ssc, dsc, bpp); + +intel_link_compute_m_n (bpp, crtc_state->lane_count, + adjusted_mode->crtc_clock, + crtc_state->port_clock, + overhead, + m_n); + + m_n->tu =DIV_ROUND_UP_ULL (mul_u32_u32 (m_n->data_m,64 ), m_n->data_n); +} + static int intel_dp_mst_find_vcpi_slots_for_bpp(struct intel_encoder *encoder, struct intel_crtc_state *crtc_state, int max_bpp,
@@ -99,14 +156,26 @@ static int intel_dp_mst_find_vcpi_slots_for_bpp(struct intel_encoder *encoder, crtc_state->lane_count);for (bpp = max_bpp; bpp >= min_bpp; bpp -= step) { +struct intel_link_m_n remote_m_n; +int link_bpp; +drm_dbg_kms (&i915->drm,"Trying bpp %d\n" , bpp); ret =intel_dp_mst_check_constraints (i915, bpp, adjusted_mode, crtc_state, dsc);if (ret)continue ; - crtc_state->pbn =drm_dp_calc_pbn_mode (adjusted_mode->crtc_clock, - bpp <<4 ); + link_bpp = dsc ? bpp : +intel_dp_output_bpp (crtc_state->output_format, bpp); + +intel_dp_mst_compute_m_n (crtc_state, connector, false, dsc, link_bpp, + &crtc_state->dp_m_n); +intel_dp_mst_compute_m_n (crtc_state, connector, true, dsc, link_bpp, + &remote_m_n); + + crtc_state->pbn =DIV_ROUND_UP_ULL (mul_u32_u32 (mst_state->pbn_div *64 , + remote_m_n.data_m), + remote_m_n.data_n); slots = drm_dp_atomic_find_time_slots(state, &intel_dp->mst_mgr, connector->port,
@@ -115,6 +184,8 @@ static int intel_dp_mst_find_vcpi_slots_for_bpp(struct intel_encoder *encoder,return slots;if (slots >=0 ) { +drm_WARN_ON (&i915->drm, slots != remote_m_n.tu); + ret =drm_dp_mst_atomic_check (state);/* * If we got slots >= 0 and we can fit those based on check
@@ -148,10 +219,7 @@ static int intel_dp_mst_compute_link_config(struct intel_encoder *encoder,struct drm_connector_state *conn_state, struct link_config_limits *limits) { - const struct drm_display_mode *adjusted_mode = - &crtc_state->hw.adjusted_mode; int slots = -EINVAL; -int link_bpp;/* * FIXME: allocate the BW according to link_bpp, which in the case of
@@ -166,16 +234,6 @@ static int intel_dp_mst_compute_link_config(struct intel_encoder *encoder,if (slots <0 )return slots; - link_bpp =intel_dp_output_bpp (crtc_state->output_format, crtc_state->pipe_bpp); - -intel_link_compute_m_n (link_bpp, - crtc_state->lane_count, - adjusted_mode->crtc_clock, - crtc_state->port_clock, -intel_dp_bw_fec_overhead (crtc_state), - &crtc_state->dp_m_n); - crtc_state->dp_m_n.tu = slots; -return 0 ; }
@@ -187,8 +245,6 @@ static int intel_dp_dsc_mst_compute_link_config(struct intel_encoder *encoder,struct intel_connector *connector =to_intel_connector (conn_state->connector);struct drm_i915_private *i915 =to_i915 (connector->base.dev); -const struct drm_display_mode *adjusted_mode = - &crtc_state->hw.adjusted_mode;int slots = -EINVAL ;int i, num_bpc;u8 dsc_bpc[3 ] = {};
@@ -263,14 +319,6 @@ static int intel_dp_dsc_mst_compute_link_config(struct intel_encoder *encoder,return slots; } -intel_link_compute_m_n (crtc_state->dsc.compressed_bpp, - crtc_state->lane_count, - adjusted_mode->crtc_clock, - crtc_state->port_clock, -intel_dp_bw_fec_overhead (crtc_state), - &crtc_state->dp_m_n); - crtc_state->dp_m_n.tu = slots; -return 0 ; } static int intel_dp_mst_update_slots(struct intel_encoder *encoder,
@@ -980,6 +1028,7 @@ intel_dp_mst_mode_valid_ctx(struct drm_connector *connector,if (ret)return ret; +/* TODO: also check if compression would allow for the mode */ if (mode_rate > max_rate || mode->clock > max_dotclk ||drm_dp_calc_pbn_mode (mode->clock, min_bpp <<4 ) > port->full_pbn) { *status =MODE_CLOCK_HIGH ;
Signature · 1 line
2.39.2
PATCH 13/29 drm/i915/dp_mst: Add atomic state for all streams on pre-tgl platforms
In reply to Imre DeakIf an MST stream is modeset, its state must be checked along all the other streams on the same MST link, for instance to resolve a BW overallocation of a non-sink MST port or to make sure that the FEC is enabled/disabled the same way for all these streams.
To prepare for that this patch adds all the stream CRTCs to the atomic state and marks them for modeset similarly to tgl+ platforms. (If the state computation doesn't change the state the CRTC is switched back to fastset mode.)
So far on tgl+ this was required because all streams in the topology shared the master transcoder. For older platforms this didn't apply but adding all the state is required now on all platforms based on the above.
v2:
- Add code and commit log comment clarifying the requirements on old/new platforms. (Stan)
- Rename the function based on the new semantic. (Ville)
--- drivers/gpu/drm/i915/display/intel_dp_mst.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-)
drivers/gpu/drm/i915/display/intel_dp_mst.c +10 -6
@@ -533,19 +533,23 @@ static int intel_dp_mst_compute_config_late(struct intel_encoder *encoder,* that shares the same MST stream as mode changed, * intel_modeset_pipe_config()+intel_crtc_check_fastset() will take care to do * a fastset when possible. +* +* On TGL+ this is required since each stream go through a master transcoder, +* so if the master transcoder needs modeset, all other streams in the +* topology need a modeset. All platforms need to add the atomic state +* for all streams in the topology, since a modeset on one may require +* changing the MST link BW usage of the others, which in turn needs a +* recomputation of the corresponding CRTC states. */ static int -intel_dp_mst_atomic_master_trans_check (struct intel_connector *connector, -struct intel_atomic_state *state) +intel_dp_mst_atomic_topology_check (struct intel_connector *connector, +struct intel_atomic_state *state) {struct drm_i915_private *dev_priv =to_i915 (state->base.dev);struct drm_connector_list_iter connector_list_iter;struct intel_connector *connector_iter;int ret =0 ; -if (DISPLAY_VER (dev_priv) <12 ) -return 0 ; -if (!intel_connector_needs_modeset (state, &connector->base))return 0 ;
@@ -599,7 +603,7 @@ intel_dp_mst_atomic_check(struct drm_connector *connector,if (ret)return ret; - ret =intel_dp_mst_atomic_master_trans_check (intel_connector, state); + ret =intel_dp_mst_atomic_topology_check (intel_connector, state);if (ret)return ret;
Signature · 1 line
2.39.2
PATCH 14/29 drm/i915/dp_mst: Program the DSC PPS SDP for each stream
In reply to Imre DeakAtm the DSC PPS SDP is programmed only if the first stream is compressed and then it's programmed only for the first stream. This left all other compressed streams blank. Program the SDP for all streams.
--- drivers/gpu/drm/i915/display/intel_ddi.c | 12 +++++++----- drivers/gpu/drm/i915/display/intel_dp_mst.c | 2 ++ 2 files changed, 9 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/display/intel_ddi.c +7 -5
@@ -2505,7 +2505,8 @@ static void mtl_ddi_pre_enable_dp(struct intel_atomic_state *state,/* 6.o Configure and enable FEC if needed */ intel_ddi_enable_fec (encoder, crtc_state); -intel_dsc_dp_pps_write (encoder, crtc_state); +if (!is_mst) +intel_dsc_dp_pps_write (encoder, crtc_state); } static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state,
@@ -2643,7 +2644,8 @@ static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state,/* 7.l Configure and enable FEC if needed */ intel_ddi_enable_fec (encoder, crtc_state); -intel_dsc_dp_pps_write (encoder, crtc_state); +if (!is_mst) +intel_dsc_dp_pps_write (encoder, crtc_state); } static void hsw_ddi_pre_enable_dp(struct intel_atomic_state *state,
@@ -2705,10 +2707,10 @@ static void hsw_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_ddi_enable_fec (encoder, crtc_state); -if (!is_mst) +if (!is_mst) {intel_ddi_enable_transcoder_clock (encoder, crtc_state); - -intel_dsc_dp_pps_write (encoder, crtc_state); +intel_dsc_dp_pps_write (encoder, crtc_state); + } } static void intel_ddi_pre_enable_dp(struct intel_atomic_state *state,
drivers/gpu/drm/i915/display/intel_dp_mst.c +2 -0
@@ -43,6 +43,7 @@#include "intel_dpio_phy.h" #include "intel_hdcp.h" #include "intel_hotplug.h" +#include "intel_vdsc.h" #include "skl_scaler.h" static int intel_dp_mst_check_constraints(struct drm_i915_private *i915, int bpp,
@@ -834,6 +835,7 @@ static void intel_mst_pre_enable_dp(struct intel_atomic_state *state,if (DISPLAY_VER (dev_priv) <12 || !first_mst_stream)intel_ddi_enable_transcoder_clock (encoder, pipe_config); +intel_dsc_dp_pps_write (&dig_port->base, pipe_config);intel_ddi_set_dp_msa (pipe_config, conn_state); }
Signature · 1 line
2.39.2
PATCH 15/29 drm/i915/dp: Make sure the DSC PPS SDP is disabled whenever DSC is disabled
In reply to Imre DeakAtm the DSC PPS SDP will stay enabled after enabling and disabling DSC. This leaves an output blank after switching off DSC on it. Make sure the SDP is disabled for an uncompressed output.
v2:
- Disable the SDP already during output disabling. (Ville)
--- drivers/gpu/drm/i915/display/intel_dp.c | 5 ++++- drivers/gpu/drm/i915/display/intel_dp_mst.c | 5 ++--- 2 files changed, 6 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/intel_dp.c +4 -1
@@ -4069,7 +4069,10 @@ void intel_dp_set_infoframes(struct intel_encoder *encoder,VIDEO_DIP_ENABLE_SPD_HSW |VIDEO_DIP_ENABLE_DRM_GLK ;u32 val =intel_de_read (dev_priv, reg) & ~dip_enable; -/* TODO: Add DSC case (DIP_ENABLE_PPS) */ +/* TODO: Sanitize DSC enabling wrt. intel_dsc_dp_pps_write(). */ +if (!enable &&HAS_DSC (dev_priv)) + val &= ~VDIP_ENABLE_PPS ; +/* When PSR is enabled, this routine doesn't disable VSC DIP */ if (!crtc_state->has_psr) val &= ~VIDEO_DIP_ENABLE_VSC_HSW ;
drivers/gpu/drm/i915/display/intel_dp_mst.c +2 -3
@@ -721,9 +721,8 @@ static void intel_mst_post_disable_dp(struct intel_atomic_state *state,* BSpec 4287: disable DIP after the transcoder is disabled and before * the transcoder clock select is set to none. */ -if (last_mst_stream) -intel_dp_set_infoframes (&dig_port->base, false, - old_crtc_state,NULL ); +intel_dp_set_infoframes (&dig_port->base, false, + old_crtc_state,NULL );/* * From TGL spec: "If multi-stream slave transcoder: Configure * Transcoder Clock Select to direct no clock to the transcoder"
Signature · 1 line
2.39.2
PATCH 16/29 drm/i915/dp_mst: Add missing DSC compression disabling
In reply to Imre DeakAdd the missing DSC compression disabling step for MST streams, similarly to how this is done for SST outputs.
--- drivers/gpu/drm/i915/display/intel_dp_mst.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/i915/display/intel_dp_mst.c +2 -0
@@ -705,6 +705,8 @@ static void intel_mst_post_disable_dp(struct intel_atomic_state *state,intel_ddi_disable_transcoder_func (old_crtc_state); +intel_dsc_disable (old_crtc_state); +if (DISPLAY_VER (dev_priv) >=9 )skl_scaler_disable (old_crtc_state);else
Signature · 1 line
2.39.2
PATCH 17/29 drm/i915/dp: Rename intel_ddi_disable_fec_state() to intel_ddi_disable_fec()
In reply to Imre DeakRename intel_ddi_disable_fec_state() to intel_ddi_disable_fec(), for symmetry with intel_ddi_enable_fec().
--- drivers/gpu/drm/i915/display/intel_ddi.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/display/intel_ddi.c +4 -5
@@ -2234,8 +2234,8 @@ static void intel_ddi_enable_fec(struct intel_encoder *encoder, 0, DP_TP_CTL_FEC_ENABLE); } -static void intel_ddi_disable_fec_state (struct intel_encoder *encoder, -const struct intel_crtc_state *crtc_state) +static void intel_ddi_disable_fec (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state) {struct drm_i915_private *dev_priv =to_i915 (encoder->base.dev);
@@ -2868,8 +2868,7 @@ static void disable_ddi_buf(struct intel_encoder *encoder,intel_de_rmw (dev_priv,dp_tp_ctl_reg (encoder, crtc_state),DP_TP_CTL_ENABLE ,0 ); -/* Disable FEC in DP Sink */ -intel_ddi_disable_fec_state (encoder, crtc_state); +intel_ddi_disable_fec (encoder, crtc_state);if (wait)intel_wait_ddi_buf_idle (dev_priv, port);
@@ -2884,7 +2883,7 @@ static void intel_disable_ddi_buf(struct intel_encoder *encoder,mtl_disable_ddi_buf (encoder, crtc_state);/* 3.f Disable DP_TP_CTL FEC Enable if it is needed */ -intel_ddi_disable_fec_state (encoder, crtc_state); +intel_ddi_disable_fec (encoder, crtc_state); }else {disable_ddi_buf (encoder, crtc_state); }
Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 17/29] drm/i915/dp: Rename intel_ddi_disable_fec_state() to intel_ddi_disable_fec()
Quoted 4 lines · Imre Deak
Rename
intel_ddi_disable_fec_state()tointel_ddi_disable_fec(), for symmetry withintel_ddi_enable_fec().Signed-off-by Imre Deak <[email protected]>
Quoted 41 lines
--- drivers/gpu/drm/i915/display/intel_ddi.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)drivers/gpu/drm/i915/display/intel_ddi.c +4
-5@@ -2234,8 +2234,8 @@ static void intel_ddi_enable_fec(struct intel_encoder *encoder, 0, DP_TP_CTL_FEC_ENABLE); } -static void intel_ddi_disable_fec_state (struct intel_encoder *encoder, -const struct intel_crtc_state *crtc_state) +static void intel_ddi_disable_fec (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state) {struct drm_i915_private *dev_priv =to_i915 (encoder->base.dev);@@ -2868,8 +2868,7 @@ static void disable_ddi_buf(struct intel_encoder *encoder,intel_de_rmw (dev_priv,dp_tp_ctl_reg (encoder, crtc_state),DP_TP_CTL_ENABLE ,0 ); -/* Disable FEC in DP Sink */ -intel_ddi_disable_fec_state (encoder, crtc_state); +intel_ddi_disable_fec (encoder, crtc_state);if (wait)intel_wait_ddi_buf_idle (dev_priv, port);@@ -2884,7 +2883,7 @@ static void intel_disable_ddi_buf(struct intel_encoder *encoder,mtl_disable_ddi_buf (encoder, crtc_state);/* 3.f Disable DP_TP_CTL FEC Enable if it is needed */ -intel_ddi_disable_fec_state (encoder, crtc_state); +intel_ddi_disable_fec (encoder, crtc_state); }else {disable_ddi_buf (encoder, crtc_state); }Signature · 1 line
2.39.2
PATCH 18/29 drm/i915/dp: Wait for FEC detected status in the sink
In reply to Imre DeakAs required by the DP standard wait for the sink to detect the FEC decode enabling symbol sent by the source.
--- drivers/gpu/drm/i915/display/intel_ddi.c | 73 +++++++++++++++++++++ drivers/gpu/drm/i915/display/intel_ddi.h | 3 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 4 ++ 3 files changed, 80 insertions(+)
drivers/gpu/drm/i915/display/intel_ddi.c +73 -0
@@ -25,6 +25,7 @@* */ +#include <linux/iopoll.h> #include <linux/string_helpers.h> #include <drm/display/drm_scdc_helper.h>
@@ -2220,6 +2221,74 @@ static void intel_dp_sink_set_fec_ready(struct intel_dp *intel_dp,if (drm_dp_dpcd_writeb (&intel_dp->aux,DP_FEC_CONFIGURATION ,DP_FEC_READY ) <=0 )drm_dbg_kms (&i915->drm,"Failed to set FEC_READY in the sink\n" ); + +if (drm_dp_dpcd_writeb (&intel_dp->aux,DP_FEC_STATUS , +DP_FEC_DECODE_EN_DETECTED |DP_FEC_DECODE_DIS_DETECTED ) <=0 ) +drm_dbg_kms (&i915->drm,"Failed to clear FEC detected flags\n" ); +} + +static int read_fec_detected_status (struct drm_dp_aux *aux) +{ +int ret; +u8 status; + + ret =drm_dp_dpcd_readb (aux,DP_FEC_STATUS , &status); +if (ret <0 ) +return ret; + +return status; +} + +static void wait_for_fec_detected (struct drm_dp_aux *aux,bool enabled) +{ +struct drm_i915_private *i915 =to_i915 (aux->drm_dev); +int mask = enabled ?DP_FEC_DECODE_EN_DETECTED :DP_FEC_DECODE_DIS_DETECTED ; +int status; +int err; + + err =readx_poll_timeout (read_fec_detected_status, aux, status, + status & mask || status <0 , +10000 ,200000 ); + +if (!err && status >=0 ) +return ; + +if (err == -ETIMEDOUT ) +drm_err (&i915->drm,"Timeout waiting for FEC %s to get detected\n" , +str_enabled_disabled (enabled)); +else +drm_dbg_kms (&i915->drm,"FEC detected status read error: %d\n" , status); +} + +void intel_ddi_wait_for_fec_status (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state, +bool enabled) +{ +struct drm_i915_private *i915 =to_i915 (crtc_state->uapi.crtc->dev); +struct intel_dp *intel_dp =enc_to_intel_dp (encoder); +int ret; + +if (!crtc_state->fec_enable) +return ; + +if (enabled) + ret =intel_de_wait_for_set (i915,dp_tp_status_reg (encoder, crtc_state), +DP_TP_STATUS_FEC_ENABLE_LIVE ,1 ); +else + ret =intel_de_wait_for_clear (i915,dp_tp_status_reg (encoder, crtc_state), +DP_TP_STATUS_FEC_ENABLE_LIVE ,1 ); + +if (ret) +drm_err (&i915->drm, +"Timeout waiting for FEC live state to get %s\n" , +str_enabled_disabled (enabled)); + +/* +* At least the Synoptics MST hub doesn't set the detected flag for +* FEC decoding disabling so skip waiting for that. +*/ +if (enabled) +wait_for_fec_detected (&intel_dp->aux, enabled); } static void intel_ddi_enable_fec(struct intel_encoder *encoder,
@@ -2887,6 +2956,8 @@ static void intel_disable_ddi_buf(struct intel_encoder *encoder, }else {disable_ddi_buf (encoder, crtc_state); } + +intel_ddi_wait_for_fec_status (encoder, crtc_state, false); } static void intel_ddi_post_disable_dp(struct intel_atomic_state *state,
@@ -3248,6 +3319,8 @@ static void intel_enable_ddi(struct intel_atomic_state *state,if (!intel_crtc_is_bigjoiner_slave (crtc_state))intel_ddi_enable_transcoder_func (encoder, crtc_state); +intel_ddi_wait_for_fec_status (encoder, crtc_state, true); +/* Enable/Disable DP2.0 SDP split config before transcoder */ intel_audio_sdp_split_update (crtc_state);
drivers/gpu/drm/i915/display/intel_ddi.h +3 -0
@@ -60,6 +60,9 @@ void intel_ddi_disable_transcoder_func(const struct intel_crtc_state *crtc_statevoid intel_ddi_enable_transcoder_clock (struct intel_encoder *encoder,const struct intel_crtc_state *crtc_state);void intel_ddi_disable_transcoder_clock (const struct intel_crtc_state *crtc_state); +void intel_ddi_wait_for_fec_status (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state, +bool enabled);void intel_ddi_set_dp_msa (const struct intel_crtc_state *crtc_state,const struct drm_connector_state *conn_state);bool intel_ddi_connector_get_hw_state (struct intel_connector *intel_connector);
drivers/gpu/drm/i915/display/intel_dp_mst.c +4 -0
@@ -853,6 +853,7 @@ static void intel_mst_enable_dp(struct intel_atomic_state *state,struct drm_dp_mst_topology_state *mst_state =drm_atomic_get_new_mst_topology_state (&state->base, &intel_dp->mst_mgr);enum transcoder trans = pipe_config->cpu_transcoder; +bool first_mst_stream = intel_dp->active_mst_links ==1 ;drm_WARN_ON (&dev_priv->drm, pipe_config->has_pch_encoder);
@@ -879,6 +880,9 @@ static void intel_mst_enable_dp(struct intel_atomic_state *state,wait_for_act_sent (encoder, pipe_config); +if (first_mst_stream) +intel_ddi_wait_for_fec_status (encoder, pipe_config, true); +drm_dp_add_payload_part2 (&intel_dp->mst_mgr, &state->base,drm_atomic_get_mst_payload_state (mst_state, connector->port));
Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 18/29] drm/i915/dp: Wait for FEC detected status in the sink
Quoted 4 lines · Imre Deak
As required by the DP standard wait for the sink to detect the FEC decode enabling symbol sent by the source.
Signed-off-by Imre Deak <[email protected]>
Quoted 150 lines
--- drivers/gpu/drm/i915/display/intel_ddi.c | 73 +++++++++++++++++++++ drivers/gpu/drm/i915/display/intel_ddi.h | 3 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 4 ++ 3 files changed, 80 insertions(+)drivers/gpu/drm/i915/display/intel_ddi.c +73
-0@@ -25,6 +25,7 @@* */ +#include <linux/iopoll.h> #include <linux/string_helpers.h> #include <drm/display/drm_scdc_helper.h> @@ -2220,6 +2221,74 @@ static void intel_dp_sink_set_fec_ready(struct intel_dp *intel_dp,if (drm_dp_dpcd_writeb (&intel_dp->aux,DP_FEC_CONFIGURATION ,DP_FEC_READY ) <=0 )drm_dbg_kms (&i915->drm,"Failed to set FEC_READY in the sink\n" ); + +if (drm_dp_dpcd_writeb (&intel_dp->aux,DP_FEC_STATUS , +DP_FEC_DECODE_EN_DETECTED |DP_FEC_DECODE_DIS_DETECTED ) <=0 ) +drm_dbg_kms (&i915->drm,"Failed to clear FEC detected flags\n" ); +} + +static int read_fec_detected_status (struct drm_dp_aux *aux) +{ +int ret; +u8 status; + + ret =drm_dp_dpcd_readb (aux,DP_FEC_STATUS , &status); +if (ret <0 ) +return ret; + +return status; +} + +static void wait_for_fec_detected (struct drm_dp_aux *aux,bool enabled) +{ +struct drm_i915_private *i915 =to_i915 (aux->drm_dev); +int mask = enabled ?DP_FEC_DECODE_EN_DETECTED :DP_FEC_DECODE_DIS_DETECTED ; +int status; +int err; + + err =readx_poll_timeout (read_fec_detected_status, aux, status, + status & mask || status <0 , +10000 ,200000 ); + +if (!err && status >=0 ) +return ; + +if (err == -ETIMEDOUT ) +drm_err (&i915->drm,"Timeout waiting for FEC %s to get detected\n" , +str_enabled_disabled (enabled)); +else +drm_dbg_kms (&i915->drm,"FEC detected status read error: %d\n" , status); +} + +void intel_ddi_wait_for_fec_status (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state, +bool enabled) +{ +struct drm_i915_private *i915 =to_i915 (crtc_state->uapi.crtc->dev); +struct intel_dp *intel_dp =enc_to_intel_dp (encoder); +int ret; + +if (!crtc_state->fec_enable) +return ; + +if (enabled) + ret =intel_de_wait_for_set (i915,dp_tp_status_reg (encoder, crtc_state), +DP_TP_STATUS_FEC_ENABLE_LIVE ,1 ); +else + ret =intel_de_wait_for_clear (i915,dp_tp_status_reg (encoder, crtc_state), +DP_TP_STATUS_FEC_ENABLE_LIVE ,1 ); + +if (ret) +drm_err (&i915->drm, +"Timeout waiting for FEC live state to get %s\n" , +str_enabled_disabled (enabled)); + +/* +* At least the Synoptics MST hub doesn't set the detected flag for +* FEC decoding disabling so skip waiting for that. +*/ +if (enabled) +wait_for_fec_detected (&intel_dp->aux, enabled); } static void intel_ddi_enable_fec(struct intel_encoder *encoder,@@ -2887,6 +2956,8 @@ static void intel_disable_ddi_buf(struct intel_encoder *encoder, }else {disable_ddi_buf (encoder, crtc_state); } + +intel_ddi_wait_for_fec_status (encoder, crtc_state, false); } static void intel_ddi_post_disable_dp(struct intel_atomic_state *state,@@ -3248,6 +3319,8 @@ static void intel_enable_ddi(struct intel_atomic_state *state,if (!intel_crtc_is_bigjoiner_slave (crtc_state))intel_ddi_enable_transcoder_func (encoder, crtc_state); +intel_ddi_wait_for_fec_status (encoder, crtc_state, true); +/* Enable/Disable DP2.0 SDP split config before transcoder */ intel_audio_sdp_split_update (crtc_state);drivers/gpu/drm/i915/display/intel_ddi.h +3
-0@@ -60,6 +60,9 @@ void intel_ddi_disable_transcoder_func(const struct intel_crtc_state *crtc_statevoid intel_ddi_enable_transcoder_clock (struct intel_encoder *encoder,const struct intel_crtc_state *crtc_state);void intel_ddi_disable_transcoder_clock (const struct intel_crtc_state *crtc_state); +void intel_ddi_wait_for_fec_status (struct intel_encoder *encoder, +const struct intel_crtc_state *crtc_state, +bool enabled);void intel_ddi_set_dp_msa (const struct intel_crtc_state *crtc_state,const struct drm_connector_state *conn_state);bool intel_ddi_connector_get_hw_state (struct intel_connector *intel_connector);drivers/gpu/drm/i915/display/intel_dp_mst.c +4
-0@@ -853,6 +853,7 @@ static void intel_mst_enable_dp(struct intel_atomic_state *state,struct drm_dp_mst_topology_state *mst_state =drm_atomic_get_new_mst_topology_state (&state->base, &intel_dp->mst_mgr);enum transcoder trans = pipe_config->cpu_transcoder; +bool first_mst_stream = intel_dp->active_mst_links ==1 ;drm_WARN_ON (&dev_priv->drm, pipe_config->has_pch_encoder);@@ -879,6 +880,9 @@ static void intel_mst_enable_dp(struct intel_atomic_state *state,wait_for_act_sent (encoder, pipe_config); +if (first_mst_stream) +intel_ddi_wait_for_fec_status (encoder, pipe_config, true); +drm_dp_add_payload_part2 (&intel_dp->mst_mgr, &state->base,drm_atomic_get_mst_payload_state (mst_state, connector->port));Signature · 1 line
2.39.2
PATCH 19/29 drm/i915/dp: Disable FEC ready flag in the sink
In reply to Imre DeakDisable the FEC ready flag in the sink during a disabling modeset.
--- drivers/gpu/drm/i915/display/intel_ddi.c | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/display/intel_ddi.c +13 -8
@@ -2211,18 +2211,21 @@ static void intel_dp_sink_set_msa_timing_par_ignore_state(struct intel_dp *intel }static void intel_dp_sink_set_fec_ready (struct intel_dp *intel_dp, -const struct intel_crtc_state *crtc_state) +const struct intel_crtc_state *crtc_state, +bool enable) {struct drm_i915_private *i915 =dp_to_i915 (intel_dp);if (!crtc_state->fec_enable)return ; -if (drm_dp_dpcd_writeb (&intel_dp->aux,DP_FEC_CONFIGURATION ,DP_FEC_READY ) <=0 ) -drm_dbg_kms (&i915->drm, -"Failed to set FEC_READY in the sink\n" ); +if (drm_dp_dpcd_writeb (&intel_dp->aux,DP_FEC_CONFIGURATION , + enable ?DP_FEC_READY :0 ) <=0 ) +drm_dbg_kms (&i915->drm,"Failed to set FEC_READY to %s in the sink\n" , + enable ?"enabled" :"disabled" ); -if (drm_dp_dpcd_writeb (&intel_dp->aux,DP_FEC_STATUS , +if (enable && +drm_dp_dpcd_writeb (&intel_dp->aux,DP_FEC_STATUS ,DP_FEC_DECODE_EN_DETECTED |DP_FEC_DECODE_DIS_DETECTED ) <=0 )drm_dbg_kms (&i915->drm,"Failed to clear FEC detected flags\n" ); }
@@ -2541,7 +2544,7 @@ static void mtl_ddi_pre_enable_dp(struct intel_atomic_state *state,* in the FEC_CONFIGURATION register to 1 before initiating link * training */ -intel_dp_sink_set_fec_ready (intel_dp, crtc_state); +intel_dp_sink_set_fec_ready (intel_dp, crtc_state, true);intel_dp_check_frl_training (intel_dp);intel_dp_pcon_dsc_configure (intel_dp, crtc_state);
@@ -2692,7 +2695,7 @@ static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state,* in the FEC_CONFIGURATION register to 1 before initiating link * training */ -intel_dp_sink_set_fec_ready (intel_dp, crtc_state); +intel_dp_sink_set_fec_ready (intel_dp, crtc_state, true);intel_dp_check_frl_training (intel_dp);intel_dp_pcon_dsc_configure (intel_dp, crtc_state);
@@ -2768,7 +2771,7 @@ static void hsw_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_configure_protocol_converter (intel_dp, crtc_state);intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); -intel_dp_sink_set_fec_ready (intel_dp, crtc_state); +intel_dp_sink_set_fec_ready (intel_dp, crtc_state, true);intel_dp_start_link_train (intel_dp, crtc_state);if ((port !=PORT_A ||DISPLAY_VER (dev_priv) >=9 ) && !is_trans_port_sync_mode (crtc_state))
@@ -2997,6 +3000,8 @@ static void intel_ddi_post_disable_dp(struct intel_atomic_state *state,intel_disable_ddi_buf (encoder, old_crtc_state); +intel_dp_sink_set_fec_ready (intel_dp, old_crtc_state, false); +/* * From TGL spec: "If single stream or multi-stream master transcoder: * Configure Transcoder Clock select to direct no clock to the
Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 19/29] drm/i915/dp: Disable FEC ready flag in the sink
Quoted 3 lines · Imre Deak
Disable the FEC ready flag in the sink during a disabling modeset.
Signed-off-by Imre Deak <[email protected]>
Quoted 74 lines
--- drivers/gpu/drm/i915/display/intel_ddi.c | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-)drivers/gpu/drm/i915/display/intel_ddi.c +13
-8@@ -2211,18 +2211,21 @@ static void intel_dp_sink_set_msa_timing_par_ignore_state(struct intel_dp *intel }static void intel_dp_sink_set_fec_ready (struct intel_dp *intel_dp, -const struct intel_crtc_state *crtc_state) +const struct intel_crtc_state *crtc_state, +bool enable) {struct drm_i915_private *i915 =dp_to_i915 (intel_dp);if (!crtc_state->fec_enable)return ; -if (drm_dp_dpcd_writeb (&intel_dp->aux,DP_FEC_CONFIGURATION ,DP_FEC_READY ) <=0 ) -drm_dbg_kms (&i915->drm, -"Failed to set FEC_READY in the sink\n" ); +if (drm_dp_dpcd_writeb (&intel_dp->aux,DP_FEC_CONFIGURATION , + enable ?DP_FEC_READY :0 ) <=0 ) +drm_dbg_kms (&i915->drm,"Failed to set FEC_READY to %s in the sink\n" , + enable ?"enabled" :"disabled" ); -if (drm_dp_dpcd_writeb (&intel_dp->aux,DP_FEC_STATUS , +if (enable && +drm_dp_dpcd_writeb (&intel_dp->aux,DP_FEC_STATUS ,DP_FEC_DECODE_EN_DETECTED |DP_FEC_DECODE_DIS_DETECTED ) <=0 )drm_dbg_kms (&i915->drm,"Failed to clear FEC detected flags\n" ); }@@ -2541,7 +2544,7 @@ static void mtl_ddi_pre_enable_dp(struct intel_atomic_state *state,* in the FEC_CONFIGURATION register to 1 before initiating link * training */ -intel_dp_sink_set_fec_ready (intel_dp, crtc_state); +intel_dp_sink_set_fec_ready (intel_dp, crtc_state, true);intel_dp_check_frl_training (intel_dp);intel_dp_pcon_dsc_configure (intel_dp, crtc_state);@@ -2692,7 +2695,7 @@ static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state,* in the FEC_CONFIGURATION register to 1 before initiating link * training */ -intel_dp_sink_set_fec_ready (intel_dp, crtc_state); +intel_dp_sink_set_fec_ready (intel_dp, crtc_state, true);intel_dp_check_frl_training (intel_dp);intel_dp_pcon_dsc_configure (intel_dp, crtc_state);@@ -2768,7 +2771,7 @@ static void hsw_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_configure_protocol_converter (intel_dp, crtc_state);intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); -intel_dp_sink_set_fec_ready (intel_dp, crtc_state); +intel_dp_sink_set_fec_ready (intel_dp, crtc_state, true);intel_dp_start_link_train (intel_dp, crtc_state);if ((port !=PORT_A ||DISPLAY_VER (dev_priv) >=9 ) && !is_trans_port_sync_mode (crtc_state))@@ -2997,6 +3000,8 @@ static void intel_ddi_post_disable_dp(struct intel_atomic_state *state,intel_disable_ddi_buf (encoder, old_crtc_state); +intel_dp_sink_set_fec_ready (intel_dp, old_crtc_state, false); +/* * From TGL spec: "If single stream or multi-stream master transcoder: * Configure Transcoder Clock select to direct no clock to the Signature · 1 line
2.39.2
PATCH 20/29 drm/i915/dp_mst: Handle the Synaptics HBlank expansion quirk
In reply to Imre DeakThe Synaptics MST hubs expose some sink EDID modes with a reduced HBLANK period, presumedly to save BW, which the hub expands before forwarding the stream to the sink. In particular a 4k mode with a standard CVT HBLANK period is exposed with either a CVT reduced blank RBv1 (80 pixel) or a non-CVT 56 pixel HBLANK period. The DP standard describes the above HBLANK expansion functionality, but it requires enabling this explicitly, whereas these hubs apply the expansion transparently.
Such modes will work okay until DSC decompression is enabled in the hub for the given sink, but after this the same mode will not work reliably in decompressed mode. As a workaround force enable DSC for such modes. OTOH DSC for these modes will only work above a certain compressed bpp threshold which depends on the link rate, so apply this limit as well in the workaround.
Apply the workaround only for Synaptics hubs which support the HBLANK expansion.
--- .../drm/i915/display/intel_display_types.h | 2 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 109 +++++++++++++++++- 2 files changed, 107 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/intel_display_types.h +2 -0
@@ -624,6 +624,8 @@ struct intel_connector {struct drm_dp_aux *dsc_decompression_aux;u8 dsc_dpcd[DP_DSC_RECEIVER_CAP_SIZE ];u8 fec_capability; + + u8 dsc_hblank_expansion_quirk:1; } dp;/* Work struct to schedule a uevent on link train failure */
drivers/gpu/drm/i915/display/intel_dp_mst.c +105 -4
147 lines not on this page · raw message
Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 20/29] drm/i915/dp_mst: Handle the Synaptics HBlank expansion quirk
Quoted 15 lines · Imre Deak
The Synaptics MST hubs expose some sink EDID modes with a reduced HBLANK period, presumedly to save BW, which the hub expands before forwarding the stream to the sink. In particular a 4k mode with a standard CVT HBLANK period is exposed with either a CVT reduced blank RBv1 (80 pixel) or a non-CVT 56 pixel HBLANK period. The DP standard describes the above HBLANK expansion functionality, but it requires enabling this explicitly, whereas these hubs apply the expansion transparently.
Such modes will work okay until DSC decompression is enabled in the hub for the given sink, but after this the same mode will not work reliably in decompressed mode. As a workaround force enable DSC for such modes. OTOH DSC for these modes will only work above a certain compressed bpp threshold which depends on the link rate, so apply this limit as well in the workaround.
Quoted 4 lines
Apply the workaround only for Synaptics hubs which support the HBLANK expansion.
Signed-off-by Imre Deak <[email protected]>
Quoted 178 lines
--- .../drm/i915/display/intel_display_types.h | 2 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 109 +++++++++++++++++- 2 files changed, 107 insertions(+), 4 deletions(-)drivers/gpu/drm/i915/display/intel_display_types.h +2
-0@@ -624,6 +624,8 @@ struct intel_connector {struct drm_dp_aux *dsc_decompression_aux;u8 dsc_dpcd[DP_DSC_RECEIVER_CAP_SIZE ];u8 fec_capability; + + u8 dsc_hblank_expansion_quirk:1; } dp;/* Work struct to schedule a uevent on link train failure */ drivers/gpu/drm/i915/display/intel_dp_mst.c +105
-4@@ -345,8 +345,69 @@ static int intel_dp_mst_update_slots(struct intel_encoder *encoder,return 0 ; } +static bool +hblank_expansion_quirk_needs_dsc (const struct intel_connector *connector, +const struct intel_crtc_state *crtc_state) +{ +const struct drm_display_mode *adjusted_mode = + &crtc_state->hw.adjusted_mode; + +if (!connector->dp.dsc_hblank_expansion_quirk) +return false; + +if (adjusted_mode->htotal - adjusted_mode->hdisplay >80 ) +return false; + +return true; +} + +static bool +adjust_limits_for_dsc_hblank_expansion_quirk (const struct intel_connector *connector, +const struct intel_crtc_state *crtc_state, +struct link_config_limits *limits, +bool dsc) +{ +struct drm_i915_private *i915 =to_i915 (connector->base.dev); +const struct intel_crtc *crtc =to_intel_crtc (crtc_state->uapi.crtc); +int min_bpp_x16 = limits->link.min_bpp_x16; + +if (!hblank_expansion_quirk_needs_dsc (connector, crtc_state)) +return true; + +if (!dsc) { +drm_dbg_kms (&i915->drm, +"[CRTC:%d:%s][CONNECTOR:%d:%s] DSC required by hblank expansion quirk\n" , + crtc->base.base.id, crtc->base.name, + connector->base.base.id, connector->base.name); +return false; + } + +drm_WARN_ON (&i915->drm, limits->min_rate != limits->max_rate); + +if (limits->max_rate <540000 ) + min_bpp_x16 =to_bpp_x16 (13 ); +else if (limits->max_rate <810000 ) + min_bpp_x16 =to_bpp_x16 (10 ); + +if (limits->link.min_bpp_x16 < min_bpp_x16) { +drm_dbg_kms (&i915->drm, +"[CRTC:%d:%s][CONNECTOR:%d:%s] Increasing link min bpp to " BPP_X16_FMT " due to hblank expansion quirk\n" , + crtc->base.base.id, crtc->base.name, + connector->base.base.id, connector->base.name, +BPP_X16_ARGS (min_bpp_x16)); + +if (limits->link.max_bpp_x16 < min_bpp_x16) +return false; + + limits->link.min_bpp_x16 = min_bpp_x16; + } + +return true; +} +static bool intel_dp_mst_compute_config_limits (struct intel_dp *intel_dp, +const struct intel_connector *connector,struct intel_crtc_state *crtc_state,bool dsc,struct link_config_limits *limits)@@ -374,10 +435,16 @@ intel_dp_mst_compute_config_limits(struct intel_dp *intel_dp,intel_dp_adjust_compliance_config (intel_dp, crtc_state, limits); -return intel_dp_compute_config_link_bpp_limits (intel_dp, - crtc_state, - dsc, - limits); +if (!intel_dp_compute_config_link_bpp_limits (intel_dp, + crtc_state, + dsc, + limits)) +return false; + +return adjust_limits_for_dsc_hblank_expansion_quirk (connector, + crtc_state, + limits, + dsc); } static int intel_dp_mst_compute_config(struct intel_encoder *encoder,@@ -404,6 +471,7 @@ static int intel_dp_mst_compute_config(struct intel_encoder *encoder, dsc_needed = intel_dp->force_dsc_en || !intel_dp_mst_compute_config_limits (intel_dp, + connector, pipe_config, false, &limits);@@ -426,6 +494,7 @@ static int intel_dp_mst_compute_config(struct intel_encoder *encoder, str_yes_no(intel_dp->force_dsc_en));if (!intel_dp_mst_compute_config_limits (intel_dp, + connector, pipe_config, true, &limits))@@ -1205,6 +1274,36 @@ intel_dp_mst_read_decompression_port_dsc_caps(struct intel_dp *intel_dp,intel_dp_get_dsc_sink_cap (dpcd_caps[DP_DPCD_REV ], connector); } +static bool detect_dsc_hblank_expansion_quirk (const struct intel_connector *connector) +{ +struct drm_i915_private *i915 =to_i915 (connector->base.dev); +struct drm_dp_desc desc; +u8 dpcd[DP_RECEIVER_CAP_SIZE ]; + +if (!connector->dp.dsc_decompression_aux) +return false; + +if (drm_dp_read_desc (connector->dp.dsc_decompression_aux, + &desc, true) <0 ) +return false; + +if (!drm_dp_has_quirk (&desc, +DP_DPCD_QUIRK_HBLANK_EXPANSION_REQUIRES_DSC )) +return false; + +if (drm_dp_read_dpcd_caps (connector->dp.dsc_decompression_aux, dpcd) <0 ) +return false; + +if (!(dpcd[DP_RECEIVE_PORT_0_CAP_0 ] &DP_HBLANK_EXPANSION_CAPABLE )) +return false; + +drm_dbg_kms (&i915->drm, +"[CONNECTOR:%d:%s] DSC HBLANK expansion quirk detected\n" , + connector->base.base.id, connector->base.name); + +return true; +} +static struct drm_connector *intel_dp_add_mst_connector (struct drm_dp_mst_topology_mgr *mgr,struct drm_dp_mst_port *port,const char *pathprop)@@ -1245,6 +1344,8 @@ static struct drm_connector *intel_dp_add_mst_connector(struct drm_dp_mst_topolo*/ intel_connector->dp.dsc_decompression_aux = &intel_dp->aux;intel_dp_mst_read_decompression_port_dsc_caps (intel_dp, intel_connector); + intel_connector->dp.dsc_hblank_expansion_quirk = +detect_dsc_hblank_expansion_quirk (intel_connector);for_each_pipe (dev_priv, pipe) { struct drm_encoder *enc =Signature · 1 line
2.39.2
PATCH 21/29 drm/i915/dp_mst: Enable decompression in the sink from the MST encoder hooks
In reply to Imre DeakEnable/disable the DSC decompression in the sink/branch from the MST encoder hooks. This prepares for an upcoming patch toggling DSC for each stream as needed, but for now keeps the current behavior, as DSC is only enabled for the first MST stream.
--- drivers/gpu/drm/i915/display/intel_ddi.c | 12 ++++++++---- drivers/gpu/drm/i915/display/intel_dp_mst.c | 15 ++++++++++++++- 2 files changed, 22 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/display/intel_ddi.c +8 -4
@@ -2538,7 +2538,9 @@ static void mtl_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_set_power (intel_dp,DP_SET_POWER_D0 );intel_dp_configure_protocol_converter (intel_dp, crtc_state); -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); +if (!is_mst) +intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); +/* * DDI FEC: "anticipates enabling FEC encoding sets the FEC_READY bit * in the FEC_CONFIGURATION register to 1 before initiating link
@@ -2689,7 +2691,8 @@ static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_set_power (intel_dp,DP_SET_POWER_D0 );intel_dp_configure_protocol_converter (intel_dp, crtc_state); -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); +if (!is_mst) +intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true);/* * DDI FEC: "anticipates enabling FEC encoding sets the FEC_READY bit * in the FEC_CONFIGURATION register to 1 before initiating link
@@ -2769,8 +2772,9 @@ static void hsw_ddi_pre_enable_dp(struct intel_atomic_state *state,if (!is_mst)intel_dp_set_power (intel_dp,DP_SET_POWER_D0 );intel_dp_configure_protocol_converter (intel_dp, crtc_state); -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, - true); +if (!is_mst) +intel_dp_sink_set_decompression_state (intel_dp, crtc_state, + true);intel_dp_sink_set_fec_ready (intel_dp, crtc_state, true);intel_dp_start_link_train (intel_dp, crtc_state); if ((port != PORT_A || DISPLAY_VER(dev_priv) >= 9) &&
drivers/gpu/drm/i915/display/intel_dp_mst.c +14 -1
@@ -729,6 +729,13 @@ static void intel_mst_disable_dp(struct intel_atomic_state *state,drm_dp_remove_payload_part1 (&intel_dp->mst_mgr, new_mst_state, new_payload);intel_audio_codec_disable (encoder, old_crtc_state, old_conn_state); + +if (intel_dp->active_mst_links ==1 )/* last stream ? */ +/* +* TODO: disable decompression for all streams/in any MST ports, not +* only in the first downstream branch device. +*/ +intel_dp_sink_set_decompression_state (intel_dp, old_crtc_state, false); } static void intel_mst_post_disable_dp(struct intel_atomic_state *state,
@@ -883,9 +890,15 @@ static void intel_mst_pre_enable_dp(struct intel_atomic_state *state,drm_dp_send_power_updown_phy (&intel_dp->mst_mgr, connector->port, true); -if (first_mst_stream) +if (first_mst_stream) { +/* +* TODO: enable decompression for all streams/in any MST ports, not +* only in the first downstream branch device. +*/ +intel_dp_sink_set_decompression_state (intel_dp, pipe_config, true); dig_port->base.pre_enable (state, &dig_port->base, pipe_config,NULL ); + } intel_dp->active_mst_links++;
Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 21/29] drm/i915/dp_mst: Enable decompression in the sink from the MST encoder hooks
Quoted 4 lines · Imre Deak
Enable/disable the DSC decompression in the sink/branch from the MST encoder hooks. This prepares for an upcoming patch toggling DSC for each stream as needed, but for now keeps the current behavior, as DSC is only enabled for the first MST stream.
Quoted 82 lines
Signed-off-by Imre Deak <[email protected]>--- drivers/gpu/drm/i915/display/intel_ddi.c | 12 ++++++++---- drivers/gpu/drm/i915/display/intel_dp_mst.c | 15 ++++++++++++++- 2 files changed, 22 insertions(+), 5 deletions(-)drivers/gpu/drm/i915/display/intel_ddi.c +8
-4@@ -2538,7 +2538,9 @@ static void mtl_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_set_power (intel_dp,DP_SET_POWER_D0 );intel_dp_configure_protocol_converter (intel_dp, crtc_state); -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); +if (!is_mst) +intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); +/* * DDI FEC: "anticipates enabling FEC encoding sets the FEC_READY bit * in the FEC_CONFIGURATION register to 1 before initiating link @@ -2689,7 +2691,8 @@ static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_set_power (intel_dp,DP_SET_POWER_D0 );intel_dp_configure_protocol_converter (intel_dp, crtc_state); -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); +if (!is_mst) +intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true);/* * DDI FEC: "anticipates enabling FEC encoding sets the FEC_READY bit * in the FEC_CONFIGURATION register to 1 before initiating link @@ -2769,8 +2772,9 @@ static void hsw_ddi_pre_enable_dp(struct intel_atomic_state *state,if (!is_mst)intel_dp_set_power (intel_dp,DP_SET_POWER_D0 );intel_dp_configure_protocol_converter (intel_dp, crtc_state); -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, - true); +if (!is_mst) +intel_dp_sink_set_decompression_state (intel_dp, crtc_state, + true);intel_dp_sink_set_fec_ready (intel_dp, crtc_state, true);intel_dp_start_link_train (intel_dp, crtc_state); if ((port != PORT_A || DISPLAY_VER(dev_priv) >= 9) &&drivers/gpu/drm/i915/display/intel_dp_mst.c +14
-1@@ -729,6 +729,13 @@ static void intel_mst_disable_dp(struct intel_atomic_state *state,drm_dp_remove_payload_part1 (&intel_dp->mst_mgr, new_mst_state, new_payload);intel_audio_codec_disable (encoder, old_crtc_state, old_conn_state); + +if (intel_dp->active_mst_links ==1 )/* last stream ? */ +/* +* TODO: disable decompression for all streams/in any MST ports, not +* only in the first downstream branch device. +*/ +intel_dp_sink_set_decompression_state (intel_dp, old_crtc_state, false); } static void intel_mst_post_disable_dp(struct intel_atomic_state *state,@@ -883,9 +890,15 @@ static void intel_mst_pre_enable_dp(struct intel_atomic_state *state,drm_dp_send_power_updown_phy (&intel_dp->mst_mgr, connector->port, true); -if (first_mst_stream) +if (first_mst_stream) { +/* +* TODO: enable decompression for all streams/in any MST ports, not +* only in the first downstream branch device. +*/ +intel_dp_sink_set_decompression_state (intel_dp, pipe_config, true); dig_port->base.pre_enable (state, &dig_port->base, pipe_config,NULL ); + } intel_dp->active_mst_links++;Signature · 1 line
2.39.2
PATCH 22/29 drm/i915/dp: Enable DSC via the connector decompression AUX
In reply to Imre DeakEnable DSC using the DSC AUX device stored for this purpose in the connector. This prepares for a follow-up patch which toggles DSC for each stream as needed, but for now keeps the current behavior, as DSC is still only enabled for the first MST stream.
--- drivers/gpu/drm/i915/display/intel_ddi.c | 14 +++++++---- drivers/gpu/drm/i915/display/intel_dp.c | 28 ++++++++++++++------- drivers/gpu/drm/i915/display/intel_dp.h | 2 +- drivers/gpu/drm/i915/display/intel_dp_mst.c | 4 +-- 4 files changed, 31 insertions(+), 17 deletions(-)
drivers/gpu/drm/i915/display/intel_ddi.c +9 -5
@@ -2539,7 +2539,8 @@ static void mtl_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_configure_protocol_converter (intel_dp, crtc_state);if (!is_mst) -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); +intel_dp_sink_set_decompression_state (to_intel_connector (conn_state->connector), + crtc_state, true);/* * DDI FEC: "anticipates enabling FEC encoding sets the FEC_READY bit
@@ -2692,7 +2693,8 @@ static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_configure_protocol_converter (intel_dp, crtc_state);if (!is_mst) -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); +intel_dp_sink_set_decompression_state (to_intel_connector (conn_state->connector), + crtc_state, true);/* * DDI FEC: "anticipates enabling FEC encoding sets the FEC_READY bit * in the FEC_CONFIGURATION register to 1 before initiating link
@@ -2773,8 +2775,8 @@ static void hsw_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_set_power (intel_dp,DP_SET_POWER_D0 );intel_dp_configure_protocol_converter (intel_dp, crtc_state);if (!is_mst) -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, - true); +intel_dp_sink_set_decompression_state (to_intel_connector (conn_state->connector), + crtc_state, true);intel_dp_sink_set_fec_ready (intel_dp, crtc_state, true);intel_dp_start_link_train (intel_dp, crtc_state); if ((port != PORT_A || DISPLAY_VER(dev_priv) >= 9) &&
@@ -3354,6 +3356,8 @@ static void intel_disable_ddi_dp(struct intel_atomic_state *state, const struct drm_connector_state *old_conn_state) {struct intel_dp *intel_dp =enc_to_intel_dp (encoder); +struct intel_connector *connector = +to_intel_connector (old_conn_state->connector); intel_dp->link_trained = false;
@@ -3362,7 +3366,7 @@ static void intel_disable_ddi_dp(struct intel_atomic_state *state,intel_psr_disable (intel_dp, old_crtc_state);intel_edp_backlight_off (old_conn_state);/* Disable the decompression in DP Sink */ -intel_dp_sink_set_decompression_state (intel_dp, old_crtc_state, +intel_dp_sink_set_decompression_state (connector, old_crtc_state, false);/* Disable Ignore_MSA bit in DP Sink */ intel_dp_sink_set_msa_timing_par_ignore_state(intel_dp, old_crtc_state,
drivers/gpu/drm/i915/display/intel_dp.c +19 -9
@@ -2937,22 +2937,32 @@ static bool downstream_hpd_needs_d0(struct intel_dp *intel_dp) intel_dp->downstream_ports[0 ] &DP_DS_PORT_HPD ; } -void intel_dp_sink_set_decompression_state (struct intel_dp *intel_dp, +static void +intel_dp_sink_set_dsc_decompression (struct intel_connector *connector, +bool enable) +{ +struct drm_i915_private *i915 =to_i915 (connector->base.dev); + +if (drm_dp_dpcd_writeb (connector->dp.dsc_decompression_aux,DP_DSC_ENABLE , + enable ?DP_DECOMPRESSION_EN :0 ) <0 ) +drm_dbg_kms (&i915->drm, +"Failed to %s sink decompression state\n" , +str_enable_disable (enable)); +} + +void intel_dp_sink_set_decompression_state (struct intel_connector *connector,const struct intel_crtc_state *crtc_state,bool enable) { -struct drm_i915_private *i915 =dp_to_i915 (intel_dp); -int ret; +struct drm_i915_private *i915 =to_i915 (connector->base.dev);if (!crtc_state->dsc.compression_enable)return ; - ret =drm_dp_dpcd_writeb (&intel_dp->aux,DP_DSC_ENABLE , - enable ?DP_DECOMPRESSION_EN :0 ); -if (ret <0 ) -drm_dbg_kms (&i915->drm, -"Failed to %s sink decompression state\n" , -str_enable_disable (enable)); +if (drm_WARN_ON (&i915->drm, !connector->dp.dsc_decompression_aux)) +return ; + +intel_dp_sink_set_dsc_decompression (connector, enable); } static void
drivers/gpu/drm/i915/display/intel_dp.h +1 -1
@@ -57,7 +57,7 @@ int intel_dp_retrain_link(struct intel_encoder *encoder,void intel_dp_set_power (struct intel_dp *intel_dp,u8 mode);void intel_dp_configure_protocol_converter (struct intel_dp *intel_dp,const struct intel_crtc_state *crtc_state); -void intel_dp_sink_set_decompression_state (struct intel_dp *intel_dp, +void intel_dp_sink_set_decompression_state (struct intel_connector *connector,const struct intel_crtc_state *crtc_state,bool enable);void intel_dp_encoder_suspend (struct intel_encoder *intel_encoder);
drivers/gpu/drm/i915/display/intel_dp_mst.c +2 -2
@@ -735,7 +735,7 @@ static void intel_mst_disable_dp(struct intel_atomic_state *state,* TODO: disable decompression for all streams/in any MST ports, not * only in the first downstream branch device. */ -intel_dp_sink_set_decompression_state (intel_dp, old_crtc_state, false); +intel_dp_sink_set_decompression_state (connector, old_crtc_state, false); } static void intel_mst_post_disable_dp(struct intel_atomic_state *state,
@@ -895,7 +895,7 @@ static void intel_mst_pre_enable_dp(struct intel_atomic_state *state,* TODO: enable decompression for all streams/in any MST ports, not * only in the first downstream branch device. */ -intel_dp_sink_set_decompression_state (intel_dp, pipe_config, true); +intel_dp_sink_set_decompression_state (connector, pipe_config, true); dig_port->base.pre_enable (state, &dig_port->base, pipe_config,NULL ); }
Signature · 1 line
2.39.2
PATCH v2 22/29 drm/i915/dp: Enable DSC via the connector decompression AUX
Enable DSC using the DSC AUX device stored for this purpose in the connector. This prepares for a follow-up patch which toggles DSC for each stream as needed, but for now keeps the current behavior, as DSC is still only enabled for the first MST stream.
While at it set/clear only the DP_DECOMPRESSION_EN flag in the DP_DSC_ENABLE DPCD register, preserving the reserved register bits.
v2:
- Add a helper function setting/clearing the decompression flag, preserving the reserved register bits.
--- drivers/gpu/drm/i915/display/intel_ddi.c | 14 ++++--- drivers/gpu/drm/i915/display/intel_dp.c | 46 +++++++++++++++++---- drivers/gpu/drm/i915/display/intel_dp.h | 2 +- drivers/gpu/drm/i915/display/intel_dp_mst.c | 4 +- 4 files changed, 49 insertions(+), 17 deletions(-)
drivers/gpu/drm/i915/display/intel_ddi.c +9 -5
@@ -2539,7 +2539,8 @@ static void mtl_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_configure_protocol_converter (intel_dp, crtc_state);if (!is_mst) -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); +intel_dp_sink_set_decompression_state (to_intel_connector (conn_state->connector), + crtc_state, true);/* * DDI FEC: "anticipates enabling FEC encoding sets the FEC_READY bit
@@ -2692,7 +2693,8 @@ static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_configure_protocol_converter (intel_dp, crtc_state);if (!is_mst) -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); +intel_dp_sink_set_decompression_state (to_intel_connector (conn_state->connector), + crtc_state, true);/* * DDI FEC: "anticipates enabling FEC encoding sets the FEC_READY bit * in the FEC_CONFIGURATION register to 1 before initiating link
@@ -2773,8 +2775,8 @@ static void hsw_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_set_power (intel_dp,DP_SET_POWER_D0 );intel_dp_configure_protocol_converter (intel_dp, crtc_state);if (!is_mst) -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, - true); +intel_dp_sink_set_decompression_state (to_intel_connector (conn_state->connector), + crtc_state, true);intel_dp_sink_set_fec_ready (intel_dp, crtc_state, true);intel_dp_start_link_train (intel_dp, crtc_state); if ((port != PORT_A || DISPLAY_VER(dev_priv) >= 9) &&
@@ -3354,6 +3356,8 @@ static void intel_disable_ddi_dp(struct intel_atomic_state *state, const struct drm_connector_state *old_conn_state) {struct intel_dp *intel_dp =enc_to_intel_dp (encoder); +struct intel_connector *connector = +to_intel_connector (old_conn_state->connector); intel_dp->link_trained = false;
@@ -3362,7 +3366,7 @@ static void intel_disable_ddi_dp(struct intel_atomic_state *state,intel_psr_disable (intel_dp, old_crtc_state);intel_edp_backlight_off (old_conn_state);/* Disable the decompression in DP Sink */ -intel_dp_sink_set_decompression_state (intel_dp, old_crtc_state, +intel_dp_sink_set_decompression_state (connector, old_crtc_state, false);/* Disable Ignore_MSA bit in DP Sink */ intel_dp_sink_set_msa_timing_par_ignore_state(intel_dp, old_crtc_state,
drivers/gpu/drm/i915/display/intel_dp.c +37 -9
59 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_dp.h +1 -1
@@ -57,7 +57,7 @@ int intel_dp_retrain_link(struct intel_encoder *encoder,void intel_dp_set_power (struct intel_dp *intel_dp,u8 mode);void intel_dp_configure_protocol_converter (struct intel_dp *intel_dp,const struct intel_crtc_state *crtc_state); -void intel_dp_sink_set_decompression_state (struct intel_dp *intel_dp, +void intel_dp_sink_set_decompression_state (struct intel_connector *connector,const struct intel_crtc_state *crtc_state,bool enable);void intel_dp_encoder_suspend (struct intel_encoder *intel_encoder);
drivers/gpu/drm/i915/display/intel_dp_mst.c +2 -2
@@ -735,7 +735,7 @@ static void intel_mst_disable_dp(struct intel_atomic_state *state,* TODO: disable decompression for all streams/in any MST ports, not * only in the first downstream branch device. */ -intel_dp_sink_set_decompression_state (intel_dp, old_crtc_state, false); +intel_dp_sink_set_decompression_state (connector, old_crtc_state, false); } static void intel_mst_post_disable_dp(struct intel_atomic_state *state,
@@ -895,7 +895,7 @@ static void intel_mst_pre_enable_dp(struct intel_atomic_state *state,* TODO: enable decompression for all streams/in any MST ports, not * only in the first downstream branch device. */ -intel_dp_sink_set_decompression_state (intel_dp, pipe_config, true); +intel_dp_sink_set_decompression_state (connector, pipe_config, true); dig_port->base.pre_enable (state, &dig_port->base, pipe_config,NULL ); }
Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH v2 22/29] drm/i915/dp: Enable DSC via the connector decompression AUX
Quoted 11 lines · Imre Deak
Enable DSC using the DSC AUX device stored for this purpose in the connector. This prepares for a follow-up patch which toggles DSC for each stream as needed, but for now keeps the current behavior, as DSC is still only enabled for the first MST stream.
While at it set/clear only the
DP_DECOMPRESSION_ENflag in theDP_DSC_ENABLEDPCD register, preserving the reserved register bits.v2:
- Add a helper function setting/clearing the decompression flag, preserving the reserved register bits.
Quoted 164 lines
Signed-off-by Imre Deak <[email protected]>--- drivers/gpu/drm/i915/display/intel_ddi.c | 14 ++++--- drivers/gpu/drm/i915/display/intel_dp.c | 46 +++++++++++++++++---- drivers/gpu/drm/i915/display/intel_dp.h | 2 +- drivers/gpu/drm/i915/display/intel_dp_mst.c | 4 +- 4 files changed, 49 insertions(+), 17 deletions(-)drivers/gpu/drm/i915/display/intel_ddi.c +9
-5@@ -2539,7 +2539,8 @@ static void mtl_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_configure_protocol_converter (intel_dp, crtc_state);if (!is_mst) -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); +intel_dp_sink_set_decompression_state (to_intel_connector (conn_state->connector), + crtc_state, true);/* * DDI FEC: "anticipates enabling FEC encoding sets the FEC_READY bit @@ -2692,7 +2693,8 @@ static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_configure_protocol_converter (intel_dp, crtc_state);if (!is_mst) -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); +intel_dp_sink_set_decompression_state (to_intel_connector (conn_state->connector), + crtc_state, true);/* * DDI FEC: "anticipates enabling FEC encoding sets the FEC_READY bit * in the FEC_CONFIGURATION register to 1 before initiating link @@ -2773,8 +2775,8 @@ static void hsw_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_set_power (intel_dp,DP_SET_POWER_D0 );intel_dp_configure_protocol_converter (intel_dp, crtc_state);if (!is_mst) -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, - true); +intel_dp_sink_set_decompression_state (to_intel_connector (conn_state->connector), + crtc_state, true);intel_dp_sink_set_fec_ready (intel_dp, crtc_state, true);intel_dp_start_link_train (intel_dp, crtc_state); if ((port != PORT_A || DISPLAY_VER(dev_priv) >= 9) &&@@ -3354,6 +3356,8 @@ static void intel_disable_ddi_dp(struct intel_atomic_state *state, const struct drm_connector_state *old_conn_state) {struct intel_dp *intel_dp =enc_to_intel_dp (encoder); +struct intel_connector *connector = +to_intel_connector (old_conn_state->connector); intel_dp->link_trained = false;@@ -3362,7 +3366,7 @@ static void intel_disable_ddi_dp(struct intel_atomic_state *state,intel_psr_disable (intel_dp, old_crtc_state);intel_edp_backlight_off (old_conn_state);/* Disable the decompression in DP Sink */ -intel_dp_sink_set_decompression_state (intel_dp, old_crtc_state, +intel_dp_sink_set_decompression_state (connector, old_crtc_state, false);/* Disable Ignore_MSA bit in DP Sink */ intel_dp_sink_set_msa_timing_par_ignore_state(intel_dp, old_crtc_state,drivers/gpu/drm/i915/display/intel_dp.c +37
-9@@ -2937,22 +2937,50 @@ static bool downstream_hpd_needs_d0(struct intel_dp *intel_dp) intel_dp->downstream_ports[0 ] &DP_DS_PORT_HPD ; } -void intel_dp_sink_set_decompression_state (struct intel_dp *intel_dp, +static int +write_dsc_decompression_flag (struct drm_dp_aux *aux,u8 flag,bool set) +{ +int err; +u8 val; + + err =drm_dp_dpcd_readb (aux,DP_DSC_ENABLE , &val); +if (err <0 ) +return err; + +if (set) + val |= flag; +else + val &= ~flag; + +return drm_dp_dpcd_writeb (aux,DP_DSC_ENABLE , val); +} + +static void +intel_dp_sink_set_dsc_decompression (struct intel_connector *connector, +bool enable) +{ +struct drm_i915_private *i915 =to_i915 (connector->base.dev); + +if (write_dsc_decompression_flag (connector->dp.dsc_decompression_aux, +DP_DECOMPRESSION_EN , enable) <0 ) +drm_dbg_kms (&i915->drm, +"Failed to %s sink decompression state\n" , +str_enable_disable (enable)); +} + +void intel_dp_sink_set_decompression_state (struct intel_connector *connector,const struct intel_crtc_state *crtc_state,bool enable) { -struct drm_i915_private *i915 =dp_to_i915 (intel_dp); -int ret; +struct drm_i915_private *i915 =to_i915 (connector->base.dev);if (!crtc_state->dsc.compression_enable)return ; - ret =drm_dp_dpcd_writeb (&intel_dp->aux,DP_DSC_ENABLE , - enable ?DP_DECOMPRESSION_EN :0 ); -if (ret <0 ) -drm_dbg_kms (&i915->drm, -"Failed to %s sink decompression state\n" , -str_enable_disable (enable)); +if (drm_WARN_ON (&i915->drm, !connector->dp.dsc_decompression_aux)) +return ; + +intel_dp_sink_set_dsc_decompression (connector, enable); } static voiddrivers/gpu/drm/i915/display/intel_dp.h +1
-1@@ -57,7 +57,7 @@ int intel_dp_retrain_link(struct intel_encoder *encoder,void intel_dp_set_power (struct intel_dp *intel_dp,u8 mode);void intel_dp_configure_protocol_converter (struct intel_dp *intel_dp,const struct intel_crtc_state *crtc_state); -void intel_dp_sink_set_decompression_state (struct intel_dp *intel_dp, +void intel_dp_sink_set_decompression_state (struct intel_connector *connector,const struct intel_crtc_state *crtc_state,bool enable);void intel_dp_encoder_suspend (struct intel_encoder *intel_encoder);drivers/gpu/drm/i915/display/intel_dp_mst.c +2
-2@@ -735,7 +735,7 @@ static void intel_mst_disable_dp(struct intel_atomic_state *state,* TODO: disable decompression for all streams/in any MST ports, not * only in the first downstream branch device. */ -intel_dp_sink_set_decompression_state (intel_dp, old_crtc_state, false); +intel_dp_sink_set_decompression_state (connector, old_crtc_state, false); } static void intel_mst_post_disable_dp(struct intel_atomic_state *state,@@ -895,7 +895,7 @@ static void intel_mst_pre_enable_dp(struct intel_atomic_state *state,* TODO: enable decompression for all streams/in any MST ports, not * only in the first downstream branch device. */ -intel_dp_sink_set_decompression_state (intel_dp, pipe_config, true); +intel_dp_sink_set_decompression_state (connector, pipe_config, true); dig_port->base.pre_enable (state, &dig_port->base, pipe_config,NULL ); }Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 22/29] drm/i915/dp: Enable DSC via the connector decompression AUX
In reply to Imre DeakQuoted 6 lines · Imre Deak
Enable DSC using the DSC AUX device stored for this purpose in the connector. This prepares for a follow-up patch which toggles DSC for each stream as needed, but for now keeps the current behavior, as DSC is still only enabled for the first MST stream.
Signed-off-by Imre Deak <[email protected]>
Quoted 144 lines
--- drivers/gpu/drm/i915/display/intel_ddi.c | 14 +++++++---- drivers/gpu/drm/i915/display/intel_dp.c | 28 ++++++++++++++------- drivers/gpu/drm/i915/display/intel_dp.h | 2 +- drivers/gpu/drm/i915/display/intel_dp_mst.c | 4 +-- 4 files changed, 31 insertions(+), 17 deletions(-)drivers/gpu/drm/i915/display/intel_ddi.c +9
-5@@ -2539,7 +2539,8 @@ static void mtl_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_configure_protocol_converter (intel_dp, crtc_state);if (!is_mst) -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); +intel_dp_sink_set_decompression_state (to_intel_connector (conn_state->connector), + crtc_state, true);/* * DDI FEC: "anticipates enabling FEC encoding sets the FEC_READY bit @@ -2692,7 +2693,8 @@ static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_configure_protocol_converter (intel_dp, crtc_state);if (!is_mst) -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); +intel_dp_sink_set_decompression_state (to_intel_connector (conn_state->connector), + crtc_state, true);/* * DDI FEC: "anticipates enabling FEC encoding sets the FEC_READY bit * in the FEC_CONFIGURATION register to 1 before initiating link @@ -2773,8 +2775,8 @@ static void hsw_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_set_power (intel_dp,DP_SET_POWER_D0 );intel_dp_configure_protocol_converter (intel_dp, crtc_state);if (!is_mst) -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, - true); +intel_dp_sink_set_decompression_state (to_intel_connector (conn_state->connector), + crtc_state, true);intel_dp_sink_set_fec_ready (intel_dp, crtc_state, true);intel_dp_start_link_train (intel_dp, crtc_state); if ((port != PORT_A || DISPLAY_VER(dev_priv) >= 9) &&@@ -3354,6 +3356,8 @@ static void intel_disable_ddi_dp(struct intel_atomic_state *state, const struct drm_connector_state *old_conn_state) {struct intel_dp *intel_dp =enc_to_intel_dp (encoder); +struct intel_connector *connector = +to_intel_connector (old_conn_state->connector); intel_dp->link_trained = false;@@ -3362,7 +3366,7 @@ static void intel_disable_ddi_dp(struct intel_atomic_state *state,intel_psr_disable (intel_dp, old_crtc_state);intel_edp_backlight_off (old_conn_state);/* Disable the decompression in DP Sink */ -intel_dp_sink_set_decompression_state (intel_dp, old_crtc_state, +intel_dp_sink_set_decompression_state (connector, old_crtc_state, false);/* Disable Ignore_MSA bit in DP Sink */ intel_dp_sink_set_msa_timing_par_ignore_state(intel_dp, old_crtc_state,drivers/gpu/drm/i915/display/intel_dp.c +19
-9@@ -2937,22 +2937,32 @@ static bool downstream_hpd_needs_d0(struct intel_dp *intel_dp) intel_dp->downstream_ports[0 ] &DP_DS_PORT_HPD ; } -void intel_dp_sink_set_decompression_state (struct intel_dp *intel_dp, +static void +intel_dp_sink_set_dsc_decompression (struct intel_connector *connector, +bool enable) +{ +struct drm_i915_private *i915 =to_i915 (connector->base.dev); + +if (drm_dp_dpcd_writeb (connector->dp.dsc_decompression_aux,DP_DSC_ENABLE , + enable ?DP_DECOMPRESSION_EN :0 ) <0 ) +drm_dbg_kms (&i915->drm, +"Failed to %s sink decompression state\n" , +str_enable_disable (enable)); +} + +void intel_dp_sink_set_decompression_state (struct intel_connector *connector,const struct intel_crtc_state *crtc_state,bool enable) { -struct drm_i915_private *i915 =dp_to_i915 (intel_dp); -int ret; +struct drm_i915_private *i915 =to_i915 (connector->base.dev);if (!crtc_state->dsc.compression_enable)return ; - ret =drm_dp_dpcd_writeb (&intel_dp->aux,DP_DSC_ENABLE , - enable ?DP_DECOMPRESSION_EN :0 ); -if (ret <0 ) -drm_dbg_kms (&i915->drm, -"Failed to %s sink decompression state\n" , -str_enable_disable (enable)); +if (drm_WARN_ON (&i915->drm, !connector->dp.dsc_decompression_aux)) +return ; + +intel_dp_sink_set_dsc_decompression (connector, enable); } static voiddrivers/gpu/drm/i915/display/intel_dp.h +1
-1@@ -57,7 +57,7 @@ int intel_dp_retrain_link(struct intel_encoder *encoder,void intel_dp_set_power (struct intel_dp *intel_dp,u8 mode);void intel_dp_configure_protocol_converter (struct intel_dp *intel_dp,const struct intel_crtc_state *crtc_state); -void intel_dp_sink_set_decompression_state (struct intel_dp *intel_dp, +void intel_dp_sink_set_decompression_state (struct intel_connector *connector,const struct intel_crtc_state *crtc_state,bool enable);void intel_dp_encoder_suspend (struct intel_encoder *intel_encoder);drivers/gpu/drm/i915/display/intel_dp_mst.c +2
-2@@ -735,7 +735,7 @@ static void intel_mst_disable_dp(struct intel_atomic_state *state,* TODO: disable decompression for all streams/in any MST ports, not * only in the first downstream branch device. */ -intel_dp_sink_set_decompression_state (intel_dp, old_crtc_state, false); +intel_dp_sink_set_decompression_state (connector, old_crtc_state, false); } static void intel_mst_post_disable_dp(struct intel_atomic_state *state,@@ -895,7 +895,7 @@ static void intel_mst_pre_enable_dp(struct intel_atomic_state *state,* TODO: enable decompression for all streams/in any MST ports, not * only in the first downstream branch device. */ -intel_dp_sink_set_decompression_state (intel_dp, pipe_config, true); +intel_dp_sink_set_decompression_state (connector, pipe_config, true); dig_port->base.pre_enable (state, &dig_port->base, pipe_config,NULL ); }Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 22/29] drm/i915/dp: Enable DSC via the connector decompression AUX
In reply to Imre DeakQuoted 6 lines · Imre Deak
Enable DSC using the DSC AUX device stored for this purpose in the connector. This prepares for a follow-up patch which toggles DSC for each stream as needed, but for now keeps the current behavior, as DSC is still only enabled for the first MST stream.
Signed-off-by Imre Deak <[email protected]>
Quoted 144 lines
--- drivers/gpu/drm/i915/display/intel_ddi.c | 14 +++++++---- drivers/gpu/drm/i915/display/intel_dp.c | 28 ++++++++++++++------- drivers/gpu/drm/i915/display/intel_dp.h | 2 +- drivers/gpu/drm/i915/display/intel_dp_mst.c | 4 +-- 4 files changed, 31 insertions(+), 17 deletions(-)drivers/gpu/drm/i915/display/intel_ddi.c +9
-5@@ -2539,7 +2539,8 @@ static void mtl_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_configure_protocol_converter (intel_dp, crtc_state);if (!is_mst) -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); +intel_dp_sink_set_decompression_state (to_intel_connector (conn_state->connector), + crtc_state, true);/* * DDI FEC: "anticipates enabling FEC encoding sets the FEC_READY bit @@ -2692,7 +2693,8 @@ static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_configure_protocol_converter (intel_dp, crtc_state);if (!is_mst) -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, true); +intel_dp_sink_set_decompression_state (to_intel_connector (conn_state->connector), + crtc_state, true);/* * DDI FEC: "anticipates enabling FEC encoding sets the FEC_READY bit * in the FEC_CONFIGURATION register to 1 before initiating link @@ -2773,8 +2775,8 @@ static void hsw_ddi_pre_enable_dp(struct intel_atomic_state *state,intel_dp_set_power (intel_dp,DP_SET_POWER_D0 );intel_dp_configure_protocol_converter (intel_dp, crtc_state);if (!is_mst) -intel_dp_sink_set_decompression_state (intel_dp, crtc_state, - true); +intel_dp_sink_set_decompression_state (to_intel_connector (conn_state->connector), + crtc_state, true);intel_dp_sink_set_fec_ready (intel_dp, crtc_state, true);intel_dp_start_link_train (intel_dp, crtc_state); if ((port != PORT_A || DISPLAY_VER(dev_priv) >= 9) &&@@ -3354,6 +3356,8 @@ static void intel_disable_ddi_dp(struct intel_atomic_state *state, const struct drm_connector_state *old_conn_state) {struct intel_dp *intel_dp =enc_to_intel_dp (encoder); +struct intel_connector *connector = +to_intel_connector (old_conn_state->connector); intel_dp->link_trained = false;@@ -3362,7 +3366,7 @@ static void intel_disable_ddi_dp(struct intel_atomic_state *state,intel_psr_disable (intel_dp, old_crtc_state);intel_edp_backlight_off (old_conn_state);/* Disable the decompression in DP Sink */ -intel_dp_sink_set_decompression_state (intel_dp, old_crtc_state, +intel_dp_sink_set_decompression_state (connector, old_crtc_state, false);/* Disable Ignore_MSA bit in DP Sink */ intel_dp_sink_set_msa_timing_par_ignore_state(intel_dp, old_crtc_state,drivers/gpu/drm/i915/display/intel_dp.c +19
-9@@ -2937,22 +2937,32 @@ static bool downstream_hpd_needs_d0(struct intel_dp *intel_dp) intel_dp->downstream_ports[0 ] &DP_DS_PORT_HPD ; } -void intel_dp_sink_set_decompression_state (struct intel_dp *intel_dp, +static void +intel_dp_sink_set_dsc_decompression (struct intel_connector *connector, +bool enable) +{ +struct drm_i915_private *i915 =to_i915 (connector->base.dev); + +if (drm_dp_dpcd_writeb (connector->dp.dsc_decompression_aux,DP_DSC_ENABLE , + enable ?DP_DECOMPRESSION_EN :0 ) <0 ) +drm_dbg_kms (&i915->drm, +"Failed to %s sink decompression state\n" , +str_enable_disable (enable)); +} + +void intel_dp_sink_set_decompression_state (struct intel_connector *connector,const struct intel_crtc_state *crtc_state,bool enable) { -struct drm_i915_private *i915 =dp_to_i915 (intel_dp); -int ret; +struct drm_i915_private *i915 =to_i915 (connector->base.dev);if (!crtc_state->dsc.compression_enable)return ; - ret =drm_dp_dpcd_writeb (&intel_dp->aux,DP_DSC_ENABLE , - enable ?DP_DECOMPRESSION_EN :0 ); -if (ret <0 ) -drm_dbg_kms (&i915->drm, -"Failed to %s sink decompression state\n" , -str_enable_disable (enable)); +if (drm_WARN_ON (&i915->drm, !connector->dp.dsc_decompression_aux)) +return ; + +intel_dp_sink_set_dsc_decompression (connector, enable); } static voiddrivers/gpu/drm/i915/display/intel_dp.h +1
-1@@ -57,7 +57,7 @@ int intel_dp_retrain_link(struct intel_encoder *encoder,void intel_dp_set_power (struct intel_dp *intel_dp,u8 mode);void intel_dp_configure_protocol_converter (struct intel_dp *intel_dp,const struct intel_crtc_state *crtc_state); -void intel_dp_sink_set_decompression_state (struct intel_dp *intel_dp, +void intel_dp_sink_set_decompression_state (struct intel_connector *connector,const struct intel_crtc_state *crtc_state,bool enable);void intel_dp_encoder_suspend (struct intel_encoder *intel_encoder);drivers/gpu/drm/i915/display/intel_dp_mst.c +2
-2@@ -735,7 +735,7 @@ static void intel_mst_disable_dp(struct intel_atomic_state *state,* TODO: disable decompression for all streams/in any MST ports, not * only in the first downstream branch device. */ -intel_dp_sink_set_decompression_state (intel_dp, old_crtc_state, false); +intel_dp_sink_set_decompression_state (connector, old_crtc_state, false); } static void intel_mst_post_disable_dp(struct intel_atomic_state *state,@@ -895,7 +895,7 @@ static void intel_mst_pre_enable_dp(struct intel_atomic_state *state,* TODO: enable decompression for all streams/in any MST ports, not * only in the first downstream branch device. */ -intel_dp_sink_set_decompression_state (intel_dp, pipe_config, true); +intel_dp_sink_set_decompression_state (connector, pipe_config, true); dig_port->base.pre_enable (state, &dig_port->base, pipe_config,NULL ); }Signature · 1 line
2.39.2
PATCH 23/29 drm/i915/dp_mst: Enable DSC passthrough
In reply to Imre DeakEnable passing through DSC streams to the sink in last branch devices.
--- drivers/gpu/drm/i915/display/intel_dp.c | 26 ++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_dp.c +25 -1
@@ -2950,6 +2950,24 @@ intel_dp_sink_set_dsc_decompression(struct intel_connector *connector, str_enable_disable(enable)); } +static void +intel_dp_sink_set_dsc_passthrough (const struct intel_connector *connector, +bool enable) +{ +struct drm_i915_private *i915 =to_i915 (connector->base.dev); +struct drm_dp_aux *aux = connector->port ? + connector->port->passthrough_aux :NULL ; + +if (!aux) +return ; + +if (drm_dp_dpcd_writeb (aux,DP_DSC_PASSTHROUGH_EN , + enable ?DP_DSC_PASSTHROUGH_EN :0 ) <0 ) +drm_dbg_kms (&i915->drm, +"Failed to %s sink compression passthrough state\n" , +str_enable_disable (enable)); +} +void intel_dp_sink_set_decompression_state (struct intel_connector *connector,const struct intel_crtc_state *crtc_state,bool enable)
@@ -2962,7 +2980,13 @@ void intel_dp_sink_set_decompression_state(struct intel_connector *connector,if (drm_WARN_ON (&i915->drm, !connector->dp.dsc_decompression_aux))return ; -intel_dp_sink_set_dsc_decompression (connector, enable); +if (enable) { +intel_dp_sink_set_dsc_passthrough (connector, true); +intel_dp_sink_set_dsc_decompression (connector, true); + }else { +intel_dp_sink_set_dsc_decompression (connector, false); +intel_dp_sink_set_dsc_passthrough (connector, false); + } } static void
Signature · 1 line
2.39.2
PATCH v2 23/29 drm/i915/dp_mst: Enable DSC passthrough
Enable passing through DSC streams to the sink in last branch devices.
v2:
- Fix the DPCD register address while setting/clearing the passthrough flag.
--- drivers/gpu/drm/i915/display/intel_dp.c | 26 ++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_dp.c +25 -1
@@ -2968,6 +2968,24 @@ intel_dp_sink_set_dsc_decompression(struct intel_connector *connector, str_enable_disable(enable)); } +static void +intel_dp_sink_set_dsc_passthrough (const struct intel_connector *connector, +bool enable) +{ +struct drm_i915_private *i915 =to_i915 (connector->base.dev); +struct drm_dp_aux *aux = connector->port ? + connector->port->passthrough_aux :NULL ; + +if (!aux) +return ; + +if (write_dsc_decompression_flag (aux, +DP_DSC_PASSTHROUGH_EN , enable) <0 ) +drm_dbg_kms (&i915->drm, +"Failed to %s sink compression passthrough state\n" , +str_enable_disable (enable)); +} +void intel_dp_sink_set_decompression_state (struct intel_connector *connector,const struct intel_crtc_state *crtc_state,bool enable)
@@ -2980,7 +2998,13 @@ void intel_dp_sink_set_decompression_state(struct intel_connector *connector,if (drm_WARN_ON (&i915->drm, !connector->dp.dsc_decompression_aux))return ; -intel_dp_sink_set_dsc_decompression (connector, enable); +if (enable) { +intel_dp_sink_set_dsc_passthrough (connector, true); +intel_dp_sink_set_dsc_decompression (connector, true); + }else { +intel_dp_sink_set_dsc_decompression (connector, false); +intel_dp_sink_set_dsc_passthrough (connector, false); + } } static void
Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH v2 23/29] drm/i915/dp_mst: Enable DSC passthrough
Quoted 7 lines · Imre Deak
Enable passing through DSC streams to the sink in last branch devices.
v2:
- Fix the DPCD register address while setting/clearing the passthrough flag.Signed-off-by Imre Deak <[email protected]>
Quoted 51 lines
--- drivers/gpu/drm/i915/display/intel_dp.c | 26 ++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-)drivers/gpu/drm/i915/display/intel_dp.c +25
-1@@ -2968,6 +2968,24 @@ intel_dp_sink_set_dsc_decompression(struct intel_connector *connector, str_enable_disable(enable)); } +static void +intel_dp_sink_set_dsc_passthrough (const struct intel_connector *connector, +bool enable) +{ +struct drm_i915_private *i915 =to_i915 (connector->base.dev); +struct drm_dp_aux *aux = connector->port ? + connector->port->passthrough_aux :NULL ; + +if (!aux) +return ; + +if (write_dsc_decompression_flag (aux, +DP_DSC_PASSTHROUGH_EN , enable) <0 ) +drm_dbg_kms (&i915->drm, +"Failed to %s sink compression passthrough state\n" , +str_enable_disable (enable)); +} +void intel_dp_sink_set_decompression_state (struct intel_connector *connector,const struct intel_crtc_state *crtc_state,bool enable)@@ -2980,7 +2998,13 @@ void intel_dp_sink_set_decompression_state(struct intel_connector *connector,if (drm_WARN_ON (&i915->drm, !connector->dp.dsc_decompression_aux))return ; -intel_dp_sink_set_dsc_decompression (connector, enable); +if (enable) { +intel_dp_sink_set_dsc_passthrough (connector, true); +intel_dp_sink_set_dsc_decompression (connector, true); + }else { +intel_dp_sink_set_dsc_decompression (connector, false); +intel_dp_sink_set_dsc_passthrough (connector, false); + } } static voidSignature · 1 line
2.39.2
PATCH 24/29 drm/i915/dp_mst: Enable MST DSC decompression for all streams
In reply to Imre DeakEnable DSC decompression for all streams. In particular atm if a sink is connected to a last branch device that is downstream of the first branch device connected to the source, decompression is not enabled for it. Similarly it's not enabled if the sink supports this with the last branch device passing through the compressed stream to it.
Enable DSC in the above cases as well. Since last branch devices may handle the decompression for multiple ports, toggling DSC needs to be refcounted, add this using the DSC AUX device as a reference.
--- .../drm/i915/display/intel_display_types.h | 1 + drivers/gpu/drm/i915/display/intel_dp.c | 3 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 57 ++++++++++++------- 3 files changed, 42 insertions(+), 19 deletions(-)
drivers/gpu/drm/i915/display/intel_display_types.h +1 -0
@@ -626,6 +626,7 @@ struct intel_connector {u8 fec_capability; u8 dsc_hblank_expansion_quirk:1; + u8 dsc_decompression_enabled:1; } dp;/* Work struct to schedule a uevent on link train failure */
drivers/gpu/drm/i915/display/intel_dp.c +3 -0
@@ -1403,6 +1403,7 @@ static bool intel_dp_supports_dsc(const struct intel_connector *connector,return false;return intel_dsc_source_support (crtc_state) && + connector->dp.dsc_decompression_aux &&drm_dp_sink_supports_dsc (connector->dp.dsc_dpcd); }
@@ -2948,6 +2949,8 @@ intel_dp_sink_set_dsc_decompression(struct intel_connector *connector,drm_dbg_kms (&i915->drm,"Failed to %s sink decompression state\n" ,str_enable_disable (enable)); + + connector->dp.dsc_decompression_enabled = enable; } static void
drivers/gpu/drm/i915/display/intel_dp_mst.c +38 -19
83 lines not on this page · raw message
Signature · 1 line
2.39.2
A message that is not in the archive (sent off-list or not yet received): ZTvNCgO9NF/[email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Lisovskiy, Stanislav
Reviewed-byRe: [Intel-gfx] [PATCH 24/29] drm/i915/dp_mst: Enable MST DSC decompression for all streams
Quoted 102 lines · Imre Deak
Quoted 85 lines · Stanislav
Quoted 84 lines · Imre Deak
Enable DSC decompression for all streams. In particular atm if a sink is connected to a last branch device that is downstream of the first branch device connected to the source, decompression is not enabled for it. Similarly it's not enabled if the sink supports this with the last branch device passing through the compressed stream to it.
Enable DSC in the above cases as well. Since last branch devices may handle the decompression for multiple ports, toggling DSC needs to be refcounted, add this using the DSC AUX device as a reference.
Signed-off-by Imre Deak <[email protected]>--- .../drm/i915/display/intel_display_types.h | 1 + drivers/gpu/drm/i915/display/intel_dp.c | 3 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 57 ++++++++++++------- 3 files changed, 42 insertions(+), 19 deletions(-)drivers/gpu/drm/i915/display/intel_display_types.h +1
-0@@ -626,6 +626,7 @@ struct intel_connector {u8 fec_capability; u8 dsc_hblank_expansion_quirk:1; + u8 dsc_decompression_enabled:1; } dp;/* Work struct to schedule a uevent on link train failure */ drivers/gpu/drm/i915/display/intel_dp.c +3
-0@@ -1403,6 +1403,7 @@ static bool intel_dp_supports_dsc(const struct intel_connector *connector,return false;return intel_dsc_source_support (crtc_state) && + connector->dp.dsc_decompression_aux &&drm_dp_sink_supports_dsc (connector->dp.dsc_dpcd); }@@ -2948,6 +2949,8 @@ intel_dp_sink_set_dsc_decompression(struct intel_connector *connector,drm_dbg_kms (&i915->drm,"Failed to %s sink decompression state\n" ,str_enable_disable (enable)); + + connector->dp.dsc_decompression_enabled = enable; } static voiddrivers/gpu/drm/i915/display/intel_dp_mst.c +26
-0@@ -660,6 +660,39 @@ intel_dp_mst_atomic_topology_check(struct intel_connector *connector,return ret; } +static int intel_dp_mst_dsc_aux_use_count (struct intel_atomic_state *state, +const struct intel_connector *connector) +{ +struct intel_connector *connector_iter; +struct intel_digital_connector_state *conn_state; +int use_count =0 ; +int i; + +for_each_new_intel_connector_in_state (state, connector_iter, conn_state, i) { +if (connector_iter->mst_port != connector->mst_port || + !conn_state->base.crtc) +continue ; + +if (!connector_iter->dp.dsc_decompression_enabled) +continue ; + +if (connector_iter->dp.dsc_decompression_aux == + connector->dp.dsc_decompression_aux) + use_count++; + } + +return use_count; +} + +static void intel_dp_mst_sink_set_decompression_state(struct intel_atomic_state *state, + struct intel_connector *connector,Quoted 8 lines
drivers/gpu/drm/i915/display/intel_dp_mst.c intel_dp_mst_atomic_topology_check(struct intel_connector *connector, · line 693
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_dp_mst.c +5
-0+ const struct intel_crtc_state *crtc_state, + bool enable) +{ + if (!intel_dp_mst_dsc_aux_use_count(state, connector)) + intel_dp_sink_set_decompression_state(connector, crtc_state, enable);But where the use count is decremented?
As I understand we will be able to set this with enable==false also whenuse_countis 0.
use_countis recalculated for the current state, based on each connector'sdsc_decompression_enabledflag and whether the given connector's AUX device matches what this function wants to use to enable/disable the decompression. Souse_countwill be the number of connectors at the moment which have decompression enabled through the AUX device in question.
Quoted 3 lines
Quoted 1 line
For that we need to have
intel_connector->dp.dsc_decompression_auxNULLed somewhere?No, it stays set, but
dsc_decompression_enableddoes get set/cleared.
Got it,
Quoted 57 lines
Quoted 57 lines
Stan
Quoted 55 lines
drivers/gpu/drm/i915/display/intel_dp_mst.c +7
-19+} +static int intel_dp_mst_atomic_check (struct drm_connector *connector,struct drm_atomic_state *_state)@@ -730,12 +763,7 @@ static void intel_mst_disable_dp(struct intel_atomic_state *state,intel_audio_codec_disable (encoder, old_crtc_state, old_conn_state); -if (intel_dp->active_mst_links ==1 )/* last stream ? */ -/* -* TODO: disable decompression for all streams/in any MST ports, not -* only in the first downstream branch device. -*/ -intel_dp_sink_set_decompression_state (connector, old_crtc_state, false); +intel_dp_mst_sink_set_decompression_state (state, connector, old_crtc_state, false); } static void intel_mst_post_disable_dp(struct intel_atomic_state *state,@@ -890,15 +918,11 @@ static void intel_mst_pre_enable_dp(struct intel_atomic_state *state,drm_dp_send_power_updown_phy (&intel_dp->mst_mgr, connector->port, true); -if (first_mst_stream) { -/* -* TODO: enable decompression for all streams/in any MST ports, not -* only in the first downstream branch device. -*/ -intel_dp_sink_set_decompression_state (connector, pipe_config, true); +intel_dp_mst_sink_set_decompression_state (state, connector, pipe_config, true); + +if (first_mst_stream) dig_port->base.pre_enable (state, &dig_port->base, pipe_config,NULL ); - } intel_dp->active_mst_links++;@@ -1350,12 +1374,7 @@ static struct drm_connector *intel_dp_add_mst_connector(struct drm_dp_mst_topolodrm_connector_helper_add (connector, &intel_dp_mst_connector_helper_funcs); -/* -* TODO: set the AUX for the actual MST port decompressing the stream. -* At the moment the driver only supports enabling this globally in the -* first downstream MST branch, via intel_dp's (root port) AUX. -*/ - intel_connector->dp.dsc_decompression_aux = &intel_dp->aux; + intel_connector->dp.dsc_decompression_aux =drm_dp_mst_dsc_aux_for_port (port);intel_dp_mst_read_decompression_port_dsc_caps (intel_dp, intel_connector); intel_connector->dp.dsc_hblank_expansion_quirk =detect_dsc_hblank_expansion_quirk (intel_connector);Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 24/29] drm/i915/dp_mst: Enable MST DSC decompression for all streams
Quoted 103 lines · Stanislav
Quoted 102 lines · Imre Deak
Quoted 85 lines · Stanislav
Quoted 84 lines · Imre Deak
Enable DSC decompression for all streams. In particular atm if a sink is connected to a last branch device that is downstream of the first branch device connected to the source, decompression is not enabled for it. Similarly it's not enabled if the sink supports this with the last branch device passing through the compressed stream to it.
Enable DSC in the above cases as well. Since last branch devices may handle the decompression for multiple ports, toggling DSC needs to be refcounted, add this using the DSC AUX device as a reference.
Signed-off-by Imre Deak <[email protected]>--- .../drm/i915/display/intel_display_types.h | 1 + drivers/gpu/drm/i915/display/intel_dp.c | 3 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 57 ++++++++++++------- 3 files changed, 42 insertions(+), 19 deletions(-)drivers/gpu/drm/i915/display/intel_display_types.h +1
-0@@ -626,6 +626,7 @@ struct intel_connector {u8 fec_capability; u8 dsc_hblank_expansion_quirk:1; + u8 dsc_decompression_enabled:1; } dp;/* Work struct to schedule a uevent on link train failure */ drivers/gpu/drm/i915/display/intel_dp.c +3
-0@@ -1403,6 +1403,7 @@ static bool intel_dp_supports_dsc(const struct intel_connector *connector,return false;return intel_dsc_source_support (crtc_state) && + connector->dp.dsc_decompression_aux &&drm_dp_sink_supports_dsc (connector->dp.dsc_dpcd); }@@ -2948,6 +2949,8 @@ intel_dp_sink_set_dsc_decompression(struct intel_connector *connector,drm_dbg_kms (&i915->drm,"Failed to %s sink decompression state\n" ,str_enable_disable (enable)); + + connector->dp.dsc_decompression_enabled = enable; } static voiddrivers/gpu/drm/i915/display/intel_dp_mst.c +26
-0@@ -660,6 +660,39 @@ intel_dp_mst_atomic_topology_check(struct intel_connector *connector,return ret; } +static int intel_dp_mst_dsc_aux_use_count (struct intel_atomic_state *state, +const struct intel_connector *connector) +{ +struct intel_connector *connector_iter; +struct intel_digital_connector_state *conn_state; +int use_count =0 ; +int i; + +for_each_new_intel_connector_in_state (state, connector_iter, conn_state, i) { +if (connector_iter->mst_port != connector->mst_port || + !conn_state->base.crtc) +continue ; + +if (!connector_iter->dp.dsc_decompression_enabled) +continue ; + +if (connector_iter->dp.dsc_decompression_aux == + connector->dp.dsc_decompression_aux) + use_count++; + } + +return use_count; +} + +static void intel_dp_mst_sink_set_decompression_state(struct intel_atomic_state *state, + struct intel_connector *connector,Quoted 8 lines
drivers/gpu/drm/i915/display/intel_dp_mst.c intel_dp_mst_atomic_topology_check(struct intel_connector *connector, · line 693
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_dp_mst.c +5
-0+ const struct intel_crtc_state *crtc_state, + bool enable) +{ + if (!intel_dp_mst_dsc_aux_use_count(state, connector)) + intel_dp_sink_set_decompression_state(connector, crtc_state, enable);But where the use count is decremented?
As I understand we will be able to set this with enable==false also whenuse_countis 0.
use_countis recalculated for the current state, based on each connector'sdsc_decompression_enabledflag and whether the given connector's AUX device matches what this function wants to use to enable/disable the decompression. Souse_countwill be the number of connectors at the moment which have decompression enabled through the AUX device in question.
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
For that we need to have
intel_connector->dp.dsc_decompression_auxNULLed somewhere?No, it stays set, but
dsc_decompression_enableddoes get set/cleared.
Actually this has a problem, since dsc_decompression_enabled won't get updated after it's set for the first connector enabling decompression:/ I'll send an updated version fixing that, thanks for the note.
Quoted 62 lines
Got it,
Reviewed-by Stanislav Lisovskiy <[email protected]>Quoted 57 lines
Quoted 57 lines
Stan
Quoted 55 lines
drivers/gpu/drm/i915/display/intel_dp_mst.c +7
-19+} +static int intel_dp_mst_atomic_check (struct drm_connector *connector,struct drm_atomic_state *_state)@@ -730,12 +763,7 @@ static void intel_mst_disable_dp(struct intel_atomic_state *state,intel_audio_codec_disable (encoder, old_crtc_state, old_conn_state); -if (intel_dp->active_mst_links ==1 )/* last stream ? */ -/* -* TODO: disable decompression for all streams/in any MST ports, not -* only in the first downstream branch device. -*/ -intel_dp_sink_set_decompression_state (connector, old_crtc_state, false); +intel_dp_mst_sink_set_decompression_state (state, connector, old_crtc_state, false); } static void intel_mst_post_disable_dp(struct intel_atomic_state *state,@@ -890,15 +918,11 @@ static void intel_mst_pre_enable_dp(struct intel_atomic_state *state,drm_dp_send_power_updown_phy (&intel_dp->mst_mgr, connector->port, true); -if (first_mst_stream) { -/* -* TODO: enable decompression for all streams/in any MST ports, not -* only in the first downstream branch device. -*/ -intel_dp_sink_set_decompression_state (connector, pipe_config, true); +intel_dp_mst_sink_set_decompression_state (state, connector, pipe_config, true); + +if (first_mst_stream) dig_port->base.pre_enable (state, &dig_port->base, pipe_config,NULL ); - } intel_dp->active_mst_links++;@@ -1350,12 +1374,7 @@ static struct drm_connector *intel_dp_add_mst_connector(struct drm_dp_mst_topolodrm_connector_helper_add (connector, &intel_dp_mst_connector_helper_funcs); -/* -* TODO: set the AUX for the actual MST port decompressing the stream. -* At the moment the driver only supports enabling this globally in the -* first downstream MST branch, via intel_dp's (root port) AUX. -*/ - intel_connector->dp.dsc_decompression_aux = &intel_dp->aux; + intel_connector->dp.dsc_decompression_aux =drm_dp_mst_dsc_aux_for_port (port);intel_dp_mst_read_decompression_port_dsc_caps (intel_dp, intel_connector); intel_connector->dp.dsc_hblank_expansion_quirk =detect_dsc_hblank_expansion_quirk (intel_connector);Signature · 1 line
2.39.2
PATCH 25/29 drm/i915: Factor out function to clear pipe update flags
In reply to Imre DeakFactor out a helper to clear the pipe update flags, used by a follow-up patch to modeset an MST topology.
--- drivers/gpu/drm/i915/display/intel_display.c | 52 ++++++++++---------- 1 file changed, 27 insertions(+), 25 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +27 -25
@@ -5551,6 +5551,16 @@ int intel_modeset_pipes_in_mask_early(struct intel_atomic_state *state,return 0 ; } +static void clear_pipe_update_flags_on_modeset_crtc (struct intel_crtc_state *crtc_state) +{ +if (!intel_crtc_needs_modeset (crtc_state)) +return ; + + crtc_state->update_pipe = false; + crtc_state->update_m_n = false; + crtc_state->update_lrr = false; +} +/** * intel_modeset_all_pipes_late - force a full modeset on all pipes * @state: intel atomic state
@@ -5584,9 +5594,8 @@ int intel_modeset_all_pipes_late(struct intel_atomic_state *state,if (ret)return ret; - crtc_state->update_pipe = false; - crtc_state->update_m_n = false; - crtc_state->update_lrr = false; +clear_pipe_update_flags_on_modeset_crtc (crtc_state); + crtc_state->update_planes |= crtc_state->active_planes; crtc_state->async_flip_planes =0 ; crtc_state->do_async_flip = false;
@@ -5699,13 +5708,13 @@ static void intel_crtc_check_fastset(const struct intel_crtc_state *old_crtc_staelse new_crtc_state->uapi.mode_changed = false; -if (intel_crtc_needs_modeset (new_crtc_state) || -intel_compare_link_m_n (&old_crtc_state->dp_m_n, +clear_pipe_update_flags_on_modeset_crtc (new_crtc_state); + +if (intel_compare_link_m_n (&old_crtc_state->dp_m_n, &new_crtc_state->dp_m_n)) new_crtc_state->update_m_n = false; -if (intel_crtc_needs_modeset (new_crtc_state) || - (old_crtc_state->hw.adjusted_mode.crtc_vtotal == new_crtc_state->hw.adjusted_mode.crtc_vtotal && +if ((old_crtc_state->hw.adjusted_mode.crtc_vtotal == new_crtc_state->hw.adjusted_mode.crtc_vtotal && old_crtc_state->hw.adjusted_mode.crtc_vblank_end == new_crtc_state->hw.adjusted_mode.crtc_vblank_end)) new_crtc_state->update_lrr = false;
@@ -6484,12 +6493,9 @@ int intel_atomic_check(struct drm_device *dev,if (intel_dp_mst_is_slave_trans (new_crtc_state)) {enum transcoder master = new_crtc_state->mst_master_transcoder; -if (intel_cpu_transcoders_need_modeset (state,BIT (master))) { - new_crtc_state->uapi.mode_changed = true; - new_crtc_state->update_pipe = false; - new_crtc_state->update_m_n = false; - new_crtc_state->update_lrr = false; - } +if (intel_cpu_transcoders_need_modeset (state,BIT (master))) +intel_modeset_pipes_in_mask_early (state,"MST master transcoder" , +BIT (crtc->pipe)); }if (is_trans_port_sync_mode (new_crtc_state)) {
@@ -6498,22 +6504,18 @@ int intel_atomic_check(struct drm_device *dev,if (new_crtc_state->master_transcoder !=INVALID_TRANSCODER ) trans |=BIT (new_crtc_state->master_transcoder); -if (intel_cpu_transcoders_need_modeset (state, trans)) { - new_crtc_state->uapi.mode_changed = true; - new_crtc_state->update_pipe = false; - new_crtc_state->update_m_n = false; - new_crtc_state->update_lrr = false; - } +if (intel_cpu_transcoders_need_modeset (state, trans)) +intel_modeset_pipes_in_mask_early (state,"port sync" , +BIT (crtc->pipe)); }if (new_crtc_state->bigjoiner_pipes) { -if (intel_pipes_need_modeset (state, new_crtc_state->bigjoiner_pipes)) { - new_crtc_state->uapi.mode_changed = true; - new_crtc_state->update_pipe = false; - new_crtc_state->update_m_n = false; - new_crtc_state->update_lrr = false; - } +if (intel_pipes_need_modeset (state, new_crtc_state->bigjoiner_pipes)) +intel_modeset_pipes_in_mask_early (state,"bigjoiner pipes" , +BIT (crtc->pipe)); } + +clear_pipe_update_flags_on_modeset_crtc (new_crtc_state); } for_each_oldnew_intel_crtc_in_state(state, crtc, old_crtc_state,
Signature · 1 line
2.39.2
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [Intel-gfx] [PATCH 25/29] drm/i915: Factor out function to clear pipe update flags
Quoted 17 lines · Ville Syrjälä
Quoted 16 lines · Imre Deak
Factor out a helper to clear the pipe update flags, used by a follow-up patch to modeset an MST topology.
Signed-off-by Imre Deak <[email protected]>--- drivers/gpu/drm/i915/display/intel_display.c | 52 ++++++++++---------- 1 file changed, 27 insertions(+), 25 deletions(-)drivers/gpu/drm/i915/display/intel_display.c +0
-0@@ -5551,6 +5551,16 @@ int intel_modeset_pipes_in_mask_early(struct intel_atomic_state *state,return 0 ; }
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_display.c int intel_modeset_pipes_in_mask_early(struct intel_atomic_state *state, · line 5557
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_display.c +4
-0+static void clear_pipe_update_flags_on_modeset_crtc (struct intel_crtc_state *crtc_state) +{ +if (!intel_crtc_needs_modeset (crtc_state)) +return ;This feels more confusing than not. I'd probably keep the modeset check out from this function.
Ok, can move it to the callers where it's needed (i.e. all except for intel_modeset_all_pipes_late()).
Quoted 92 lines
Quoted 88 lines
drivers/gpu/drm/i915/display/intel_display.c +23
-25+ + crtc_state->update_pipe = false; + crtc_state->update_m_n = false; + crtc_state->update_lrr = false; +} +/** * intel_modeset_all_pipes_late - force a full modeset on all pipes * @state: intel atomic state @@ -5584,9 +5594,8 @@ int intel_modeset_all_pipes_late(struct intel_atomic_state *state,if (ret)return ret; - crtc_state->update_pipe = false; - crtc_state->update_m_n = false; - crtc_state->update_lrr = false; +clear_pipe_update_flags_on_modeset_crtc (crtc_state); + crtc_state->update_planes |= crtc_state->active_planes; crtc_state->async_flip_planes =0 ; crtc_state->do_async_flip = false;@@ -5699,13 +5708,13 @@ static void intel_crtc_check_fastset(const struct intel_crtc_state *old_crtc_staelse new_crtc_state->uapi.mode_changed = false; -if (intel_crtc_needs_modeset (new_crtc_state) || -intel_compare_link_m_n (&old_crtc_state->dp_m_n, +clear_pipe_update_flags_on_modeset_crtc (new_crtc_state); + +if (intel_compare_link_m_n (&old_crtc_state->dp_m_n, &new_crtc_state->dp_m_n)) new_crtc_state->update_m_n = false; -if (intel_crtc_needs_modeset (new_crtc_state) || - (old_crtc_state->hw.adjusted_mode.crtc_vtotal == new_crtc_state->hw.adjusted_mode.crtc_vtotal && +if ((old_crtc_state->hw.adjusted_mode.crtc_vtotal == new_crtc_state->hw.adjusted_mode.crtc_vtotal && old_crtc_state->hw.adjusted_mode.crtc_vblank_end == new_crtc_state->hw.adjusted_mode.crtc_vblank_end)) new_crtc_state->update_lrr = false;@@ -6484,12 +6493,9 @@ int intel_atomic_check(struct drm_device *dev,if (intel_dp_mst_is_slave_trans (new_crtc_state)) {enum transcoder master = new_crtc_state->mst_master_transcoder; -if (intel_cpu_transcoders_need_modeset (state,BIT (master))) { - new_crtc_state->uapi.mode_changed = true; - new_crtc_state->update_pipe = false; - new_crtc_state->update_m_n = false; - new_crtc_state->update_lrr = false; - } +if (intel_cpu_transcoders_need_modeset (state,BIT (master))) +intel_modeset_pipes_in_mask_early (state,"MST master transcoder" , +BIT (crtc->pipe)); }if (is_trans_port_sync_mode (new_crtc_state)) {@@ -6498,22 +6504,18 @@ int intel_atomic_check(struct drm_device *dev,if (new_crtc_state->master_transcoder !=INVALID_TRANSCODER ) trans |=BIT (new_crtc_state->master_transcoder); -if (intel_cpu_transcoders_need_modeset (state, trans)) { - new_crtc_state->uapi.mode_changed = true; - new_crtc_state->update_pipe = false; - new_crtc_state->update_m_n = false; - new_crtc_state->update_lrr = false; - } +if (intel_cpu_transcoders_need_modeset (state, trans)) +intel_modeset_pipes_in_mask_early (state,"port sync" , +BIT (crtc->pipe)); }if (new_crtc_state->bigjoiner_pipes) { -if (intel_pipes_need_modeset (state, new_crtc_state->bigjoiner_pipes)) { - new_crtc_state->uapi.mode_changed = true; - new_crtc_state->update_pipe = false; - new_crtc_state->update_m_n = false; - new_crtc_state->update_lrr = false; - } +if (intel_pipes_need_modeset (state, new_crtc_state->bigjoiner_pipes)) +intel_modeset_pipes_in_mask_early (state,"bigjoiner pipes" , +BIT (crtc->pipe)); } + +clear_pipe_update_flags_on_modeset_crtc (new_crtc_state); } for_each_oldnew_intel_crtc_in_state(state, crtc, old_crtc_state,Signature · 1 line
2.39.2Signature · 2 lines
Ville Syrjälä Intel
PATCH 26/29 drm/i915/dp_mst: Force modeset CRTC if DSC toggling requires it
In reply to Imre DeakEnabling / disabling DSC decompression in the branch device downstream of the source may reset the while branch device. To avoid this while the streams are still active, force a modeset on all CRTC/ports connected to this branch device.
--- drivers/gpu/drm/i915/display/intel_display.c | 4 ++ drivers/gpu/drm/i915/display/intel_dp_mst.c | 72 ++++++++++++++++++++ drivers/gpu/drm/i915/display/intel_dp_mst.h | 2 + 3 files changed, 78 insertions(+)
drivers/gpu/drm/i915/display/intel_display.c +4 -0
@@ -6490,6 +6490,10 @@ int intel_atomic_check(struct drm_device *dev,if (!new_crtc_state->hw.enable ||intel_crtc_needs_modeset (new_crtc_state))continue ; +if (intel_dp_mst_crtc_needs_modeset (state, crtc)) +intel_modeset_pipes_in_mask_early (state,"MST topology" , +BIT (crtc->pipe)); +if (intel_dp_mst_is_slave_trans (new_crtc_state)) {enum transcoder master = new_crtc_state->mst_master_transcoder;
drivers/gpu/drm/i915/display/intel_dp_mst.c +72 -0
75 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_dp_mst.h +2 -0
@@ -22,5 +22,7 @@ bool intel_dp_mst_is_slave_trans(const struct intel_crtc_state *crtc_state);bool intel_dp_mst_source_support (struct intel_dp *intel_dp);int intel_dp_mst_add_topology_state_for_crtc (struct intel_atomic_state *state,struct intel_crtc *crtc); +bool intel_dp_mst_crtc_needs_modeset (struct intel_atomic_state *state, +struct intel_crtc *crtc);#endif /* __INTEL_DP_MST_H__ */
Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 26/29] drm/i915/dp_mst: Force modeset CRTC if DSC toggling requires it
Quoted 2 lines · Imre Deak
Enabling / disabling DSC decompression in the branch device downstream of the source may reset the while branch device. To avoid this while the
"may reset the whOle branch device" I guess?
Quoted 4 lines
streams are still active, force a modeset on all CRTC/ports connected to this branch device.
Signed-off-by Imre Deak <[email protected]>
Quoted 116 lines
--- drivers/gpu/drm/i915/display/intel_display.c | 4 ++ drivers/gpu/drm/i915/display/intel_dp_mst.c | 72 ++++++++++++++++++++ drivers/gpu/drm/i915/display/intel_dp_mst.h | 2 + 3 files changed, 78 insertions(+)drivers/gpu/drm/i915/display/intel_display.c +4
-0@@ -6490,6 +6490,10 @@ int intel_atomic_check(struct drm_device *dev,if (!new_crtc_state->hw.enable ||intel_crtc_needs_modeset (new_crtc_state))continue ; +if (intel_dp_mst_crtc_needs_modeset (state, crtc)) +intel_modeset_pipes_in_mask_early (state,"MST topology" , +BIT (crtc->pipe)); +if (intel_dp_mst_is_slave_trans (new_crtc_state)) {enum transcoder master = new_crtc_state->mst_master_transcoder;drivers/gpu/drm/i915/display/intel_dp_mst.c +72
-0@@ -1606,3 +1606,75 @@ int intel_dp_mst_add_topology_state_for_crtc(struct intel_atomic_state *state,return 0 ; } + +static struct intel_connector * +get_connector_in_state_for_crtc (struct intel_atomic_state *state, +const struct intel_crtc *crtc) +{ +struct drm_connector_state *old_conn_state; +struct drm_connector_state *new_conn_state; +struct drm_connector *_connector; +int i; + +for_each_oldnew_connector_in_state (&state->base, _connector, + old_conn_state, new_conn_state, i) { +struct intel_connector *connector = +to_intel_connector (_connector); + +if (old_conn_state->crtc == &crtc->base || + new_conn_state->crtc == &crtc->base) +return connector; + } + +return NULL ; +} + +bool intel_dp_mst_crtc_needs_modeset (struct intel_atomic_state *state, +struct intel_crtc *crtc) +{ +const struct intel_connector *crtc_connector; +const struct drm_connector_state *conn_state; +const struct drm_connector *_connector; +int i; + +if (!intel_crtc_has_type (intel_atomic_get_new_crtc_state (state, crtc), +INTEL_OUTPUT_DP_MST )) +return false; + + crtc_connector =get_connector_in_state_for_crtc (state, crtc); + +if (!crtc_connector) +/* None of the connectors in the topology needs modeset */ +return false; + +for_each_new_connector_in_state (&state->base, _connector, conn_state, i) { +const struct intel_connector *connector = +to_intel_connector (_connector); +const struct intel_crtc_state *new_crtc_state = +intel_atomic_get_new_crtc_state (state, crtc); +const struct intel_crtc_state *old_crtc_state = +intel_atomic_get_old_crtc_state (state, crtc); + +if (connector->mst_port != crtc_connector->mst_port) +continue ; + +if (!intel_crtc_needs_modeset (new_crtc_state)) +continue ; + +if (old_crtc_state->dsc.compression_enable == + new_crtc_state->dsc.compression_enable) +continue ; + +/* +* Toggling the compression flag because of this stream in the first +* downstream branch device's UFP DPCD may reset the whole branch +* device. To avoid the reset while other streams are also +* active modeset the whole MST topology in this case. +*/ +if (connector->dp.dsc_decompression_aux == + &connector->mst_port->aux) +return true; + } + +return false; +}drivers/gpu/drm/i915/display/intel_dp_mst.h +2
-0@@ -22,5 +22,7 @@ bool intel_dp_mst_is_slave_trans(const struct intel_crtc_state *crtc_state);bool intel_dp_mst_source_support (struct intel_dp *intel_dp);int intel_dp_mst_add_topology_state_for_crtc (struct intel_atomic_state *state,struct intel_crtc *crtc); +bool intel_dp_mst_crtc_needs_modeset (struct intel_atomic_state *state, +struct intel_crtc *crtc);#endif /* __INTEL_DP_MST_H__ */ Signature · 1 line
2.39.2
PATCH 27/29 drm/i915/dp_mst: Improve BW sharing between MST streams
In reply to Imre DeakAt the moment modesetting a stream CRTC will fail if the stream's BW along with the current BW of all the other streams on the same MST link is above the total BW of the MST link. Make the BW sharing more dynamic by trying to reduce the link bpp of one or more streams on the MST link in this case.
When selecting a stream to reduce the BW for, take into account which link segment in the MST topology ran out of BW and which streams go through this link segment. For instance with A,B,C streams in the same MST topology A and B may share the BW of a link segment downstream of a branch device, stream C not downstream of the branch device, hence not affecting this BW. If this link segment's BW runs out one or both of stream A/B's BW will be reduced until their total BW is within limits.
While reducing the link bpp for a given stream DSC may need to be enabled for it, which requires FEC on the whole MST link. Check for this condition and recompute the state for all streams taking the FEC overhead into account (on 8b/10b links).
v2:
- Rebase on s/min_bpp_pipes/min_bpp_reached_pipes/ change.
--- drivers/gpu/drm/i915/display/intel_display.c | 5 +- drivers/gpu/drm/i915/display/intel_dp.c | 11 +- drivers/gpu/drm/i915/display/intel_dp.h | 3 + drivers/gpu/drm/i915/display/intel_dp_mst.c | 129 +++++++++++++++++++ drivers/gpu/drm/i915/display/intel_dp_mst.h | 3 + drivers/gpu/drm/i915/display/intel_link_bw.c | 16 ++- drivers/gpu/drm/i915/display/intel_link_bw.h | 1 + 7 files changed, 161 insertions(+), 7 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +1 -4
@@ -4707,6 +4707,7 @@ intel_modeset_pipe_config(struct intel_atomic_state *state,if (ret)return ret; + crtc_state->fec_enable = limits->force_fec_pipes &BIT (crtc->pipe); crtc_state->max_link_bpp_x16 = limits->max_bpp_x16[crtc->pipe];if (crtc_state->pipe_bpp >to_bpp_int (crtc_state->max_link_bpp_x16)) {
@@ -6539,10 +6540,6 @@ int intel_atomic_check(struct drm_device *dev, goto fail; } - ret =drm_dp_mst_atomic_check (&state->base); -if (ret) - goto fail; - ret =intel_atomic_check_planes (state);if (ret) goto fail;
drivers/gpu/drm/i915/display/intel_dp.c +9 -2
@@ -2138,8 +2138,9 @@ int intel_dp_dsc_compute_config(struct intel_dp *intel_dp, &pipe_config->hw.adjusted_mode;int ret; - pipe_config->fec_enable = !intel_dp_is_edp (intel_dp) && -intel_dp_supports_fec (intel_dp, connector, pipe_config); + pipe_config->fec_enable = pipe_config->fec_enable || + (!intel_dp_is_edp (intel_dp) && +intel_dp_supports_fec (intel_dp, connector, pipe_config));if (!intel_dp_supports_dsc (connector, pipe_config))return -EINVAL ;
@@ -2327,6 +2328,8 @@ intel_dp_compute_link_config(struct intel_encoder *encoder, {struct drm_i915_private *i915 =to_i915 (encoder->base.dev);struct intel_crtc *crtc =to_intel_crtc (pipe_config->uapi.crtc); +const struct intel_connector *connector = +to_intel_connector (conn_state->connector);const struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode;struct intel_dp *intel_dp =enc_to_intel_dp (encoder);
@@ -2335,6 +2338,10 @@ intel_dp_compute_link_config(struct intel_encoder *encoder,bool dsc_needed;int ret =0 ; +if (pipe_config->fec_enable && + !intel_dp_supports_fec (intel_dp, connector, pipe_config)) +return -EINVAL ; +if (intel_dp_need_bigjoiner (intel_dp, adjusted_mode->crtc_hdisplay, adjusted_mode->crtc_clock)) pipe_config->bigjoiner_pipes =GENMASK (crtc->pipe +1 , crtc->pipe);
drivers/gpu/drm/i915/display/intel_dp.h +3 -0
@@ -137,6 +137,9 @@ static inline unsigned int intel_dp_unused_lane_mask(int lane_count)return ~((1 << lane_count) -1 ) &0xf ; } +bool intel_dp_supports_fec (struct intel_dp *intel_dp, +const struct intel_connector *connector, +const struct intel_crtc_state *pipe_config);u32 intel_dp_mode_to_fec_clock (u32 mode_clock);int intel_dp_bw_fec_overhead (bool fec_enabled);
drivers/gpu/drm/i915/display/intel_dp_mst.c +129 -0
147 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_dp_mst.h +3 -0
@@ -13,6 +13,7 @@ struct intel_crtc;struct intel_crtc_state ;struct intel_digital_port ;struct intel_dp ; +struct intel_link_bw_limits ;int intel_dp_mst_encoder_init (struct intel_digital_port *dig_port,int conn_id);void intel_dp_mst_encoder_cleanup (struct intel_digital_port *dig_port);
@@ -22,6 +23,8 @@ bool intel_dp_mst_is_slave_trans(const struct intel_crtc_state *crtc_state);bool intel_dp_mst_source_support (struct intel_dp *intel_dp);int intel_dp_mst_add_topology_state_for_crtc (struct intel_atomic_state *state,struct intel_crtc *crtc); +int intel_dp_mst_atomic_check_link (struct intel_atomic_state *state, +struct intel_link_bw_limits *limits);bool intel_dp_mst_crtc_needs_modeset (struct intel_atomic_state *state,struct intel_crtc *crtc);
drivers/gpu/drm/i915/display/intel_link_bw.c +15 -1
@@ -7,6 +7,7 @@#include "intel_atomic.h" #include "intel_display_types.h" +#include "intel_dp_mst.h" #include "intel_fdi.h" #include "intel_link_bw.h"
@@ -21,6 +22,7 @@ void intel_link_bw_init_limits(struct drm_i915_private *i915, struct intel_link_ {enum pipe pipe; + limits->force_fec_pipes =0 ; limits->bpp_limit_reached_pipes =0 ;for_each_pipe (i915, pipe) limits->max_bpp_x16[pipe] =INT_MAX ;
@@ -143,6 +145,10 @@ static int check_all_link_config(struct intel_atomic_state *state,/* TODO: Check additional shared display link configurations like MST */ int ret; + ret =intel_dp_mst_atomic_check_link (state, limits); +if (ret) +return ret; + ret =intel_fdi_atomic_check_link (state, limits);if (ret)return ret;
@@ -158,6 +164,12 @@ assert_link_limit_change_valid(struct drm_i915_private *i915,bool bpps_changed = false;enum pipe pipe; +/* FEC can't be forced off after it was forced on. */ +if (drm_WARN_ON (&i915->drm, + (old_limits->force_fec_pipes & new_limits->force_fec_pipes) != + old_limits->force_fec_pipes)) +return false; +for_each_pipe (i915, pipe) {/* The bpp limit can only decrease. */ if (drm_WARN_ON(&i915->drm,
@@ -172,7 +184,9 @@ assert_link_limit_change_valid(struct drm_i915_private *i915,/* At least one limit must change. */ if (drm_WARN_ON (&i915->drm, - !bpps_changed)) + !bpps_changed && + new_limits->force_fec_pipes == + old_limits->force_fec_pipes))return false;return true;
drivers/gpu/drm/i915/display/intel_link_bw.h +1 -0
@@ -16,6 +16,7 @@ struct intel_atomic_state;struct intel_crtc_state ;struct intel_link_bw_limits { +u8 force_fec_pipes;u8 bpp_limit_reached_pipes;/* in 1/16 bpp units */ int max_bpp_x16[I915_MAX_PIPES ];
Signature · 1 line
2.39.2
PATCH 28/29 drm/i915/dp_mst: Check BW limitations only after all streams are computed
In reply to Imre DeakAfter the previous patch the BW limits on the whole MST topology will be checked after computing the state for all the streams in the topology. Accordingly remove the check during the stream's encoder compute config step, to prevent failing an atomic commit due to a BW limit, if this can be resolved only by reducing the BW of other streams on the same MST link.
--- drivers/gpu/drm/i915/display/intel_dp_mst.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
drivers/gpu/drm/i915/display/intel_dp_mst.c +1 -7
@@ -188,13 +188,7 @@ static int intel_dp_mst_find_vcpi_slots_for_bpp(struct intel_encoder *encoder,if (slots >=0 ) {drm_WARN_ON (&i915->drm, slots != remote_m_n.tu); - ret =drm_dp_mst_atomic_check (state); -/* -* If we got slots >= 0 and we can fit those based on check -* then we can exit the loop. Otherwise keep trying. -*/ -if (!ret) -break ; +break ; } }
Signature · 1 line
2.39.2
PATCH 29/29 drm/i915: Query compressed bpp properly using correct DPCD and DP Spec info
In reply to Imre DeakFrom: Stanislav Lisovskiy <[email protected]>
Currently we seem to be using wrong DPCD register for reading compressed bpps, reading min/max input bpc instead of compressed bpp. Fix that, so that we now apply min/max compressed bpp limitations we get from DP Spec Table 2-157 DP v2.0 and/or correspondent DPCD register DP_DSC_MAX_BITS_PER_PIXEL_LOW/HIGH.
This might also allow us to get rid of an ugly compressed bpp recalculation, which we had to add to make some MST hubs usable.
v2: - Fix operator precedence
v3: - Added debug info about compressed bpps
v4: - Don't try to intersect Sink input bpp and compressed bpps.
v5: - Decrease step while looking for suitable compressed bpp to
accommodate.
v6: - Use helper for getting min and max compressed_bpp (Ankit)
v7: - Fix checkpatch warning (Ankit)
--- drivers/gpu/drm/i915/display/intel_dp.c | 20 +++++--- drivers/gpu/drm/i915/display/intel_dp.h | 4 ++ drivers/gpu/drm/i915/display/intel_dp_mst.c | 54 ++++++++++----------- 3 files changed, 41 insertions(+), 37 deletions(-)
drivers/gpu/drm/i915/display/intel_dp.c +12 -8
@@ -1811,7 +1811,7 @@ u16 intel_dp_dsc_max_sink_compressed_bppx16(const struct intel_connector *connecreturn 0 ; } -static int dsc_sink_min_compressed_bpp (struct intel_crtc_state *pipe_config) +int intel_dp_dsc_sink_min_compressed_bpp (struct intel_crtc_state *pipe_config) {/* From Mandatory bit rate range Support Table 2-157 (DP v2.0) */ switch (pipe_config->output_format) {
@@ -1828,9 +1828,9 @@ static int dsc_sink_min_compressed_bpp(struct intel_crtc_state *pipe_config)return 0 ; } -static int dsc_sink_max_compressed_bpp (const struct intel_connector *connector, -struct intel_crtc_state *pipe_config, -int bpc) +int intel_dp_dsc_sink_max_compressed_bpp (const struct intel_connector *connector, +struct intel_crtc_state *pipe_config, +int bpc) {return intel_dp_dsc_max_sink_compressed_bppx16 (connector, pipe_config, bpc) >>4 ;
@@ -1944,12 +1944,14 @@ static int dsc_compute_compressed_bpp(struct intel_dp *intel_dp,int dsc_joiner_max_bpp; dsc_src_min_bpp =dsc_src_min_compressed_bpp (); - dsc_sink_min_bpp =dsc_sink_min_compressed_bpp (pipe_config); + dsc_sink_min_bpp =intel_dp_dsc_sink_min_compressed_bpp (pipe_config); dsc_min_bpp =max (dsc_src_min_bpp, dsc_sink_min_bpp); dsc_min_bpp =max (dsc_min_bpp,to_bpp_int_roundup (limits->link.min_bpp_x16)); dsc_src_max_bpp =dsc_src_max_compressed_bpp (intel_dp); - dsc_sink_max_bpp =dsc_sink_max_compressed_bpp (connector, pipe_config, pipe_bpp /3 ); + dsc_sink_max_bpp =intel_dp_dsc_sink_max_compressed_bpp (connector, + pipe_config, + pipe_bpp /3 ); dsc_max_bpp = dsc_sink_max_bpp ?min (dsc_sink_max_bpp, dsc_src_max_bpp) : dsc_src_max_bpp; dsc_joiner_max_bpp = get_max_compressed_bpp_with_joiner(i915, adjusted_mode->clock,
@@ -2104,12 +2106,14 @@ static int intel_edp_dsc_compute_pipe_bpp(struct intel_dp *intel_dp, pipe_config->lane_count = limits->max_lane_count; dsc_src_min_bpp =dsc_src_min_compressed_bpp (); - dsc_sink_min_bpp =dsc_sink_min_compressed_bpp (pipe_config); + dsc_sink_min_bpp =intel_dp_dsc_sink_min_compressed_bpp (pipe_config); dsc_min_bpp =max (dsc_src_min_bpp, dsc_sink_min_bpp); dsc_min_bpp =max (dsc_min_bpp,to_bpp_int_roundup (limits->link.min_bpp_x16)); dsc_src_max_bpp =dsc_src_max_compressed_bpp (intel_dp); - dsc_sink_max_bpp =dsc_sink_max_compressed_bpp (connector, pipe_config, pipe_bpp /3 ); + dsc_sink_max_bpp =intel_dp_dsc_sink_max_compressed_bpp (connector, + pipe_config, + pipe_bpp /3 ); dsc_max_bpp = dsc_sink_max_bpp ?min (dsc_sink_max_bpp, dsc_src_max_bpp) : dsc_src_max_bpp; dsc_max_bpp =min (dsc_max_bpp,to_bpp_int (limits->link.max_bpp_x16));
drivers/gpu/drm/i915/display/intel_dp.h +4 -0
@@ -126,6 +126,10 @@ u16 intel_dp_dsc_get_max_compressed_bpp(struct drm_i915_private *i915,enum intel_output_format output_format, u32 pipe_bpp, u32 timeslots); +int intel_dp_dsc_sink_min_compressed_bpp (struct intel_crtc_state *pipe_config); +int intel_dp_dsc_sink_max_compressed_bpp (const struct intel_connector *connector, +struct intel_crtc_state *pipe_config, +int bpc);u8 intel_dp_dsc_get_slice_count (const struct intel_connector *connector,int mode_clock,int mode_hdisplay,bool bigjoiner);
drivers/gpu/drm/i915/display/intel_dp_mst.c +25 -29
77 lines not on this page · raw message
Signature · 1 line
2.39.2
Re: [Intel-gfx] [PATCH 29/29] drm/i915: Query compressed bpp properly using correct DPCD and DP Spec info
LGTM.
Quoted 186 lines · Imre Deak
From: Stanislav Lisovskiy <[email protected]>
Currently we seem to be using wrong DPCD register for reading compressed bpps, reading min/max input bpc instead of compressed bpp. Fix that, so that we now apply min/max compressed bpp limitations we get from DP Spec Table 2-157 DP v2.0 and/or correspondent DPCD register DP_DSC_MAX_BITS_PER_PIXEL_LOW/HIGH.
This might also allow us to get rid of an ugly compressed bpp recalculation, which we had to add to make some MST hubs usable.
v2: - Fix operator precedence
v3: - Added debug info about compressed bpps
v4: - Don't try to intersect Sink input bpp and compressed bpps.
v5: - Decrease step while looking for suitable compressed bpp to
accommodate.
v6: - Use helper for getting min and maxcompressed_bpp(Ankit)
v7: - Fix checkpatch warning (Ankit)Signed-off-by Stanislav Lisovskiy <[email protected]>Signed-off-by Ankit Nautiyal <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 20 +++++--- drivers/gpu/drm/i915/display/intel_dp.h | 4 ++ drivers/gpu/drm/i915/display/intel_dp_mst.c | 54 ++++++++++----------- 3 files changed, 41 insertions(+), 37 deletions(-)drivers/gpu/drm/i915/display/intel_dp.c +12
-8@@ -1811,7 +1811,7 @@ u16 intel_dp_dsc_max_sink_compressed_bppx16(const struct intel_connector *connecreturn 0 ; } -static int dsc_sink_min_compressed_bpp (struct intel_crtc_state *pipe_config) +int intel_dp_dsc_sink_min_compressed_bpp (struct intel_crtc_state *pipe_config) {/* From Mandatory bit rate range Support Table 2-157 (DP v2.0) */ switch (pipe_config->output_format) {@@ -1828,9 +1828,9 @@ static int dsc_sink_min_compressed_bpp(struct intel_crtc_state *pipe_config)return 0 ; } -static int dsc_sink_max_compressed_bpp (const struct intel_connector *connector, -struct intel_crtc_state *pipe_config, -int bpc) +int intel_dp_dsc_sink_max_compressed_bpp (const struct intel_connector *connector, +struct intel_crtc_state *pipe_config, +int bpc) {return intel_dp_dsc_max_sink_compressed_bppx16 (connector, pipe_config, bpc) >>4 ;@@ -1944,12 +1944,14 @@ static int dsc_compute_compressed_bpp(struct intel_dp *intel_dp,int dsc_joiner_max_bpp; dsc_src_min_bpp =dsc_src_min_compressed_bpp (); - dsc_sink_min_bpp =dsc_sink_min_compressed_bpp (pipe_config); + dsc_sink_min_bpp =intel_dp_dsc_sink_min_compressed_bpp (pipe_config); dsc_min_bpp =max (dsc_src_min_bpp, dsc_sink_min_bpp); dsc_min_bpp =max (dsc_min_bpp,to_bpp_int_roundup (limits->link.min_bpp_x16)); dsc_src_max_bpp =dsc_src_max_compressed_bpp (intel_dp); - dsc_sink_max_bpp =dsc_sink_max_compressed_bpp (connector, pipe_config, pipe_bpp /3 ); + dsc_sink_max_bpp =intel_dp_dsc_sink_max_compressed_bpp (connector, + pipe_config, + pipe_bpp /3 ); dsc_max_bpp = dsc_sink_max_bpp ?min (dsc_sink_max_bpp, dsc_src_max_bpp) : dsc_src_max_bpp; dsc_joiner_max_bpp = get_max_compressed_bpp_with_joiner(i915, adjusted_mode->clock,@@ -2104,12 +2106,14 @@ static int intel_edp_dsc_compute_pipe_bpp(struct intel_dp *intel_dp, pipe_config->lane_count = limits->max_lane_count; dsc_src_min_bpp =dsc_src_min_compressed_bpp (); - dsc_sink_min_bpp =dsc_sink_min_compressed_bpp (pipe_config); + dsc_sink_min_bpp =intel_dp_dsc_sink_min_compressed_bpp (pipe_config); dsc_min_bpp =max (dsc_src_min_bpp, dsc_sink_min_bpp); dsc_min_bpp =max (dsc_min_bpp,to_bpp_int_roundup (limits->link.min_bpp_x16)); dsc_src_max_bpp =dsc_src_max_compressed_bpp (intel_dp); - dsc_sink_max_bpp =dsc_sink_max_compressed_bpp (connector, pipe_config, pipe_bpp /3 ); + dsc_sink_max_bpp =intel_dp_dsc_sink_max_compressed_bpp (connector, + pipe_config, + pipe_bpp /3 ); dsc_max_bpp = dsc_sink_max_bpp ?min (dsc_sink_max_bpp, dsc_src_max_bpp) : dsc_src_max_bpp; dsc_max_bpp =min (dsc_max_bpp,to_bpp_int (limits->link.max_bpp_x16));drivers/gpu/drm/i915/display/intel_dp.h +4
-0@@ -126,6 +126,10 @@ u16 intel_dp_dsc_get_max_compressed_bpp(struct drm_i915_private *i915,enum intel_output_format output_format, u32 pipe_bpp, u32 timeslots); +int intel_dp_dsc_sink_min_compressed_bpp (struct intel_crtc_state *pipe_config); +int intel_dp_dsc_sink_max_compressed_bpp (const struct intel_connector *connector, +struct intel_crtc_state *pipe_config, +int bpc);u8 intel_dp_dsc_get_slice_count (const struct intel_connector *connector,int mode_clock,int mode_hdisplay,bool bigjoiner);drivers/gpu/drm/i915/display/intel_dp_mst.c +25
-29@@ -157,6 +157,9 @@ static int intel_dp_mst_find_vcpi_slots_for_bpp(struct intel_encoder *encoder, crtc_state->port_clock, crtc_state->lane_count); +drm_dbg_kms (&i915->drm,"Looking for slots in range min bpp %d max bpp %d\n" , + min_bpp, max_bpp); +for (bpp = max_bpp; bpp >= min_bpp; bpp -= step) {struct intel_link_m_n remote_m_n;int link_bpp;@@ -246,8 +249,7 @@ static int intel_dp_dsc_mst_compute_link_config(struct intel_encoder *encoder,u8 dsc_bpc[3 ] = {};int min_bpp, max_bpp, sink_min_bpp, sink_max_bpp;u8 dsc_max_bpc; -bool need_timeslot_recalc = false; -u32 last_compressed_bpp; +int min_compressed_bpp, max_compressed_bpp;/* Max DSC Input BPC for ICL is 10 and for TGL+ is 12 */ if (DISPLAY_VER (i915) >=12 )@@ -283,38 +285,32 @@ static int intel_dp_dsc_mst_compute_link_config(struct intel_encoder *encoder,if (max_bpp > sink_max_bpp) max_bpp = sink_max_bpp; - min_bpp =max (min_bpp,to_bpp_int_roundup (limits->link.min_bpp_x16)); - max_bpp =min (max_bpp,to_bpp_int (limits->link.max_bpp_x16)); + max_compressed_bpp =intel_dp_dsc_sink_max_compressed_bpp (connector, + crtc_state, + max_bpp /3 ); + max_compressed_bpp =min (max_compressed_bpp, +to_bpp_int (limits->link.max_bpp_x16)); - slots =intel_dp_mst_find_vcpi_slots_for_bpp (encoder, crtc_state, max_bpp, - min_bpp, limits, - conn_state,2 *3 , true); + min_compressed_bpp =intel_dp_dsc_sink_min_compressed_bpp (crtc_state); + min_compressed_bpp =max (min_compressed_bpp, +to_bpp_int_roundup (limits->link.min_bpp_x16)); + +drm_dbg_kms (&i915->drm,"DSC Sink supported compressed min bpp %d compressed max bpp %d\n" , + min_compressed_bpp, max_compressed_bpp); + +/* Align compressed bpps according to our own constraints */ + max_compressed_bpp =intel_dp_dsc_nearest_valid_bpp (i915, max_compressed_bpp, + crtc_state->pipe_bpp); + min_compressed_bpp =intel_dp_dsc_nearest_valid_bpp (i915, min_compressed_bpp, + crtc_state->pipe_bpp); + + slots =intel_dp_mst_find_vcpi_slots_for_bpp (encoder, crtc_state, max_compressed_bpp, + min_compressed_bpp, limits, + conn_state,1 , true);if (slots <0 )return slots; - last_compressed_bpp = crtc_state->dsc.compressed_bpp; - - crtc_state->dsc.compressed_bpp =intel_dp_dsc_nearest_valid_bpp (i915, - last_compressed_bpp, - crtc_state->pipe_bpp); - -if (crtc_state->dsc.compressed_bpp != last_compressed_bpp) - need_timeslot_recalc = true; - -/* -* Apparently some MST hubs dislike if vcpi slots are not matching precisely -* the actual compressed bpp we use. -*/ -if (need_timeslot_recalc) { - slots =intel_dp_mst_find_vcpi_slots_for_bpp (encoder, crtc_state, - crtc_state->dsc.compressed_bpp, - crtc_state->dsc.compressed_bpp, - limits, conn_state,2 *3 , true); -if (slots <0 ) -return slots; - } -return 0 ; } static int intel_dp_mst_update_slots(struct intel_encoder *encoder,
Re: [Intel-gfx] [PATCH 29/29] drm/i915: Query compressed bpp properly using correct DPCD and DP Spec info
In reply to Imre DeakQuoted 28 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Imre Deak
Sent: Tuesday, October 24, 2023 6:39 AM
To: [email protected]
Subject: [Intel-gfx] [PATCH 29/29] drm/i915: Query compressed bpp properly using correct DPCD and DP Spec infoFrom: Stanislav Lisovskiy <[email protected]>
Currently we seem to be using wrong DPCD register for reading compressed bpps, reading min/max input bpc instead of compressed bpp. Fix that, so that we now apply min/max compressed bpp limitations we get from DP Spec Table 2-157 DP v2.0 and/or correspondent DPCD register DP_DSC_MAX_BITS_PER_PIXEL_LOW/HIGH.
This might also allow us to get rid of an ugly compressed bpp recalculation, which we had to add to make some MST hubs usable.
v2: - Fix operator precedence
v3: - Added debug info about compressed bpps
v4: - Don't try to intersect Sink input bpp and compressed bpps.
v5: - Decrease step while looking for suitable compressed bpp to
accommodate.
v6: - Use helper for getting min and maxcompressed_bpp(Ankit)
v7: - Fix checkpatch warning (Ankit)
Quoted 3 lines
Signed-off-by Stanislav Lisovskiy <[email protected]>Signed-off-by Ankit Nautiyal <[email protected]>---
Thanks and Regards,
Arun R Murthy
-------------------
Quoted 216 lines
drivers/gpu/drm/i915/display/intel_dp.c | 20 +++++--- drivers/gpu/drm/i915/display/intel_dp.h | 4 ++ drivers/gpu/drm/i915/display/intel_dp_mst.c | 54 ++++++++++----------- 3 files changed, 41 insertions(+), 37 deletions(-)drivers/gpu/drm/i915/display/intel_dp.c +0
-0@@ -1811,7 +1811,7 @@ u16intel_dp_dsc_max_sink_compressed_bppx16(const struct
intel_connector*connecdrivers/gpu/drm/i915/display/intel_dp.c +5
-4return 0 ; } -static int dsc_sink_min_compressed_bpp (struct intel_crtc_state *pipe_config) +int intel_dp_dsc_sink_min_compressed_bpp (struct intel_crtc_state +*pipe_config) {/* From Mandatory bit rate range Support Table 2-157 (DP v2.0) */ switch (pipe_config->output_format) {@@ -1828,9 +1828,9 @@ static int dsc_sink_min_compressed_bpp(struct intel_crtc_state *pipe_config)return 0 ; } -static int dsc_sink_max_compressed_bpp (const struct intel_connector *connector, -struct intel_crtc_state *pipe_config, - int bpc) +int intel_dp_dsc_sink_max_compressed_bpp (const struct intel_connector *connector, +struct intel_crtc_state *pipe_config, +int bpc){
drivers/gpu/drm/i915/display/intel_dp.c +1
-2return intel_dp_dsc_max_sink_compressed_bppx16 (connector, pipe_config, bpc) >>4 ;@@ -1944,12 +1944,14 @@ static int dsc_compute_compressed_bpp(structintel_dp *intel_dp, int dsc_joiner_max_bpp; dsc_src_min_bpp =dsc_src_min_compressed_bpp (); - dsc_sink_min_bpp =dsc_sink_min_compressed_bpp (pipe_config); + dsc_sink_min_bpp =intel_dp_dsc_sink_min_compressed_bpp (pipe_config); dsc_min_bpp =max (dsc_src_min_bpp, dsc_sink_min_bpp); dsc_min_bpp =max (dsc_min_bpp,to_bpp_int_roundup (limits- >link.min_bpp_x16)); dsc_src_max_bpp =dsc_src_max_compressed_bpp (intel_dp); - dsc_sink_max_bpp = dsc_sink_max_compressed_bpp(connector,
pipe_config,pipe_bpp/ 3);drivers/gpu/drm/i915/display/intel_dp.c +1
-0+ dsc_sink_max_bpp =intel_dp_dsc_sink_max_compressed_bpp(connector,
drivers/gpu/drm/i915/display/intel_dp.c +2
-0+ pipe_config, + pipe_bpp / 3); dsc_max_bpp = dsc_sink_max_bpp ? min(dsc_sink_max_bpp,
dsc_src_max_bpp) :dsc_src_max_bpp;
dsc_joiner_max_bpp= get_max_compressed_bpp_with_joiner(i915,adjusted_mode->clock, @@ -2104,12 +2106,14 @@ static int intel_edp_dsc_compute_pipe_bpp(structintel_dp*intel_dp,drivers/gpu/drm/i915/display/intel_dp.c +1
-1pipe_config->lane_count = limits->max_lane_count; dsc_src_min_bpp =dsc_src_min_compressed_bpp (); - dsc_sink_min_bpp =dsc_sink_min_compressed_bpp (pipe_config); + dsc_sink_min_bpp =
intel_dp_dsc_sink_min_compressed_bpp(pipe_config);drivers/gpu/drm/i915/display/intel_dp.c +0
-0dsc_min_bpp =max (dsc_src_min_bpp, dsc_sink_min_bpp); dsc_min_bpp = max(dsc_min_bpp, to_bpp_int_roundup(limits-Quoted 1 line
link.min_bpp_x16));
drivers/gpu/drm/i915/display/intel_dp.c +0
-1dsc_src_max_bpp =dsc_src_max_compressed_bpp (intel_dp); - dsc_sink_max_bpp = dsc_sink_max_compressed_bpp(connector,
pipe_config,pipe_bpp/ 3);drivers/gpu/drm/i915/display/intel_dp.c +1
-0+ dsc_sink_max_bpp =intel_dp_dsc_sink_max_compressed_bpp(connector,
drivers/gpu/drm/i915/display/intel_dp.c +2
-0+ pipe_config, + pipe_bpp / 3); dsc_max_bpp = dsc_sink_max_bpp ? min(dsc_sink_max_bpp,
dsc_src_max_bpp) :dsc_src_max_bpp;
dsc_max_bpp= min(dsc_max_bpp, to_bpp_int(limits-Quoted 1 line
link.max_bpp_x16));
drivers/gpu/drm/i915/display/intel_dp.h +4
-0@@ -126,6 +126,10 @@ u16 intel_dp_dsc_get_max_compressed_bpp(structdrm_i915_private *i915, enum intel_output_format output_format, u32 pipe_bpp, u32 timeslots); +int intel_dp_dsc_sink_min_compressed_bpp (struct intel_crtc_state +*pipe_config);int intel_dp_dsc_sink_max_compressed_bpp (const struct intel_connector *connector, +struct intel_crtc_state *pipe_config, +int bpc);u8 intel_dp_dsc_get_slice_count(const struct
intel_connector*connector,drivers/gpu/drm/i915/display/intel_dp.h +0
-0int mode_clock, int mode_hdisplay, bool bigjoiner);drivers/gpu/drm/i915/display/intel_dp_mst.c +3
-0@@ -157,6 +157,9 @@ static int intel_dp_mst_find_vcpi_slots_for_bpp(struct intel_encoder *encoder, crtc_state->port_clock, crtc_state->lane_count); + drm_dbg_kms(&i915->drm, "Looking for slots in range min bpp %d max bpp %d\n", + min_bpp, max_bpp); +for (bpp = max_bpp; bpp >= min_bpp; bpp -= step) {drivers/gpu/drm/i915/display/intel_dp_mst.c +1
-2struct intel_link_m_n remote_m_n;int link_bpp;@@ -246,8 +249,7 @@ static int intel_dp_dsc_mst_compute_link_config(structintel_encoder *encoder, u8 dsc_bpc[3] = {};int min_bpp, max_bpp, sink_min_bpp, sink_max_bpp;u8 dsc_max_bpc; -bool need_timeslot_recalc = false; -u32 last_compressed_bpp; +int min_compressed_bpp, max_compressed_bpp;/* Max DSC Input BPC for ICL is 10 and for TGL+ is 12 */ drivers/gpu/drm/i915/display/intel_dp_mst.c +17
-5if (DISPLAY_VER (i915) >=12 )@@ -283,38 +285,32 @@ static int intel_dp_dsc_mst_compute_link_config(struct intel_encoder *encoder, if (max_bpp > sink_max_bpp) max_bpp = sink_max_bpp; - min_bpp =max (min_bpp,to_bpp_int_roundup (limits- >link.min_bpp_x16)); - max_bpp =min (max_bpp,to_bpp_int (limits->link.max_bpp_x16)); + max_compressed_bpp =intel_dp_dsc_sink_max_compressed_bpp (connector, + crtc_state, + max_bpp /3 ); + max_compressed_bpp =min (max_compressed_bpp, +to_bpp_int (limits->link.max_bpp_x16)); - slots =intel_dp_mst_find_vcpi_slots_for_bpp (encoder, crtc_state, max_bpp, - min_bpp, limits, - conn_state,2 *3 , true); + min_compressed_bpp =intel_dp_dsc_sink_min_compressed_bpp (crtc_state); + min_compressed_bpp =max (min_compressed_bpp, +to_bpp_int_roundup (limits- >link.min_bpp_x16)); + + drm_dbg_kms(&i915->drm, "DSC Sink supported compressed min bpp %d compressed max bpp %d\n", + min_compressed_bpp, max_compressed_bpp); + +/* Align compressed bpps according to our own constraints */ + max_compressed_bpp =intel_dp_dsc_nearest_valid_bpp (i915, max_compressed_bpp, + crtc_state- >pipe_bpp); + min_compressed_bpp = intel_dp_dsc_nearest_valid_bpp(i915, min_compressed_bpp, + crtc_state-Quoted 1 line
pipe_bpp);drivers/gpu/drm/i915/display/intel_dp_mst.c +2
-0+ + slots = intel_dp_mst_find_vcpi_slots_for_bpp(encoder, crtc_state,
max_compressed_bpp,drivers/gpu/drm/i915/display/intel_dp_mst.c +1
-0+ min_compressed_bpp,limits,
drivers/gpu/drm/i915/display/intel_dp_mst.c +1
-3+ conn_state, 1, true);if (slots <0 )return slots; - last_compressed_bpp = crtc_state->dsc.compressed_bpp; - - crtc_state->dsc.compressed_bpp =intel_dp_dsc_nearest_valid_bpp(i915,
-
last_compressed_bpp,
-crtc_state->pipe_bpp);drivers/gpu/drm/i915/display/intel_dp_mst.c +0
-6- -if (crtc_state->dsc.compressed_bpp != last_compressed_bpp) - need_timeslot_recalc = true; - -/* -* Apparently some MST hubs dislike if vcpi slots are not matching precisely
drivers/gpu/drm/i915/display/intel_dp_mst.c +0
-4-* the actual compressed bpp we use. -*/ -if (need_timeslot_recalc) { - slots = intel_dp_mst_find_vcpi_slots_for_bpp(encoder,
crtc_state,drivers/gpu/drm/i915/display/intel_dp_mst.c +0
-1- crtc_state-Quoted 1 line
dsc.compressed_bpp,
drivers/gpu/drm/i915/display/intel_dp_mst.c +0
-1- crtc_state-Quoted 1 line
dsc.compressed_bpp,
drivers/gpu/drm/i915/display/intel_dp_mst.c +0
-1- limits, conn_state,2 * 3, true);
drivers/gpu/drm/i915/display/intel_dp_mst.c +0
-5-if (slots <0 ) -return slots; - } -return 0 ; } static int intel_dp_mst_update_slots(struct intel_encoder *encoder, --2.39.2
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Improve BW management on MST links (rev5)
In reply to Imre Deak== Series Details ==
== Series Details ==
Series: drm/i915: Improve BW management on MST links (rev5)
URL : https://patchwork.freedesktop.org/series/125490/
State : warning
== Summary ==
Error: dim checkpatch failed19c6143eb574 drm/dp_mst: Fix fractional DSC bpp handlingece8da74ce95 drm/dp_mst: Add helper to determine if an MST port is downstream of another port ba1537114fa0 drm/dp_mst: Factor out a helper to check the atomic state of a topology manager 672386a30c0d drm/dp_mst: Swap the order of checking root vs. non-root port BW limitations 41a4fc2b2bd6 drm/dp_mst: Allow DSC in any Synaptics last branch device 95c9463438b6 drm/dp: Add DP_HBLANK_EXPANSION_CAPABLE and DSC_PASSTHROUGH_EN DPCD flags b102d98f688f drm/dp_mst: Add HBLANK expansion quirk for Synaptics MST hubs -:26: WARNING:LONG_LINE_COMMENT: line length of 103 exceeds 100 columns
#26: FILE: drivers/gpu/drm/display/drm_dp_helper.c:2248:
+ /* Synaptics DP1.4 MST hubs require DSC for some modes on which it applies HBLANK expansion. */
-:27: WARNING:LONG_LINE: line length of 105 exceeds 100 columns #27: FILE: drivers/gpu/drm/display/drm_dp_helper.c:2249:
+ { OUI(0x90, 0xCC, 0x24), DEVICE_ID_ANY, true, BIT(DP_DPCD_QUIRK_HBLANK_EXPANSION_REQUIRES_DSC) },
total: 0 errors, 2 warnings, 0 checks, 21 lines checked606bea9632e1 drm/dp: Add helpers to calculate the link BW overhead -:164: WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return #164: FILE: drivers/gpu/drm/display/drm_dp_helper.c:4016:
+ return 967100;
+ else
total: 0 errors, 1 warnings, 0 checks, 177 lines checked1c8b9c8063ab drm/i915/dp_mst: Enable FEC early once it's known DSC is needed 97755f4eb71c drm/i915/dp: Specify the FEC overhead as an increment vs. a remainder 096fe87ec453 drm/i915/dp: Pass actual BW overhead to m_n calculation 47d8105d26a1 drm/i915/dp_mst: Account for FEC and DSC overhead during BW allocation 642558606890 drm/i915/dp_mst: Add atomic state for all streams on pre-tgl platforms dca437745cae drm/i915/dp_mst: Program the DSC PPS SDP for each stream 3c9b1fe13a0f drm/i915/dp: Make sure the DSC PPS SDP is disabled whenever DSC is disabled a0cbd5057321 drm/i915/dp_mst: Add missing DSC compression disabling d6125ae88656 drm/i915/dp: Rename intel_ddi_disable_fec_state() to intel_ddi_disable_fec() 2870f7449c59 drm/i915/dp: Wait for FEC detected status in the sink 7f73024016bc drm/i915/dp: Disable FEC ready flag in the sink53c2c076231c drm/i915/dp_mst: Handle the Synaptics HBlank expansion quirk c1ec7abec098 drm/i915/dp_mst: Enable decompression in the sink from the MST encoder hooks e7353b40aebb drm/i915/dp: Enable DSC via the connector decompression AUX c90749f422c5 drm/i915/dp_mst: Enable DSC passthrough3d00f52f7111 drm/i915/dp_mst: Enable MST DSC decompression for all streams c45a011a71c5 drm/i915: Factor out function to clear pipe update flags
-:58: WARNING:LONG_LINE: line length of 108 exceeds 100 columns
#58: FILE: drivers/gpu/drm/i915/display/intel_display.c:5717:
+ if ((old_crtc_state->hw.adjusted_mode.crtc_vtotal == new_crtc_state->hw.adjusted_mode.crtc_vtotal &&
total: 0 errors, 1 warnings, 0 checks, 89 lines checkedae6c6cc0ee9a drm/i915/dp_mst: Force modeset CRTC if DSC toggling requires it 0eda2a18cdef drm/i915/dp_mst: Improve BW sharing between MST streams f2a7e1f49c15 drm/i915/dp_mst: Check BW limitations only after all streams are computed 6c57396ec717 drm/i915: Query compressed bpp properly using correct DPCD and DP Spec info
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Improve BW management on MST links (rev5)
In reply to Imre Deak== Series Details ==
== Series Details ==
Series: drm/i915: Improve BW management on MST links (rev5)
URL : https://patchwork.freedesktop.org/series/125490/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Improve BW management on MST links (rev5)
In reply to Imre Deak== Series Details ==
== Series Details ==
Series: drm/i915: Improve BW management on MST links (rev5)
URL : https://patchwork.freedesktop.org/series/125490/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_13782 -> Patchwork_125490v5
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_125490v5 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_125490v5, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v5/index.html
Participating hosts (38 -> 35)
------------------------------
Missing (3): bat-mtlp-8 fi-snb-2520m fi-bsw-n3050
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_125490v5:
### CI changes ###
#### Possible regressions ####
* boot:
- bat-adlp-11: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13782/bat-adlp-11/boot.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v5/bat-adlp-11/boot.html
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* {igt@kms_dsc@dsc-basic@pipe-d-dp-1}:
- bat-dg2-9: [PASS][3] -> [DMESG-WARN][4] +2 other tests dmesg-warn
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13782/bat-dg2-9/igt@kms_dsc@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v5/bat-dg2-9/igt@kms_dsc@[email protected]
Known issues
------------
Here are the changes found in Patchwork_125490v5 that come from known issues:
### CI changes ###
#### Issues hit ####
* boot:
- bat-jsl-1: [PASS][5] -> [FAIL][6] ([i915#8293])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13782/bat-jsl-1/boot.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v5/bat-jsl-1/boot.html
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s0@smem:
- bat-dg2-9: [PASS][7] -> [INCOMPLETE][8] ([i915#9275])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13782/bat-dg2-9/igt@gem_exec_suspend@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v5/bat-dg2-9/igt@gem_exec_suspend@[email protected]
* igt@kms_pipe_crc_basic@read-crc-frame-sequence:
- bat-dg2-11: NOTRUN -> [SKIP][9] ([i915#1845] / [i915#9197])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v5/bat-dg2-11/igt@[email protected]
#### Possible fixes ####
* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-b-hdmi-a-3:
- bat-dg2-11: [INCOMPLETE][10] -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13782/bat-dg2-11/igt@kms_pipe_crc_basic@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v5/bat-dg2-11/igt@kms_pipe_crc_basic@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#7952]: https://gitlab.freedesktop.org/drm/intel/issues/7952
[i915#8293]: https://gitlab.freedesktop.org/drm/intel/issues/8293
[i915#9197]: https://gitlab.freedesktop.org/drm/intel/issues/9197
[i915#9275]: https://gitlab.freedesktop.org/drm/intel/issues/9275
Build changes
-------------
* Linux: CI_DRM_13782 -> Patchwork_125490v5
CI-20190529: 20190529
CI_DRM_13782: 16c18fef1215015ab3d1a0dd3b06cf6131fe23bd @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7552: 557856802dfee103802f1157f97c65bb476d5468 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_125490v5: 16c18fef1215015ab3d1a0dd3b06cf6131fe23bd @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
1cec8cdf8a9a drm/i915: Query compressed bpp properly using correct DPCD and DP Spec info 79506a9ccdb1 drm/i915/dp_mst: Check BW limitations only after all streams are computed 768512cdf4be drm/i915/dp_mst: Improve BW sharing between MST streams d79d377ed18a drm/i915/dp_mst: Force modeset CRTC if DSC toggling requires it ca330227bc09 drm/i915: Factor out function to clear pipe update flags bc4561e52421 drm/i915/dp_mst: Enable MST DSC decompression for all streams 2d7919b3deed drm/i915/dp_mst: Enable DSC passthrough78e04aae0f32 drm/i915/dp: Enable DSC via the connector decompression AUX 0da10371b072 drm/i915/dp_mst: Enable decompression in the sink from the MST encoder hooks 298ff51574a7 drm/i915/dp_mst: Handle the Synaptics HBlank expansion quirk 8bc0647c9eb4 drm/i915/dp: Disable FEC ready flag in the sinke780652897cc drm/i915/dp: Wait for FEC detected status in the sink 9f6b7194895c drm/i915/dp: Rename intel_ddi_disable_fec_state() to intel_ddi_disable_fec() c364b8ac9fe8 drm/i915/dp_mst: Add missing DSC compression disabling 7e858a1432a6 drm/i915/dp: Make sure the DSC PPS SDP is disabled whenever DSC is disabled fb1d44ec8c1e drm/i915/dp_mst: Program the DSC PPS SDP for each stream b126b4308b28 drm/i915/dp_mst: Add atomic state for all streams on pre-tgl platforms 683d6dfdb5c8 drm/i915/dp_mst: Account for FEC and DSC overhead during BW allocation 8060f3042b90 drm/i915/dp: Pass actual BW overhead to m_n calculation 8e6f697c142c drm/i915/dp: Specify the FEC overhead as an increment vs. a remainder 45226ad70c6b drm/i915/dp_mst: Enable FEC early once it's known DSC is needed 15657ea1c42b drm/dp: Add helpers to calculate the link BW overhead 5c1eac4251d4 drm/dp_mst: Add HBLANK expansion quirk for Synaptics MST hubs 913f68ef0079 drm/dp: Add DP_HBLANK_EXPANSION_CAPABLE and DSC_PASSTHROUGH_EN DPCD flags ca9924187c92 drm/dp_mst: Allow DSC in any Synaptics last branch device 227239cf9e88 drm/dp_mst: Swap the order of checking root vs. non-root port BW limitations b30665a743ef drm/dp_mst: Factor out a helper to check the atomic state of a topology manager 582b6d7fec4e drm/dp_mst: Add helper to determine if an MST port is downstream of another port 8cf4050f0727 drm/dp_mst: Fix fractional DSC bpp handling
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v5/index.html
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Improve BW management on MST links (rev5)
In reply to Imre Deak== Series Details ==
== Series Details ==
Series: drm/i915: Improve BW management on MST links (rev5)
URL : https://patchwork.freedesktop.org/series/125490/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_13782 -> Patchwork_125490v5
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v5/index.html
Participating hosts (38 -> 36)
------------------------------
Missing (2): bat-mtlp-8 fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_125490v5:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* {igt@kms_dsc@dsc-basic@pipe-d-dp-1}:
- bat-dg2-9: [PASS][1] -> [DMESG-WARN][2] +2 other tests dmesg-warn
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13782/bat-dg2-9/igt@kms_dsc@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v5/bat-dg2-9/igt@kms_dsc@[email protected]
Known issues
------------
Here are the changes found in Patchwork_125490v5 that come from known issues:
### CI changes ###
#### Issues hit ####
* boot:
- bat-adlp-11: [PASS][3] -> [FAIL][4] ([i915#8293])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13782/bat-adlp-11/boot.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v5/bat-adlp-11/boot.html
- bat-jsl-1: [PASS][5] -> [FAIL][6] ([i915#8293])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13782/bat-jsl-1/boot.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v5/bat-jsl-1/boot.html
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s0@smem:
- bat-dg2-9: [PASS][7] -> [INCOMPLETE][8] ([i915#9275])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13782/bat-dg2-9/igt@gem_exec_suspend@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v5/bat-dg2-9/igt@gem_exec_suspend@[email protected]
* igt@kms_pipe_crc_basic@read-crc-frame-sequence:
- bat-dg2-11: NOTRUN -> [SKIP][9] ([i915#1845] / [i915#9197])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v5/bat-dg2-11/igt@[email protected]
#### Possible fixes ####
* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-b-hdmi-a-3:
- bat-dg2-11: [INCOMPLETE][10] -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13782/bat-dg2-11/igt@kms_pipe_crc_basic@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v5/bat-dg2-11/igt@kms_pipe_crc_basic@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#7952]: https://gitlab.freedesktop.org/drm/intel/issues/7952
[i915#8293]: https://gitlab.freedesktop.org/drm/intel/issues/8293
[i915#9197]: https://gitlab.freedesktop.org/drm/intel/issues/9197
[i915#9275]: https://gitlab.freedesktop.org/drm/intel/issues/9275
Build changes
-------------
* Linux: CI_DRM_13782 -> Patchwork_125490v5
CI-20190529: 20190529
CI_DRM_13782: 16c18fef1215015ab3d1a0dd3b06cf6131fe23bd @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7552: 557856802dfee103802f1157f97c65bb476d5468 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_125490v5: 16c18fef1215015ab3d1a0dd3b06cf6131fe23bd @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
1cec8cdf8a9a drm/i915: Query compressed bpp properly using correct DPCD and DP Spec info 79506a9ccdb1 drm/i915/dp_mst: Check BW limitations only after all streams are computed 768512cdf4be drm/i915/dp_mst: Improve BW sharing between MST streams d79d377ed18a drm/i915/dp_mst: Force modeset CRTC if DSC toggling requires it ca330227bc09 drm/i915: Factor out function to clear pipe update flags bc4561e52421 drm/i915/dp_mst: Enable MST DSC decompression for all streams 2d7919b3deed drm/i915/dp_mst: Enable DSC passthrough78e04aae0f32 drm/i915/dp: Enable DSC via the connector decompression AUX 0da10371b072 drm/i915/dp_mst: Enable decompression in the sink from the MST encoder hooks 298ff51574a7 drm/i915/dp_mst: Handle the Synaptics HBlank expansion quirk 8bc0647c9eb4 drm/i915/dp: Disable FEC ready flag in the sinke780652897cc drm/i915/dp: Wait for FEC detected status in the sink 9f6b7194895c drm/i915/dp: Rename intel_ddi_disable_fec_state() to intel_ddi_disable_fec() c364b8ac9fe8 drm/i915/dp_mst: Add missing DSC compression disabling 7e858a1432a6 drm/i915/dp: Make sure the DSC PPS SDP is disabled whenever DSC is disabled fb1d44ec8c1e drm/i915/dp_mst: Program the DSC PPS SDP for each stream b126b4308b28 drm/i915/dp_mst: Add atomic state for all streams on pre-tgl platforms 683d6dfdb5c8 drm/i915/dp_mst: Account for FEC and DSC overhead during BW allocation 8060f3042b90 drm/i915/dp: Pass actual BW overhead to m_n calculation 8e6f697c142c drm/i915/dp: Specify the FEC overhead as an increment vs. a remainder 45226ad70c6b drm/i915/dp_mst: Enable FEC early once it's known DSC is needed 15657ea1c42b drm/dp: Add helpers to calculate the link BW overhead 5c1eac4251d4 drm/dp_mst: Add HBLANK expansion quirk for Synaptics MST hubs 913f68ef0079 drm/dp: Add DP_HBLANK_EXPANSION_CAPABLE and DSC_PASSTHROUGH_EN DPCD flags ca9924187c92 drm/dp_mst: Allow DSC in any Synaptics last branch device 227239cf9e88 drm/dp_mst: Swap the order of checking root vs. non-root port BW limitations b30665a743ef drm/dp_mst: Factor out a helper to check the atomic state of a topology manager 582b6d7fec4e drm/dp_mst: Add helper to determine if an MST port is downstream of another port 8cf4050f0727 drm/dp_mst: Fix fractional DSC bpp handling
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v5/index.html
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Improve BW management on MST links (rev5)
In reply to Imre Deak== Series Details ==
== Series Details ==
Series: drm/i915: Improve BW management on MST links (rev5)
URL : https://patchwork.freedesktop.org/series/125490/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_13782_full -> Patchwork_125490v5_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_125490v5_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_125490v5_full, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (12 -> 0)
------------------------------
ERROR: It appears as if the changes made in Patchwork_125490v5_full prevented too many machines from booting.
Missing (12): shard-mtlp0 shard-skl shard-tglu shard-rkl0 shard-dg1 shard-apl shard-glk shard-mtlp shard-snb shard-rkl shard-dg2 shard-dg20
Changes
-------
No changes found
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7552 -> None
* Linux: CI_DRM_13782 -> Patchwork_125490v5
CI-20190529: 20190529
CI_DRM_13782: 16c18fef1215015ab3d1a0dd3b06cf6131fe23bd @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7552: 557856802dfee103802f1157f97c65bb476d5468 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_125490v5: 16c18fef1215015ab3d1a0dd3b06cf6131fe23bd @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v5/index.html
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Improve BW management on MST links (rev7)
In reply to Imre Deak== Series Details ==
== Series Details ==
Series: drm/i915: Improve BW management on MST links (rev7)
URL : https://patchwork.freedesktop.org/series/125490/
State : warning
== Summary ==
Error: dim checkpatch failed204af169ab67 drm/dp_mst: Fix fractional DSC bpp handling2560fe42da5d drm/dp_mst: Add helper to determine if an MST port is downstream of another port 65b54c144497 drm/dp_mst: Factor out a helper to check the atomic state of a topology manager 4c7628dc83b7 drm/dp_mst: Swap the order of checking root vs. non-root port BW limitations 1cfd8996342e drm/dp_mst: Allow DSC in any Synaptics last branch device aef682fe5c1f drm/dp: Add DP_HBLANK_EXPANSION_CAPABLE and DSC_PASSTHROUGH_EN DPCD flags f53612e7fde3 drm/dp_mst: Add HBLANK expansion quirk for Synaptics MST hubs -:26: WARNING:LONG_LINE_COMMENT: line length of 103 exceeds 100 columns
#26: FILE: drivers/gpu/drm/display/drm_dp_helper.c:2248:
+ /* Synaptics DP1.4 MST hubs require DSC for some modes on which it applies HBLANK expansion. */
-:27: WARNING:LONG_LINE: line length of 105 exceeds 100 columns #27: FILE: drivers/gpu/drm/display/drm_dp_helper.c:2249:
+ { OUI(0x90, 0xCC, 0x24), DEVICE_ID_ANY, true, BIT(DP_DPCD_QUIRK_HBLANK_EXPANSION_REQUIRES_DSC) },
total: 0 errors, 2 warnings, 0 checks, 21 lines checked7fd8b92149d9 drm/dp: Add helpers to calculate the link BW overhead -:182: WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return #182: FILE: drivers/gpu/drm/display/drm_dp_helper.c:4026:
+ return 967100;
+ else
total: 0 errors, 1 warnings, 0 checks, 184 lines checked1deb3648793e drm/i915/dp_mst: Enable FEC early once it's known DSC is needed 89a1538dd683 drm/i915/dp: Specify the FEC overhead as an increment vs. a remainder 61d5d475d230 drm/i915/dp: Pass actual BW overhead to m_n calculation b7e8d09348b6 drm/i915/dp_mst: Account for FEC and DSC overhead during BW allocation 7134c4672d90 drm/i915/dp_mst: Add atomic state for all streams on pre-tgl platforms 36d9ddc7348c drm/i915/dp_mst: Program the DSC PPS SDP for each stream 7f339ad9abc7 drm/i915/dp: Make sure the DSC PPS SDP is disabled whenever DSC is disabled 7465804b7920 drm/i915/dp_mst: Add missing DSC compression disabling 77444b5f1bab drm/i915/dp: Rename intel_ddi_disable_fec_state() to intel_ddi_disable_fec() 448ef6af3197 drm/i915/dp: Wait for FEC detected status in the sink 84dcb4777c84 drm/i915/dp: Disable FEC ready flag in the sinkd49f44ea9d33 drm/i915/dp_mst: Handle the Synaptics HBlank expansion quirk 92bafe899b40 drm/i915/dp_mst: Enable decompression in the sink from the MST encoder hooks a9eec6ef4b17 drm/i915/dp: Enable DSC via the connector decompression AUX 02bc7be9252b drm/i915/dp_mst: Enable DSC passthroughea78d51f3294 drm/i915/dp_mst: Enable MST DSC decompression for all streams df9f2d59ba02 drm/i915: Factor out function to clear pipe update flags
-:59: WARNING:LONG_LINE: line length of 108 exceeds 100 columns
#59: FILE: drivers/gpu/drm/i915/display/intel_display.c:5717:
+ if ((old_crtc_state->hw.adjusted_mode.crtc_vtotal == new_crtc_state->hw.adjusted_mode.crtc_vtotal &&
total: 0 errors, 1 warnings, 0 checks, 89 lines checked4e3d923d6013 drm/i915/dp_mst: Force modeset CRTC if DSC toggling requires it 1f56cbe70a8f drm/i915/dp_mst: Improve BW sharing between MST streams 33ccc63ca4a4 drm/i915/dp_mst: Check BW limitations only after all streams are computed 3e49f5ea9c33 drm/i915: Query compressed bpp properly using correct DPCD and DP Spec info
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Improve BW management on MST links (rev7)
In reply to Imre Deak== Series Details ==
== Series Details ==
Series: drm/i915: Improve BW management on MST links (rev7)
URL : https://patchwork.freedesktop.org/series/125490/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Improve BW management on MST links (rev7)
In reply to Imre Deak== Series Details ==
== Series Details ==
Series: drm/i915: Improve BW management on MST links (rev7)
URL : https://patchwork.freedesktop.org/series/125490/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_13806 -> Patchwork_125490v7
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/index.html
Participating hosts (37 -> 36)
------------------------------
Additional (1): bat-dg2-9
Missing (2): fi-tgl-1115g4 fi-snb-2520m
Known issues
------------
Here are the changes found in Patchwork_125490v7 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s0@smem:
- bat-jsl-3: [PASS][1] -> [INCOMPLETE][2] ([i915#9275])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/bat-jsl-3/igt@gem_exec_suspend@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-jsl-3/igt@gem_exec_suspend@[email protected]
* igt@gem_mmap@basic:
- bat-dg2-9: NOTRUN -> [SKIP][3] ([i915#4083])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-dg2-9/igt@[email protected]
* igt@gem_mmap_gtt@basic:
- bat-dg2-9: NOTRUN -> [SKIP][4] ([i915#4077]) +2 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-dg2-9/igt@[email protected]
* igt@gem_render_tiled_blits@basic:
- bat-dg2-9: NOTRUN -> [SKIP][5] ([i915#4079]) +1 other test skip
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-dg2-9/igt@[email protected]
* igt@i915_pm_rps@basic-api:
- bat-dg2-9: NOTRUN -> [SKIP][6] ([i915#6621])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-dg2-9/igt@[email protected]
* igt@i915_suspend@basic-s3-without-i915:
- bat-jsl-3: [PASS][7] -> [FAIL][8] ([fdo#103375])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/bat-jsl-3/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-jsl-3/igt@[email protected]
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-dg2-9: NOTRUN -> [SKIP][9] ([i915#5190])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-dg2-9/igt@[email protected]
* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-dg2-9: NOTRUN -> [SKIP][10] ([i915#4215] / [i915#5190])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-dg2-9/igt@[email protected]
* igt@kms_addfb_basic@framebuffer-vs-set-tiling:
- bat-dg2-9: NOTRUN -> [SKIP][11] ([i915#4212]) +6 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-dg2-9/igt@[email protected]
* igt@kms_addfb_basic@tile-pitch-mismatch:
- bat-dg2-9: NOTRUN -> [SKIP][12] ([i915#4212] / [i915#5608])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-dg2-9/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-dg2-9: NOTRUN -> [SKIP][13] ([i915#4103] / [i915#4213] / [i915#5608]) +1 other test skip
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-dg2-9/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- bat-dg2-9: NOTRUN -> [SKIP][14] ([fdo#109285])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-dg2-9/igt@[email protected]
* igt@kms_force_connector_basic@prune-stale-modes:
- bat-dg2-9: NOTRUN -> [SKIP][15] ([i915#5274])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-dg2-9/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-bsw-nick: [PASS][16] -> [FAIL][17] ([i915#9276])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/fi-bsw-nick/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/fi-bsw-nick/igt@[email protected]
* igt@kms_hdmi_inject@inject-audio:
- fi-kbl-guc: [PASS][18] -> [FAIL][19] ([IGT#3])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/fi-kbl-guc/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/fi-kbl-guc/igt@[email protected]
* igt@kms_psr@sprite_plane_onoff:
- bat-dg2-9: NOTRUN -> [SKIP][20] ([i915#1072]) +3 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-dg2-9/igt@kms_psr@sprite_plane_onoff.html
* igt@kms_setmode@basic-clone-single-crtc:
- bat-dg2-9: NOTRUN -> [SKIP][21] ([i915#3555] / [i915#4098])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-dg2-9/igt@[email protected]
* igt@prime_vgem@basic-fence-flip:
- bat-dg2-9: NOTRUN -> [SKIP][22] ([i915#3708])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-dg2-9/igt@[email protected]
* igt@prime_vgem@basic-fence-mmap:
- bat-dg2-9: NOTRUN -> [SKIP][23] ([i915#3708] / [i915#4077]) +1 other test skip
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-dg2-9/igt@[email protected]
* igt@prime_vgem@basic-write:
- bat-dg2-9: NOTRUN -> [SKIP][24] ([i915#3291] / [i915#3708]) +2 other tests skip
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-dg2-9/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@migrate:
- bat-dg2-11: [DMESG-FAIL][25] ([i915#7699]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/bat-dg2-11/igt@i915_selftest@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/bat-dg2-11/igt@i915_selftest@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[IGT#3]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/3
[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5608]: https://gitlab.freedesktop.org/drm/intel/issues/5608
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
[i915#9275]: https://gitlab.freedesktop.org/drm/intel/issues/9275
[i915#9276]: https://gitlab.freedesktop.org/drm/intel/issues/9276
Build changes
-------------
* Linux: CI_DRM_13806 -> Patchwork_125490v7
CI-20190529: 20190529
CI_DRM_13806: b7816c393496dc4497c1327310821407f7171d8b @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7562: 5e82a8ee42d58c5e183c3d4208ae4ccd977a4830 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_125490v7: b7816c393496dc4497c1327310821407f7171d8b @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
b3f900412f9e drm/i915: Query compressed bpp properly using correct DPCD and DP Spec info 40877cab414c drm/i915/dp_mst: Check BW limitations only after all streams are computed a05a5d5c512f drm/i915/dp_mst: Improve BW sharing between MST streams ba492de7dd67 drm/i915/dp_mst: Force modeset CRTC if DSC toggling requires it e456250384f0 drm/i915: Factor out function to clear pipe update flags 736ddcf87105 drm/i915/dp_mst: Enable MST DSC decompression for all streams 5def197758ff drm/i915/dp_mst: Enable DSC passthrough240754b397bc drm/i915/dp: Enable DSC via the connector decompression AUX a4bd99a7598a drm/i915/dp_mst: Enable decompression in the sink from the MST encoder hooks a70de5a84cf5 drm/i915/dp_mst: Handle the Synaptics HBlank expansion quirk da33342da2bc drm/i915/dp: Disable FEC ready flag in the sink7d362cf9abb9 drm/i915/dp: Wait for FEC detected status in the sink 56a23c608664 drm/i915/dp: Rename intel_ddi_disable_fec_state() to intel_ddi_disable_fec() a8843ef6c1cb drm/i915/dp_mst: Add missing DSC compression disabling a8325a3c4ad5 drm/i915/dp: Make sure the DSC PPS SDP is disabled whenever DSC is disabled dcface4f11f9 drm/i915/dp_mst: Program the DSC PPS SDP for each stream 351894b4241a drm/i915/dp_mst: Add atomic state for all streams on pre-tgl platforms 9573cf5d71fe drm/i915/dp_mst: Account for FEC and DSC overhead during BW allocation 7d2ba56b926d drm/i915/dp: Pass actual BW overhead to m_n calculation 7f7d5c8839d0 drm/i915/dp: Specify the FEC overhead as an increment vs. a remainder 2aed936893cd drm/i915/dp_mst: Enable FEC early once it's known DSC is needed 1c4c8579d089 drm/dp: Add helpers to calculate the link BW overhead 0d990af79f0b drm/dp_mst: Add HBLANK expansion quirk for Synaptics MST hubs 60e4d2abe96c drm/dp: Add DP_HBLANK_EXPANSION_CAPABLE and DSC_PASSTHROUGH_EN DPCD flags 2738869f0cf7 drm/dp_mst: Allow DSC in any Synaptics last branch device d0d6667202b3 drm/dp_mst: Swap the order of checking root vs. non-root port BW limitations 25ce50e16566 drm/dp_mst: Factor out a helper to check the atomic state of a topology manager a46f04686722 drm/dp_mst: Add helper to determine if an MST port is downstream of another port 1f37629912e5 drm/dp_mst: Fix fractional DSC bpp handling
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/index.html
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Improve BW management on MST links (rev7)
In reply to Imre Deak== Series Details ==
== Series Details ==
Series: drm/i915: Improve BW management on MST links (rev7)
URL : https://patchwork.freedesktop.org/series/125490/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_13806_full -> Patchwork_125490v7_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_125490v7_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_125490v7_full, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (11 -> 12)
------------------------------
Additional (1): shard-mtlp0
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_125490v7_full:
### IGT changes ###
#### Possible regressions ####
* igt@gem_create@create-ext-cpu-access-big:
- shard-dg2: NOTRUN -> [ABORT][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-3/igt@[email protected]
* igt@gem_exec_balancer@fairslice:
- shard-rkl: [PASS][2] -> [SKIP][3]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-1/igt@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_125490v7_full that come from known issues:
### CI changes ###
#### Possible fixes ####
* boot:
- shard-apl: ([PASS][4], [PASS][5], [PASS][6], [PASS][7], [PASS][8], [PASS][9], [PASS][10], [PASS][11], [PASS][12], [PASS][13], [PASS][14], [PASS][15], [FAIL][16], [PASS][17], [PASS][18], [PASS][19], [FAIL][20], [FAIL][21], [PASS][22], [PASS][23], [PASS][24], [PASS][25], [PASS][26], [PASS][27], [PASS][28]) ([i915#8293]) -> ([PASS][29], [PASS][30], [PASS][31], [PASS][32], [PASS][33], [PASS][34], [PASS][35], [PASS][36], [PASS][37], [PASS][38], [PASS][39], [PASS][40], [PASS][41], [PASS][42], [PASS][43], [PASS][44], [PASS][45], [PASS][46], [PASS][47], [PASS][48], [PASS][49], [PASS][50], [PASS][51], [PASS][52])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl1/boot.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl1/boot.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl1/boot.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl1/boot.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl1/boot.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl2/boot.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl2/boot.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl2/boot.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl2/boot.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl2/boot.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl2/boot.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl4/boot.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl4/boot.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl4/boot.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl4/boot.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl6/boot.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl6/boot.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl6/boot.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl6/boot.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl6/boot.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl7/boot.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl7/boot.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl7/boot.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl7/boot.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl7/boot.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl1/boot.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl1/boot.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl1/boot.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl1/boot.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl2/boot.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl2/boot.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl2/boot.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl2/boot.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl2/boot.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl4/boot.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl4/boot.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl6/boot.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl6/boot.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl6/boot.html
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl6/boot.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl6/boot.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl6/boot.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl7/boot.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl7/boot.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl7/boot.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl7/boot.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl7/boot.html
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl1/boot.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl7/boot.html
### IGT changes ###
#### Issues hit ####
* igt@api_intel_bb@object-reloc-keep-cache:
- shard-rkl: [PASS][53] -> [SKIP][54] ([i915#8411]) +1 other test skip
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@[email protected]
* igt@drm_fdinfo@busy@ccs0:
- shard-dg2: NOTRUN -> [SKIP][55] ([i915#8414]) +9 other tests skip
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@drm_fdinfo@[email protected]
* igt@fbdev@unaligned-read:
- shard-rkl: [PASS][56] -> [SKIP][57] ([i915#2582])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-7/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@fbdev@unaligned-write:
- shard-rkl: NOTRUN -> [SKIP][58] ([i915#2582])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@gem_ccs@ctrl-surf-copy:
- shard-mtlp: NOTRUN -> [SKIP][59] ([i915#3555])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@[email protected]
* igt@gem_close_race@multigpu-basic-threads:
- shard-rkl: NOTRUN -> [SKIP][60] ([i915#7697])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@gem_create@create-ext-set-pat:
- shard-dg2: NOTRUN -> [SKIP][61] ([i915#8562])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-6/igt@[email protected]
* igt@gem_ctx_persistence@hang:
- shard-rkl: [PASS][62] -> [SKIP][63] ([i915#6252])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-4/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@gem_eio@hibernate:
- shard-mtlp: [PASS][64] -> [ABORT][65] ([i915#7975] / [i915#8213] / [i915#9414])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-mtlp-5/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-8/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-dg1: [PASS][66] -> [FAIL][67] ([i915#5784])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-dg1-15/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg1-17/igt@[email protected]
* igt@gem_exec_balancer@parallel-dmabuf-import-out-fence:
- shard-rkl: NOTRUN -> [SKIP][68] ([i915#4525])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@gem_exec_fair@basic-deadline:
- shard-apl: NOTRUN -> [FAIL][69] ([i915#2846])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl7/igt@[email protected]
* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-rkl: NOTRUN -> [FAIL][70] ([i915#2842])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: NOTRUN -> [FAIL][71] ([i915#2842])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-glk1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fence@submit:
- shard-dg2: NOTRUN -> [SKIP][72] ([i915#4812]) +1 other test skip
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-6/igt@[email protected]
* igt@gem_exec_flush@basic-batch-kernel-default-cmd:
- shard-rkl: [PASS][73] -> [SKIP][74] ([fdo#109313])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@[email protected]
* igt@gem_exec_flush@basic-uc-rw-default:
- shard-dg2: NOTRUN -> [SKIP][75] ([i915#3539] / [i915#4852]) +2 other tests skip
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@[email protected]
* igt@gem_exec_params@rsvd2-dirt:
- shard-dg2: NOTRUN -> [SKIP][76] ([fdo#109283] / [i915#5107])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-3/igt@[email protected]
* igt@gem_exec_params@secure-non-master:
- shard-dg2: NOTRUN -> [SKIP][77] ([fdo#112283]) +1 other test skip
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@[email protected]
* igt@gem_exec_params@secure-non-root:
- shard-rkl: NOTRUN -> [SKIP][78] ([fdo#112283])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@gem_exec_reloc@basic-gtt-cpu-active:
- shard-dg2: NOTRUN -> [SKIP][79] ([i915#3281]) +7 other tests skip
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-1/igt@[email protected]
* igt@gem_exec_reloc@basic-scanout:
- shard-rkl: NOTRUN -> [SKIP][80] ([i915#3281])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@[email protected]
* igt@gem_exec_reloc@basic-wc-read:
- shard-mtlp: NOTRUN -> [SKIP][81] ([i915#3281])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@[email protected]
* igt@gem_exec_reloc@basic-write-read:
- shard-rkl: [PASS][82] -> [SKIP][83] ([i915#3281]) +8 other tests skip
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@gem_exec_schedule@preempt-queue-contexts-chain:
- shard-dg2: NOTRUN -> [SKIP][84] ([i915#4537] / [i915#4812]) +1 other test skip
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@[email protected]
* igt@gem_fenced_exec_thrash@no-spare-fences-busy-interruptible:
- shard-dg2: NOTRUN -> [SKIP][85] ([i915#4860]) +1 other test skip
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-6/igt@[email protected]
* igt@gem_lmem_swapping@parallel-random:
- shard-apl: NOTRUN -> [SKIP][86] ([fdo#109271] / [i915#4613]) +3 other tests skip
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl6/igt@[email protected]
* igt@gem_lmem_swapping@parallel-random-engines:
- shard-rkl: NOTRUN -> [SKIP][87] ([i915#4613])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@gem_lmem_swapping@random:
- shard-glk: NOTRUN -> [SKIP][88] ([fdo#109271] / [i915#4613]) +2 other tests skip
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-glk3/igt@[email protected]
* igt@gem_mmap_gtt@cpuset-basic-small-copy-xy:
- shard-mtlp: NOTRUN -> [SKIP][89] ([i915#4077])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@[email protected]
* igt@gem_mmap_gtt@ptrace:
- shard-dg2: NOTRUN -> [SKIP][90] ([i915#4077]) +4 other tests skip
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@[email protected]
* igt@gem_mmap_wc@coherency:
- shard-mtlp: NOTRUN -> [SKIP][91] ([i915#4083])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@[email protected]
* igt@gem_mmap_wc@copy:
- shard-dg2: NOTRUN -> [SKIP][92] ([i915#4083]) +7 other tests skip
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-1/igt@[email protected]
* igt@gem_partial_pwrite_pread@reads:
- shard-dg2: NOTRUN -> [SKIP][93] ([i915#3282]) +7 other tests skip
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-1/igt@[email protected]
* igt@gem_pxp@verify-pxp-key-change-after-suspend-resume:
- shard-dg2: NOTRUN -> [SKIP][94] ([i915#4270])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@[email protected]
* igt@gem_pxp@verify-pxp-stale-ctx-execution:
- shard-rkl: NOTRUN -> [SKIP][95] ([i915#4270])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@gem_render_copy@y-tiled-to-vebox-y-tiled:
- shard-rkl: NOTRUN -> [SKIP][96] ([i915#768]) +1 other test skip
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@gem_render_copy@yf-tiled-ccs-to-y-tiled:
- shard-mtlp: NOTRUN -> [SKIP][97] ([i915#8428])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@[email protected]
* igt@gem_set_tiling_vs_blt@tiled-to-untiled:
- shard-dg2: NOTRUN -> [SKIP][98] ([i915#4079]) +1 other test skip
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-2/igt@[email protected]
* igt@gem_softpin@evict-snoop-interruptible:
- shard-dg2: NOTRUN -> [SKIP][99] ([i915#4885])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-6/igt@[email protected]
* igt@gem_spin_batch@spin-all-new:
- shard-dg2: NOTRUN -> [FAIL][100] ([i915#5889])
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-2/igt@[email protected]
* igt@gem_tiled_partial_pwrite_pread@reads:
- shard-rkl: [PASS][101] -> [SKIP][102] ([i915#3282]) +4 other tests skip
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@[email protected]
* igt@gem_userptr_blits@readonly-pwrite-unsync:
- shard-dg2: NOTRUN -> [SKIP][103] ([i915#3297])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-1/igt@[email protected]
* igt@gem_userptr_blits@readonly-unsync:
- shard-mtlp: NOTRUN -> [SKIP][104] ([i915#3297])
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@[email protected]
* igt@gem_userptr_blits@vma-merge:
- shard-dg2: NOTRUN -> [FAIL][105] ([i915#3318])
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-1/igt@[email protected]
* igt@gen7_exec_parse@basic-offset:
- shard-dg2: NOTRUN -> [SKIP][106] ([fdo#109289]) +1 other test skip
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@[email protected]
* igt@gen7_exec_parse@load-register-reg:
- shard-mtlp: NOTRUN -> [SKIP][107] ([fdo#109289])
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@[email protected]
* igt@gen9_exec_parse@bb-start-far:
- shard-rkl: [PASS][108] -> [SKIP][109] ([i915#2527]) +2 other tests skip
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@gen9_exec_parse@shadow-peek:
- shard-dg2: NOTRUN -> [SKIP][110] ([i915#2856]) +3 other tests skip
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-2/igt@[email protected]
* igt@i915_hangman@gt-engine-error@bcs0:
- shard-rkl: [PASS][111] -> [SKIP][112] ([i915#9588])
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-4/igt@i915_hangman@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@i915_hangman@[email protected]
* igt@i915_module_load@load:
- shard-glk: NOTRUN -> [SKIP][113] ([fdo#109271] / [i915#6227])
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-glk4/igt@[email protected]
* igt@i915_pm_rc6_residency@rc6-idle@rcs0:
- shard-dg1: [PASS][114] -> [FAIL][115] ([i915#3591])
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-dg1-12/igt@i915_pm_rc6_residency@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg1-19/igt@i915_pm_rc6_residency@[email protected]
* igt@i915_pm_rps@thresholds-park@gt0:
- shard-dg2: NOTRUN -> [SKIP][116] ([i915#8925]) +1 other test skip
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@i915_pm_rps@[email protected]
* igt@i915_pm_sseu@full-enable:
- shard-rkl: [PASS][117] -> [SKIP][118] ([i915#4387])
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@[email protected]
* igt@i915_selftest@live@gt_heartbeat:
- shard-apl: [PASS][119] -> [DMESG-FAIL][120] ([i915#5334])
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl6/igt@i915_selftest@live@gt_heartbeat.html
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl2/igt@i915_selftest@live@gt_heartbeat.html
* igt@kms_addfb_basic@addfb25-framebuffer-vs-set-tiling:
- shard-mtlp: NOTRUN -> [SKIP][121] ([i915#4212])
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@[email protected]
* igt@kms_addfb_basic@addfb25-x-tiled-legacy:
- shard-dg2: NOTRUN -> [SKIP][122] ([i915#4212])
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@[email protected]
* igt@kms_async_flips@crc:
- shard-rkl: NOTRUN -> [SKIP][123] ([i915#1845] / [i915#4098]) +20 other tests skip
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_async_flips@crc@pipe-c-hdmi-a-1:
- shard-dg1: NOTRUN -> [FAIL][124] ([i915#8247]) +3 other tests fail
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg1-19/igt@kms_async_flips@[email protected]
* igt@kms_big_fb@linear-8bpp-rotate-90:
- shard-dg2: NOTRUN -> [SKIP][125] ([fdo#111614]) +2 other tests skip
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@[email protected]
* igt@kms_big_fb@x-tiled-32bpp-rotate-180:
- shard-mtlp: [PASS][126] -> [FAIL][127] ([i915#5138])
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-mtlp-1/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-3/igt@[email protected]
* igt@kms_big_fb@y-tiled-8bpp-rotate-180:
- shard-dg2: NOTRUN -> [SKIP][128] ([i915#5190]) +12 other tests skip
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180:
- shard-mtlp: NOTRUN -> [SKIP][129] ([fdo#111615])
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0:
- shard-dg2: NOTRUN -> [SKIP][130] ([i915#4538] / [i915#5190]) +4 other tests skip
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-1/igt@[email protected]
* igt@kms_cdclk@mode-transition:
- shard-glk: NOTRUN -> [SKIP][131] ([fdo#109271]) +85 other tests skip
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-glk4/igt@[email protected]
* igt@kms_cdclk@mode-transition@pipe-d-hdmi-a-3:
- shard-dg2: NOTRUN -> [SKIP][132] ([i915#4087] / [i915#7213]) +4 other tests skip
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-6/igt@kms_cdclk@[email protected]
* igt@kms_cdclk@plane-scaling@pipe-a-hdmi-a-2:
- shard-dg2: NOTRUN -> [SKIP][133] ([i915#4087]) +3 other tests skip
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-2/igt@kms_cdclk@[email protected]
* igt@kms_chamelium_color@ctm-max:
- shard-dg2: NOTRUN -> [SKIP][134] ([fdo#111827]) +1 other test skip
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-6/igt@[email protected]
* igt@kms_chamelium_edid@hdmi-edid-stress-resolution-4k:
- shard-mtlp: NOTRUN -> [SKIP][135] ([i915#7828]) +1 other test skip
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@[email protected]
* igt@kms_chamelium_edid@vga-edid-read:
- shard-rkl: NOTRUN -> [SKIP][136] ([i915#7828]) +1 other test skip
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_chamelium_frames@hdmi-cmp-planar-formats:
- shard-dg2: NOTRUN -> [SKIP][137] ([i915#7828]) +7 other tests skip
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-6/igt@[email protected]
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- shard-apl: NOTRUN -> [SKIP][138] ([fdo#109271]) +159 other tests skip
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl4/igt@[email protected]
* igt@kms_color@ctm-0-75@pipe-b:
- shard-rkl: [PASS][139] -> [SKIP][140] ([i915#4098]) +3 other tests skip
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-1/igt@kms_color@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@kms_color@[email protected]
* igt@kms_color@deep-color@pipe-b-edp-1-degamma:
- shard-mtlp: NOTRUN -> [FAIL][141] ([i915#6892]) +3 other tests fail
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@kms_color@[email protected]
* igt@kms_content_protection@atomic@pipe-a-dp-1:
- shard-apl: NOTRUN -> [TIMEOUT][142] ([i915#7173])
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl7/igt@kms_content_protection@[email protected]
* igt@kms_content_protection@dp-mst-type-1:
- shard-dg2: NOTRUN -> [SKIP][143] ([i915#3299])
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@[email protected]
* igt@kms_content_protection@lic:
- shard-dg2: NOTRUN -> [SKIP][144] ([i915#7118])
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@[email protected]
* igt@kms_cursor_crc@cursor-sliding-512x512:
- shard-dg2: NOTRUN -> [SKIP][145] ([i915#3359]) +3 other tests skip
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-1/igt@[email protected]
* igt@kms_cursor_edge_walk@64x64-left-edge:
- shard-rkl: NOTRUN -> [SKIP][146] ([i915#4098]) +28 other tests skip
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic:
- shard-apl: NOTRUN -> [SKIP][147] ([fdo#109271] / [fdo#111767]) +1 other test skip
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl6/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb-toggle:
- shard-dg2: NOTRUN -> [SKIP][148] ([fdo#109274] / [fdo#111767] / [i915#5354]) +1 other test skip
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-3/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb-varying-size:
- shard-dg2: NOTRUN -> [SKIP][149] ([fdo#109274] / [i915#5354]) +5 other tests skip
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-rkl: [PASS][150] -> [SKIP][151] ([i915#1845] / [i915#4098]) +17 other tests skip
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-1/igt@[email protected]
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-glk: [PASS][152] -> [FAIL][153] ([i915#2346])
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-glk2/igt@[email protected]
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-glk9/igt@[email protected]
- shard-apl: [PASS][154] -> [FAIL][155] ([i915#2346])
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl1/igt@[email protected]
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl6/igt@[email protected]
* igt@kms_dirtyfb@dirtyfb-ioctl@drrs-hdmi-a-2:
- shard-rkl: NOTRUN -> [SKIP][156] ([i915#9226] / [i915#9261]) +1 other test skip
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@kms_dirtyfb@[email protected]
* igt@kms_dirtyfb@dirtyfb-ioctl@fbc-hdmi-a-2:
- shard-rkl: NOTRUN -> [SKIP][157] ([i915#9227])
[157]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@kms_dirtyfb@[email protected]
* igt@kms_dither@fb-8bpc-vs-panel-8bpc:
- shard-dg2: NOTRUN -> [SKIP][158] ([i915#3555]) +3 other tests skip
[158]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- shard-dg2: NOTRUN -> [SKIP][159] ([i915#3555] / [i915#3840]) +1 other test skip
[159]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-1/igt@[email protected]
* igt@kms_fence_pin_leak:
- shard-dg2: NOTRUN -> [SKIP][160] ([i915#4881])
[160]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@kms_fence_pin_leak.html
* igt@kms_flip@2x-flip-vs-panning-vs-hang:
- shard-dg2: NOTRUN -> [SKIP][161] ([fdo#109274]) +6 other tests skip
[161]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-3/igt@[email protected]
* igt@kms_flip@2x-flip-vs-suspend:
- shard-mtlp: NOTRUN -> [SKIP][162] ([i915#3637])
[162]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@[email protected]
* igt@kms_flip@2x-plain-flip-interruptible:
- shard-snb: NOTRUN -> [SKIP][163] ([fdo#109271]) +8 other tests skip
[163]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-snb2/igt@[email protected]
* igt@kms_flip@basic-flip-vs-wf_vblank:
- shard-rkl: NOTRUN -> [SKIP][164] ([i915#3637] / [i915#4098]) +12 other tests skip
[164]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@kms_flip@basic-flip-vs-wf_vblank.html
* igt@kms_flip@flip-vs-suspend-interruptible@c-dp4:
- shard-dg2: [PASS][165] -> [FAIL][166] ([fdo#103375])
[165]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-dg2-11/igt@kms_flip@[email protected]
[166]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-11/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling@pipe-a-valid-mode:
- shard-rkl: NOTRUN -> [SKIP][167] ([i915#2672]) +6 other tests skip
[167]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling@pipe-a-valid-mode.html
* igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-downscaling@pipe-a-valid-mode:
- shard-dg2: NOTRUN -> [SKIP][168] ([i915#2672]) +1 other test skip
[168]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-2/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-downscaling@pipe-a-valid-mode.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling:
- shard-rkl: NOTRUN -> [SKIP][169] ([i915#3555]) +10 other tests skip
[169]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling.html
* igt@kms_force_connector_basic@force-load-detect:
- shard-dg2: NOTRUN -> [SKIP][170] ([fdo#109285])
[170]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-mmap-gtt:
- shard-dg2: NOTRUN -> [SKIP][171] ([i915#8708]) +16 other tests skip
[171]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-mmap-gtt.html
* igt@kms_frontbuffer_tracking@fbc-rgb565-draw-blt:
- shard-dg2: [PASS][172] -> [FAIL][173] ([i915#6880])
[172]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-dg2-2/igt@[email protected]
[173]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary:
- shard-rkl: [PASS][174] -> [SKIP][175] ([i915#1849] / [i915#4098]) +12 other tests skip
[174]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-1/igt@[email protected]
[175]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-tiling-linear:
- shard-dg2: NOTRUN -> [FAIL][176] ([i915#6880])
[176]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-pwrite:
- shard-mtlp: NOTRUN -> [SKIP][177] ([i915#1825]) +3 other tests skip
[177]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-pwrite.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-indfb-pgflip-blt:
- shard-dg2: NOTRUN -> [SKIP][178] ([i915#5354]) +26 other tests skip
[178]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-indfb-pgflip-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-pgflip-blt:
- shard-rkl: NOTRUN -> [SKIP][179] ([i915#1849] / [i915#4098]) +19 other tests skip
[179]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-pgflip-blt.html
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-mmap-gtt:
- shard-mtlp: NOTRUN -> [SKIP][180] ([i915#8708])
[180]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-mmap-gtt.html
* igt@kms_frontbuffer_tracking@psr-indfb-scaledprimary:
- shard-dg2: NOTRUN -> [SKIP][181] ([i915#3458]) +12 other tests skip
[181]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-1/igt@[email protected]
* igt@kms_hdr@static-toggle-dpms:
- shard-dg2: NOTRUN -> [SKIP][182] ([i915#3555] / [i915#8228])
[182]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-1/igt@[email protected]
* igt@kms_invalid_mode@bad-vsync-end:
- shard-rkl: NOTRUN -> [SKIP][183] ([i915#3555] / [i915#4098])
[183]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_plane@pixel-format:
- shard-rkl: NOTRUN -> [SKIP][184] ([i915#4098] / [i915#8825])
[184]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_plane_lowres@tiling-y:
- shard-dg2: NOTRUN -> [SKIP][185] ([i915#8821])
[185]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-2/igt@[email protected]
* igt@kms_plane_lowres@tiling-yf:
- shard-dg2: NOTRUN -> [SKIP][186] ([i915#3555] / [i915#8821])
[186]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-1/igt@[email protected]
* igt@kms_plane_scaling@2x-scaler-multi-pipe:
- shard-rkl: NOTRUN -> [SKIP][187] ([fdo#111825] / [i915#8152])
[187]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_plane_scaling@planes-downscale-factor-0-25-unity-scaling:
- shard-rkl: NOTRUN -> [SKIP][188] ([i915#8152])
[188]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@kms_plane_scaling@planes-downscale-factor-0-25-unity-scaling.html
* igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25:
- shard-rkl: NOTRUN -> [SKIP][189] ([i915#6953] / [i915#8152])
[189]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-factor-0-25.html
* igt@kms_plane_scaling@planes-downscale-factor-0-25@pipe-a-edp-1:
- shard-mtlp: NOTRUN -> [SKIP][190] ([i915#5235]) +2 other tests skip
[190]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@planes-downscale-factor-0-25@pipe-d-edp-1:
- shard-mtlp: NOTRUN -> [SKIP][191] ([i915#3555] / [i915#5235])
[191]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-b-hdmi-a-1:
- shard-dg2: NOTRUN -> [SKIP][192] ([i915#5235]) +23 other tests skip
[192]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-b-hdmi-a-2:
- shard-rkl: NOTRUN -> [SKIP][193] ([i915#5235]) +1 other test skip
[193]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@planes-upscale-20x20-downscale-factor-0-25@pipe-c-hdmi-a-4:
- shard-dg1: NOTRUN -> [SKIP][194] ([i915#5235]) +7 other tests skip
[194]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg1-15/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@planes-upscale-factor-0-25:
- shard-rkl: NOTRUN -> [SKIP][195] ([i915#3555] / [i915#4098] / [i915#6953] / [i915#8152]) +3 other tests skip
[195]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25:
- shard-rkl: NOTRUN -> [SKIP][196] ([i915#4098] / [i915#6953] / [i915#8152])
[196]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25.html
* igt@kms_prime@basic-crc-hybrid:
- shard-dg2: NOTRUN -> [SKIP][197] ([i915#6524] / [i915#6805]) +1 other test skip
[197]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-6/igt@[email protected]
* igt@kms_properties@plane-properties-legacy:
- shard-rkl: [PASS][198] -> [SKIP][199] ([i915#1849]) +1 other test skip
[198]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-7/igt@[email protected]
[199]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_psr2_sf@cursor-plane-move-continuous-exceed-sf:
- shard-rkl: NOTRUN -> [SKIP][200] ([i915#658])
[200]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-continuous-sf:
- shard-glk: NOTRUN -> [SKIP][201] ([fdo#109271] / [i915#658]) +1 other test skip
[201]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-glk3/igt@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-big-fb:
- shard-apl: NOTRUN -> [SKIP][202] ([fdo#109271] / [i915#658]) +2 other tests skip
[202]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl4/igt@[email protected]
- shard-dg2: NOTRUN -> [SKIP][203] ([i915#658]) +3 other tests skip
[203]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-1/igt@[email protected]
* igt@kms_psr@dpms:
- shard-rkl: NOTRUN -> [SKIP][204] ([i915#1072])
[204]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_psr@psr2_sprite_blt:
- shard-dg2: NOTRUN -> [SKIP][205] ([i915#1072]) +7 other tests skip
[205]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-6/igt@kms_psr@psr2_sprite_blt.html
* igt@kms_rotation_crc@primary-rotation-90:
- shard-mtlp: NOTRUN -> [SKIP][206] ([i915#4235])
[206]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@[email protected]
* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-90:
- shard-dg2: NOTRUN -> [SKIP][207] ([i915#4235] / [i915#5190])
[207]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-6/igt@[email protected]
* igt@kms_setmode@basic-clone-single-crtc:
- shard-dg2: NOTRUN -> [SKIP][208] ([i915#3555] / [i915#4098]) +1 other test skip
[208]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-6/igt@[email protected]
* igt@kms_tv_load_detect@load-detect:
- shard-dg2: NOTRUN -> [SKIP][209] ([fdo#109309])
[209]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-10/igt@[email protected]
* igt@kms_universal_plane@cursor-fb-leak@pipe-a-dp-1:
- shard-apl: [PASS][210] -> [FAIL][211] ([i915#9196])
[210]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl6/igt@kms_universal_plane@[email protected]
[211]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl2/igt@kms_universal_plane@[email protected]
* igt@kms_universal_plane@cursor-fb-leak@pipe-b-hdmi-a-2:
- shard-rkl: NOTRUN -> [FAIL][212] ([i915#9196])
[212]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@kms_universal_plane@[email protected]
* igt@kms_universal_plane@cursor-fb-leak@pipe-d-edp-1:
- shard-mtlp: [PASS][213] -> [FAIL][214] ([i915#9196])
[213]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-mtlp-4/igt@kms_universal_plane@[email protected]
[214]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-8/igt@kms_universal_plane@[email protected]
* igt@kms_universal_plane@cursor-fb-leak@pipe-d-hdmi-a-1:
- shard-tglu: [PASS][215] -> [FAIL][216] ([i915#9196])
[215]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-tglu-2/igt@kms_universal_plane@[email protected]
[216]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-tglu-9/igt@kms_universal_plane@[email protected]
* igt@kms_writeback@writeback-fb-id:
- shard-apl: NOTRUN -> [SKIP][217] ([fdo#109271] / [i915#2437])
[217]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl6/igt@[email protected]
* igt@perf@gen12-mi-rpc:
- shard-rkl: NOTRUN -> [SKIP][218] ([fdo#109289])
[218]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@perf_pmu@busy-double-start@ccs0:
- shard-mtlp: NOTRUN -> [FAIL][219] ([i915#4349])
[219]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@perf_pmu@[email protected]
* igt@prime_vgem@basic-read:
- shard-rkl: [PASS][220] -> [SKIP][221] ([fdo#109295] / [i915#3291] / [i915#3708])
[220]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[221]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@[email protected]
* igt@prime_vgem@coherency-gtt:
- shard-rkl: [PASS][222] -> [SKIP][223] ([fdo#109295] / [fdo#111656] / [i915#3708])
[222]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[223]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@[email protected]
* igt@syncobj_timeline@invalid-multi-wait-all-available-unsubmitted:
- shard-mtlp: NOTRUN -> [FAIL][224] ([i915#9583])
[224]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@syncobj_timeline@invalid-multi-wait-all-available-unsubmitted.html
* igt@syncobj_timeline@invalid-multi-wait-available-unsubmitted-signaled:
- shard-glk: NOTRUN -> [FAIL][225] ([i915#9583]) +1 other test fail
[225]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-glk1/igt@syncobj_timeline@invalid-multi-wait-available-unsubmitted-signaled.html
* igt@v3d/v3d_perfmon@destroy-invalid-perfmon:
- shard-mtlp: NOTRUN -> [SKIP][226] ([i915#2575]) +1 other test skip
[226]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@v3d/[email protected]
* igt@v3d/v3d_submit_cl@multiple-job-submission:
- shard-rkl: NOTRUN -> [SKIP][227] ([fdo#109315]) +1 other test skip
[227]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@v3d/[email protected]
* igt@v3d/v3d_submit_csd@single-out-sync:
- shard-dg2: NOTRUN -> [SKIP][228] ([i915#2575]) +8 other tests skip
[228]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-6/igt@v3d/[email protected]
* igt@vc4/vc4_purgeable_bo@mark-willneed:
- shard-rkl: NOTRUN -> [SKIP][229] ([i915#7711]) +2 other tests skip
[229]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@vc4/[email protected]
* igt@vc4/vc4_wait_bo@unused-bo-1ns:
- shard-dg2: NOTRUN -> [SKIP][230] ([i915#7711]) +5 other tests skip
[230]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-1/igt@vc4/[email protected]
* igt@vc4/vc4_wait_bo@used-bo-1ns:
- shard-mtlp: NOTRUN -> [SKIP][231] ([i915#7711]) +1 other test skip
[231]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@vc4/[email protected]
#### Possible fixes ####
* igt@drm_fdinfo@most-busy-check-all@rcs0:
- shard-rkl: [FAIL][232] ([i915#7742]) -> [PASS][233] +1 other test pass
[232]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-4/igt@drm_fdinfo@[email protected]
[233]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@drm_fdinfo@[email protected]
* igt@fbdev@pan:
- shard-rkl: [SKIP][234] ([i915#2582]) -> [PASS][235] +1 other test pass
[234]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[235]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@gem_eio@in-flight-internal-immediate:
- shard-mtlp: [ABORT][236] ([i915#9414]) -> [PASS][237]
[236]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-mtlp-8/igt@[email protected]
[237]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-7/igt@[email protected]
* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-apl: [FAIL][238] ([i915#2842]) -> [PASS][239]
[238]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-apl2/igt@gem_exec_fair@[email protected]
[239]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-apl7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_reloc@basic-gtt-wc-noreloc:
- shard-rkl: [SKIP][240] ([i915#3281]) -> [PASS][241] +14 other tests pass
[240]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-1/igt@[email protected]
[241]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@gem_pread@snoop:
- shard-rkl: [SKIP][242] ([i915#3282]) -> [PASS][243] +2 other tests pass
[242]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-7/igt@[email protected]
[243]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@gem_set_tiling_vs_blt@tiled-to-untiled:
- shard-rkl: [SKIP][244] ([i915#8411]) -> [PASS][245]
[244]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-1/igt@[email protected]
[245]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@gem_spin_batch@user-each:
- shard-mtlp: [DMESG-FAIL][246] ([i915#8962]) -> [PASS][247] +1 other test pass
[246]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-mtlp-4/igt@[email protected]
[247]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-8/igt@[email protected]
* igt@gen9_exec_parse@shadow-peek:
- shard-rkl: [SKIP][248] ([i915#2527]) -> [PASS][249] +4 other tests pass
[248]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-1/igt@[email protected]
[249]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@i915_power@sanity:
- shard-rkl: [SKIP][250] ([i915#7984]) -> [PASS][251]
[250]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-1/igt@[email protected]
[251]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip:
- shard-mtlp: [FAIL][252] ([i915#5138]) -> [PASS][253] +1 other test pass
[252]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-mtlp-7/igt@[email protected]
[253]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-5/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip:
- shard-tglu: [FAIL][254] ([i915#3743]) -> [PASS][255] +1 other test pass
[254]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-tglu-5/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip.html
[255]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-tglu-10/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-180-hflip-async-flip.html
* {igt@kms_ccs@pipe-b-bad-pixel-format-y-tiled-gen12-rc-ccs-cc}:
- shard-rkl: [SKIP][256] ([i915#4098]) -> [PASS][257] +17 other tests pass
[256]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[257]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@kms_cursor_legacy@basic-flip-before-cursor-varying-size:
- shard-rkl: [SKIP][258] ([i915#1845] / [i915#4098]) -> [PASS][259] +28 other tests pass
[258]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[259]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt:
- shard-rkl: [SKIP][260] ([i915#1849] / [i915#4098]) -> [PASS][261] +14 other tests pass
[260]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt.html
[261]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt.html
* {igt@kms_pm_dc@dc5-dpms-negative}:
- shard-rkl: [SKIP][262] ([i915#9293]) -> [PASS][263]
[262]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[263]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* {igt@kms_pm_rpm@dpms-mode-unset-non-lpsp}:
- shard-dg1: [SKIP][264] ([i915#9519]) -> [PASS][265] +1 other test pass
[264]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-dg1-19/igt@[email protected]
[265]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg1-13/igt@[email protected]
* {igt@kms_pm_rpm@dpms-non-lpsp}:
- shard-rkl: [SKIP][266] ([i915#9519]) -> [PASS][267] +1 other test pass
[266]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[267]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* {igt@kms_pm_rpm@modeset-non-lpsp-stress}:
- shard-dg2: [SKIP][268] ([i915#9519]) -> [PASS][269]
[268]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-dg2-10/igt@[email protected]
[269]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-2/igt@[email protected]
* igt@kms_properties@crtc-properties-legacy:
- shard-rkl: [SKIP][270] ([i915#1849]) -> [PASS][271] +2 other tests pass
[270]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[271]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@kms_sysfs_edid_timing:
- shard-dg2: [FAIL][272] ([IGT#2]) -> [PASS][273]
[272]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-dg2-6/igt@kms_sysfs_edid_timing.html
[273]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-11/igt@kms_sysfs_edid_timing.html
* igt@kms_universal_plane@cursor-fb-leak@pipe-a-hdmi-a-1:
- shard-tglu: [FAIL][274] ([i915#9196]) -> [PASS][275]
[274]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-tglu-2/igt@kms_universal_plane@[email protected]
[275]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-tglu-9/igt@kms_universal_plane@[email protected]
* igt@perf_pmu@busy-double-start@vecs1:
- shard-dg2: [FAIL][276] ([i915#4349]) -> [PASS][277] +3 other tests pass
[276]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-dg2-2/igt@perf_pmu@[email protected]
[277]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-6/igt@perf_pmu@[email protected]
* igt@perf_pmu@multi-client@ccs0:
- shard-mtlp: [FAIL][278] ([i915#4349]) -> [PASS][279]
[278]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-mtlp-7/igt@perf_pmu@[email protected]
[279]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-3/igt@perf_pmu@[email protected]
* igt@prime_vgem@basic-fence-read:
- shard-rkl: [SKIP][280] ([fdo#109295] / [i915#3291] / [i915#3708]) -> [PASS][281]
[280]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-1/igt@[email protected]
[281]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
#### Warnings ####
* igt@gem_ccs@block-copy-compressed:
- shard-rkl: [SKIP][282] ([i915#7957]) -> [SKIP][283] ([i915#3555])
[282]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[283]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@gem_ccs@block-multicopy-compressed:
- shard-rkl: [SKIP][284] ([i915#9323]) -> [SKIP][285] ([i915#7957])
[284]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-1/igt@[email protected]
[285]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@gem_ccs@ctrl-surf-copy-new-ctx:
- shard-rkl: [SKIP][286] ([i915#7957]) -> [SKIP][287] ([i915#4098] / [i915#9323])
[286]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[287]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@gem_pwrite@basic-exhaustion:
- shard-rkl: [WARN][288] ([i915#2658]) -> [SKIP][289] ([i915#3282])
[288]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[289]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@[email protected]
* igt@gen9_exec_parse@bb-oversize:
- shard-rkl: [SKIP][290] ([i915#2532]) -> [SKIP][291] ([i915#2527])
[290]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[291]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@[email protected]
* igt@i915_pm_rc6_residency@rc6-idle@rcs0:
- shard-tglu: [WARN][292] ([i915#2681]) -> [FAIL][293] ([i915#2681])
[292]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-tglu-8/igt@i915_pm_rc6_residency@[email protected]
[293]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-tglu-7/igt@i915_pm_rc6_residency@[email protected]
* igt@kms_async_flips@crc@pipe-d-edp-1:
- shard-mtlp: [FAIL][294] ([i915#8247]) -> [DMESG-FAIL][295] ([i915#8561]) +1 other test dmesg-fail
[294]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-mtlp-3/igt@kms_async_flips@[email protected]
[295]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-mtlp-2/igt@kms_async_flips@[email protected]
* igt@kms_atomic@plane-primary-overlay-mutable-zpos:
- shard-rkl: [SKIP][296] ([i915#9531]) -> [SKIP][297] ([i915#1845] / [i915#4098])
[296]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-4/igt@[email protected]
[297]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_big_fb@4-tiled-addfb:
- shard-rkl: [SKIP][298] ([i915#5286]) -> [SKIP][299] ([i915#4098]) +5 other tests skip
[298]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-4/igt@[email protected]
[299]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip:
- shard-rkl: [SKIP][300] ([i915#4098]) -> [SKIP][301] ([i915#5286]) +6 other tests skip
[300]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html
[301]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html
* igt@kms_big_fb@linear-8bpp-rotate-270:
- shard-rkl: [SKIP][302] ([i915#1845] / [i915#4098]) -> [INCOMPLETE][303] ([i915#9538])
[302]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[303]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@[email protected]
* igt@kms_big_fb@linear-8bpp-rotate-90:
- shard-rkl: [SKIP][304] ([i915#1845] / [i915#4098]) -> [SKIP][305] ([fdo#111614] / [i915#3638]) +1 other test skip
[304]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[305]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@kms_big_fb@x-tiled-32bpp-rotate-270:
- shard-rkl: [SKIP][306] ([fdo#111614] / [i915#3638]) -> [SKIP][307] ([i915#1845] / [i915#4098]) +3 other tests skip
[306]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-7/igt@[email protected]
[307]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_big_fb@yf-tiled-16bpp-rotate-180:
- shard-rkl: [SKIP][308] ([fdo#110723]) -> [SKIP][309] ([i915#1845] / [i915#4098]) +6 other tests skip
[308]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-1/igt@[email protected]
[309]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_big_fb@yf-tiled-16bpp-rotate-270:
- shard-rkl: [SKIP][310] ([i915#1845] / [i915#4098]) -> [SKIP][311] ([fdo#110723]) +4 other tests skip
[310]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[311]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@kms_big_fb@yf-tiled-addfb-size-overflow:
- shard-rkl: [SKIP][312] ([i915#1845] / [i915#4098]) -> [SKIP][313] ([fdo#111615]) +1 other test skip
[312]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[313]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@[email protected]
* igt@kms_content_protection@dp-mst-lic-type-1:
- shard-rkl: [SKIP][314] ([i915#3116]) -> [SKIP][315] ([i915#1845] / [i915#4098])
[314]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-4/igt@[email protected]
[315]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_content_protection@dp-mst-type-1:
- shard-rkl: [SKIP][316] ([i915#1845] / [i915#4098]) -> [SKIP][317] ([i915#3116])
[316]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[317]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@kms_content_protection@legacy:
- shard-rkl: [SKIP][318] ([i915#1845] / [i915#4098]) -> [SKIP][319] ([i915#7118]) +1 other test skip
[318]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[319]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@[email protected]
* igt@kms_cursor_crc@cursor-offscreen-32x10:
- shard-rkl: [SKIP][320] ([i915#4098]) -> [SKIP][321] ([i915#3555]) +5 other tests skip
[320]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[321]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@kms_cursor_crc@cursor-onscreen-512x170:
- shard-rkl: [SKIP][322] ([i915#4098]) -> [SKIP][323] ([fdo#109279] / [i915#3359])
[322]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[323]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@kms_cursor_crc@cursor-random-512x170:
- shard-rkl: [SKIP][324] ([i915#3359]) -> [SKIP][325] ([i915#4098]) +1 other test skip
[324]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-4/igt@[email protected]
[325]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- shard-rkl: [SKIP][326] ([i915#4103]) -> [SKIP][327] ([i915#1845] / [i915#4098]) +1 other test skip
[326]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-1/igt@[email protected]
[327]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size:
- shard-rkl: [SKIP][328] ([i915#1845] / [i915#4098]) -> [SKIP][329] ([i915#4103])
[328]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size.html
[329]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size.html
* igt@kms_cursor_legacy@cursora-vs-flipb-legacy:
- shard-rkl: [SKIP][330] ([fdo#111825]) -> [SKIP][331] ([i915#1845] / [i915#4098]) +1 other test skip
[330]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-4/igt@[email protected]
[331]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_cursor_legacy@cursora-vs-flipb-varying-size:
- shard-rkl: [SKIP][332] ([i915#1845] / [i915#4098]) -> [SKIP][333] ([fdo#111825]) +4 other tests skip
[332]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[333]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions:
- shard-rkl: [SKIP][334] ([i915#1845] / [i915#4098]) -> [SKIP][335] ([fdo#111767] / [fdo#111825])
[334]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[335]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@kms_fbcon_fbt@psr:
- shard-rkl: [SKIP][336] ([fdo#110189] / [i915#3955]) -> [SKIP][337] ([i915#3955])
[336]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-1/igt@[email protected]
[337]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-pri-indfb-multidraw:
- shard-rkl: [SKIP][338] ([i915#1849] / [i915#4098]) -> [SKIP][339] ([i915#3023]) +28 other tests skip
[338]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[339]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-2p-indfb-fliptrack-mmap-gtt:
- shard-rkl: [SKIP][340] ([i915#1849] / [i915#4098]) -> [SKIP][341] ([fdo#111825])
[340]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[341]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-gtt:
- shard-rkl: [SKIP][342] ([i915#1849] / [i915#4098]) -> [SKIP][343] ([fdo#111825] / [i915#1825]) +44 other tests skip
[342]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-gtt.html
[343]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-gtt.html
* igt@kms_frontbuffer_tracking@fbcpsr-rgb101010-draw-mmap-wc:
- shard-rkl: [SKIP][344] ([i915#3023]) -> [SKIP][345] ([i915#1849] / [i915#4098]) +22 other tests skip
[344]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-4/igt@[email protected]
[345]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-indfb-msflip-blt:
- shard-rkl: [SKIP][346] ([fdo#111825] / [i915#1825]) -> [SKIP][347] ([i915#1849] / [i915#4098]) +36 other tests skip
[346]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-1/igt@[email protected]
[347]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_hdr@bpc-switch:
- shard-rkl: [SKIP][348] ([i915#3555] / [i915#8228]) -> [SKIP][349] ([i915#1845] / [i915#4098])
[348]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-7/igt@[email protected]
[349]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_hdr@static-toggle-suspend:
- shard-rkl: [SKIP][350] ([i915#1845] / [i915#4098]) -> [SKIP][351] ([i915#3555] / [i915#8228]) +1 other test skip
[350]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[351]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@[email protected]
* igt@kms_panel_fitting@atomic-fastset:
- shard-rkl: [SKIP][352] ([i915#6301]) -> [SKIP][353] ([i915#1845] / [i915#4098])
[352]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-4/igt@[email protected]
[353]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_panel_fitting@legacy:
- shard-rkl: [SKIP][354] ([i915#1845] / [i915#4098]) -> [SKIP][355] ([i915#6301])
[354]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[355]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-1/igt@[email protected]
* igt@kms_plane@plane-panning-top-left:
- shard-rkl: [SKIP][356] ([i915#4098]) -> [SKIP][357] ([i915#4098] / [i915#8825])
[356]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[357]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_plane_multiple@tiling-yf:
- shard-rkl: [SKIP][358] ([i915#3555]) -> [SKIP][359] ([i915#4098]) +4 other tests skip
[358]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-1/igt@[email protected]
[359]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-5/igt@[email protected]
* igt@kms_rotation_crc@primary-4-tiled-reflect-x-0:
- shard-rkl: [SKIP][360] ([i915#4098]) -> [SKIP][361] ([i915#5289])
[360]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[361]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-270:
- shard-rkl: [SKIP][362] ([i915#1845] / [i915#4098]) -> [SKIP][363] ([fdo#111615] / [i915#5289])
[362]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-rkl-5/igt@[email protected]
[363]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-rkl-4/igt@[email protected]
* igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem:
- shard-dg2: [CRASH][364] ([i915#9351]) -> [INCOMPLETE][365] ([i915#5493])
[364]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13806/shard-dg2-11/igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem.html
[365]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/shard-dg2-11/igt@prime_mmap@test_aperture_limit@test_aperture_limit-smem.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[IGT#2]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/2
[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109279]: https://bugs.freedesktop.org/show_bug.cgi?id=109279
[fdo#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109308]: https://bugs.freedesktop.org/show_bug.cgi?id=109308
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#109313]: https://bugs.freedesktop.org/show_bug.cgi?id=109313
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656
[fdo#111767]: https://bugs.freedesktop.org/show_bug.cgi?id=111767
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2532]: https://gitlab.freedesktop.org/drm/intel/issues/2532
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2846]: https://gitlab.freedesktop.org/drm/intel/issues/2846
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#3023]: https://gitlab.freedesktop.org/drm/intel/issues/3023
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3743]: https://gitlab.freedesktop.org/drm/intel/issues/3743
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4087]: https://gitlab.freedesktop.org/drm/intel/issues/4087
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4235]: https://gitlab.freedesktop.org/drm/intel/issues/4235
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4537]: https://gitlab.freedesktop.org/drm/intel/issues/4537
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4881]: https://gitlab.freedesktop.org/drm/intel/issues/4881
[i915#4885]: https://gitlab.freedesktop.org/drm/intel/issues/4885
[i915#5107]: https://gitlab.freedesktop.org/drm/intel/issues/5107
[i915#5138]: https://gitlab.freedesktop.org/drm/intel/issues/5138
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5493]: https://gitlab.freedesktop.org/drm/intel/issues/5493
[i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
[i915#5889]: https://gitlab.freedesktop.org/drm/intel/issues/5889
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6227]: https://gitlab.freedesktop.org/drm/intel/issues/6227
[i915#6252]: https://gitlab.freedesktop.org/drm/intel/issues/6252
[i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6805]: https://gitlab.freedesktop.org/drm/intel/issues/6805
[i915#6880]: https://gitlab.freedesktop.org/drm/intel/issues/6880
[i915#6892]: https://gitlab.freedesktop.org/drm/intel/issues/6892
[i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7173]: https://gitlab.freedesktop.org/drm/intel/issues/7173
[i915#7213]: https://gitlab.freedesktop.org/drm/intel/issues/7213
[i915#768]: https://gitlab.freedesktop.org/drm/intel/issues/768
[i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7957]: https://gitlab.freedesktop.org/drm/intel/issues/7957
[i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975
[i915#7984]: https://gitlab.freedesktop.org/drm/intel/issues/7984
[i915#8063]: https://gitlab.freedesktop.org/drm/intel/issues/8063
[i915#8152]: https://gitlab.freedesktop.org/drm/intel/issues/8152
[i915#8213]: https://gitlab.freedesktop.org/drm/intel/issues/8213
[i915#8228]: https://gitlab.freedesktop.org/drm/intel/issues/8228
[i915#8247]: https://gitlab.freedesktop.org/drm/intel/issues/8247
[i915#8293]: https://gitlab.freedesktop.org/drm/intel/issues/8293
[i915#8411]: https://gitlab.freedesktop.org/drm/intel/issues/8411
[i915#8414]: https://gitlab.freedesktop.org/drm/intel/issues/8414
[i915#8428]: https://gitlab.freedesktop.org/drm/intel/issues/8428
[i915#8561]: https://gitlab.freedesktop.org/drm/intel/issues/8561
[i915#8562]: https://gitlab.freedesktop.org/drm/intel/issues/8562
[i915#8708]: https://gitlab.freedesktop.org/drm/intel/issues/8708
[i915#8709]: https://gitlab.freedesktop.org/drm/intel/issues/8709
[i915#8821]: https://gitlab.freedesktop.org/drm/intel/issues/8821
[i915#8825]: https://gitlab.freedesktop.org/drm/intel/issues/8825
[i915#8925]: https://gitlab.freedesktop.org/drm/intel/issues/8925
[i915#8962]: https://gitlab.freedesktop.org/drm/intel/issues/8962
[i915#9053]: https://gitlab.freedesktop.org/drm/intel/issues/9053
[i915#9196]: https://gitlab.freedesktop.org/drm/intel/issues/9196
[i915#9226]: https://gitlab.freedesktop.org/drm/intel/issues/9226
[i915#9227]: https://gitlab.freedesktop.org/drm/intel/issues/9227
[i915#9261]: https://gitlab.freedesktop.org/drm/intel/issues/9261
[i915#9293]: https://gitlab.freedesktop.org/drm/intel/issues/9293
[i915#9323]: https://gitlab.freedesktop.org/drm/intel/issues/9323
[i915#9351]: https://gitlab.freedesktop.org/drm/intel/issues/9351
[i915#9414]: https://gitlab.freedesktop.org/drm/intel/issues/9414
[i915#9423]: https://gitlab.freedesktop.org/drm/intel/issues/9423
[i915#9424]: https://gitlab.freedesktop.org/drm/intel/issues/9424
[i915#9433]: https://gitlab.freedesktop.org/drm/intel/issues/9433
[i915#9519]: https://gitlab.freedesktop.org/drm/intel/issues/9519
[i915#9531]: https://gitlab.freedesktop.org/drm/intel/issues/9531
[i915#9538]: https://gitlab.freedesktop.org/drm/intel/issues/9538
[i915#9583]: https://gitlab.freedesktop.org/drm/intel/issues/9583
[i915#9588]: https://gitlab.freedesktop.org/drm/intel/issues/9588
Build changes
-------------
* Linux: CI_DRM_13806 -> Patchwork_125490v7
* Piglit: None -> piglit_4509
CI-20190529: 20190529
CI_DRM_13806: b7816c393496dc4497c1327310821407f7171d8b @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7562: 5e82a8ee42d58c5e183c3d4208ae4ccd977a4830 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_125490v7: b7816c393496dc4497c1327310821407f7171d8b @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_125490v7/index.html