drm: reduce drm_detect_monitor_audio/drm_detect_hdmi_monitor/edid_blob_ptr usage
Subsystems (11)
cover drm: reduce drm_detect_monitor_audio/drm_detect_hdmi_monitor/edid_blob_ptr usage
THIS IS UNTESTED for anything other than i915.
Use previously parsed EDID where possible for display audio/hdmi detection. This in turn reduces edid_blob_ptr usage in a number of places. Further reduce edid_blob_ptr usage, and document that it should not be used by drivers directly.
BR,
Jani.
Jani Nikula (12):
drm/edid: parse display info has_audio similar to is_hdmi drm/nouveau: convert to using is_hdmi and has_audio from display info drm/radeon: convert to using is_hdmi and has_audio from display info drm/radeon: remove radeon_connector_edid() and stop using
edid_blob_ptr
drm/amdgpu: remove amdgpu_connector_edid() and stop using
edid_blob_ptr
drm/i915/debugfs: stop using edid_blob_ptr
drm/exynos: fix is_hdmi usage
drm/i2c/tda998x: convert to using has_audio from display_info drm/sti/sti_hdmi: convert to using is_hdmi from display info drm/rockchip: cdn-dp: call drm_connector_update_edid_property()
unconditionally
drm/rockchip: convert to using has_audio from display_info drm/connector: update edid_blob_ptr documentation
.../gpu/drm/amd/amdgpu/amdgpu_connectors.c | 15 ----------- .../gpu/drm/amd/amdgpu/amdgpu_connectors.h | 1 - drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 4 +-- drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 4 +-- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 4 +-- drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 4 +-- drivers/gpu/drm/drm_edid.c | 6 +++++ drivers/gpu/drm/exynos/exynos_hdmi.c | 3 ++- drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- .../drm/i915/display/intel_display_debugfs.c | 10 +++---- drivers/gpu/drm/nouveau/dispnv50/disp.c | 8 +++--- drivers/gpu/drm/nouveau/dispnv50/head.c | 8 +----- drivers/gpu/drm/nouveau/nouveau_connector.c | 2 +- drivers/gpu/drm/radeon/atombios_encoders.c | 10 +++---- drivers/gpu/drm/radeon/evergreen_hdmi.c | 5 ++-- drivers/gpu/drm/radeon/radeon_audio.c | 11 ++++---- drivers/gpu/drm/radeon/radeon_connectors.c | 27 +++++-------------- drivers/gpu/drm/radeon/radeon_display.c | 2 +- drivers/gpu/drm/radeon/radeon_encoders.c | 4 +-- drivers/gpu/drm/radeon/radeon_mode.h | 2 -- drivers/gpu/drm/rockchip/cdn-dp-core.c | 7 +++-- drivers/gpu/drm/rockchip/inno_hdmi.c | 3 ++- drivers/gpu/drm/sti/sti_hdmi.c | 11 ++++---- drivers/gpu/drm/sti/sti_hdmi.h | 2 -- include/drm/drm_connector.h | 14 +++++++++- 25 files changed, 73 insertions(+), 96 deletions(-)
Signature · 1 line
2.39.2
PATCH 1/12 drm/edid: parse display info has_audio similar to is_hdmi
Since we already iterate everything that's needed for determining audio, reduce the need to call drm_detect_monitor_audio() by storing has_audio to connector info.
--- drivers/gpu/drm/drm_edid.c | 6 ++++++ include/drm/drm_connector.h | 8 ++++++++ 2 files changed, 14 insertions(+)
drivers/gpu/drm/drm_edid.c +6 -0
@@ -6243,6 +6243,9 @@ static void drm_parse_cea_ext(struct drm_connector *connector, info->color_formats |=DRM_COLOR_FORMAT_YCBCR444 ;if (edid_ext[3 ] &EDID_CEA_YCRCB422 ) info->color_formats |=DRM_COLOR_FORMAT_YCBCR422 ; +if (edid_ext[3 ] &EDID_BASIC_AUDIO ) + info->has_audio = true; + }drm_edid_iter_end (&edid_iter);
@@ -6268,6 +6271,8 @@ static void drm_parse_cea_ext(struct drm_connector *connector,drm_parse_hdr_metadata_block (connector, data); else if (cea_db_tag(db) == CTA_DB_VIDEO) parse_cta_vdb(connector, db); + else if (cea_db_tag(db) == CTA_DB_AUDIO) + info->has_audio = true; }cea_db_iter_end (&iter);
@@ -6424,6 +6429,7 @@ static void drm_reset_display_info(struct drm_connector *connector) info->max_tmds_clock =0 ; info->dvi_dual = false; info->is_hdmi = false; + info->has_audio = false; info->has_hdmi_infoframe = false; info->rgb_quant_range_selectable = false;memset (&info->hdmi,0 ,sizeof (info->hdmi));
include/drm/drm_connector.h +8 -0
@@ -653,6 +653,14 @@ struct drm_display_info {*/ bool is_hdmi; +/** +* @has_audio: True if the sink supports audio. +* +* This field shall be used instead of calling +* drm_detect_monitor_audio() when possible. +*/ +bool has_audio; +/** * @has_hdmi_infoframe: Does the sink support the HDMI infoframe? */
Signature · 1 line
2.39.2
PATCH 2/12 drm/nouveau: convert to using is_hdmi and has_audio from display info
In reply to Jani NikulaPrefer the parsed results for is_hdmi and has_audio in display info over calling drm_detect_hdmi_monitor() and drm_detect_monitor_audio(), respectively.
Conveniently, this also removes the need to use edid_blob_ptr.
--- drivers/gpu/drm/nouveau/dispnv50/disp.c | 8 ++++---- drivers/gpu/drm/nouveau/dispnv50/head.c | 8 +------- drivers/gpu/drm/nouveau/nouveau_connector.c | 2 +- 3 files changed, 6 insertions(+), 12 deletions(-)
drivers/gpu/drm/nouveau/dispnv50/disp.c +4 -4
@@ -713,7 +713,7 @@ nv50_audio_enable(struct drm_encoder *encoder, struct nouveau_crtc *nv_crtc,struct nouveau_encoder *nv_encoder =nouveau_encoder (encoder);struct nvif_outp *outp = &nv_encoder->outp; -if (!nv50_audio_supported (encoder) || !drm_detect_monitor_audio (nv_connector->edid)) +if (!nv50_audio_supported (encoder) || !nv_connector->base.display_info.has_audio)return ;mutex_lock (&drm->audio.lock);
@@ -1555,13 +1555,13 @@ nv50_sor_atomic_enable(struct drm_encoder *encoder, struct drm_atomic_state *staif ((disp->disp->object.oclass ==GT214_DISP || disp->disp->object.oclass >=GF110_DISP ) && -drm_detect_monitor_audio (nv_connector->edid)) + nv_connector->base.display_info.has_audio) hda = true;switch (nv_encoder->dcb->type) {case DCB_OUTPUT_TMDS :if (disp->disp->object.oclass ==NV50_DISP || - !drm_detect_hdmi_monitor (nv_connector->edid)) + !nv_connector->base.display_info.is_hdmi)nvif_outp_acquire_tmds (outp, nv_crtc->index, false,0 ,0 ,0 , false);else nv50_hdmi_enable (encoder, nv_crtc, nv_connector, state, mode, hda);
@@ -1576,7 +1576,7 @@ nv50_sor_atomic_enable(struct drm_encoder *encoder, struct drm_atomic_state *sta*/ if (mode->clock >=165000 && nv_encoder->dcb->duallink_possible && - !drm_detect_hdmi_monitor (nv_connector->edid)) + !nv_connector->base.display_info.is_hdmi) proto =NV507D_SOR_SET_CONTROL_PROTOCOL_DUAL_TMDS ; }else { proto =NV507D_SOR_SET_CONTROL_PROTOCOL_SINGLE_TMDS_B ;
drivers/gpu/drm/nouveau/dispnv50/head.c +1 -7
@@ -126,14 +126,8 @@ nv50_head_atomic_check_view(struct nv50_head_atom *armh,struct drm_display_mode *omode = &asyh->state.adjusted_mode;struct drm_display_mode *umode = &asyh->state.mode;int mode = asyc->scaler.mode; -struct edid *edid;int umode_vdisplay, omode_hdisplay, omode_vdisplay; -if (connector->edid_blob_ptr) - edid = (struct edid *)connector->edid_blob_ptr->data; -else - edid =NULL ; -if (!asyc->scaler.full) {if (mode ==DRM_MODE_SCALE_NONE ) omode = umode;
@@ -161,7 +155,7 @@ nv50_head_atomic_check_view(struct nv50_head_atom *armh,*/ if ((asyc->scaler.underscan.mode ==UNDERSCAN_ON || (asyc->scaler.underscan.mode ==UNDERSCAN_AUTO && -drm_detect_hdmi_monitor (edid)))) { + connector->display_info.is_hdmi))) {u32 bX = asyc->scaler.underscan.hborder;u32 bY = asyc->scaler.underscan.vborder;u32 r = (asyh->view.oH <<19 ) / asyh->view.oW;
drivers/gpu/drm/nouveau/nouveau_connector.c +1 -1
@@ -1012,7 +1012,7 @@ get_tmds_link_bandwidth(struct drm_connector *connector)unsigned duallink_scale = nouveau_duallink && nv_encoder->dcb->duallink_possible ?2 :1 ; -if (drm_detect_hdmi_monitor (nv_connector->edid)) { +if (nv_connector->base.display_info.is_hdmi) { info = &nv_connector->base.display_info; duallink_scale =1 ; }
Signature · 1 line
2.39.2
PATCH 3/12 drm/radeon: convert to using is_hdmi and has_audio from display info
In reply to Jani NikulaPrefer the parsed results for is_hdmi and has_audio in display info over calling drm_detect_hdmi_monitor() and drm_detect_monitor_audio(), respectively.
--- drivers/gpu/drm/radeon/atombios_encoders.c | 10 +++++----- drivers/gpu/drm/radeon/evergreen_hdmi.c | 5 ++--- drivers/gpu/drm/radeon/radeon_audio.c | 6 +++--- drivers/gpu/drm/radeon/radeon_connectors.c | 12 ++++++------ drivers/gpu/drm/radeon/radeon_display.c | 2 +- drivers/gpu/drm/radeon/radeon_encoders.c | 4 ++-- 6 files changed, 19 insertions(+), 20 deletions(-)
drivers/gpu/drm/radeon/atombios_encoders.c +5 -5
@@ -700,7 +700,7 @@ atombios_get_encoder_mode(struct drm_encoder *encoder)if (radeon_connector->use_digital && (radeon_connector->audio ==RADEON_AUDIO_ENABLE ))return ATOM_ENCODER_MODE_HDMI ; -else if (drm_detect_hdmi_monitor (radeon_connector_edid (connector)) && +else if (connector->display_info.is_hdmi && (radeon_connector->audio ==RADEON_AUDIO_AUTO ))return ATOM_ENCODER_MODE_HDMI ;else if (radeon_connector->use_digital)
@@ -719,7 +719,7 @@ atombios_get_encoder_mode(struct drm_encoder *encoder)if (radeon_audio !=0 ) {if (radeon_connector->audio ==RADEON_AUDIO_ENABLE )return ATOM_ENCODER_MODE_HDMI ; -else if (drm_detect_hdmi_monitor (radeon_connector_edid (connector)) && +else if (connector->display_info.is_hdmi && (radeon_connector->audio ==RADEON_AUDIO_AUTO ))return ATOM_ENCODER_MODE_HDMI ;else
@@ -736,14 +736,14 @@ atombios_get_encoder_mode(struct drm_encoder *encoder)if ((dig_connector->dp_sink_type ==CONNECTOR_OBJECT_ID_DISPLAYPORT ) || (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) {if (radeon_audio !=0 && -drm_detect_monitor_audio (radeon_connector_edid (connector)) && + connector->display_info.has_audio &&ASIC_IS_DCE4 (rdev) && !ASIC_IS_DCE5 (rdev))return ATOM_ENCODER_MODE_DP_AUDIO ;return ATOM_ENCODER_MODE_DP ; }else if (radeon_audio !=0 ) {if (radeon_connector->audio ==RADEON_AUDIO_ENABLE )return ATOM_ENCODER_MODE_HDMI ; -else if (drm_detect_hdmi_monitor (radeon_connector_edid (connector)) && +else if (connector->display_info.is_hdmi && (radeon_connector->audio ==RADEON_AUDIO_AUTO ))return ATOM_ENCODER_MODE_HDMI ;else
@@ -754,7 +754,7 @@ atombios_get_encoder_mode(struct drm_encoder *encoder)break ;case DRM_MODE_CONNECTOR_eDP:if (radeon_audio !=0 && -drm_detect_monitor_audio (radeon_connector_edid (connector)) && + connector->display_info.has_audio &&ASIC_IS_DCE4 (rdev) && !ASIC_IS_DCE5 (rdev))return ATOM_ENCODER_MODE_DP_AUDIO ;return ATOM_ENCODER_MODE_DP ;
drivers/gpu/drm/radeon/evergreen_hdmi.c +2 -3
@@ -411,7 +411,7 @@ void evergreen_hdmi_enable(struct drm_encoder *encoder, bool enable)if (enable) {struct drm_connector *connector =radeon_get_connector_for_encoder (encoder); -if (connector &&drm_detect_monitor_audio (radeon_connector_edid (connector))) { +if (connector && connector->display_info.has_audio) { WREG32(HDMI_INFOFRAME_CONTROL0 + dig->afmt->offset, HDMI_AVI_INFO_SEND | /* enable AVI info frames */ HDMI_AVI_INFO_CONT | /* required for audio info values to be updated */
@@ -449,8 +449,7 @@ void evergreen_dp_enable(struct drm_encoder *encoder, bool enable)if (!dig || !dig->afmt)return ; -if (enable && connector && -drm_detect_monitor_audio (radeon_connector_edid (connector))) { +if (enable && connector && connector->display_info.has_audio) {struct drm_connector *connector =radeon_get_connector_for_encoder (encoder);struct radeon_connector *radeon_connector =to_radeon_connector (connector);struct radeon_connector_atom_dig *dig_connector;
drivers/gpu/drm/radeon/radeon_audio.c +3 -3
@@ -408,7 +408,7 @@ void radeon_audio_detect(struct drm_connector *connector, radeon_encoder->audio = rdev->audio.hdmi_funcs; } -if (drm_detect_monitor_audio (radeon_connector_edid (connector))) { +if (connector->display_info.has_audio) {if (!dig->pin) dig->pin =radeon_audio_get_pin (encoder);radeon_audio_enable (rdev, dig->pin,0xf );
@@ -645,7 +645,7 @@ static void radeon_audio_hdmi_mode_set(struct drm_encoder *encoder,if (!connector)return ; -if (drm_detect_monitor_audio (radeon_connector_edid (connector))) { +if (connector->display_info.has_audio) {radeon_audio_set_mute (encoder, true);radeon_audio_write_speaker_allocation (encoder);
@@ -685,7 +685,7 @@ static void radeon_audio_dp_mode_set(struct drm_encoder *encoder,if (!connector)return ; -if (drm_detect_monitor_audio (radeon_connector_edid (connector))) { +if (connector->display_info.has_audio) {radeon_audio_write_speaker_allocation (encoder);radeon_audio_write_sad_regs (encoder);radeon_audio_write_latency_fields (encoder, mode);
drivers/gpu/drm/radeon/radeon_connectors.c +6 -6
@@ -109,7 +109,7 @@ int radeon_get_monitor_bpc(struct drm_connector *connector)case DRM_MODE_CONNECTOR_DVII :case DRM_MODE_CONNECTOR_HDMIB :if (radeon_connector->use_digital) { -if (drm_detect_hdmi_monitor (radeon_connector_edid (connector))) { +if (connector->display_info.is_hdmi) {if (connector->display_info.bpc) bpc = connector->display_info.bpc; }
@@ -117,7 +117,7 @@ int radeon_get_monitor_bpc(struct drm_connector *connector)break ;case DRM_MODE_CONNECTOR_DVID :case DRM_MODE_CONNECTOR_HDMIA : -if (drm_detect_hdmi_monitor (radeon_connector_edid (connector))) { +if (connector->display_info.is_hdmi) {if (connector->display_info.bpc) bpc = connector->display_info.bpc; }
@@ -126,7 +126,7 @@ int radeon_get_monitor_bpc(struct drm_connector *connector) dig_connector = radeon_connector->con_priv;if ((dig_connector->dp_sink_type ==CONNECTOR_OBJECT_ID_DISPLAYPORT ) || (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP) || -drm_detect_hdmi_monitor (radeon_connector_edid (connector))) { + connector->display_info.is_hdmi) {if (connector->display_info.bpc) bpc = connector->display_info.bpc; }
@@ -150,7 +150,7 @@ int radeon_get_monitor_bpc(struct drm_connector *connector)break ; } -if (drm_detect_hdmi_monitor (radeon_connector_edid (connector))) { +if (connector->display_info.is_hdmi) {/* hdmi deep color only implemented on DCE4+ */ if ((bpc >8 ) && !ASIC_IS_DCE4 (rdev)) { DRM_DEBUG("%s: HDMI deep color %d bpc unsupported. Using 8 bpc.\n",
@@ -1479,7 +1479,7 @@ static enum drm_mode_status radeon_dvi_mode_valid(struct drm_connector *connecto (radeon_connector->connector_object_id ==CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D ) || (radeon_connector->connector_object_id == CONNECTOR_OBJECT_ID_HDMI_TYPE_B)) return MODE_OK; - else if (ASIC_IS_DCE6(rdev) && drm_detect_hdmi_monitor(radeon_connector_edid(connector))) { + else if (ASIC_IS_DCE6(rdev) && connector->display_info.is_hdmi) {/* HDMI 1.3+ supports max clock of 340 Mhz */ if (mode->clock >340000 )return MODE_CLOCK_HIGH ;
@@ -1775,7 +1775,7 @@ static enum drm_mode_status radeon_dp_mode_valid(struct drm_connector *connector (radeon_dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) { return radeon_dp_mode_valid_helper(connector, mode); } else { -if (ASIC_IS_DCE6 (rdev) &&drm_detect_hdmi_monitor (radeon_connector_edid (connector))) { +if (ASIC_IS_DCE6 (rdev) && connector->display_info.is_hdmi) {/* HDMI 1.3+ supports max clock of 340 Mhz */ if (mode->clock >340000 )return MODE_CLOCK_HIGH ;
drivers/gpu/drm/radeon/radeon_display.c +1 -1
@@ -1727,7 +1727,7 @@ bool radeon_crtc_scaling_mode_fixup(struct drm_crtc *crtc, (!(mode->flags &DRM_MODE_FLAG_INTERLACE )) && ((radeon_encoder->underscan_type ==UNDERSCAN_ON ) || ((radeon_encoder->underscan_type ==UNDERSCAN_AUTO ) && -drm_detect_hdmi_monitor (radeon_connector_edid (connector)) && + connector->display_info.is_hdmi && is_hdtv_mode(mode)))) { if (radeon_encoder->underscan_hborder != 0) radeon_crtc->h_border = radeon_encoder->underscan_hborder;
drivers/gpu/drm/radeon/radeon_encoders.c +2 -2
@@ -382,7 +382,7 @@ bool radeon_dig_monitor_is_duallink(struct drm_encoder *encoder,case DRM_MODE_CONNECTOR_HDMIB :if (radeon_connector->use_digital) {/* HDMI 1.3 supports up to 340 Mhz over single link */ -if (ASIC_IS_DCE6 (rdev) &&drm_detect_hdmi_monitor (radeon_connector_edid (connector))) { +if (ASIC_IS_DCE6 (rdev) && connector->display_info.is_hdmi) {if (pixel_clock >340000 )return true;else
@@ -404,7 +404,7 @@ bool radeon_dig_monitor_is_duallink(struct drm_encoder *encoder,return false; else {/* HDMI 1.3 supports up to 340 Mhz over single link */ -if (ASIC_IS_DCE6 (rdev) &&drm_detect_hdmi_monitor (radeon_connector_edid (connector))) { +if (ASIC_IS_DCE6 (rdev) && connector->display_info.is_hdmi) {if (pixel_clock >340000 )return true;else
Signature · 1 line
2.39.2
PATCH 4/12 drm/radeon: remove radeon_connector_edid() and stop using edid_blob_ptr
In reply to Jani Nikularadeon_connector_edid() copies the EDID from edid_blob_ptr as a side effect if radeon_connector->edid isn't initialized. However, everywhere that the returned EDID is used, the EDID should have been set beforehands.
Only the EDID code and sysfs should look at the EDID property, anyway, so stop using it.
--- drivers/gpu/drm/radeon/radeon_audio.c | 5 ++--- drivers/gpu/drm/radeon/radeon_connectors.c | 15 --------------- drivers/gpu/drm/radeon/radeon_mode.h | 2 -- 3 files changed, 2 insertions(+), 20 deletions(-)
drivers/gpu/drm/radeon/radeon_audio.c +2 -3
@@ -309,7 +309,7 @@ static void radeon_audio_write_sad_regs(struct drm_encoder *encoder)if (!connector)return ; - sad_count =drm_edid_to_sad (radeon_connector_edid (connector), &sads); + sad_count =drm_edid_to_sad (radeon_connector->edid, &sads);if (sad_count <0 )DRM_ERROR ("Couldn't read SADs: %d\n" , sad_count);if (sad_count <=0 )
@@ -332,8 +332,7 @@ static void radeon_audio_write_speaker_allocation(struct drm_encoder *encoder)if (!connector)return ; - sad_count =drm_edid_to_speaker_allocation (radeon_connector_edid (connector), - &sadb); + sad_count =drm_edid_to_speaker_allocation (radeon_connector->edid, &sadb);if (sad_count <0 ) {DRM_DEBUG ("Couldn't read Speaker Allocation Data Block: %d\n" , sad_count);
drivers/gpu/drm/radeon/radeon_connectors.c +0 -15
@@ -256,21 +256,6 @@ static struct drm_encoder *radeon_find_encoder(struct drm_connector *connector,return NULL ; } -struct edid *radeon_connector_edid (struct drm_connector *connector) -{ -struct radeon_connector *radeon_connector =to_radeon_connector (connector); -struct drm_property_blob *edid_blob = connector->edid_blob_ptr; - -if (radeon_connector->edid) { -return radeon_connector->edid; - }else if (edid_blob) { -struct edid *edid =kmemdup (edid_blob->data, edid_blob->length,GFP_KERNEL ); -if (edid) - radeon_connector->edid = edid; - } -return radeon_connector->edid; -} -static void radeon_connector_get_edid (struct drm_connector *connector) {struct drm_device *dev = connector->dev;
drivers/gpu/drm/radeon/radeon_mode.h +0 -2
@@ -708,8 +708,6 @@ extern u16 radeon_connector_encoder_get_dp_bridge_encoder_id(struct drm_connectoextern bool radeon_connector_is_dp12_capable (struct drm_connector *connector);extern int radeon_get_monitor_bpc (struct drm_connector *connector); -extern struct edid *radeon_connector_edid (struct drm_connector *connector); -extern void radeon_connector_hotplug (struct drm_connector *connector);extern int radeon_dp_mode_valid_helper (struct drm_connector *connector,struct drm_display_mode *mode);
Signature · 1 line
2.39.2
kernel test robot
build botRe: [PATCH 04/12] drm/radeon: remove radeon_connector_edid() and stop using edid_blob_ptr
I love your patch! Yet something to improve:
Hi Jani,
I love your patch! Yet something to improve:
[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-exynos/exynos-drm-next linus/master v6.3-rc4 next-20230330] [If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Jani-Nikula/drm-edid-parse-display-info-has_audio-similar-to-is_hdmi/20230330-234201 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/e4cb7b0c7217511429e69c1c78729f0e864c5b24.1680190534.git.jani.nikula%40intel.com patch subject: [PATCH 04/12] drm/radeon: remove radeon_connector_edid() and stop using edid_blob_ptr config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20230331/[email protected]/config) compiler: s390-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/ad73d8b0ebf2124b058e95ef5831caa8f2d34229
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Jani-Nikula/drm-edid-parse-display-info-has_audio-similar-to-is_hdmi/20230330-234201 git checkout ad73d8b0ebf2124b058e95ef5831caa8f2d34229
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash drivers/gpu/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
drivers/gpu/drm/radeon/radeon_audio.c: In function 'radeon_audio_write_sad_regs':
>> drivers/gpu/drm/radeon/radeon_audio.c:312:37: error: 'radeon_connector' undeclared (first use in this function)
312 | sad_count = drm_edid_to_sad(radeon_connector->edid, &sads);
| ^~~~~~~~~~~~~~~~
drivers/gpu/drm/radeon/radeon_audio.c:312:37: note: each undeclared identifier is reported only once for each function it appears in
drivers/gpu/drm/radeon/radeon_audio.c: In function 'radeon_audio_write_speaker_allocation':
drivers/gpu/drm/radeon/radeon_audio.c:335:52: error: 'radeon_connector' undeclared (first use in this function)
335 | sad_count = drm_edid_to_speaker_allocation(radeon_connector->edid, &sadb);
| ^~~~~~~~~~~~~~~~vim +/radeon_connector +312 drivers/gpu/drm/radeon/radeon_audio.c
301
302 static void radeon_audio_write_sad_regs(struct drm_encoder *encoder)
303 {
304 struct drm_connector *connector = radeon_get_connector_for_encoder(encoder);
305 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder);
306 struct cea_sad *sads;
307 int sad_count;
308
309 if (!connector)
310 return;
311
> 312 sad_count = drm_edid_to_sad(radeon_connector->edid, &sads);
313 if (sad_count < 0)
314 DRM_ERROR("Couldn't read SADs: %d\n", sad_count);
315 if (sad_count <= 0)
316 return;
317 BUG_ON(!sads);
318
319 if (radeon_encoder->audio && radeon_encoder->audio->write_sad_regs)
320 radeon_encoder->audio->write_sad_regs(encoder, sads, sad_count);
321
322 kfree(sads);
323 }
324
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
kernel test robot
build botRe: [PATCH 04/12] drm/radeon: remove radeon_connector_edid() and stop using edid_blob_ptr
In reply to Jani NikulaI love your patch! Yet something to improve:
Hi Jani,
I love your patch! Yet something to improve:
[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-exynos/exynos-drm-next linus/master v6.3-rc4 next-20230330] [If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Jani-Nikula/drm-edid-parse-display-info-has_audio-similar-to-is_hdmi/20230330-234201 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/e4cb7b0c7217511429e69c1c78729f0e864c5b24.1680190534.git.jani.nikula%40intel.com patch subject: [PATCH 04/12] drm/radeon: remove radeon_connector_edid() and stop using edid_blob_ptr config: riscv-randconfig-r042-20230329 (https://download.01.org/0day-ci/archive/20230331/[email protected]/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/intel-lab-lkp/linux/commit/ad73d8b0ebf2124b058e95ef5831caa8f2d34229
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Jani-Nikula/drm-edid-parse-display-info-has_audio-similar-to-is_hdmi/20230330-234201 git checkout ad73d8b0ebf2124b058e95ef5831caa8f2d34229
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash drivers/gpu/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/radeon/radeon_audio.c:312:30: error: use of undeclared identifier 'radeon_connector'
sad_count = drm_edid_to_sad(radeon_connector->edid, &sads);
^
drivers/gpu/drm/radeon/radeon_audio.c:335:45: error: use of undeclared identifier 'radeon_connector'
sad_count = drm_edid_to_speaker_allocation(radeon_connector->edid, &sadb);
^2 errors generated.
vim +/radeon_connector +312 drivers/gpu/drm/radeon/radeon_audio.c
301
302 static void radeon_audio_write_sad_regs(struct drm_encoder *encoder)
303 {
304 struct drm_connector *connector = radeon_get_connector_for_encoder(encoder);
305 struct radeon_encoder *radeon_encoder = to_radeon_encoder(encoder);
306 struct cea_sad *sads;
307 int sad_count;
308
309 if (!connector)
310 return;
311
> 312 sad_count = drm_edid_to_sad(radeon_connector->edid, &sads);
313 if (sad_count < 0)
314 DRM_ERROR("Couldn't read SADs: %d\n", sad_count);
315 if (sad_count <= 0)
316 return;
317 BUG_ON(!sads);
318
319 if (radeon_encoder->audio && radeon_encoder->audio->write_sad_regs)
320 radeon_encoder->audio->write_sad_regs(encoder, sads, sad_count);
321
322 kfree(sads);
323 }
324
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests
Re: [PATCH 04/12] drm/radeon: remove radeon_connector_edid() and stop using edid_blob_ptr
In reply to Jani NikulaQuoted 7 lines · Jani Nikula
radeon_connector_edid()copies the EDID fromedid_blob_ptras a side effect ifradeon_connector->edidisn't initialized. However, everywhere that the returned EDID is used, the EDID should have been set beforehands.Only the EDID code and sysfs should look at the EDID property, anyway, so stop using it.
Never mind this, I need to fix my config to actually build this. *facepalm*
Quoted 74 lines
Cc Alex Deucher <[email protected]>Cc Christian König <[email protected]>Cc Pan, Xinhui <[email protected]>Signed-off-by Jani Nikula <[email protected]>--- drivers/gpu/drm/radeon/radeon_audio.c | 5 ++--- drivers/gpu/drm/radeon/radeon_connectors.c | 15 --------------- drivers/gpu/drm/radeon/radeon_mode.h | 2 -- 3 files changed, 2 insertions(+), 20 deletions(-)drivers/gpu/drm/radeon/radeon_audio.c +2
-3@@ -309,7 +309,7 @@ static void radeon_audio_write_sad_regs(struct drm_encoder *encoder)if (!connector)return ; - sad_count =drm_edid_to_sad (radeon_connector_edid (connector), &sads); + sad_count =drm_edid_to_sad (radeon_connector->edid, &sads);if (sad_count <0 )DRM_ERROR ("Couldn't read SADs: %d\n" , sad_count);if (sad_count <=0 )@@ -332,8 +332,7 @@ static void radeon_audio_write_speaker_allocation(struct drm_encoder *encoder)if (!connector)return ; - sad_count =drm_edid_to_speaker_allocation (radeon_connector_edid (connector), - &sadb); + sad_count =drm_edid_to_speaker_allocation (radeon_connector->edid, &sadb);if (sad_count <0 ) {DRM_DEBUG ("Couldn't read Speaker Allocation Data Block: %d\n" , sad_count);drivers/gpu/drm/radeon/radeon_connectors.c +0
-15@@ -256,21 +256,6 @@ static struct drm_encoder *radeon_find_encoder(struct drm_connector *connector,return NULL ; } -struct edid *radeon_connector_edid (struct drm_connector *connector) -{ -struct radeon_connector *radeon_connector =to_radeon_connector (connector); -struct drm_property_blob *edid_blob = connector->edid_blob_ptr; - -if (radeon_connector->edid) { -return radeon_connector->edid; - }else if (edid_blob) { -struct edid *edid =kmemdup (edid_blob->data, edid_blob->length,GFP_KERNEL ); -if (edid) - radeon_connector->edid = edid; - } -return radeon_connector->edid; -} -static void radeon_connector_get_edid (struct drm_connector *connector) {struct drm_device *dev = connector->dev;drivers/gpu/drm/radeon/radeon_mode.h +0
-2@@ -708,8 +708,6 @@ extern u16 radeon_connector_encoder_get_dp_bridge_encoder_id(struct drm_connectoextern bool radeon_connector_is_dp12_capable (struct drm_connector *connector);extern int radeon_get_monitor_bpc (struct drm_connector *connector); -extern struct edid *radeon_connector_edid (struct drm_connector *connector); -extern void radeon_connector_hotplug (struct drm_connector *connector);extern int radeon_dp_mode_valid_helper (struct drm_connector *connector,struct drm_display_mode *mode);
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
PATCH 5/12 drm/amdgpu: remove amdgpu_connector_edid() and stop using edid_blob_ptr
In reply to Jani Nikulaamdgpu_connector_edid() copies the EDID from edid_blob_ptr as a side effect if amdgpu_connector->edid isn't initialized. However, everywhere that the returned EDID is used, the EDID should have been set beforehands.
Only the EDID code and sysfs should look at the EDID property, anyway, so stop using it.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | 15 --------------- drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.h | 1 - drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 4 ++-- 6 files changed, 8 insertions(+), 24 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c +0 -15
@@ -246,21 +246,6 @@ amdgpu_connector_find_encoder(struct drm_connector *connector,return NULL ; } -struct edid *amdgpu_connector_edid (struct drm_connector *connector) -{ -struct amdgpu_connector *amdgpu_connector =to_amdgpu_connector (connector); -struct drm_property_blob *edid_blob = connector->edid_blob_ptr; - -if (amdgpu_connector->edid) { -return amdgpu_connector->edid; - }else if (edid_blob) { -struct edid *edid =kmemdup (edid_blob->data, edid_blob->length,GFP_KERNEL ); -if (edid) - amdgpu_connector->edid = edid; - } -return amdgpu_connector->edid; -} -static struct edid *amdgpu_connector_get_hardcoded_edid (struct amdgpu_device *adev) {
drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.h +0 -1
@@ -24,7 +24,6 @@#ifndef __AMDGPU_CONNECTORS_H__#define __AMDGPU_CONNECTORS_H__ -struct edid *amdgpu_connector_edid (struct drm_connector *connector);void amdgpu_connector_hotplug (struct drm_connector *connector);int amdgpu_connector_get_monitor_bpc (struct drm_connector *connector);u16 amdgpu_connector_encoder_get_dp_bridge_encoder_id (struct drm_connector *connector);
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c +2 -2
@@ -1302,7 +1302,7 @@ static void dce_v10_0_audio_write_speaker_allocation(struct drm_encoder *encoderreturn ; } - sad_count =drm_edid_to_speaker_allocation (amdgpu_connector_edid (connector), &sadb); + sad_count =drm_edid_to_speaker_allocation (amdgpu_connector->edid, &sadb);if (sad_count <0 ) {DRM_ERROR ("Couldn't read Speaker Allocation Data Block: %d\n" , sad_count); sad_count =0 ;
@@ -1372,7 +1372,7 @@ static void dce_v10_0_audio_write_sad_regs(struct drm_encoder *encoder)return ; } - sad_count =drm_edid_to_sad (amdgpu_connector_edid (connector), &sads); + sad_count =drm_edid_to_sad (amdgpu_connector->edid, &sads);if (sad_count <0 )DRM_ERROR ("Couldn't read SADs: %d\n" , sad_count);if (sad_count <=0 )
drivers/gpu/drm/amd/amdgpu/dce_v11_0.c +2 -2
@@ -1328,7 +1328,7 @@ static void dce_v11_0_audio_write_speaker_allocation(struct drm_encoder *encoderreturn ; } - sad_count =drm_edid_to_speaker_allocation (amdgpu_connector_edid (connector), &sadb); + sad_count =drm_edid_to_speaker_allocation (amdgpu_connector->edid, &sadb);if (sad_count <0 ) {DRM_ERROR ("Couldn't read Speaker Allocation Data Block: %d\n" , sad_count); sad_count =0 ;
@@ -1398,7 +1398,7 @@ static void dce_v11_0_audio_write_sad_regs(struct drm_encoder *encoder)return ; } - sad_count =drm_edid_to_sad (amdgpu_connector_edid (connector), &sads); + sad_count =drm_edid_to_sad (amdgpu_connector->edid, &sads);if (sad_count <0 )DRM_ERROR ("Couldn't read SADs: %d\n" , sad_count);if (sad_count <=0 )
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c +2 -2
@@ -1200,7 +1200,7 @@ static void dce_v6_0_audio_write_speaker_allocation(struct drm_encoder *encoder)return ; } - sad_count =drm_edid_to_speaker_allocation (amdgpu_connector_edid (connector), &sadb); + sad_count =drm_edid_to_speaker_allocation (amdgpu_connector->edid, &sadb);if (sad_count <0 ) {DRM_ERROR ("Couldn't read Speaker Allocation Data Block: %d\n" , sad_count); sad_count =0 ;
@@ -1275,7 +1275,7 @@ static void dce_v6_0_audio_write_sad_regs(struct drm_encoder *encoder)return ; } - sad_count =drm_edid_to_sad (amdgpu_connector_edid (connector), &sads); + sad_count =drm_edid_to_sad (amdgpu_connector->edid, &sads);if (sad_count <0 )DRM_ERROR ("Couldn't read SADs: %d\n" , sad_count);if (sad_count <=0 )
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c +2 -2
@@ -1257,7 +1257,7 @@ static void dce_v8_0_audio_write_speaker_allocation(struct drm_encoder *encoder)return ; } - sad_count =drm_edid_to_speaker_allocation (amdgpu_connector_edid (connector), &sadb); + sad_count =drm_edid_to_speaker_allocation (amdgpu_connector->edid, &sadb);if (sad_count <0 ) {DRM_ERROR ("Couldn't read Speaker Allocation Data Block: %d\n" , sad_count); sad_count =0 ;
@@ -1325,7 +1325,7 @@ static void dce_v8_0_audio_write_sad_regs(struct drm_encoder *encoder)return ; } - sad_count =drm_edid_to_sad (amdgpu_connector_edid (connector), &sads); + sad_count =drm_edid_to_sad (amdgpu_connector->edid, &sads);if (sad_count <0 )DRM_ERROR ("Couldn't read SADs: %d\n" , sad_count);if (sad_count <=0 )
Signature · 1 line
2.39.2
PATCH 6/12 drm/i915/debugfs: stop using edid_blob_ptr
In reply to Jani NikulaOnly the EDID code and sysfs should look at the EDID property. Stop using it.
--- drivers/gpu/drm/i915/display/intel_display_debugfs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/display/intel_display_debugfs.c +5 -5
@@ -6,6 +6,7 @@#include <linux/string_helpers.h> #include <drm/drm_debugfs.h> +#include <drm/drm_edid.h> #include <drm/drm_fourcc.h> #include "hsw_ips.h"
@@ -226,19 +227,18 @@ static void intel_hdcp_info(struct seq_file *m,seq_puts (m,"\n" ); } -static void intel_dp_info (struct seq_file *m, -struct intel_connector *intel_connector) +static void intel_dp_info (struct seq_file *m,struct intel_connector *connector) { -struct intel_encoder *intel_encoder =intel_attached_encoder (intel_connector); +struct intel_encoder *intel_encoder =intel_attached_encoder (connector);struct intel_dp *intel_dp =enc_to_intel_dp (intel_encoder); -const struct drm_property_blob *edid = intel_connector->base.edid_blob_ptr; +const struct edid *edid =drm_edid_raw (connector->detect_edid);seq_printf (m,"\tDPCD rev: %x\n" , intel_dp->dpcd[DP_DPCD_REV ]);seq_printf (m,"\taudio support: %s\n" ,str_yes_no (intel_dp->has_audio));drm_dp_downstream_debug (m, intel_dp->dpcd, intel_dp->downstream_ports, - edid ? edid->data :NULL , &intel_dp->aux); + edid, &intel_dp->aux); } static void intel_dp_mst_info(struct seq_file *m,
Signature · 1 line
2.39.2
PATCH 7/12 drm/exynos: fix is_hdmi usage
In reply to Jani Nikuladrm_connector_update_edid_property() must have been called before to ensure is_hdmi has been populated.
--- drivers/gpu/drm/exynos/exynos_hdmi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/exynos/exynos_hdmi.c +2 -1
@@ -893,12 +893,13 @@ static int hdmi_get_modes(struct drm_connector *connector)if (!edid)return -ENODEV ; +drm_connector_update_edid_property (connector, edid); + hdata->dvi_mode = !connector->display_info.is_hdmi;DRM_DEV_DEBUG_KMS (hdata->dev,"%s : width[%d] x height[%d]\n" , (hdata->dvi_mode ?"dvi monitor" :"hdmi monitor" ), edid->width_cm, edid->height_cm); -drm_connector_update_edid_property (connector, edid);cec_notifier_set_phys_addr_from_edid (hdata->notifier, edid); ret =drm_add_edid_modes (connector, edid);
Signature · 1 line
2.39.2
PATCH 8/12 drm/i2c/tda998x: convert to using has_audio from display_info
In reply to Jani NikulaPrefer the parsed results for has_audio in display info over calling drm_detect_monitor_audio().
--- drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i2c/tda998x_drv.c +1 -1
@@ -1312,7 +1312,7 @@ static int tda998x_connector_get_modes(struct drm_connector *connector)mutex_lock (&priv->audio_mutex); n =drm_add_edid_modes (connector, edid); - priv->sink_has_audio =drm_detect_monitor_audio (edid); + priv->sink_has_audio = connector->display_info.has_audio;mutex_unlock (&priv->audio_mutex);kfree (edid);
Signature · 1 line
2.39.2
PATCH 9/12 drm/sti/sti_hdmi: convert to using is_hdmi from display info
In reply to Jani NikulaPrefer the parsed results for is_hdmi in display info over calling drm_detect_hdmi_monitor(). Remove the now redundant hdmi_monitor member from struct sti_hdmi.
--- drivers/gpu/drm/sti/sti_hdmi.c | 11 ++++++----- drivers/gpu/drm/sti/sti_hdmi.h | 2 -- 2 files changed, 6 insertions(+), 7 deletions(-)
drivers/gpu/drm/sti/sti_hdmi.c +6 -5
@@ -266,6 +266,7 @@ static void hdmi_active_area(struct sti_hdmi *hdmi)*/ static void hdmi_config (struct sti_hdmi *hdmi) { +struct drm_connector *connector = hdmi->drm_connector;u32 conf;DRM_DEBUG_DRIVER ("\n" );
@@ -275,7 +276,7 @@ static void hdmi_config(struct sti_hdmi *hdmi)/* Select encryption type and the framing mode */ conf |=HDMI_CFG_ESS_NOT_OESS ; -if (hdmi->hdmi_monitor) +if (connector->display_info.is_hdmi) conf |=HDMI_CFG_HDMI_NOT_DVI ;/* Set Hsync polarity */
@@ -985,15 +986,15 @@ static int sti_hdmi_connector_get_modes(struct drm_connector *connector)if (!edid) goto fail; - hdmi->hdmi_monitor =drm_detect_hdmi_monitor (edid); -DRM_DEBUG_KMS ("%s : %dx%d cm\n" , - (hdmi->hdmi_monitor ?"hdmi monitor" :"dvi monitor" ), - edid->width_cm, edid->height_cm);cec_notifier_set_phys_addr_from_edid (hdmi->notifier, edid); count =drm_add_edid_modes (connector, edid);drm_connector_update_edid_property (connector, edid); +DRM_DEBUG_KMS ("%s : %dx%d cm\n" , + (connector->display_info.is_hdmi ?"hdmi monitor" :"dvi monitor" ), + edid->width_cm, edid->height_cm); +kfree (edid);return count;
drivers/gpu/drm/sti/sti_hdmi.h +0 -2
@@ -57,7 +57,6 @@ struct hdmi_audio_params {* @reset: reset control of the hdmi phy * @ddc_adapt: i2c ddc adapter * @colorspace: current colorspace selected -* @hdmi_monitor: true if HDMI monitor detected else DVI monitor assumed * @audio_pdev: ASoC hdmi-codec platform device * @audio: hdmi audio parameters. * @drm_connector: hdmi connector
@@ -83,7 +82,6 @@ struct sti_hdmi {struct reset_control *reset;struct i2c_adapter *ddc_adapt;enum hdmi_colorspace colorspace; -bool hdmi_monitor;struct platform_device *audio_pdev;struct hdmi_audio_params audio;struct drm_connector *drm_connector;
Signature · 1 line
2.39.2
PATCH 10/12 drm/rockchip: cdn-dp: call drm_connector_update_edid_property() unconditionally
In reply to Jani NikulaCalling drm_connector_update_edid_property() should be done unconditionally instead of depending on the number of modes added. Also match the call order in inno_hdmi and rk3066_hdmi.
--- drivers/gpu/drm/rockchip/cdn-dp-core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/gpu/drm/rockchip/cdn-dp-core.c +2 -3
@@ -273,10 +273,9 @@ static int cdn_dp_connector_get_modes(struct drm_connector *connector) edid->width_cm, edid->height_cm); dp->sink_has_audio =drm_detect_monitor_audio (edid); + +drm_connector_update_edid_property (connector, edid); ret =drm_add_edid_modes (connector, edid); -if (ret) -drm_connector_update_edid_property (connector, - edid); }mutex_unlock (&dp->lock);
Signature · 1 line
2.39.2
Re: [PATCH 10/12] drm/rockchip: cdn-dp: call drm_connector_update_edid_property() unconditionally
Am Donnerstag, 30. März 2023, 17:39:47 CEST schrieb Jani Nikula:
Quoted 7 lines
Calling
drm_connector_update_edid_property()should be done unconditionally instead of depending on the number of modes added. Also match the call order ininno_hdmiandrk3066_hdmi.Cc Sandy Huang <[email protected]>Cc Heiko Stübner <[email protected]>Signed-off-by Jani Nikula <[email protected]>
Quoted 22 lines
--- drivers/gpu/drm/rockchip/cdn-dp-core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)drivers/gpu/drm/rockchip/cdn-dp-core.c +2
-3@@ -273,10 +273,9 @@ static int cdn_dp_connector_get_modes(struct drm_connector *connector) edid->width_cm, edid->height_cm); dp->sink_has_audio =drm_detect_monitor_audio (edid); + +drm_connector_update_edid_property (connector, edid); ret =drm_add_edid_modes (connector, edid); -if (ret) -drm_connector_update_edid_property (connector, - edid); }mutex_unlock (&dp->lock);
PATCH 11/12 drm/rockchip: convert to using has_audio from display_info
In reply to Jani NikulaPrefer the parsed results for has_audio in display info over calling drm_detect_monitor_audio().
--- drivers/gpu/drm/rockchip/cdn-dp-core.c | 4 ++-- drivers/gpu/drm/rockchip/inno_hdmi.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-)
drivers/gpu/drm/rockchip/cdn-dp-core.c +2 -2
@@ -272,10 +272,10 @@ static int cdn_dp_connector_get_modes(struct drm_connector *connector)DRM_DEV_DEBUG_KMS (dp->dev,"got edid: width[%d] x height[%d]\n" , edid->width_cm, edid->height_cm); - dp->sink_has_audio =drm_detect_monitor_audio (edid); -drm_connector_update_edid_property (connector, edid); ret =drm_add_edid_modes (connector, edid); + + dp->sink_has_audio = connector->display_info.has_audio; }mutex_unlock (&dp->lock);
drivers/gpu/drm/rockchip/inno_hdmi.c +2 -1
@@ -564,10 +564,11 @@ static int inno_hdmi_connector_get_modes(struct drm_connector *connector) edid =drm_get_edid (connector, hdmi->ddc);if (edid) { - hdmi->hdmi_data.sink_has_audio =drm_detect_monitor_audio (edid);drm_connector_update_edid_property (connector, edid); ret =drm_add_edid_modes (connector, edid);kfree (edid); + + hdmi->hdmi_data.sink_has_audio = connector->display_info.has_audio; }return ret;
Signature · 1 line
2.39.2
Re: [PATCH 11/12] drm/rockchip: convert to using has_audio from display_info
Am Donnerstag, 30. März 2023, 17:39:48 CEST schrieb Jani Nikula:
Quoted 6 lines
Prefer the parsed results for
has_audioin display info over callingdrm_detect_monitor_audio().Cc Sandy Huang <[email protected]>Cc Heiko Stübner <[email protected]>Signed-off-by Jani Nikula <[email protected]>
Quoted 40 lines
--- drivers/gpu/drm/rockchip/cdn-dp-core.c | 4 ++-- drivers/gpu/drm/rockchip/inno_hdmi.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-)drivers/gpu/drm/rockchip/cdn-dp-core.c +2
-2@@ -272,10 +272,10 @@ static int cdn_dp_connector_get_modes(struct drm_connector *connector)DRM_DEV_DEBUG_KMS (dp->dev,"got edid: width[%d] x height[%d]\n" , edid->width_cm, edid->height_cm); - dp->sink_has_audio =drm_detect_monitor_audio (edid); -drm_connector_update_edid_property (connector, edid); ret =drm_add_edid_modes (connector, edid); + + dp->sink_has_audio = connector->display_info.has_audio; }mutex_unlock (&dp->lock);drivers/gpu/drm/rockchip/inno_hdmi.c +2
-1@@ -564,10 +564,11 @@ static int inno_hdmi_connector_get_modes(struct drm_connector *connector) edid =drm_get_edid (connector, hdmi->ddc);if (edid) { - hdmi->hdmi_data.sink_has_audio =drm_detect_monitor_audio (edid);drm_connector_update_edid_property (connector, edid); ret =drm_add_edid_modes (connector, edid);kfree (edid); + + hdmi->hdmi_data.sink_has_audio = connector->display_info.has_audio; }return ret;
PATCH 12/12 drm/connector: update edid_blob_ptr documentation
In reply to Jani NikulaAccessing the EDID via edid_blob_ptr causes chicken-and-egg problems. Keep edid_blob_ptr as the userspace interface that should be updated via dedicated functions.
--- include/drm/drm_connector.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
include/drm/drm_connector.h +5 -1
@@ -1551,8 +1551,12 @@ struct drm_connector {/** * @edid_blob_ptr: DRM property containing EDID if present. Protected by -* &drm_mode_config.mutex. This should be updated only by calling +* &drm_mode_config.mutex. +* +* This should be updated only by calling drm_edid_connector_update() or * drm_connector_update_edid_property(). +* +* This should not be used by drivers directly. */ struct drm_property_blob *edid_blob_ptr;
Signature · 1 line
2.39.2
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm: reduce drm_detect_monitor_audio/drm_detect_hdmi_monitor/edid_blob_ptr usage
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm: reduce drm_detect_monitor_audio/drm_detect_hdmi_monitor/edid_blob_ptr usage
URL : https://patchwork.freedesktop.org/series/115878/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm: reduce drm_detect_monitor_audio/drm_detect_hdmi_monitor/edid_blob_ptr usage
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm: reduce drm_detect_monitor_audio/drm_detect_hdmi_monitor/edid_blob_ptr usage
URL : https://patchwork.freedesktop.org/series/115878/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12944 -> Patchwork_115878v1
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/index.html
Participating hosts (36 -> 37)
------------------------------
Additional (2): fi-kbl-soraka bat-dg2-9
Missing (1): fi-snb-2520m
Known issues
------------
Here are the changes found in Patchwork_115878v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_huc_copy@huc-copy:
- fi-kbl-soraka: NOTRUN -> [SKIP][1] ([fdo#109271] / [i915#2190])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/fi-kbl-soraka/igt@[email protected]
* igt@gem_lmem_swapping@basic:
- fi-kbl-soraka: NOTRUN -> [SKIP][2] ([fdo#109271] / [i915#4613]) +3 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/fi-kbl-soraka/igt@[email protected]
* igt@gem_mmap@basic:
- bat-dg2-9: NOTRUN -> [SKIP][3] ([i915#4083])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-9/igt@[email protected]
* igt@gem_mmap_gtt@basic:
- bat-dg2-9: NOTRUN -> [SKIP][4] ([i915#4077]) +2 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-9/igt@[email protected]
* igt@gem_render_tiled_blits@basic:
- bat-dg2-9: NOTRUN -> [SKIP][5] ([i915#4079]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-9/igt@[email protected]
* igt@i915_pm_backlight@basic-brightness:
- bat-dg2-9: NOTRUN -> [SKIP][6] ([i915#5354] / [i915#7561])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-9/igt@[email protected]
* igt@i915_pm_rps@basic-api:
- bat-dg2-11: [PASS][7] -> [FAIL][8] ([i915#8308])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12944/bat-dg2-11/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-11/igt@[email protected]
* igt@i915_selftest@live@gt_pm:
- fi-kbl-soraka: NOTRUN -> [DMESG-FAIL][9] ([i915#1886])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html
* igt@i915_selftest@live@mman:
- bat-rpls-2: [PASS][10] -> [TIMEOUT][11] ([i915#6794])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12944/bat-rpls-2/igt@i915_selftest@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-rpls-2/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@reset:
- bat-rpls-1: NOTRUN -> [ABORT][12] ([i915#4983])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-rpls-1/igt@i915_selftest@[email protected]
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-dg2-9: NOTRUN -> [SKIP][13] ([i915#5190])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-9/igt@[email protected]
* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-dg2-9: NOTRUN -> [SKIP][14] ([i915#4215] / [i915#5190])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-9/igt@[email protected]
* igt@kms_addfb_basic@framebuffer-vs-set-tiling:
- bat-dg2-9: NOTRUN -> [SKIP][15] ([i915#4212]) +7 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-9/igt@[email protected]
* igt@kms_chamelium_frames@hdmi-crc-fast:
- fi-kbl-soraka: NOTRUN -> [SKIP][16] ([fdo#109271]) +16 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/fi-kbl-soraka/igt@[email protected]
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- bat-rpls-2: NOTRUN -> [SKIP][17] ([i915#7828])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-rpls-2/igt@[email protected]
* igt@kms_chamelium_hpd@vga-hpd-fast:
- bat-dg2-9: NOTRUN -> [SKIP][18] ([i915#7828]) +8 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-9/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-dg2-9: NOTRUN -> [SKIP][19] ([i915#4103] / [i915#4213]) +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-9/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- bat-dg2-9: NOTRUN -> [SKIP][20] ([fdo#109285])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-9/igt@[email protected]
* igt@kms_force_connector_basic@prune-stale-modes:
- bat-dg2-9: NOTRUN -> [SKIP][21] ([i915#5274])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-9/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc:
- bat-rpls-2: NOTRUN -> [SKIP][22] ([i915#1845])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-rpls-2/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-c-hdmi-a-1:
- fi-rkl-11600: [PASS][23] -> [FAIL][24] ([fdo#103375])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12944/fi-rkl-11600/igt@kms_pipe_crc_basic@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/fi-rkl-11600/igt@kms_pipe_crc_basic@[email protected]
* igt@kms_psr@sprite_plane_onoff:
- bat-dg2-9: NOTRUN -> [SKIP][25] ([i915#1072]) +3 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-9/igt@kms_psr@sprite_plane_onoff.html
* igt@kms_setmode@basic-clone-single-crtc:
- bat-dg2-9: NOTRUN -> [SKIP][26] ([i915#3555] / [i915#4579])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-9/igt@[email protected]
* igt@prime_vgem@basic-fence-flip:
- bat-dg2-9: NOTRUN -> [SKIP][27] ([i915#3708])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-9/igt@[email protected]
* igt@prime_vgem@basic-fence-mmap:
- bat-dg2-9: NOTRUN -> [SKIP][28] ([i915#3708] / [i915#4077]) +1 similar issue
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-9/igt@[email protected]
* igt@prime_vgem@basic-userptr:
- bat-dg2-9: NOTRUN -> [SKIP][29] ([i915#3708] / [i915#4873])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-9/igt@[email protected]
* igt@prime_vgem@basic-write:
- bat-dg2-9: NOTRUN -> [SKIP][30] ([i915#3291] / [i915#3708]) +2 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-dg2-9/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@mman:
- bat-rpls-1: [TIMEOUT][31] ([i915#6794]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12944/bat-rpls-1/igt@i915_selftest@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/bat-rpls-1/igt@i915_selftest@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1886]: https://gitlab.freedesktop.org/drm/intel/issues/1886
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6794]: https://gitlab.freedesktop.org/drm/intel/issues/6794
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7872]: https://gitlab.freedesktop.org/drm/intel/issues/7872
[i915#8308]: https://gitlab.freedesktop.org/drm/intel/issues/8308
Build changes
-------------
* Linux: CI_DRM_12944 -> Patchwork_115878v1
CI-20190529: 20190529
CI_DRM_12944: 220512c315a72bf13a5a50af94c2e74f5a56d556 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7229: 4acf68be01b4fa60a3041e1571681f1474ac0548 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_115878v1: 220512c315a72bf13a5a50af94c2e74f5a56d556 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
f4298999f101 drm/connector: update edid_blob_ptr documentation9b33f001a6f6 drm/rockchip: convert to using has_audio from display_info 8fcc16df8736 drm/rockchip: cdn-dp: call drm_connector_update_edid_property() unconditionally a58264a5232c drm/sti/sti_hdmi: convert to using is_hdmi from display info 0c6f82e7caf3 drm/i2c/tda998x: convert to using has_audio from display_info ef4d926e36e1 drm/exynos: fix is_hdmi usagef79c3a8986b5 drm/i915/debugfs: stop using edid_blob_ptrefe053ccdd76 drm/amdgpu: remove amdgpu_connector_edid() and stop using edid_blob_ptr 6c90516c7a5e drm/radeon: remove radeon_connector_edid() and stop using edid_blob_ptr aef58a416669 drm/radeon: convert to using is_hdmi and has_audio from display info 14c0763223f7 drm/nouveau: convert to using is_hdmi and has_audio from display info f1f2e0d16c16 drm/edid: parse display info has_audio similar to is_hdmi
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/index.html
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for drm: reduce drm_detect_monitor_audio/drm_detect_hdmi_monitor/edid_blob_ptr usage
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm: reduce drm_detect_monitor_audio/drm_detect_hdmi_monitor/edid_blob_ptr usage
URL : https://patchwork.freedesktop.org/series/115878/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12944_full -> Patchwork_115878v1_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (7 -> 7)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in Patchwork_115878v1_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_lmem_swapping@parallel-multi:
- shard-glk: NOTRUN -> [SKIP][1] ([fdo#109271] / [i915#4613])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/shard-glk2/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-glk: [PASS][2] -> [FAIL][3] ([i915#2346])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12944/shard-glk8/igt@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/shard-glk9/igt@[email protected]
- shard-apl: [PASS][4] -> [FAIL][5] ([i915#2346])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12944/shard-apl7/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/shard-apl4/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@b-dp1:
- shard-apl: [PASS][6] -> [ABORT][7] ([i915#180])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12944/shard-apl6/igt@kms_flip@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/shard-apl2/igt@kms_flip@[email protected]
* igt@kms_writeback@writeback-check-output:
- shard-glk: NOTRUN -> [SKIP][8] ([fdo#109271] / [i915#2437])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/shard-glk2/igt@[email protected]
* igt@v3d/v3d_perfmon@create-perfmon-invalid-counters:
- shard-glk: NOTRUN -> [SKIP][9] ([fdo#109271]) +7 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/shard-glk2/igt@v3d/[email protected]
#### Possible fixes ####
* igt@gem_ctx_exec@basic-nohangcheck:
- {shard-tglu}: [FAIL][10] ([i915#6268]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12944/shard-tglu-6/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/shard-tglu-2/igt@[email protected]
* igt@i915_pm_rpm@dpms-mode-unset-non-lpsp:
- {shard-dg1}: [SKIP][12] ([i915#1397]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12944/shard-dg1-14/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/shard-dg1-16/igt@[email protected]
* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible@ab-hdmi-a1-hdmi-a2:
- shard-glk: [FAIL][14] ([i915#79]) -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12944/shard-glk3/igt@kms_flip@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/shard-glk2/igt@kms_flip@[email protected]
* {igt@perf@stress-open-close@0-rcs0}:
- shard-glk: [ABORT][16] ([i915#5213]) -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12944/shard-glk3/igt@perf@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/shard-glk2/igt@perf@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3528]: https://gitlab.freedesktop.org/drm/intel/issues/3528
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4859]: https://gitlab.freedesktop.org/drm/intel/issues/4859
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4885]: https://gitlab.freedesktop.org/drm/intel/issues/4885
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5213]: https://gitlab.freedesktop.org/drm/intel/issues/5213
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6946]: https://gitlab.freedesktop.org/drm/intel/issues/6946
[i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#8308]: https://gitlab.freedesktop.org/drm/intel/issues/8308
Build changes
-------------
* Linux: CI_DRM_12944 -> Patchwork_115878v1
CI-20190529: 20190529
CI_DRM_12944: 220512c315a72bf13a5a50af94c2e74f5a56d556 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7229: 4acf68be01b4fa60a3041e1571681f1474ac0548 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_115878v1: 220512c315a72bf13a5a50af94c2e74f5a56d556 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_115878v1/index.html