drm/i915/edp: enable eDP Multi-SST Operation (MSO)
v3 cover drm/i915/edp: enable eDP Multi-SST Operation (MSO)
This series enables eDP Multi-SST Operation (MSO) on TGL+.
MSO splits the full panel into 2 or 4 segments horizontally. The EDID contains timings for one segment, and we'll need to use them for transcoder timings as well as data M/N calculation. We shove the segment timings to adjusted_mode->crtc_*. Otherwise, we'll need to use full panel timings.
There's a bunch of back and forth conversion to transparently present the full mode to userspace. Not sure if there's a better way as different places require conversion of different fields. Otherwise the splitter configuration is trivial.
The segments may include 0-8 pixels overlap. The overlap is defined in DisplayID 2.0 for which we don't have parsing. Hopefully we can insert the overlap in one place if required, however this has not been tested as the panel at hand does not use overlap.
BR,
Jani.
Jani Nikula (9):
drm/dp: add MSO related DPCD registers
drm/i915/edp: reject modes with dimensions other than fixed mode drm/i915/edp: always add fixed mode to probed modes in ->get_modes() drm/i915/edp: read sink MSO configuration for eDP 1.4+ drm/i915/reg: add stream splitter configuration definitions drm/i915/mso: add splitter state readout for platforms that support it drm/i915/mso: add splitter state check
drm/i915/edp: modify fixed and downclock modes for MSO drm/i915/edp: enable eDP MSO during link training
drivers/gpu/drm/i915/display/intel_ddi.c | 74 ++++++++++++ drivers/gpu/drm/i915/display/intel_display.c | 48 +++++++- .../drm/i915/display/intel_display_types.h | 9 ++ drivers/gpu/drm/i915/display/intel_dp.c | 112 ++++++++++++++++-- drivers/gpu/drm/i915/i915_drv.h | 2 + drivers/gpu/drm/i915/i915_reg.h | 3 + include/drm/drm_dp_helper.h | 5 + 7 files changed, 242 insertions(+), 11 deletions(-)
Signature · 6 lines
2.20.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v3 1/9 drm/dp: add MSO related DPCD registers
Add DPCD register definitions for eDP 1.4 Multi-SST Operation.
--- include/drm/drm_dp_helper.h | 5 +++++ 1 file changed, 5 insertions(+)
include/drm/drm_dp_helper.h +5 -0
@@ -1016,6 +1016,11 @@ struct drm_device;#define DP_EDP_REGIONAL_BACKLIGHT_BASE 0x740/* eDP 1.4 */ #define DP_EDP_REGIONAL_BACKLIGHT_0 0x741/* eDP 1.4 */ +#define DP_EDP_MSO_LINK_CAPABILITIES 0x7a4/* eDP 1.4 */ +# define DP_EDP_MSO_NUMBER_OF_LINKS_MASK (7 << 0) +# define DP_EDP_MSO_NUMBER_OF_LINKS_SHIFT 0 +# define DP_EDP_MSO_INDEPENDENT_LINK_BIT (1 << 3) +/* Sideband MSG Buffers */ #define DP_SIDEBAND_MSG_DOWN_REQ_BASE 0x1000/* 1.2 MST */ #define DP_SIDEBAND_MSG_UP_REP_BASE 0x1200/* 1.2 MST */
Signature · 6 lines
2.20.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v3 2/9 drm/i915/edp: reject modes with dimensions other than fixed mode
In reply to Jani NikulaBe more strict about filtering modes for eDP.
--- drivers/gpu/drm/i915/display/intel_dp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_dp.c +2 -2
@@ -789,10 +789,10 @@ intel_dp_mode_valid(struct drm_connector *connector,return MODE_H_ILLEGAL ;if (intel_dp_is_edp (intel_dp) && fixed_mode) { -if (mode->hdisplay > fixed_mode->hdisplay) +if (mode->hdisplay != fixed_mode->hdisplay)return MODE_PANEL ; -if (mode->vdisplay > fixed_mode->vdisplay) +if (mode->vdisplay != fixed_mode->vdisplay)return MODE_PANEL ; target_clock = fixed_mode->clock;
Signature · 6 lines
2.20.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v3 3/9 drm/i915/edp: always add fixed mode to probed modes in ->get_modes()
In reply to Jani NikulaUnconditionally add fixed mode to probed modes even if EDID is present and has modes. Prepare for cases where the fixed mode is not present in EDID (such as eDP MSO).
--- drivers/gpu/drm/i915/display/intel_dp.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-)
drivers/gpu/drm/i915/display/intel_dp.c +9 -7
@@ -5547,19 +5547,18 @@ static int intel_dp_get_modes(struct drm_connector *connector) {struct intel_connector *intel_connector =to_intel_connector (connector);struct edid *edid; +int num_modes =0 ; edid = intel_connector->detect_edid;if (edid) { -int ret =intel_connector_update_modes (connector, edid); + num_modes =intel_connector_update_modes (connector, edid);if (intel_vrr_is_capable (connector))drm_connector_set_vrr_capable_property (connector, true); -if (ret) -return ret; } -/* if eDP has no EDID, fall back to fixed mode */ +/* Also add fixed mode, which may or may not be present in EDID */ if (intel_dp_is_edp (intel_attached_dp (intel_connector)) && intel_connector->panel.fixed_mode) {struct drm_display_mode *mode;
@@ -5568,10 +5567,13 @@ static int intel_dp_get_modes(struct drm_connector *connector) intel_connector->panel.fixed_mode);if (mode) {drm_mode_probed_add (connector, mode); -return 1 ; + num_modes++; } } +if (num_modes) +return num_modes; +if (!edid) {struct intel_dp *intel_dp =intel_attached_dp (intel_connector);struct drm_display_mode *mode;
@@ -5581,11 +5583,11 @@ static int intel_dp_get_modes(struct drm_connector *connector) intel_dp->downstream_ports);if (mode) {drm_mode_probed_add (connector, mode); -return 1 ; + num_modes++; } } -return 0 ; +return num_modes; } static int
Signature · 6 lines
2.20.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v3 4/9 drm/i915/edp: read sink MSO configuration for eDP 1.4+
In reply to Jani NikulaRead and debug log the eDP sink MSO configuration. Do not actually do anything with the information yet besides logging.
FIXME: The pixel overlap is present in DisplayID 2.0, but we don't have parsing for that. Assume zero for now. We could also add quirks for non-zero pixel overlap before DisplayID 2.0 parsing.
v3: Add placeholder for pixel overlap.
v2: Rename intel_dp_mso_init -> intel_edp_mso_init
--- .../drm/i915/display/intel_display_types.h | 2 ++ drivers/gpu/drm/i915/display/intel_dp.c | 33 +++++++++++++++++++ 2 files changed, 35 insertions(+)
drivers/gpu/drm/i915/display/intel_display_types.h +2 -0
@@ -1487,6 +1487,8 @@ struct intel_dp {int max_link_lane_count;/* Max rate for the current link */ int max_link_rate; +int mso_link_count; +int mso_pixel_overlap;/* sink or branch descriptor */ struct drm_dp_desc desc;struct drm_dp_aux aux;
drivers/gpu/drm/i915/display/intel_dp.c +33 -0
@@ -3516,6 +3516,37 @@ static void intel_dp_get_dsc_sink_cap(struct intel_dp *intel_dp) } } +static void intel_edp_mso_init (struct intel_dp *intel_dp) +{ +struct drm_i915_private *i915 =dp_to_i915 (intel_dp); +u8 mso; + +if (intel_dp->edp_dpcd[0 ] <DP_EDP_14 ) +return ; + +if (drm_dp_dpcd_readb (&intel_dp->aux,DP_EDP_MSO_LINK_CAPABILITIES , &mso) !=1 ) { +drm_err (&i915->drm,"Failed to read MSO cap\n" ); +return ; + } + +/* Valid configurations are SST or MSO 2x1, 2x2, 4x1 */ + mso &=DP_EDP_MSO_NUMBER_OF_LINKS_MASK ; +if (mso %2 || mso >drm_dp_max_lane_count (intel_dp->dpcd)) { +drm_err (&i915->drm,"Invalid MSO link count cap %u\n" , mso); + mso =0 ; + } + +if (mso) { +drm_dbg_kms (&i915->drm,"Sink MSO %ux%u configuration\n" , + mso,drm_dp_max_lane_count (intel_dp->dpcd) / mso); +drm_err (&i915->drm,"No source MSO support, disabling\n" ); + mso =0 ; + } + + intel_dp->mso_link_count = mso; + intel_dp->mso_pixel_overlap =0 ;/* FIXME: read from DisplayID v2.0 */ +} +static bool intel_edp_init_dpcd (struct intel_dp *intel_dp) {
@@ -3599,6 +3630,8 @@ intel_edp_init_dpcd(struct intel_dp *intel_dp)*/ intel_edp_init_source_oui (intel_dp, true); +intel_edp_mso_init (intel_dp); +return true; }
Signature · 6 lines
2.20.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v3 5/9 drm/i915/reg: add stream splitter configuration definitions
In reply to Jani NikulaThe splitter configuration is required for eDP MSO.
Bspec: 50174
--- drivers/gpu/drm/i915/i915_reg.h | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/i915/i915_reg.h +3 -0
@@ -11448,6 +11448,9 @@ enum skl_power_gate {#define BIG_JOINER_ENABLE (1 << 29)#define MASTER_BIG_JOINER_ENABLE (1 << 28)#define VGA_CENTERING_ENABLE (1 << 27) +#define SPLITTER_CONFIGURATION_MASK REG_GENMASK(26, 25) +#define SPLITTER_CONFIGURATION_2_SEGMENT REG_FIELD_PREP(SPLITTER_CONFIGURATION_MASK, 0) +#define SPLITTER_CONFIGURATION_4_SEGMENT REG_FIELD_PREP(SPLITTER_CONFIGURATION_MASK, 1)#define _ICL_PIPE_DSS_CTL2_PB 0x78204#define _ICL_PIPE_DSS_CTL2_PC 0x78404
Signature · 6 lines
2.20.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v3 6/9 drm/i915/mso: add splitter state readout for platforms that support it
In reply to Jani NikulaAdd splitter configuration to crtc state, and read it where supported. Also add splitter state dumping. The stream splitter will be required for eDP MSO.
v3:
- Convert segment timings to full panel timings.
- Refer to splitter instead of mso in crtc state.
- Dump splitter state.
v2: Add warning for mso being enabled on pipes other than A.
--- drivers/gpu/drm/i915/display/intel_ddi.c | 37 +++++++++++++++++++ drivers/gpu/drm/i915/display/intel_display.c | 31 +++++++++++++++- .../drm/i915/display/intel_display_types.h | 7 ++++ drivers/gpu/drm/i915/i915_drv.h | 2 + 4 files changed, 75 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_ddi.c +37 -0
@@ -2132,6 +2132,41 @@ static void intel_ddi_power_up_lanes(struct intel_encoder *encoder, } } +static void intel_ddi_mso_get_config (struct intel_encoder *encoder, +struct intel_crtc_state *pipe_config) +{ +struct intel_crtc *crtc =to_intel_crtc (pipe_config->uapi.crtc); +struct drm_i915_private *i915 =to_i915 (crtc->base.dev); +enum pipe pipe = crtc->pipe; +u32 dss1; + +if (!HAS_MSO (i915)) +return ; + + dss1 =intel_de_read (i915,ICL_PIPE_DSS_CTL1 (pipe)); + + pipe_config->splitter.enable = dss1 &SPLITTER_ENABLE ; +if (!pipe_config->splitter.enable) +return ; + +/* Splitter enable is supported for pipe A only. */ +if (drm_WARN_ON (&i915->drm, pipe !=PIPE_A )) { + pipe_config->splitter.enable = false; +return ; + } + +switch (dss1 &SPLITTER_CONFIGURATION_MASK ) { +case SPLITTER_CONFIGURATION_2_SEGMENT : + pipe_config->splitter.link_count =2 ; +break ; +case SPLITTER_CONFIGURATION_4_SEGMENT : + pipe_config->splitter.link_count =4 ; +break ; + } + + pipe_config->splitter.pixel_overlap =REG_FIELD_GET (OVERLAP_PIXELS_MASK , dss1); +} + static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *crtc_state,
@@ -3322,6 +3357,8 @@ void intel_ddi_get_config(struct intel_encoder *encoder,intel_ddi_read_func_ctl (encoder, pipe_config); } +intel_ddi_mso_get_config (encoder, pipe_config); + pipe_config->has_audio =intel_ddi_is_audio_enabled (dev_priv, cpu_transcoder);
drivers/gpu/drm/i915/display/intel_display.c +29 -2
@@ -4856,8 +4856,30 @@ static void intel_crtc_readout_derived_state(struct intel_crtc_state *crtc_state pipe_mode->crtc_clock /=2 ; } -intel_mode_from_crtc_timings (pipe_mode, pipe_mode); -intel_mode_from_crtc_timings (adjusted_mode, adjusted_mode); +if (crtc_state->splitter.enable) { +int n = crtc_state->splitter.link_count; +int overlap = crtc_state->splitter.pixel_overlap; + +/* +* eDP MSO uses segment timings from EDID for transcoder +* timings, but full mode for everything else. +* +* h_full = (h_segment - pixel_overlap) * link_count +*/ + pipe_mode->crtc_hdisplay = (pipe_mode->crtc_hdisplay - overlap) * n; + pipe_mode->crtc_hblank_start = (pipe_mode->crtc_hblank_start - overlap) * n; + pipe_mode->crtc_hblank_end = (pipe_mode->crtc_hblank_end - overlap) * n; + pipe_mode->crtc_hsync_start = (pipe_mode->crtc_hsync_start - overlap) * n; + pipe_mode->crtc_hsync_end = (pipe_mode->crtc_hsync_end - overlap) * n; + pipe_mode->crtc_htotal = (pipe_mode->crtc_htotal - overlap) * n; + pipe_mode->crtc_clock *= n; + +intel_mode_from_crtc_timings (pipe_mode, pipe_mode); +intel_mode_from_crtc_timings (adjusted_mode, pipe_mode); + }else { +intel_mode_from_crtc_timings (pipe_mode, pipe_mode); +intel_mode_from_crtc_timings (adjusted_mode, adjusted_mode); + }intel_crtc_compute_pixel_rate (crtc_state);
@@ -8259,6 +8281,11 @@ static void intel_dump_pipe_config(const struct intel_crtc_state *pipe_config, pipe_config->bigjoiner_slave ?"slave" : pipe_config->bigjoiner ? "master" : "no"); +drm_dbg_kms (&dev_priv->drm,"splitter: %s, link count %d, overlap %d\n" , +enableddisabled (pipe_config->splitter.enable), + pipe_config->splitter.link_count, + pipe_config->splitter.pixel_overlap); +if (pipe_config->has_pch_encoder) intel_dump_m_n_config(pipe_config, "fdi", pipe_config->fdi_lanes,
drivers/gpu/drm/i915/display/intel_display_types.h +7 -0
@@ -1161,6 +1161,13 @@ struct intel_crtc_state {u8 pipeline_full;u16 flipline, vmin, vmax; } vrr; + +/* Stream Splitter for eDP MSO */ +struct { +bool enable; +u8 link_count; +u8 pixel_overlap; + } splitter; };enum intel_pipe_crc_source {
drivers/gpu/drm/i915/i915_drv.h +2 -0
@@ -1709,6 +1709,8 @@ tgl_stepping_get(struct drm_i915_private *dev_priv)#define HAS_CSR (dev_priv) (INTEL_INFO(dev_priv)->display.has_csr) +#define HAS_MSO (i915) (INTEL_GEN(i915) >= 12) +#define HAS_RUNTIME_PM (dev_priv) (INTEL_INFO(dev_priv)->has_runtime_pm)#define HAS_64BIT_RELOC (dev_priv) (INTEL_INFO(dev_priv)->has_64bit_reloc)
Signature · 6 lines
2.20.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v3 7/9 drm/i915/mso: add splitter state check
In reply to Jani NikulaFor starters, we expect the state to be zero, as we don't enable MSO anywhere.
v2: Refer to splitter.
--- drivers/gpu/drm/i915/display/intel_display.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpu/drm/i915/display/intel_display.c +4 -0
@@ -9326,6 +9326,10 @@ intel_pipe_config_compare(const struct intel_crtc_state *current_config,PIPE_CONF_CHECK_I (dsc.dsc_split);PIPE_CONF_CHECK_I (dsc.compressed_bpp); +PIPE_CONF_CHECK_BOOL (splitter.enable); +PIPE_CONF_CHECK_I (splitter.link_count); +PIPE_CONF_CHECK_I (splitter.pixel_overlap); +PIPE_CONF_CHECK_I (mst_master_transcoder);PIPE_CONF_CHECK_BOOL (vrr.enable);
Signature · 6 lines
2.20.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v3 8/9 drm/i915/edp: modify fixed and downclock modes for MSO
In reply to Jani NikulaIn the case of MSO (Multi-SST Operation), the EDID contains the timings for a single panel segment. We'll want to hide the fact from userspace, and expose modes that span the entire display.
Don't modify the EDID, as the userspace should not use that for modesetting, only modify the actual modes.
v3: Use pixel overlap if available.
v2: Rename intel_dp_mso_mode_fixup -> intel_edp_mso_mode_fixup
--- drivers/gpu/drm/i915/display/intel_dp.c | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+)
drivers/gpu/drm/i915/display/intel_dp.c +29 -0
@@ -3516,6 +3516,31 @@ static void intel_dp_get_dsc_sink_cap(struct intel_dp *intel_dp) } } +static void intel_edp_mso_mode_fixup (struct intel_connector *connector, +struct drm_display_mode *mode) +{ +struct intel_dp *intel_dp =intel_attached_dp (connector); +struct drm_i915_private *i915 =to_i915 (connector->base.dev); +int n = intel_dp->mso_link_count; +int overlap = intel_dp->mso_pixel_overlap; + +if (!mode || !n) +return ; + + mode->hdisplay = (mode->hdisplay - overlap) * n; + mode->hsync_start = (mode->hsync_start - overlap) * n; + mode->hsync_end = (mode->hsync_end - overlap) * n; + mode->htotal = (mode->htotal - overlap) * n; + mode->clock *= n; + +drm_mode_set_name (mode); + +drm_dbg_kms (&i915->drm, +"[CONNECTOR:%d:%s] using generated MSO mode: " , + connector->base.base.id, connector->base.name); +drm_mode_debug_printmodeline (mode); +} +static void intel_edp_mso_init (struct intel_dp *intel_dp) {struct drm_i915_private *i915 =dp_to_i915 (intel_dp);
@@ -6493,6 +6518,10 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp,if (fixed_mode) downclock_mode =intel_dp_drrs_init (intel_connector, fixed_mode); +/* multiply the mode clock and horizontal timings for MSO */ +intel_edp_mso_mode_fixup (intel_connector, fixed_mode); +intel_edp_mso_mode_fixup (intel_connector, downclock_mode); +/* fallback to VBT if available for eDP */ if (!fixed_mode) fixed_mode =intel_panel_vbt_fixed_mode (intel_connector);
Signature · 6 lines
2.20.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v3 9/9 drm/i915/edp: enable eDP MSO during link training
In reply to Jani NikulaIf the source and sink support MSO, enable it during link training.
v3: Adjust timings, refer to splitter
v2: Limit MSO to pipe A using ->pipe_mask
--- drivers/gpu/drm/i915/display/intel_ddi.c | 37 ++++++++++++++++++++ drivers/gpu/drm/i915/display/intel_display.c | 13 +++++++ drivers/gpu/drm/i915/display/intel_dp.c | 34 ++++++++++++++++-- 3 files changed, 82 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_ddi.c +37 -0
@@ -2167,6 +2167,34 @@ static void intel_ddi_mso_get_config(struct intel_encoder *encoder, pipe_config->splitter.pixel_overlap =REG_FIELD_GET (OVERLAP_PIXELS_MASK , dss1); } +static void intel_ddi_mso_configure (const struct intel_crtc_state *crtc_state) +{ +struct intel_crtc *crtc =to_intel_crtc (crtc_state->uapi.crtc); +struct drm_i915_private *i915 =to_i915 (crtc->base.dev); +enum pipe pipe = crtc->pipe; +u32 dss1 =0 ; + +if (!HAS_MSO (i915)) +return ; + +if (crtc_state->splitter.enable) { +/* Splitter enable is supported for pipe A only. */ +if (drm_WARN_ON (&i915->drm, pipe !=PIPE_A )) +return ; + + dss1 |=SPLITTER_ENABLE ; + dss1 |=OVERLAP_PIXELS (crtc_state->splitter.pixel_overlap); +if (crtc_state->splitter.link_count ==2 ) + dss1 |=SPLITTER_CONFIGURATION_2_SEGMENT ; +else + dss1 |=SPLITTER_CONFIGURATION_4_SEGMENT ; + } + +intel_de_rmw (i915,ICL_PIPE_DSS_CTL1 (pipe), +SPLITTER_ENABLE |SPLITTER_CONFIGURATION_MASK | +OVERLAP_PIXELS_MASK , dss1); +} + static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *crtc_state,
@@ -2260,6 +2288,11 @@ static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state,*/ intel_ddi_power_up_lanes (encoder, crtc_state); +/* +* 7.g Program CoG/MSO configuration bits in DSS_CTL1 if selected. +*/ +intel_ddi_mso_configure (crtc_state); +/* * 7.g Configure and enable DDI_BUF_CTL * 7.h Wait for DDI_BUF_CTL DDI Idle Status = 0b (Not Idle), timeout
@@ -4143,6 +4176,10 @@ void intel_ddi_init(struct drm_i915_private *dev_priv, enum port port) goto err; dig_port->hpd_pulse = intel_dp_hpd_pulse; + +/* Splitter enable for eDP MSO is supported for pipe A only. */ +if (dig_port->dp.mso_link_count) + encoder->pipe_mask =BIT (PIPE_A ); }/* In theory we don't need the encoder->type check, but leave it just in
drivers/gpu/drm/i915/display/intel_display.c +13 -0
@@ -4917,6 +4917,19 @@ static int intel_crtc_compute_config(struct intel_crtc *crtc, pipe_config->pipe_src_w /=2 ; } +if (pipe_config->splitter.enable) { +int n = pipe_config->splitter.link_count; +int overlap = pipe_config->splitter.pixel_overlap; + + pipe_mode->crtc_hdisplay = (pipe_mode->crtc_hdisplay - overlap) * n; + pipe_mode->crtc_hblank_start = (pipe_mode->crtc_hblank_start - overlap) * n; + pipe_mode->crtc_hblank_end = (pipe_mode->crtc_hblank_end - overlap) * n; + pipe_mode->crtc_hsync_start = (pipe_mode->crtc_hsync_start - overlap) * n; + pipe_mode->crtc_hsync_end = (pipe_mode->crtc_hsync_end - overlap) * n; + pipe_mode->crtc_htotal = (pipe_mode->crtc_htotal - overlap) * n; + pipe_mode->crtc_clock *= n; + } +intel_mode_from_crtc_timings (pipe_mode, pipe_mode);if (INTEL_GEN (dev_priv) <4 ) {
drivers/gpu/drm/i915/display/intel_dp.c +32 -2
@@ -1745,6 +1745,10 @@ intel_dp_drrs_compute_config(struct intel_dp *intel_dp, intel_connector->panel.downclock_mode->clock, pipe_config->port_clock, &pipe_config->dp_m2_n2, constant_n, pipe_config->fec_enable); + +/* FIXME: abstract this better */ +if (pipe_config->splitter.enable) + pipe_config->dp_m2_n2.gmch_m *= pipe_config->splitter.link_count; }int
@@ -1819,6 +1823,26 @@ intel_dp_compute_config(struct intel_encoder *encoder, output_bpp =intel_dp_output_bpp (pipe_config->output_format, pipe_config->pipe_bpp); +if (intel_dp->mso_link_count) { +int n = intel_dp->mso_link_count; +int overlap = intel_dp->mso_pixel_overlap; + + pipe_config->splitter.enable = true; + pipe_config->splitter.link_count = n; + pipe_config->splitter.pixel_overlap = overlap; + +drm_dbg_kms (&dev_priv->drm,"MSO link count %d, pixel overlap %d\n" , + n, overlap); + + adjusted_mode->crtc_hdisplay = adjusted_mode->crtc_hdisplay / n + overlap; + adjusted_mode->crtc_hblank_start = adjusted_mode->crtc_hblank_start / n + overlap; + adjusted_mode->crtc_hblank_end = adjusted_mode->crtc_hblank_end / n + overlap; + adjusted_mode->crtc_hsync_start = adjusted_mode->crtc_hsync_start / n + overlap; + adjusted_mode->crtc_hsync_end = adjusted_mode->crtc_hsync_end / n + overlap; + adjusted_mode->crtc_htotal = adjusted_mode->crtc_htotal / n + overlap; + adjusted_mode->crtc_clock /= n; + } + intel_link_compute_m_n(output_bpp, pipe_config->lane_count, adjusted_mode->crtc_clock,
@@ -1826,6 +1850,10 @@ intel_dp_compute_config(struct intel_encoder *encoder, &pipe_config->dp_m_n, constant_n, pipe_config->fec_enable); +/* FIXME: abstract this better */ +if (pipe_config->splitter.enable) + pipe_config->dp_m_n.gmch_m *= pipe_config->splitter.link_count; +if (!HAS_DDI (dev_priv))intel_dp_set_clock (encoder, pipe_config);
@@ -3564,8 +3592,10 @@ static void intel_edp_mso_init(struct intel_dp *intel_dp)if (mso) {drm_dbg_kms (&i915->drm,"Sink MSO %ux%u configuration\n" , mso,drm_dp_max_lane_count (intel_dp->dpcd) / mso); -drm_err (&i915->drm,"No source MSO support, disabling\n" ); - mso =0 ; +if (!HAS_MSO (i915)) { +drm_err (&i915->drm,"No source MSO support, disabling\n" ); + mso =0 ; + } } intel_dp->mso_link_count = mso;
Signature · 6 lines
2.20.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/edp: enable eDP Multi-SST Operation (MSO)
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm/i915/edp: enable eDP Multi-SST Operation (MSO)
URL : https://patchwork.freedesktop.org/series/86992/
State : warning
== Summary ==
$ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately. - +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +./drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgv_sriovmsg.h:261:49: error: static assertion failed: "amd_sriov_msg_pf2vf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1399:25: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1399:25: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1399:25: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1400:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1400:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1400:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1459:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1459:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:1459:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:284:16: error: incompatible types in comparison expression (different type sizes): +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:284:16: unsigned long * +drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:284:16: unsigned long long * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:276:25: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:276:25: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:276:25: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:277:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:277:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:277:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:331:17: error: incompatible types in comparison expression (different address spaces): +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:331:17: struct dma_fence * +drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:331:17: struct dma_fence [noderef] __rcu * +drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h:92:56: error: marked inline, but without a definition +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/amdgv_sriovmsg.h:257:49: error: static assertion failed: "amd_sriov_msg_vf2pf_info must be 1 KB" +drivers/gpu/drm/amd/amdgpu/a
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/edp: enable eDP Multi-SST Operation (MSO)
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm/i915/edp: enable eDP Multi-SST Operation (MSO)
URL : https://patchwork.freedesktop.org/series/86992/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_9761 -> Patchwork_19665
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/index.html
Known issues
------------
Here are the changes found in Patchwork_19665 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s3:
- fi-tgl-u2: [PASS][1] -> [FAIL][2] ([i915#1888])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/fi-tgl-u2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/fi-tgl-u2/igt@[email protected]
* igt@gem_mmap_gtt@basic:
- fi-tgl-y: [PASS][3] -> [DMESG-WARN][4] ([i915#402]) +2 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/fi-tgl-y/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/fi-tgl-y/igt@[email protected]
* igt@i915_pm_rpm@module-reload:
- fi-kbl-7500u: [PASS][5] -> [DMESG-WARN][6] ([i915#2605])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/fi-kbl-7500u/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/fi-kbl-7500u/igt@[email protected]
* igt@kms_chamelium@dp-crc-fast:
- fi-icl-u2: [PASS][7] -> [FAIL][8] ([i915#1161] / [i915#262])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/fi-icl-u2/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/fi-icl-u2/igt@[email protected]
#### Possible fixes ####
* igt@prime_self_import@basic-with_two_bos:
- fi-tgl-y: [DMESG-WARN][9] ([i915#402]) -> [PASS][10] +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/fi-tgl-y/igt@prime_self_import@basic-with_two_bos.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/fi-tgl-y/igt@prime_self_import@basic-with_two_bos.html
[i915#1161]: https://gitlab.freedesktop.org/drm/intel/issues/1161
[i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
[i915#2605]: https://gitlab.freedesktop.org/drm/intel/issues/2605
[i915#262]: https://gitlab.freedesktop.org/drm/intel/issues/262
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
Participating hosts (44 -> 38)
------------------------------
Missing (6): fi-ilk-m540 fi-hsw-4200u fi-byt-j1900 fi-skl-guc fi-bsw-cyan fi-bdw-samus
Build changes
-------------
* Linux: CI_DRM_9761 -> Patchwork_19665
CI-20190529: 20190529
CI_DRM_9761: fc52fc2a7332bd301f802ca3a0444a8fb9fe4f7f @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6001: d0d6f5e14ef181c93e4b503b05d9c18fa480e09d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_19665: 0d0699a630feae8c87f2e42f3528f136da1b9f7f @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
0d0699a630fe drm/i915/edp: enable eDP MSO during link training 9c308043182f drm/i915/edp: modify fixed and downclock modes for MSO cd771f8260ba drm/i915/mso: add splitter state check2301619c19c5 drm/i915/mso: add splitter state readout for platforms that support it 3bcb25a97d79 drm/i915/reg: add stream splitter configuration definitions bc496e99316f drm/i915/edp: read sink MSO configuration for eDP 1.4+ 091e39294413 drm/i915/edp: always add fixed mode to probed modes in ->get_modes() dbf512a91559 drm/i915/edp: reject modes with dimensions other than fixed mode f8c60f212290 drm/dp: add MSO related DPCD registers
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/edp: enable eDP Multi-SST Operation (MSO)
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm/i915/edp: enable eDP Multi-SST Operation (MSO)
URL : https://patchwork.freedesktop.org/series/86992/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_9761_full -> Patchwork_19665_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Known issues
------------
Here are the changes found in Patchwork_19665_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@core_hotunplug@unbind-rebind:
- shard-hsw: NOTRUN -> [WARN][1] ([i915#2283])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-hsw8/igt@[email protected]
* igt@gem_create@create-massive:
- shard-skl: NOTRUN -> [DMESG-WARN][2] ([i915#3002])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl7/igt@[email protected]
* igt@gem_ctx_isolation@preservation-s3@vcs1:
- shard-kbl: [PASS][3] -> [DMESG-WARN][4] ([i915#180])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-kbl3/igt@gem_ctx_isolation@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-kbl3/igt@gem_ctx_isolation@[email protected]
* igt@gem_ctx_persistence@engines-mixed:
- shard-hsw: NOTRUN -> [SKIP][5] ([fdo#109271] / [i915#1099])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-hsw5/igt@[email protected]
* igt@gem_ctx_persistence@legacy-engines-hang@blt:
- shard-skl: NOTRUN -> [SKIP][6] ([fdo#109271]) +44 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl7/igt@gem_ctx_persistence@[email protected]
* igt@gem_ctx_persistence@replace-hostile:
- shard-hsw: NOTRUN -> [SKIP][7] ([fdo#109271]) +64 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-hsw8/igt@[email protected]
* igt@gem_exec_fair@basic-none@vcs0:
- shard-kbl: [PASS][8] -> [FAIL][9] ([i915#2842])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-kbl2/igt@gem_exec_fair@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-kbl7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-tglb: [PASS][10] -> [FAIL][11] ([i915#2842]) +2 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-tglb3/igt@gem_exec_fair@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-tglb1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_reloc@basic-many-active@rcs0:
- shard-glk: [PASS][12] -> [FAIL][13] ([i915#2389])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-glk4/igt@gem_exec_reloc@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-glk1/igt@gem_exec_reloc@[email protected]
* igt@gem_exec_schedule@u-fairslice@bcs0:
- shard-iclb: [PASS][14] -> [DMESG-WARN][15] ([i915#2803])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-iclb6/igt@gem_exec_schedule@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-iclb3/igt@gem_exec_schedule@[email protected]
* igt@gem_exec_schedule@u-fairslice@vecs0:
- shard-tglb: [PASS][16] -> [DMESG-WARN][17] ([i915#2803])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-tglb7/igt@gem_exec_schedule@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-tglb8/igt@gem_exec_schedule@[email protected]
* igt@gem_exec_whisper@basic-contexts-priority:
- shard-glk: [PASS][18] -> [DMESG-WARN][19] ([i915#118] / [i915#95])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-glk3/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-glk9/igt@[email protected]
* igt@gem_pread@exhaustion:
- shard-apl: NOTRUN -> [WARN][20] ([i915#2658])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl8/igt@[email protected]
- shard-skl: NOTRUN -> [WARN][21] ([i915#2658])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl3/igt@[email protected]
* igt@gem_userptr_blits@process-exit-mmap@wb:
- shard-apl: NOTRUN -> [SKIP][22] ([fdo#109271] / [i915#1699]) +3 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl3/igt@gem_userptr_blits@[email protected]
* igt@i915_selftest@mock@requests:
- shard-skl: [PASS][23] -> [INCOMPLETE][24] ([i915#198])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl10/igt@i915_selftest@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl5/igt@i915_selftest@[email protected]
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-apl: [PASS][25] -> [DMESG-WARN][26] ([i915#180]) +3 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-apl7/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl1/igt@[email protected]
* igt@kms_async_flips@test-time-stamp:
- shard-tglb: [PASS][27] -> [FAIL][28] ([i915#2597])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-tglb6/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-tglb6/igt@[email protected]
* igt@kms_chamelium@dp-hpd-fast:
- shard-tglb: NOTRUN -> [SKIP][29] ([fdo#109284] / [fdo#111827])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-tglb8/igt@[email protected]
* igt@kms_color_chamelium@pipe-b-ctm-0-75:
- shard-apl: NOTRUN -> [SKIP][30] ([fdo#109271] / [fdo#111827]) +12 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl6/igt@[email protected]
* igt@kms_color_chamelium@pipe-c-ctm-negative:
- shard-skl: NOTRUN -> [SKIP][31] ([fdo#109271] / [fdo#111827]) +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl6/igt@[email protected]
* igt@kms_color_chamelium@pipe-d-ctm-max:
- shard-hsw: NOTRUN -> [SKIP][32] ([fdo#109271] / [fdo#111827]) +4 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-hsw8/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-64x21-offscreen:
- shard-skl: NOTRUN -> [FAIL][33] ([i915#54])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl6/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-64x21-offscreen:
- shard-skl: [PASS][34] -> [FAIL][35] ([i915#54]) +6 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl5/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl1/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-512x170-random:
- shard-hsw: NOTRUN -> [SKIP][36] ([fdo#109271] / [i915#533]) +8 similar issues
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-hsw8/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-tglb: [PASS][37] -> [FAIL][38] ([i915#2598])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-tglb3/igt@kms_flip@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-tglb1/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-fb-recreate@a-hdmi-a1:
- shard-glk: [PASS][39] -> [FAIL][40] ([i915#2122])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-glk4/igt@kms_flip@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-glk4/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-fb-recreate@b-edp1:
- shard-skl: [PASS][41] -> [FAIL][42] ([i915#2122]) +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl2/igt@kms_flip@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl5/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs:
- shard-apl: NOTRUN -> [FAIL][43] ([i915#2641])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl6/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs:
- shard-apl: NOTRUN -> [SKIP][44] ([fdo#109271] / [i915#2672])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl8/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs.html
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- shard-apl: NOTRUN -> [SKIP][45] ([fdo#109271] / [i915#533])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl1/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-7efc:
- shard-skl: NOTRUN -> [FAIL][46] ([fdo#108145] / [i915#265])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-max:
- shard-apl: NOTRUN -> [FAIL][47] ([fdo#108145] / [i915#265])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl8/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
- shard-skl: [PASS][48] -> [FAIL][49] ([fdo#108145] / [i915#265])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl5/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl1/igt@[email protected]
* igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping:
- shard-apl: NOTRUN -> [SKIP][50] ([fdo#109271] / [i915#2733])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl1/igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping.html
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-2:
- shard-apl: NOTRUN -> [SKIP][51] ([fdo#109271] / [i915#658]) +1 similar issue
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl1/igt@[email protected]
* igt@kms_psr2_su@frontbuffer:
- shard-skl: NOTRUN -> [SKIP][52] ([fdo#109271] / [i915#658]) +1 similar issue
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl6/igt@[email protected]
* igt@kms_psr@psr2_sprite_mmap_gtt:
- shard-iclb: [PASS][53] -> [SKIP][54] ([fdo#109441]) +1 similar issue
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_gtt.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-iclb7/igt@kms_psr@psr2_sprite_mmap_gtt.html
* igt@kms_psr@suspend:
- shard-hsw: NOTRUN -> [SKIP][55] ([fdo#109271] / [i915#1072]) +1 similar issue
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-hsw8/igt@[email protected]
* igt@kms_vblank@pipe-d-wait-forked-hang:
- shard-apl: NOTRUN -> [SKIP][56] ([fdo#109271]) +77 similar issues
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl6/igt@[email protected]
* igt@sysfs_clients@recycle:
- shard-snb: [PASS][57] -> [FAIL][58] ([i915#3028])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-snb7/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-snb2/igt@[email protected]
* igt@sysfs_clients@sema-25@vecs0:
- shard-skl: [PASS][59] -> [SKIP][60] ([fdo#109271])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl9/igt@sysfs_clients@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl2/igt@sysfs_clients@[email protected]
#### Possible fixes ####
* igt@feature_discovery@psr2:
- shard-iclb: [SKIP][61] ([i915#658]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-iclb4/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-iclb2/igt@[email protected]
* igt@gem_ctx_persistence@close-replace-race:
- shard-glk: [TIMEOUT][63] ([i915#2918]) -> [PASS][64]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-glk9/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-glk6/igt@[email protected]
* igt@gem_eio@in-flight-suspend:
- shard-apl: [DMESG-WARN][65] ([i915#1037] / [i915#180]) -> [PASS][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-apl6/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl3/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-iclb: [TIMEOUT][67] ([i915#1037] / [i915#2481]) -> [PASS][68]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-iclb8/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-iclb3/igt@[email protected]
* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-kbl: [FAIL][69] ([i915#2842]) -> [PASS][70] +2 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-kbl6/igt@gem_exec_fair@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-kbl6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@rcs0:
- shard-kbl: [SKIP][71] ([fdo#109271]) -> [PASS][72]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-kbl4/igt@gem_exec_fair@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-kbl6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-glk: [FAIL][73] ([i915#2842]) -> [PASS][74] +1 similar issue
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-glk9/igt@gem_exec_fair@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-glk6/igt@gem_exec_fair@[email protected]
* igt@gem_exec_reloc@basic-many-active@rcs0:
- shard-hsw: [FAIL][75] ([i915#2389]) -> [PASS][76]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-hsw8/igt@gem_exec_reloc@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-hsw6/igt@gem_exec_reloc@[email protected]
* igt@gem_exec_schedule@u-fairslice@rcs0:
- shard-iclb: [DMESG-WARN][77] ([i915#2803]) -> [PASS][78]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-iclb6/igt@gem_exec_schedule@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-iclb3/igt@gem_exec_schedule@[email protected]
- shard-tglb: [DMESG-WARN][79] ([i915#2803]) -> [PASS][80]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-tglb7/igt@gem_exec_schedule@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-tglb8/igt@gem_exec_schedule@[email protected]
* igt@gem_sync@basic-each:
- shard-apl: [INCOMPLETE][81] ([i915#2944]) -> [PASS][82]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-apl3/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl6/igt@[email protected]
* igt@gem_vm_create@destroy-race:
- shard-tglb: [TIMEOUT][83] ([i915#2795]) -> [PASS][84]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-tglb8/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-tglb8/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-skl: [DMESG-WARN][85] ([i915#1436] / [i915#716]) -> [PASS][86]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl4/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl7/igt@[email protected]
* igt@i915_pm_rpm@system-suspend-modeset:
- shard-skl: [INCOMPLETE][87] ([i915#146] / [i915#151]) -> [PASS][88]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl1/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl6/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- shard-hsw: [INCOMPLETE][89] ([i915#2782]) -> [PASS][90]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-hsw2/igt@i915_selftest@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-hsw5/igt@i915_selftest@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-256x256-random:
- shard-skl: [FAIL][91] ([i915#54]) -> [PASS][92] +1 similar issue
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl10/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl9/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-skl: [FAIL][93] ([i915#2346]) -> [PASS][94]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl3/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl3/igt@[email protected]
* igt@kms_draw_crc@draw-method-rgb565-blt-ytiled:
- shard-skl: [DMESG-WARN][95] ([i915#1982]) -> [PASS][96] +1 similar issue
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl3/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl3/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: [INCOMPLETE][97] ([i915#180]) -> [PASS][98]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-apl2/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl1/igt@[email protected]
* igt@kms_flip@flip-vs-absolute-wf_vblank@a-edp1:
- shard-skl: [FAIL][99] ([i915#2122]) -> [PASS][100]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl10/igt@kms_flip@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl1/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@a-hdmi-a2:
- shard-glk: [FAIL][101] ([i915#79]) -> [PASS][102] +1 similar issue
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-glk7/igt@kms_flip@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-glk2/igt@kms_flip@[email protected]
* igt@kms_hdr@bpc-switch:
- shard-kbl: [DMESG-WARN][103] ([i915#180] / [i915#78]) -> [PASS][104]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-kbl2/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-kbl7/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes:
- shard-apl: [DMESG-WARN][105] ([i915#180] / [i915#533]) -> [PASS][106]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-apl1/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl8/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
- shard-skl: [FAIL][107] ([fdo#108145] / [i915#265]) -> [PASS][108] +1 similar issue
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl6/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl7/igt@[email protected]
* igt@kms_psr@psr2_suspend:
- shard-iclb: [SKIP][109] ([fdo#109441]) -> [PASS][110] +2 similar issues
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-iclb4/igt@kms_psr@psr2_suspend.html
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-iclb2/igt@kms_psr@psr2_suspend.html
* igt@kms_vblank@pipe-a-ts-continuation-dpms-suspend:
- shard-skl: [INCOMPLETE][111] ([i915#146] / [i915#198]) -> [PASS][112]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl3/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl3/igt@[email protected]
* igt@perf@polling-parameterized:
- shard-skl: [FAIL][113] ([i915#1542]) -> [PASS][114]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl7/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl9/igt@[email protected]
* igt@sysfs_clients@recycle:
- shard-hsw: [FAIL][115] ([i915#3028]) -> [PASS][116]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-hsw5/igt@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-hsw1/igt@[email protected]
* {igt@sysfs_clients@recycle-many}:
- shard-glk: [FAIL][117] ([i915#3028]) -> [PASS][118]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-glk5/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-glk9/igt@[email protected]
- shard-skl: [FAIL][119] ([i915#3028]) -> [PASS][120]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl3/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl4/igt@[email protected]
- shard-kbl: [FAIL][121] ([i915#3028]) -> [PASS][122]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-kbl6/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-kbl7/igt@[email protected]
* igt@testdisplay:
- shard-kbl: [DMESG-WARN][123] ([i915#165] / [i915#180] / [i915#78]) -> [PASS][124] +1 similar issue
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-kbl2/[email protected]
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-kbl7/[email protected]
#### Warnings ####
* igt@gem_exec_fair@basic-pace@vcs0:
- shard-tglb: [FAIL][125] ([i915#2876]) -> [FAIL][126] ([i915#2842])
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-tglb7/igt@gem_exec_fair@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-tglb1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-iclb: [FAIL][127] ([i915#2842]) -> [FAIL][128] ([i915#2849])
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-iclb1/igt@gem_exec_fair@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-iclb6/igt@gem_exec_fair@[email protected]
* igt@i915_pm_rc6_residency@rc6-fence:
- shard-iclb: [WARN][129] ([i915#2684]) -> [WARN][130] ([i915#1804] / [i915#2684]) +1 similar issue
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-iclb5/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-iclb7/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile:
- shard-kbl: [DMESG-FAIL][131] ([i915#165]) -> [FAIL][132] ([i915#2641])
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-kbl2/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-kbl7/igt@[email protected]
* igt@kms_psr2_sf@plane-move-sf-dmg-area-3:
- shard-iclb: [SKIP][133] ([i915#658]) -> [SKIP][134] ([i915#2920]) +1 similar issue
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-iclb4/igt@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-iclb2/igt@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-2:
- shard-iclb: [SKIP][135] ([i915#2920]) -> [SKIP][136] ([i915#658]) +2 similar issues
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-iclb2/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-iclb7/igt@[email protected]
* igt@runner@aborted:
- shard-kbl: ([FAIL][137], [FAIL][138], [FAIL][139]) ([i915#2295] / [i915#3002]) -> ([FAIL][140], [FAIL][141], [FAIL][142], [FAIL][143]) ([i915#1436] / [i915#2295] / [i915#2505] / [i915#3002])
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-kbl2/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-kbl2/igt@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-kbl4/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-kbl3/igt@[email protected]
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-kbl6/igt@[email protected]
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-kbl3/igt@[email protected]
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-kbl7/igt@[email protected]
- shard-apl: ([FAIL][144], [FAIL][145], [FAIL][146], [FAIL][147], [FAIL][148], [FAIL][149], [FAIL][150]) ([i915#1610] / [i915#1814] / [i915#2295] / [i915#2722] / [i915#3002] / [i915#62]) -> ([FAIL][151], [FAIL][152], [FAIL][153], [FAIL][154], [FAIL][155], [FAIL][156], [FAIL][157]) ([fdo#109271] / [i915#1814] / [i915#2295] / [i915#3002])
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-apl6/igt@[email protected]
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-apl2/igt@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-apl7/igt@[email protected]
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-apl2/igt@[email protected]
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-apl7/igt@[email protected]
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-apl1/igt@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-apl3/igt@[email protected]
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl1/igt@[email protected]
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl1/igt@[email protected]
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl1/igt@[email protected]
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl8/igt@[email protected]
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl1/igt@[email protected]
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl7/igt@[email protected]
[157]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-apl7/igt@[email protected]
- shard-skl: ([FAIL][158], [FAIL][159], [FAIL][160]) ([i915#1436] / [i915#2295] / [i915#3002]) -> ([FAIL][161], [FAIL][162], [FAIL][163], [FAIL][164]) ([i915#1436] / [i915#2295] / [i915#2722] / [i915#3002])
[158]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl9/igt@[email protected]
[159]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl1/igt@[email protected]
[160]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9761/shard-skl4/igt@[email protected]
[161]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl2/igt@[email protected]
[162]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl1/igt@[email protected]
[163]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl5/igt@[email protected]
[164]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/shard-skl7/igt@[email protected]
### Piglit chan
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_19665/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
RE: [Intel-gfx] [PATCH v3 1/9] drm/dp: add MSO related DPCD registers
In reply to Jani NikulaQuoted 11 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Jani Nikula
Sent: Thursday, February 11, 2021 8:22 PM
To: [email protected]
Cc: Nikula, Jani <[email protected]>; Varide, Nischal <[email protected]>; [email protected]
Subject: [Intel-gfx] [PATCH v3 1/9] drm/dp: add MSO related DPCD registersAdd DPCD register definitions for eDP 1.4 Multi-SST Operation.
Looks Good to me.
Quoted 26 lines
Cc Nischal Varide <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- include/drm/drm_dp_helper.h | 5 +++++ 1 file changed, 5 insertions(+)include/drm/drm_dp_helper.h index renamed from include/drm/drm_dp_helper.h +0
-0
edffd1dcca3e..632ad7faa006100644include/drm/drm_dp_helper.h +5
-1@@ -1016,6 +1016,11 @@ struct drm_device;#define DP_EDP_REGIONAL_BACKLIGHT_BASE 0x740/* eDP 1.4 */ #define DP_EDP_REGIONAL_BACKLIGHT_0 0x741/* eDP 1.4 */ +#define DP_EDP_MSO_LINK_CAPABILITIES 0x7a4/* eDP 1.4 */ +# define DP_EDP_MSO_NUMBER_OF_LINKS_MASK (7 << 0) +# define DP_EDP_MSO_NUMBER_OF_LINKS_SHIFT 0 +# define DP_EDP_MSO_INDEPENDENT_LINK_BIT (1 << 3) +/* Sideband MSG Buffers */ #define DP_SIDEBAND_MSG_DOWN_REQ_BASE 0x1000/* 1.2 MST */ #define DP_SIDEBAND_MSG_UP_REP_BASE 0x1200/* 1.2 MST */ --2.20.1
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v3 2/9] drm/i915/edp: reject modes with dimensions other than fixed mode
In reply to Jani NikulaQuoted 24 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Jani Nikula
Sent: Thursday, February 11, 2021 8:22 PM
To: [email protected]
Cc: Nikula, Jani <[email protected]>; Varide, Nischal <[email protected]>
Subject: [Intel-gfx] [PATCH v3 2/9] drm/i915/edp: reject modes with dimensions other than fixed modeBe more strict about filtering modes for eDP.
Cc Nischal Varide <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/display/intel_dp.c +0
-0
drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 793
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_dp.c +1
-1@@ -789,10 +789,10 @@ intel_dp_mode_valid(struct drm_connector *connector,return MODE_H_ILLEGAL ;if (intel_dp_is_edp (intel_dp) && fixed_mode) { -if (mode->hdisplay > fixed_mode->hdisplay) +if (mode->hdisplay != fixed_mode->hdisplay)return MODE_PANEL ;
Looks fine as we practically will not have panels with multiple resolutions except maybe mode with varying refresh rate incase of DRRS panels. But hdisplay and vdisplay will still remain same.
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_dp.c +1
-2-if (mode->vdisplay > fixed_mode->vdisplay) +if (mode->vdisplay != fixed_mode->vdisplay)return MODE_PANEL ; target_clock = fixed_mode->clock; --2.20.1
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v3 3/9] drm/i915/edp: always add fixed mode to probed modes in ->get_modes()
In reply to Jani NikulaQuoted 10 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Jani Nikula
Sent: Thursday, February 11, 2021 8:22 PM
To: [email protected]
Cc: Nikula, Jani <[email protected]>; Varide, Nischal <[email protected]>
Subject: [Intel-gfx] [PATCH v3 3/9] drm/i915/edp: always add fixed mode to probed modes in ->get_modes()
Quoted 3 lines
Unconditionally add fixed mode to probed modes even if EDID is present and has modes. Prepare for cases where the fixed mode is not present in EDID (such as eDP MSO).
Looks Good to me.
Quoted 68 lines
Cc Nischal Varide <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-)drivers/gpu/drm/i915/display/intel_dp.c +7
-5@@ -5547,19 +5547,18 @@ static int intel_dp_get_modes(struct drm_connector *connector) {struct intel_connector *intel_connector =to_intel_connector (connector);struct edid *edid; +int num_modes =0 ; edid = intel_connector->detect_edid;if (edid) { -int ret =intel_connector_update_modes (connector, edid); + num_modes =intel_connector_update_modes (connector, edid);if (intel_vrr_is_capable (connector))drm_connector_set_vrr_capable_property (connector, true); -if (ret) -return ret; } -/* if eDP has no EDID, fall back to fixed mode */ +/* Also add fixed mode, which may or may not be present in EDID */ if (intel_dp_is_edp (intel_attached_dp (intel_connector)) && intel_connector->panel.fixed_mode) {struct drm_display_mode *mode;@@ -5568,10 +5567,13 @@ static int intel_dp_get_modes(struct drm_connector *connector) intel_connector->panel.fixed_mode);if (mode) {drm_mode_probed_add (connector, mode); -return 1 ; + num_modes++; } } +if (num_modes) +return num_modes; +if (!edid) {struct intel_dp *intel_dp =intel_attached_dp (intel_connector);drivers/gpu/drm/i915/display/intel_dp.c +2
-2struct drm_display_mode *mode;@@ -5581,11 +5583,11 @@ static int intel_dp_get_modes(struct drm_connector *connector) intel_dp->downstream_ports);if (mode) {drm_mode_probed_add (connector, mode); -return 1 ; + num_modes++; } } -return 0 ; +return num_modes; }static int
--
2.20.1
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v3 4/9] drm/i915/edp: read sink MSO configuration for eDP 1.4+
In reply to Jani NikulaQuoted 13 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Jani Nikula
Sent: Thursday, February 11, 2021 8:22 PM
To: [email protected]
Cc: Nikula, Jani <[email protected]>; Varide, Nischal <[email protected]>
Subject: [Intel-gfx] [PATCH v3 4/9] drm/i915/edp: read sink MSO configuration for eDP 1.4+Read and debug log the eDP sink MSO configuration. Do not actually do anything with the information yet besides logging.
Quoted 7 lines
FIXME: The pixel overlap is present in DisplayID 2.0, but we don't have parsing for that. Assume zero for now. We could also add quirks for non-zero pixel overlap before DisplayID 2.0 parsing.
v3: Add placeholder for pixel overlap.
v2: Rename
intel_dp_mso_init->intel_edp_mso_init
Looks Good to me.
Quoted 76 lines
Cc Nischal Varide <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- .../drm/i915/display/intel_display_types.h | 2 ++ drivers/gpu/drm/i915/display/intel_dp.c | 33 +++++++++++++++++++ 2 files changed, 35 insertions(+)drivers/gpu/drm/i915/display/intel_display_types.h +2
-0@@ -1487,6 +1487,8 @@ struct intel_dp {int max_link_lane_count;/* Max rate for the current link */ int max_link_rate; +int mso_link_count; +int mso_pixel_overlap;/* sink or branch descriptor */ struct drm_dp_desc desc;struct drm_dp_aux aux;drivers/gpu/drm/i915/display/intel_dp.c +30
-0@@ -3516,6 +3516,37 @@ static void intel_dp_get_dsc_sink_cap(struct intel_dp *intel_dp) } } +static void intel_edp_mso_init (struct intel_dp *intel_dp) { +struct drm_i915_private *i915 =dp_to_i915 (intel_dp); +u8 mso; + +if (intel_dp->edp_dpcd[0 ] <DP_EDP_14 ) +return ; + +if (drm_dp_dpcd_readb (&intel_dp->aux,DP_EDP_MSO_LINK_CAPABILITIES , &mso) !=1 ) { +drm_err (&i915->drm,"Failed to read MSO cap\n" ); +return ; + } + +/* Valid configurations are SST or MSO 2x1, 2x2, 4x1 */ + mso &=DP_EDP_MSO_NUMBER_OF_LINKS_MASK ; +if (mso %2 || mso >drm_dp_max_lane_count (intel_dp->dpcd)) { +drm_err (&i915->drm,"Invalid MSO link count cap %u\n" , mso); + mso =0 ; + } + +if (mso) { +drm_dbg_kms (&i915->drm,"Sink MSO %ux%u configuration\n" , + mso,drm_dp_max_lane_count (intel_dp->dpcd) / mso); +drm_err (&i915->drm,"No source MSO support, disabling\n" ); + mso =0 ; + } + + intel_dp->mso_link_count = mso; + intel_dp->mso_pixel_overlap =0 ;/* FIXME: read from DisplayID v2.0 */ +} +static bool intel_edp_init_dpcd(struct intel_dp *intel_dp) { @@ -3599,6 +3630,8 @@
intel_edp_init_dpcd(struct intel_dp *intel_dp)drivers/gpu/drm/i915/display/intel_dp.c +2
-1*/ intel_edp_init_source_oui (intel_dp, true); +intel_edp_mso_init (intel_dp); +return true; } --2.20.1
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v3 5/9] drm/i915/reg: add stream splitter configuration definitions
In reply to Jani NikulaQuoted 11 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Jani Nikula
Sent: Thursday, February 11, 2021 8:22 PM
To: [email protected]
Cc: Nikula, Jani <[email protected]>; Varide, Nischal <[email protected]>
Subject: [Intel-gfx] [PATCH v3 5/9] drm/i915/reg: add stream splitter configuration definitionsThe splitter configuration is required for eDP MSO.
Looks Good to me.
Quoted 26 lines
Bspec: 50174
Cc Nischal Varide <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- drivers/gpu/drm/i915/i915_reg.h | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/i915/i915_reg.h +3
-0@@ -11448,6 +11448,9 @@ enum skl_power_gate {#define BIG_JOINER_ENABLE (1 << 29)#define MASTER_BIG_JOINER_ENABLE (1 << 28)#define VGA_CENTERING_ENABLE (1 << 27) +#define SPLITTER_CONFIGURATION_MASK REG_GENMASK(26, 25) +#define SPLITTER_CONFIGURATION_2_SEGMENT REG_FIELD_PREP(SPLITTER_CONFIGURATION_MASK, 0) +#define SPLITTER_CONFIGURATION_4_SEGMENT REG_FIELD_PREP (SPLITTER_CONFIGURATION_MASK ,1 )#define
_ICL_PIPE_DSS_CTL2_PB0x78204
#define_ICL_PIPE_DSS_CTL2_PC0x78404
--
2.20.1
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v3 6/9] drm/i915/mso: add splitter state readout for platforms that support it
In reply to Jani NikulaQuoted 58 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Jani Nikula
Sent: Thursday, February 11, 2021 8:22 PM
To: [email protected]
Cc: Nikula, Jani <[email protected]>; Varide, Nischal <[email protected]>
Subject: [Intel-gfx] [PATCH v3 6/9] drm/i915/mso: add splitter state readout for platforms that support itAdd splitter configuration to crtc state, and read it where supported. Also add splitter state dumping. The stream splitter will be required for eDP MSO.
v3:
- Convert segment timings to full panel timings.
- Refer to splitter instead of mso in crtc state.
- Dump splitter state.v2: Add warning for mso being enabled on pipes other than A.
Cc Nischal Varide <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- drivers/gpu/drm/i915/display/intel_ddi.c | 37 +++++++++++++++++++ drivers/gpu/drm/i915/display/intel_display.c | 31 +++++++++++++++- .../drm/i915/display/intel_display_types.h | 7 ++++ drivers/gpu/drm/i915/i915_drv.h | 2 + 4 files changed, 75 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/display/intel_ddi.c +19
-0@@ -2132,6 +2132,41 @@ static void intel_ddi_power_up_lanes(struct intel_encoder *encoder, } } +static void intel_ddi_mso_get_config (struct intel_encoder *encoder, +struct intel_crtc_state *pipe_config) { +struct intel_crtc *crtc =to_intel_crtc (pipe_config->uapi.crtc); +struct drm_i915_private *i915 =to_i915 (crtc->base.dev); +enum pipe pipe = crtc->pipe; +u32 dss1; + +if (!HAS_MSO (i915)) +return ; + + dss1 =intel_de_read (i915,ICL_PIPE_DSS_CTL1 (pipe)); + + pipe_config->splitter.enable = dss1 &SPLITTER_ENABLE ; +if (!pipe_config->splitter.enable) +return ; + +/* Splitter enable is supported for pipe A only. */ +if (drm_WARN_ON (&i915->drm, pipe !=PIPE_A )) { + pipe_config->splitter.enable = false;
drivers/gpu/drm/i915/display/intel_ddi.c static void intel_ddi_power_up_lanes(struct · line 2164
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_ddi.c +10
-0+return ; + } + +switch (dss1 &SPLITTER_CONFIGURATION_MASK ) { +case SPLITTER_CONFIGURATION_2_SEGMENT : + pipe_config->splitter.link_count =2 ; +break ; +case SPLITTER_CONFIGURATION_4_SEGMENT : + pipe_config->splitter.link_count =4 ; +break ;
Should we have a default case as well just for sanity along with a WARN, since it's very unlikely that it gets hit.
Quoted 24 lines
drivers/gpu/drm/i915/display/intel_ddi.c +5
-0+ } + + pipe_config->splitter.pixel_overlap = +REG_FIELD_GET (OVERLAP_PIXELS_MASK , dss1); } + static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *crtc_state, @@ -3322,6 +3357,8 @@ void intel_ddi_get_config(struct
intel_encoder*encoder,drivers/gpu/drm/i915/display/intel_ddi.c +2
-0intel_ddi_read_func_ctl (encoder, pipe_config); } +intel_ddi_mso_get_config (encoder, pipe_config); + pipe_config->has_audio =intel_ddi_is_audio_enabled (dev_priv, cpu_transcoder);drivers/gpu/drm/i915/display/intel_display.c +0
-0@@ -4856,8 +4856,30 @@ static void intel_crtc_readout_derived_state(struct
intel_crtc_state*crtc_state
drivers/gpu/drm/i915/display/intel_display.c static void intel_crtc_readout_derived_state(struct intel_crtc_state *crtc_state · line 4859
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_display.c +1
-2pipe_mode->crtc_clock /=2 ; } -intel_mode_from_crtc_timings (pipe_mode, pipe_mode); -intel_mode_from_crtc_timings (adjusted_mode, adjusted_mode); +if (crtc_state->splitter.enable) {
We can just add an else if case to if (crtc_state->bigjoiner) {
if (crtc_state->bigjoiner) {
...
} else if (crtc_state->splitter.enable) {
...
}
Quoted 19 lines
drivers/gpu/drm/i915/display/intel_display.c +10
-0+int n = crtc_state->splitter.link_count; +int overlap = crtc_state->splitter.pixel_overlap; + +/* +* eDP MSO uses segment timings from EDID for transcoder +* timings, but full mode for everything else. +* +* h_full = (h_segment - pixel_overlap) * link_count +*/ + pipe_mode->crtc_hdisplay = (pipe_mode->crtc_hdisplay - overlap) *n;
drivers/gpu/drm/i915/display/intel_display.c +1
-0+ pipe_mode->crtc_hblank_start = (pipe_mode->crtc_hblank_start -overlap) * n;
drivers/gpu/drm/i915/display/intel_display.c +1
-0+ pipe_mode->crtc_hblank_end = (pipe_mode->crtc_hblank_end -overlap) * n;
drivers/gpu/drm/i915/display/intel_display.c +1
-0+ pipe_mode->crtc_hsync_start = (pipe_mode->crtc_hsync_start -overlap) * n;
drivers/gpu/drm/i915/display/intel_display.c +1
-0+ pipe_mode->crtc_hsync_end = (pipe_mode->crtc_hsync_end -overlap) * n;
drivers/gpu/drm/i915/display/intel_display.c static void intel_crtc_readout_derived_state(struct intel_crtc_state *crtc_state · line 4878
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_display.c +5
-0+ pipe_mode->crtc_htotal = (pipe_mode->crtc_htotal - overlap) * n; + pipe_mode->crtc_clock *= n; + +intel_mode_from_crtc_timings (pipe_mode, pipe_mode); +intel_mode_from_crtc_timings (adjusted_mode, pipe_mode);
Then we can keep above 2 out of the if conditions.
Quoted 26 lines
drivers/gpu/drm/i915/display/intel_display.c +9
-0+ }else { +intel_mode_from_crtc_timings (pipe_mode, pipe_mode); +intel_mode_from_crtc_timings (adjusted_mode, adjusted_mode); + }intel_crtc_compute_pixel_rate (crtc_state);@@ -8259,6 +8281,11 @@ static void intel_dump_pipe_config(const struct intel_crtc_state *pipe_config, pipe_config->bigjoiner_slave ?"slave" : pipe_config->bigjoiner ? "master" : "no"); +drm_dbg_kms (&dev_priv->drm,"splitter: %s, link count %d, overlap %d\n" , +enableddisabled (pipe_config->splitter.enable), + pipe_config->splitter.link_count, + pipe_config->splitter.pixel_overlap); +if (pipe_config->has_pch_encoder) intel_dump_m_n_config(pipe_config, "fdi",drivers/gpu/drm/i915/display/intel_display.c +0
-0pipe_config->fdi_lanes,drivers/gpu/drm/i915/display/intel_display_types.h +0
-0
drivers/gpu/drm/i915/display/intel_display_types.h struct intel_crtc_state { · line 1170
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_display_types.h +7
-0@@ -1161,6 +1161,13 @@ struct intel_crtc_state {u8 pipeline_full;u16 flipline, vmin, vmax; } vrr; + +/* Stream Splitter for eDP MSO */ +struct { +bool enable; +u8 link_count; +u8 pixel_overlap; + } splitter;
For DSI which also has this in common along with MSO, may be we can take these link_count and pixel_overlap out of splitter which is more of a MSO feature. Thoughts ?
Quoted 19 lines
drivers/gpu/drm/i915/display/intel_display_types.h +0
-0};enum intel_pipe_crc_source {drivers/gpu/drm/i915/i915_drv.h +2
-1@@ -1709,6 +1709,8 @@ tgl_stepping_get(struct drm_i915_private *dev_priv)#define HAS_CSR (dev_priv) (INTEL_INFO(dev_priv)->display.has_csr) +#define HAS_MSO (i915) (INTEL_GEN(i915) >= 12) +#define HAS_RUNTIME_PM (dev_priv) (INTEL_INFO(dev_priv)->has_runtime_pm)#define HAS_64BIT_RELOC (dev_priv) (INTEL_INFO(dev_priv)->has_64bit_reloc) --2.20.1
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v3 7/9] drm/i915/mso: add splitter state check
In reply to Jani NikulaQuoted 9 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Jani Nikula
Sent: Thursday, February 11, 2021 8:22 PM
To: [email protected]
Cc: Nikula, Jani <[email protected]>; Varide, Nischal <[email protected]>
Subject: [Intel-gfx] [PATCH v3 7/9] drm/i915/mso: add splitter state check
Quoted 3 lines
For starters, we expect the state to be zero, as we don't enable MSO anywhere.
v2: Refer to splitter.
Looks Good to me.
Quoted 26 lines
Cc Nischal Varide <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- drivers/gpu/drm/i915/display/intel_display.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/gpu/drm/i915/display/intel_display.c +4
-0@@ -9326,6 +9326,10 @@ intel_pipe_config_compare(const struct intel_crtc_state *current_config,PIPE_CONF_CHECK_I (dsc.dsc_split);PIPE_CONF_CHECK_I (dsc.compressed_bpp); +PIPE_CONF_CHECK_BOOL (splitter.enable); +PIPE_CONF_CHECK_I (splitter.link_count); +PIPE_CONF_CHECK_I (splitter.pixel_overlap); +PIPE_CONF_CHECK_I (mst_master_transcoder);
PIPE_CONF_CHECK_BOOL(vrr.enable);
--
2.20.1
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v3 8/9] drm/i915/edp: modify fixed and downclock modes for MSO
In reply to Jani NikulaQuoted 10 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Jani Nikula
Sent: Thursday, February 11, 2021 8:22 PM
To: [email protected]
Cc: Nikula, Jani <[email protected]>; Varide, Nischal <[email protected]>
Subject: [Intel-gfx] [PATCH v3 8/9] drm/i915/edp: modify fixed and downclock modes for MSO
Quoted 8 lines
In the case of MSO (Multi-SST Operation), the EDID contains the timings for a single panel segment. We'll want to hide the fact from userspace, and expose modes that span the entire display.
Don't modify the EDID, as the userspace should not use that for modesetting, only modify the actual modes.
v3: Use pixel overlap if available.
Looks Good to me.
Quoted 59 lines
v2: Rename
intel_dp_mso_mode_fixup->intel_edp_mso_mode_fixupCc Nischal Varide <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+)drivers/gpu/drm/i915/display/intel_dp.c +25
-0@@ -3516,6 +3516,31 @@ static void intel_dp_get_dsc_sink_cap(struct intel_dp *intel_dp) } } +static void intel_edp_mso_mode_fixup (struct intel_connector *connector, +struct drm_display_mode *mode) { +struct intel_dp *intel_dp =intel_attached_dp (connector); +struct drm_i915_private *i915 =to_i915 (connector->base.dev); +int n = intel_dp->mso_link_count; +int overlap = intel_dp->mso_pixel_overlap; + +if (!mode || !n) +return ; + + mode->hdisplay = (mode->hdisplay - overlap) * n; + mode->hsync_start = (mode->hsync_start - overlap) * n; + mode->hsync_end = (mode->hsync_end - overlap) * n; + mode->htotal = (mode->htotal - overlap) * n; + mode->clock *= n; + +drm_mode_set_name (mode); + +drm_dbg_kms (&i915->drm, +"[CONNECTOR:%d:%s] using generated MSO mode: " , + connector->base.base.id, connector->base.name); +drm_mode_debug_printmodeline (mode); +} +static void intel_edp_mso_init (struct intel_dp *intel_dp) { struct drm_i915_private *i915 = dp_to_i915(intel_dp); @@ -6493,6 +6518,10 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp,drivers/gpu/drm/i915/display/intel_dp.c +0
-0if (fixed_mode) downclock_mode = intel_dp_drrs_init(intel_connector,
fixed_mode);drivers/gpu/drm/i915/display/intel_dp.c +4
-1+/* multiply the mode clock and horizontal timings for MSO */ +intel_edp_mso_mode_fixup (intel_connector, fixed_mode); +intel_edp_mso_mode_fixup (intel_connector, downclock_mode); +/* fallback to VBT if available for eDP */ if (!fixed_mode) fixed_mode =intel_panel_vbt_fixed_mode (intel_connector); --2.20.1
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v3 9/9] drm/i915/edp: enable eDP MSO during link training
In reply to Jani NikulaQuoted 10 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Jani Nikula
Sent: Thursday, February 11, 2021 8:22 PM
To: [email protected]
Cc: Nikula, Jani <[email protected]>; Varide, Nischal <[email protected]>
Subject: [Intel-gfx] [PATCH v3 9/9] drm/i915/edp: enable eDP MSO during link training
Quoted 3 lines
If the source and sink support MSO, enable it during link training.
v3: Adjust timings, refer to splitter
Changes Look Good to me.
Quoted 188 lines
v2: Limit MSO to pipe A using ->pipe_mask
Cc Nischal Varide <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- drivers/gpu/drm/i915/display/intel_ddi.c | 37 ++++++++++++++++++++ drivers/gpu/drm/i915/display/intel_display.c | 13 +++++++ drivers/gpu/drm/i915/display/intel_dp.c | 34 ++++++++++++++++-- 3 files changed, 82 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/display/intel_ddi.c +28
-0@@ -2167,6 +2167,34 @@ static void intel_ddi_mso_get_config(struct intel_encoder *encoder, pipe_config->splitter.pixel_overlap =REG_FIELD_GET (OVERLAP_PIXELS_MASK , dss1); } +static void intel_ddi_mso_configure (const struct intel_crtc_state +*crtc_state) { +struct intel_crtc *crtc =to_intel_crtc (crtc_state->uapi.crtc); +struct drm_i915_private *i915 =to_i915 (crtc->base.dev); +enum pipe pipe = crtc->pipe; +u32 dss1 =0 ; + +if (!HAS_MSO (i915)) +return ; + +if (crtc_state->splitter.enable) { +/* Splitter enable is supported for pipe A only. */ +if (drm_WARN_ON (&i915->drm, pipe !=PIPE_A )) +return ; + + dss1 |=SPLITTER_ENABLE ; + dss1 |=OVERLAP_PIXELS (crtc_state->splitter.pixel_overlap); +if (crtc_state->splitter.link_count ==2 ) + dss1 |=SPLITTER_CONFIGURATION_2_SEGMENT ; +else + dss1 |=SPLITTER_CONFIGURATION_4_SEGMENT ; + } + +intel_de_rmw (i915,ICL_PIPE_DSS_CTL1 (pipe), +SPLITTER_ENABLE |SPLITTER_CONFIGURATION_MASK | +OVERLAP_PIXELS_MASK , dss1); +} + static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder,const struct
intel_crtc_state*crtc_state, @@ -
2260,6 +2288,11 @@ static void tgl_ddi_pre_enable_dp(structintel_atomic_state*state,drivers/gpu/drm/i915/display/intel_ddi.c +5
-0*/ intel_ddi_power_up_lanes (encoder, crtc_state); +/* +* 7.g Program CoG/MSO configuration bits in DSS_CTL1 if selected. +*/ +intel_ddi_mso_configure (crtc_state); +/* * 7.g Configure and enable DDI_BUF_CTL * 7.h Wait for DDI_BUF_CTL DDI Idle Status = 0b (Not Idle), timeout @@ - 4143,6 +4176,10 @@ void
intel_ddi_init(struct drm_i915_private *dev_priv, enum port port)drivers/gpu/drm/i915/display/intel_ddi.c +4
-1goto err; dig_port->hpd_pulse = intel_dp_hpd_pulse; + +/* Splitter enable for eDP MSO is supported for pipe A only. */ +if (dig_port->dp.mso_link_count) + encoder->pipe_mask =BIT (PIPE_A ); }/* In theory we don't need the encoder->type check, but leave it just in diff - -git a/drivers/gpu/drm/i915/display/intel_display.c
b/drivers/gpu/drm/i915/display/intel_display.c
index3059a07b8c36..06b7edbe1187100644drivers/gpu/drm/i915/display/intel_display.c +7
-0@@ -4917,6 +4917,19 @@ static int intel_crtc_compute_config(struct intel_crtc *crtc, pipe_config->pipe_src_w /=2 ; } +if (pipe_config->splitter.enable) { +int n = pipe_config->splitter.link_count; +int overlap = pipe_config->splitter.pixel_overlap; + + pipe_mode->crtc_hdisplay = (pipe_mode->crtc_hdisplay - overlap) * n; + pipe_mode->crtc_hblank_start = (pipe_mode->crtc_hblank_start - overlap) * n; + pipe_mode->crtc_hblank_end = (pipe_mode->crtc_hblank_end -overlap) * n;
drivers/gpu/drm/i915/display/intel_display.c +1
-0+ pipe_mode->crtc_hsync_start = (pipe_mode->crtc_hsync_start -overlap) * n;
drivers/gpu/drm/i915/display/intel_display.c +1
-0+ pipe_mode->crtc_hsync_end = (pipe_mode->crtc_hsync_end -overlap) * n;
drivers/gpu/drm/i915/display/intel_display.c +4
-0+ pipe_mode->crtc_htotal = (pipe_mode->crtc_htotal - overlap) * n; + pipe_mode->crtc_clock *= n; + } +intel_mode_from_crtc_timings (pipe_mode, pipe_mode);if (INTEL_GEN (dev_priv) <4 ) {drivers/gpu/drm/i915/display/intel_dp.c +4
-0@@ -1745,6 +1745,10 @@ intel_dp_drrs_compute_config(struct intel_dp *intel_dp, intel_connector->panel.downclock_mode->clock, pipe_config->port_clock, &pipe_config->dp_m2_n2, constant_n, pipe_config->fec_enable); + +/* FIXME: abstract this better */ +if (pipe_config->splitter.enable) + pipe_config->dp_m2_n2.gmch_m *= pipe_config- >splitter.link_count; }int
drivers/gpu/drm/i915/display/intel_dp.c +15
-0@@ -1819,6 +1823,26 @@ intel_dp_compute_config(struct intel_encoder *encoder, output_bpp =intel_dp_output_bpp (pipe_config->output_format, pipe_config->pipe_bpp); +if (intel_dp->mso_link_count) { +int n = intel_dp->mso_link_count; +int overlap = intel_dp->mso_pixel_overlap; + + pipe_config->splitter.enable = true; + pipe_config->splitter.link_count = n; + pipe_config->splitter.pixel_overlap = overlap; + + drm_dbg_kms(&dev_priv->drm, "MSO link count %d, pixel overlap %d\n", + n, overlap); + + adjusted_mode->crtc_hdisplay = adjusted_mode->crtc_hdisplay / n + overlap; + adjusted_mode->crtc_hblank_start = adjusted_mode- >crtc_hblank_start / n + overlap; + adjusted_mode->crtc_hblank_end = adjusted_mode-Quoted 1 line
crtc_hblank_end/ n + overlap;drivers/gpu/drm/i915/display/intel_dp.c +1
-0+ adjusted_mode->crtc_hsync_start = adjusted_mode-Quoted 1 line
crtc_hsync_start/ n + overlap;drivers/gpu/drm/i915/display/intel_dp.c +1
-0+ adjusted_mode->crtc_hsync_end = adjusted_mode-Quoted 1 line
crtc_hsync_end/ n + overlap;drivers/gpu/drm/i915/display/intel_dp.c +1
-0+ adjusted_mode->crtc_htotal = adjusted_mode->crtc_htotal / n +overlap;
drivers/gpu/drm/i915/display/intel_dp.c +11
-2+ adjusted_mode->crtc_clock /= n; + } + intel_link_compute_m_n(output_bpp, pipe_config->lane_count, adjusted_mode->crtc_clock,@@ -1826,6 +1850,10 @@ intel_dp_compute_config(struct intel_encoder *encoder, &pipe_config->dp_m_n, constant_n, pipe_config->fec_enable); +/* FIXME: abstract this better */ +if (pipe_config->splitter.enable) + pipe_config->dp_m_n.gmch_m *= pipe_config->splitter.link_count; +if (!HAS_DDI (dev_priv))intel_dp_set_clock (encoder, pipe_config);@@ -3564,8 +3592,10 @@ static void intel_edp_mso_init(struct intel_dp *intel_dp)if (mso) {drm_dbg_kms (&i915->drm,"Sink MSO %ux%u configuration\n" , mso,drm_dp_max_lane_count (intel_dp->dpcd) / mso); -drm_err (&i915->drm,"No source MSO support, disabling\n" ); - mso =0 ; +if (!HAS_MSO (i915)) { +drm_err (&i915->drm,"No source MSO support, disabling\n"); + mso =0 ; + } }
intel_dp->mso_link_count= mso;
--
2.20.1
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v3 5/9] drm/i915/reg: add stream splitter configuration definitions
In reply to Shankar, UmaQuoted 8 lines · Uma
Quoted 8 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Jani Nikula
Sent: Thursday, February 11, 2021 8:22 PM
To: [email protected]
Cc: Nikula, Jani <[email protected]>; Varide, Nischal <[email protected]>
Subject: [Intel-gfx] [PATCH v3 5/9] drm/i915/reg: add stream splitter configuration definitions
Quoted 4 lines
Quoted 1 line
The splitter configuration is required for eDP MSO.
Looks Good to me.
Reviewed-by Uma Shankar <[email protected]>
Thanks for the review, pushed up to and including this patch.
BR,
Jani.
Quoted 31 lines
Quoted 31 lines
Bspec: 50174
Cc Nischal Varide <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- drivers/gpu/drm/i915/i915_reg.h | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/i915/i915_reg.h +3
-0@@ -11448,6 +11448,9 @@ enum skl_power_gate {#define BIG_JOINER_ENABLE (1 << 29)#define MASTER_BIG_JOINER_ENABLE (1 << 28)#define VGA_CENTERING_ENABLE (1 << 27) +#define SPLITTER_CONFIGURATION_MASK REG_GENMASK(26, 25) +#define SPLITTER_CONFIGURATION_2_SEGMENT REG_FIELD_PREP(SPLITTER_CONFIGURATION_MASK, 0) +#define SPLITTER_CONFIGURATION_4_SEGMENT REG_FIELD_PREP (SPLITTER_CONFIGURATION_MASK ,1 )#define
_ICL_PIPE_DSS_CTL2_PB0x78204
#define_ICL_PIPE_DSS_CTL2_PC0x78404
--
2.20.1_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v3 6/9] drm/i915/mso: add splitter state readout for platforms that support it
In reply to Shankar, UmaQuoted 61 lines · Uma
Quoted 61 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Jani Nikula
Sent: Thursday, February 11, 2021 8:22 PM
To: [email protected]
Cc: Nikula, Jani <[email protected]>; Varide, Nischal <[email protected]>
Subject: [Intel-gfx] [PATCH v3 6/9] drm/i915/mso: add splitter state readout for platforms that support itAdd splitter configuration to crtc state, and read it where supported. Also add splitter state dumping. The stream splitter will be required for eDP MSO.
v3:
- Convert segment timings to full panel timings.
- Refer to splitter instead of mso in crtc state.
- Dump splitter state.v2: Add warning for mso being enabled on pipes other than A.
Cc Nischal Varide <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- drivers/gpu/drm/i915/display/intel_ddi.c | 37 +++++++++++++++++++ drivers/gpu/drm/i915/display/intel_display.c | 31 +++++++++++++++- .../drm/i915/display/intel_display_types.h | 7 ++++ drivers/gpu/drm/i915/i915_drv.h | 2 + 4 files changed, 75 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/display/intel_ddi.c +24
-0@@ -2132,6 +2132,41 @@ static void intel_ddi_power_up_lanes(struct intel_encoder *encoder, } } +static void intel_ddi_mso_get_config (struct intel_encoder *encoder, +struct intel_crtc_state *pipe_config) { +struct intel_crtc *crtc =to_intel_crtc (pipe_config->uapi.crtc); +struct drm_i915_private *i915 =to_i915 (crtc->base.dev); +enum pipe pipe = crtc->pipe; +u32 dss1; + +if (!HAS_MSO (i915)) +return ; + + dss1 =intel_de_read (i915,ICL_PIPE_DSS_CTL1 (pipe)); + + pipe_config->splitter.enable = dss1 &SPLITTER_ENABLE ; +if (!pipe_config->splitter.enable) +return ; + +/* Splitter enable is supported for pipe A only. */ +if (drm_WARN_ON (&i915->drm, pipe !=PIPE_A )) { + pipe_config->splitter.enable = false; +return ; + } + +switch (dss1 &SPLITTER_CONFIGURATION_MASK ) { +case SPLITTER_CONFIGURATION_2_SEGMENT :
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_ddi.c static void intel_ddi_power_up_lanes(struct intel_encoder *encoder, · line 2164
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_ddi.c +5
-0+ pipe_config->splitter.link_count =2 ; +break ; +case SPLITTER_CONFIGURATION_4_SEGMENT : + pipe_config->splitter.link_count =4 ; +break ;Should we have a default case as well just for sanity along with a WARN, since it's very unlikely that it gets hit.
Ok.
Quoted 58 lines
Quoted 25 lines
drivers/gpu/drm/i915/display/intel_ddi.c +5
-0+ } + + pipe_config->splitter.pixel_overlap = +REG_FIELD_GET (OVERLAP_PIXELS_MASK , dss1); } + static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *crtc_state, @@ -3322,6 +3357,8 @@ void intel_ddi_get_config(struct
intel_encoder*encoder,drivers/gpu/drm/i915/display/intel_ddi.c +2
-0intel_ddi_read_func_ctl (encoder, pipe_config); } +intel_ddi_mso_get_config (encoder, pipe_config); + pipe_config->has_audio =intel_ddi_is_audio_enabled (dev_priv, cpu_transcoder);drivers/gpu/drm/i915/display/intel_display.c +0
-0@@ -4856,8 +4856,30 @@ static void intel_crtc_readout_derived_state(struct
intel_crtc_state*crtc_statedrivers/gpu/drm/i915/display/intel_display.c static void intel_crtc_readout_derived_state(struct intel_crtc_state *crtc_state · line 4859
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_display.c +1
-2pipe_mode->crtc_clock /=2 ; } -intel_mode_from_crtc_timings (pipe_mode, pipe_mode); -intel_mode_from_crtc_timings (adjusted_mode, adjusted_mode); +if (crtc_state->splitter.enable) {We can just add an else if case to if (
crtc_state->bigjoiner) {if (
crtc_state->bigjoiner) {
...
} else if (crtc_state->splitter.enable) {
...
}Quoted 18 lines
drivers/gpu/drm/i915/display/intel_display.c +10
-0+int n = crtc_state->splitter.link_count; +int overlap = crtc_state->splitter.pixel_overlap; + +/* +* eDP MSO uses segment timings from EDID for transcoder +* timings, but full mode for everything else. +* +* h_full = (h_segment - pixel_overlap) * link_count +*/ + pipe_mode->crtc_hdisplay = (pipe_mode->crtc_hdisplay - overlap) *n;
drivers/gpu/drm/i915/display/intel_display.c +1
-0+ pipe_mode->crtc_hblank_start = (pipe_mode->crtc_hblank_start -overlap) * n;
drivers/gpu/drm/i915/display/intel_display.c +1
-0+ pipe_mode->crtc_hblank_end = (pipe_mode->crtc_hblank_end -overlap) * n;
drivers/gpu/drm/i915/display/intel_display.c +1
-0+ pipe_mode->crtc_hsync_start = (pipe_mode->crtc_hsync_start -overlap) * n;
drivers/gpu/drm/i915/display/intel_display.c +1
-0+ pipe_mode->crtc_hsync_end = (pipe_mode->crtc_hsync_end -
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_display.c static void intel_crtc_readout_derived_state(struct intel_crtc_state *crtc_state · line 4878
Quoted 6 lines
overlap) * n;
drivers/gpu/drm/i915/display/intel_display.c +5
-0+ pipe_mode->crtc_htotal = (pipe_mode->crtc_htotal - overlap) * n; + pipe_mode->crtc_clock *= n; + +intel_mode_from_crtc_timings (pipe_mode, pipe_mode); +intel_mode_from_crtc_timings (adjusted_mode, pipe_mode);Then we can keep above 2 out of the if conditions.
Note that the 2 lines in the if branches are *not* the same, and the order matters!
I tried various alternatives, but to me this had the most clarity.
Quoted 32 lines
Quoted 32 lines
drivers/gpu/drm/i915/display/intel_display.c +9
-0+ }else { +intel_mode_from_crtc_timings (pipe_mode, pipe_mode); +intel_mode_from_crtc_timings (adjusted_mode, adjusted_mode); + }intel_crtc_compute_pixel_rate (crtc_state);@@ -8259,6 +8281,11 @@ static void intel_dump_pipe_config(const struct intel_crtc_state *pipe_config, pipe_config->bigjoiner_slave ?"slave" : pipe_config->bigjoiner ? "master" : "no"); +drm_dbg_kms (&dev_priv->drm,"splitter: %s, link count %d, overlap %d\n" , +enableddisabled (pipe_config->splitter.enable), + pipe_config->splitter.link_count, + pipe_config->splitter.pixel_overlap); +if (pipe_config->has_pch_encoder) intel_dump_m_n_config(pipe_config, "fdi",drivers/gpu/drm/i915/display/intel_display.c +0
-0pipe_config->fdi_lanes,drivers/gpu/drm/i915/display/intel_display_types.h +2
-0@@ -1161,6 +1161,13 @@ struct intel_crtc_state {u8 pipeline_full;u16 flipline, vmin, vmax; } vrr; + +/* Stream Splitter for eDP MSO */
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_display_types.h struct intel_crtc_state { · line 1170
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_display_types.h +5
-0+struct { +bool enable; +u8 link_count; +u8 pixel_overlap; + } splitter;For DSI which also has this in common along with MSO, may be we can take these
link_countandpixel_overlapout of splitter which is more of a MSO feature. Thoughts ?
Ville suggested the same I think.
Quoted 24 lines
Quoted 24 lines
drivers/gpu/drm/i915/display/intel_display_types.h +0
-0};enum intel_pipe_crc_source {drivers/gpu/drm/i915/i915_drv.h +2
-1@@ -1709,6 +1709,8 @@ tgl_stepping_get(struct drm_i915_private *dev_priv)#define HAS_CSR (dev_priv) (INTEL_INFO(dev_priv)->display.has_csr) +#define HAS_MSO (i915) (INTEL_GEN(i915) >= 12) +#define HAS_RUNTIME_PM (dev_priv) (INTEL_INFO(dev_priv)->has_runtime_pm)#define HAS_64BIT_RELOC (dev_priv) (INTEL_INFO(dev_priv)->has_64bit_reloc) --2.20.1
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v3 6/9] drm/i915/mso: add splitter state readout for platforms that support it
Quoted 153 lines
-----Original Message-----
From: Nikula, Jani <[email protected]>
Sent: Monday, February 22, 2021 10:25 PM
To: Shankar, Uma <[email protected]>; [email protected]
Cc: Varide, Nischal <[email protected]>
Subject: RE: [Intel-gfx] [PATCH v3 6/9] drm/i915/mso: add splitter state readout for platforms that support itQuoted 10 lines · Uma
Quoted 10 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Jani Nikula
Sent: Thursday, February 11, 2021 8:22 PM
To: [email protected]
Cc: Nikula, Jani <[email protected]>; Varide, Nischal <[email protected]>
Subject: [Intel-gfx] [PATCH v3 6/9] drm/i915/mso: add splitter state readout for platforms that support itQuoted 2 lines
Quoted 2 lines
Add splitter configuration to crtc state, and read it where
supported. Also add splitter state dumping. The stream splitter will be required foreDP MSO.
Quoted 51 lines
Quoted 51 lines
v3:
- Convert segment timings to full panel timings.
- Refer to splitter instead of mso in crtc state.
- Dump splitter state.v2: Add warning for mso being enabled on pipes other than A.
Cc Nischal Varide <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- drivers/gpu/drm/i915/display/intel_ddi.c | 37 +++++++++++++++++++ drivers/gpu/drm/i915/display/intel_display.c | 31 +++++++++++++++- .../drm/i915/display/intel_display_types.h | 7 ++++ drivers/gpu/drm/i915/i915_drv.h | 2 + 4 files changed, 75 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/display/intel_ddi.c +24
-0@@ -2132,6 +2132,41 @@ static void intel_ddi_power_up_lanes(struct intel_encoder *encoder, } } +static void intel_ddi_mso_get_config (struct intel_encoder *encoder, +struct intel_crtc_state *pipe_config) { +struct intel_crtc *crtc =to_intel_crtc (pipe_config->uapi.crtc); +struct drm_i915_private *i915 =to_i915 (crtc->base.dev); +enum pipe pipe = crtc->pipe; +u32 dss1; + +if (!HAS_MSO (i915)) +return ; + + dss1 =intel_de_read (i915,ICL_PIPE_DSS_CTL1 (pipe)); + + pipe_config->splitter.enable = dss1 &SPLITTER_ENABLE ; +if (!pipe_config->splitter.enable) +return ; + +/* Splitter enable is supported for pipe A only. */ +if (drm_WARN_ON (&i915->drm, pipe !=PIPE_A )) { + pipe_config->splitter.enable = false; +return ; + } + +switch (dss1 &SPLITTER_CONFIGURATION_MASK ) { +case SPLITTER_CONFIGURATION_2_SEGMENT :Quoted 8 lines
drivers/gpu/drm/i915/display/intel_ddi.c static void intel_ddi_power_up_lanes(struct intel_encoder *encoder, · line 2164
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_ddi.c +5
-0+ pipe_config->splitter.link_count =2 ; +break ; +case SPLITTER_CONFIGURATION_4_SEGMENT : + pipe_config->splitter.link_count =4 ; +break ;Should we have a default case as well just for sanity along with a WARN, since it's very unlikely that it gets hit.
Ok.
Quoted 58 lines
Quoted 26 lines
drivers/gpu/drm/i915/display/intel_ddi.c +5
-0+ } + + pipe_config->splitter.pixel_overlap = +REG_FIELD_GET (OVERLAP_PIXELS_MASK , dss1); } + static void tgl_ddi_pre_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *crtc_state, @@ -3322,6 +3357,8 @@ void intel_ddi_get_config(struct
intel_encoder*encoder,drivers/gpu/drm/i915/display/intel_ddi.c +2
-0intel_ddi_read_func_ctl (encoder, pipe_config); } +intel_ddi_mso_get_config (encoder, pipe_config); + pipe_config->has_audio =intel_ddi_is_audio_enabled (dev_priv, cpu_transcoder);drivers/gpu/drm/i915/display/intel_display.c +0
-0@@ -4856,8 +4856,30 @@ static voidintel_crtc_readout_derived_state(struct
intel_crtc_state*crtc_statedrivers/gpu/drm/i915/display/intel_display.c static void intel_crtc_readout_derived_state(struct intel_crtc_state *crtc_state · line 4859
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_display.c +1
-2pipe_mode->crtc_clock /=2 ; } -intel_mode_from_crtc_timings (pipe_mode, pipe_mode); -intel_mode_from_crtc_timings (adjusted_mode, adjusted_mode); +if (crtc_state->splitter.enable) {We can just add an else if case to if (
crtc_state->bigjoiner) {if (
crtc_state->bigjoiner) {
...
} else if (crtc_state->splitter.enable) { ...
}Quoted 18 lines
drivers/gpu/drm/i915/display/intel_display.c +10
-0+int n = crtc_state->splitter.link_count; +int overlap = crtc_state->splitter.pixel_overlap; + +/* +* eDP MSO uses segment timings from EDID for transcoder +* timings, but full mode for everything else. +* +* h_full = (h_segment - pixel_overlap) * link_count +*/ + pipe_mode->crtc_hdisplay = (pipe_mode->crtc_hdisplay - overlap) *n;
drivers/gpu/drm/i915/display/intel_display.c +1
-0+ pipe_mode->crtc_hblank_start = (pipe_mode->crtc_hblank_start -overlap) * n;
drivers/gpu/drm/i915/display/intel_display.c +1
-0+ pipe_mode->crtc_hblank_end = (pipe_mode->crtc_hblank_end -overlap) * n;
drivers/gpu/drm/i915/display/intel_display.c +1
-0+ pipe_mode->crtc_hsync_start = (pipe_mode->crtc_hsync_start -overlap) * n;
drivers/gpu/drm/i915/display/intel_display.c +1
-0+ pipe_mode->crtc_hsync_end = (pipe_mode->crtc_hsync_end -Quoted 8 lines
drivers/gpu/drm/i915/display/intel_display.c static void intel_crtc_readout_derived_state(struct intel_crtc_state *crtc_state · line 4878
Quoted 6 lines
overlap) * n;
drivers/gpu/drm/i915/display/intel_display.c +5
-0+ pipe_mode->crtc_htotal = (pipe_mode->crtc_htotal - overlap) * n; + pipe_mode->crtc_clock *= n; + +intel_mode_from_crtc_timings (pipe_mode, pipe_mode); +intel_mode_from_crtc_timings (adjusted_mode, pipe_mode);Then we can keep above 2 out of the if conditions.
Quoted 3 lines
Note that the 2 lines in the if branches are *not* the same, and the order matters!
I tried various alternatives, but to me this had the most clarity.
Yeah got it Jani, missed that. Looks ok, please ignore the earlier comment.
Quoted 67 lines
Quoted 32 lines
Quoted 32 lines
drivers/gpu/drm/i915/display/intel_display.c +9
-0+ }else { +intel_mode_from_crtc_timings (pipe_mode, pipe_mode); +intel_mode_from_crtc_timings (adjusted_mode, adjusted_mode); + }intel_crtc_compute_pixel_rate (crtc_state);@@ -8259,6 +8281,11 @@ static void intel_dump_pipe_config(conststruct intel_crtc_state *pipe_config, pipe_config->bigjoiner_slave ? "slave" : pipe_config->bigjoiner ? "master" : "no"); +drm_dbg_kms (&dev_priv->drm,"splitter: %s, link count %d, overlap %d\n" , +enableddisabled (pipe_config->splitter.enable), + pipe_config->splitter.link_count, + pipe_config->splitter.pixel_overlap); +if (pipe_config->has_pch_encoder) intel_dump_m_n_config(pipe_config, "fdi",drivers/gpu/drm/i915/display/intel_display.c +0
-0pipe_config->fdi_lanes,drivers/gpu/drm/i915/display/intel_display_types.h +2
-0@@ -1161,6 +1161,13 @@ struct intel_crtc_state {u8 pipeline_full;u16 flipline, vmin, vmax; } vrr; + +/* Stream Splitter for eDP MSO */ Quoted 8 lines
drivers/gpu/drm/i915/display/intel_display_types.h struct intel_crtc_state { · line 1170
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_display_types.h +5
-0+struct { +bool enable; +u8 link_count; +u8 pixel_overlap; + } splitter;For DSI which also has this in common along with MSO, may be we can take these
link_countandpixel_overlapout of splitter which is more of a MSOfeature. Thoughts ?
Ville suggested the same I think.
Quoted 24 lines
Quoted 24 lines
drivers/gpu/drm/i915/display/intel_display_types.h +0
-0};enum intel_pipe_crc_source {(quoted diff) +0
-0
b/drivers/gpu/drm/i915/i915_drv.hindex9f55b5e6d8c9..3d8be7b021d9100644drivers/gpu/drm/i915/i915_drv.h +2
-0@@ -1709,6 +1709,8 @@ tgl_stepping_get(struct drm_i915_private *dev_priv)#define HAS_CSR (dev_priv) (INTEL_INFO(dev_priv)->display.has_csr) +#define HAS_MSO (i915) (INTEL_GEN(i915) >= 12) +#define HAS_RUNTIME_PM (dev_priv) (INTEL_INFO (dev_priv)->has_runtime_pm)#define
HAS_64BIT_RELOC(dev_priv)
(INTEL_INFO(dev_priv)->has_64bit_reloc)--
2.20.1
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v3 6/9] drm/i915/mso: add splitter state readout for platforms that support it
In reply to Jani NikulaQuoted 22 lines · Jani Nikula
Quoted 12 lines · Uma
Quoted 12 lines
drivers/gpu/drm/i915/display/intel_display_types.h +3
-0@@ -1161,6 +1161,13 @@ struct intel_crtc_state {u8 pipeline_full;u16 flipline, vmin, vmax; } vrr; + +/* Stream Splitter for eDP MSO */ +struct {Quoted 8 lines
drivers/gpu/drm/i915/display/intel_display_types.h struct intel_crtc_state { · line 1170
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_display_types.h +4
-0+bool enable; +u8 link_count; +u8 pixel_overlap; + } splitter;For DSI which also has this in common along with MSO, may be we can take these
link_countandpixel_overlapout of splitter which is more of a MSO feature. Thoughts ?
Quoted 1 line
Ville suggested the same I think.
Coming back to this. DSI does not actually use crtc state for this currently. But it does use the display stream splitter. The register is different, but the functionality is roughly the same.
I suggest we keep the "splitter" substruct as above, and convert DSI code to use it in follow-up.
In early versions of the patch the substruct was called "mso"; I think "splitter" is better, and captures both MSO and DSI cases.
I'll send v4 with the other suggested changes.
BR,
Jani.
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v3 6/9] drm/i915/mso: add splitter state readout for platforms that support it
Quoted 40 lines
-----Original Message-----
From: Nikula, Jani <[email protected]>
Sent: Tuesday, March 2, 2021 3:55 PM
To: Shankar, Uma <[email protected]>; [email protected]
Cc: Varide, Nischal <[email protected]>; Ville Syrjälä <[email protected]>
Subject: RE: [Intel-gfx] [PATCH v3 6/9] drm/i915/mso: add splitter state readout for platforms that support itQuoted 22 lines · Jani Nikula
Quoted 12 lines · Uma
Quoted 12 lines
drivers/gpu/drm/i915/display/intel_display_types.h +3
-0@@ -1161,6 +1161,13 @@ struct intel_crtc_state {u8 pipeline_full;u16 flipline, vmin, vmax; } vrr; + +/* Stream Splitter for eDP MSO */ +struct {Quoted 8 lines
drivers/gpu/drm/i915/display/intel_display_types.h struct intel_crtc_state { · line 1170
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_display_types.h +4
-0+bool enable; +u8 link_count; +u8 pixel_overlap; + } splitter;For DSI which also has this in common along with MSO, may be we can take these
link_countandpixel_overlapout of splitter which is more of a MSO feature. Thoughts ?Quoted 1 line
Ville suggested the same I think.
Coming back to this. DSI does not actually use crtc state for this currently. But it does use the display stream splitter. The register is different, but the functionality is roughly the same.
Quoted 7 lines
I suggest we keep the "splitter" substruct as above, and convert DSI code to use it in follow-up.
In early versions of the patch the substruct was called "mso"; I think "splitter" is better, and captures both MSO and DSI cases.
I'll send v4 with the other suggested changes.
Makes sense, I am ok with this.
Regards,
Uma Shankar
Quoted 6 lines
BR,
Jani.--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v3 6/9] drm/i915/mso: add splitter state readout for platforms that support it
In reply to Jani NikulaQuoted 29 lines · Jani Nikula
Quoted 22 lines · Jani Nikula
Quoted 12 lines · Uma
Quoted 12 lines
drivers/gpu/drm/i915/display/intel_display_types.h +3
-0@@ -1161,6 +1161,13 @@ struct intel_crtc_state {u8 pipeline_full;u16 flipline, vmin, vmax; } vrr; + +/* Stream Splitter for eDP MSO */ +struct {Quoted 8 lines
drivers/gpu/drm/i915/display/intel_display_types.h struct intel_crtc_state { · line 1170
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_display_types.h +4
-0+bool enable; +u8 link_count; +u8 pixel_overlap; + } splitter;For DSI which also has this in common along with MSO, may be we can take these
link_countandpixel_overlapout of splitter which is more of a MSO feature. Thoughts ?Quoted 1 line
Ville suggested the same I think.
Coming back to this. DSI does not actually use crtc state for this currently. But it does use the display stream splitter. The register is different, but the functionality is roughly the same.
Quoted 5 lines
I suggest we keep the "splitter" substruct as above, and convert DSI code to use it in follow-up.
In early versions of the patch the substruct was called "mso"; I think "splitter" is better, and captures both MSO and DSI cases.
The "splitter" name is rather icl+ specific. Earlier DSI or LVDS do not have such a hw block (at least in name).
Signature · 6 lines
Ville Syrjälä Intel _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH v3 6/9] drm/i915/mso: add splitter state readout for platforms that support it
Quoted 30 lines · Ville Syrjälä
Quoted 29 lines · Jani Nikula
Quoted 22 lines · Jani Nikula
Quoted 12 lines · Uma
Quoted 12 lines
drivers/gpu/drm/i915/display/intel_display_types.h +3
-0@@ -1161,6 +1161,13 @@ struct intel_crtc_state {u8 pipeline_full;u16 flipline, vmin, vmax; } vrr; + +/* Stream Splitter for eDP MSO */ +struct {Quoted 8 lines
drivers/gpu/drm/i915/display/intel_display_types.h struct intel_crtc_state { · line 1170
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_display_types.h +4
-0+bool enable; +u8 link_count; +u8 pixel_overlap; + } splitter;For DSI which also has this in common along with MSO, may be we can take these
link_countandpixel_overlapout of splitter which is more of a MSO feature. Thoughts ?Quoted 1 line
Ville suggested the same I think.
Coming back to this. DSI does not actually use crtc state for this currently. But it does use the display stream splitter. The register is different, but the functionality is roughly the same.
Quoted 8 lines
Quoted 5 lines
I suggest we keep the "splitter" substruct as above, and convert DSI code to use it in follow-up.
In early versions of the patch the substruct was called "mso"; I think "splitter" is better, and captures both MSO and DSI cases.
The "splitter" name is rather icl+ specific. Earlier DSI or LVDS do not have such a hw block (at least in name).
Sigh, well, VLV has pixel overlap in VLV_CHICKEN_3 register.
I think we either organize this under "splitter", or throw all of this in crtc state unorganized without substructs or prefixes or clues how the members relate to each other on any platform.
BR,
Jani.
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx