All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: dri-devel@lists.freedesktop.org
Cc: "Archit Taneja" <architt@codeaurora.org>,
	"Benjamin Gaignard" <benjamin.gaignard@linaro.org>,
	jani.nikula@intel.com, intel-gfx@lists.freedesktop.org,
	"Russell King" <linux@armlinux.org.uk>,
	"Andrzej Hajda" <a.hajda@samsung.com>,
	"CK Hu" <ck.hu@mediatek.com>, "Ben Skeggs" <bskeggs@redhat.com>,
	"Philipp Zabel" <p.zabel@pengutronix.de>,
	"Alex Deucher" <alexander.deucher@amd.com>,
	"Vincent Abriou" <vincent.abriou@st.com>,
	"Christian König" <christian.koenig@amd.com>,
	"Mark Yao" <mark.yao@rock-chips.com>
Subject: [PATCH 0/7] drm/edid and drivers: ELD refactoring
Date: Wed,  1 Nov 2017 16:20:56 +0200	[thread overview]
Message-ID: <cover.1509545641.git.jani.nikula@intel.com> (raw)

We were recently bitten by drm_edid_to_eld() clearing the connector
type, and us failing to set it back for DP. Here's a few ELD related
patches to try to unify ELD handling and make it a bit simpler for
drivers to get it right.

Apologies for the massive Cc list; it's the maintainers of all drivers
that call drm_edid_to_eld().

I'm open to splitting up patch 6 to driver specific patches as needed,
but I'd think it would be just fine to merge via drm-misc as-is too.

BR,
Jani.

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Archit Taneja <architt@codeaurora.org>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: CK Hu <ck.hu@mediatek.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: Mark Yao <mark.yao@rock-chips.com>
Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Vincent Abriou <vincent.abriou@st.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Eric Anholt <eric@anholt.net>


Jani Nikula (7):
  drm/edid: use macros for ELD offsets and values
  drm/edid: set ELD connector type in drm_edid_to_eld()
  drm/i915: remove redundant ELD connector type update
  drm/edid: abstract connector ELD clearing
  drm/edid: build ELD in drm_add_edid_modes()
  drm/drivers: drop redundant drm_edid_to_eld() calls
  drm/edid: make drm_edid_to_eld() static

 drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c |  1 -
 drivers/gpu/drm/bridge/analogix-anx78xx.c      |  2 -
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c      |  2 -
 drivers/gpu/drm/drm_edid.c                     | 70 +++++++++++++++-----------
 drivers/gpu/drm/i2c/tda998x_drv.c              |  1 -
 drivers/gpu/drm/i915/intel_dp.c                |  1 -
 drivers/gpu/drm/i915/intel_modes.c             | 18 -------
 drivers/gpu/drm/mediatek/mtk_hdmi.c            |  1 -
 drivers/gpu/drm/nouveau/nv50_display.c         |  5 +-
 drivers/gpu/drm/radeon/radeon_connectors.c     |  1 -
 drivers/gpu/drm/radeon/radeon_dp_mst.c         |  1 -
 drivers/gpu/drm/rockchip/cdn-dp-core.c         |  4 +-
 drivers/gpu/drm/sti/sti_hdmi.c                 |  1 -
 drivers/gpu/drm/tegra/output.c                 |  1 -
 drivers/gpu/drm/vc4/vc4_hdmi.c                 |  1 -
 include/drm/drm_edid.h                         |  1 -
 include/drm/drm_modeset_helper_vtables.h       |  3 --
 17 files changed, 44 insertions(+), 70 deletions(-)

-- 
2.11.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

             reply	other threads:[~2017-11-01 14:20 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-01 14:20 Jani Nikula [this message]
2017-11-01 14:20 ` [PATCH 1/7] drm/edid: use macros for ELD offsets and values Jani Nikula
2017-11-01 14:20 ` [PATCH 2/7] drm/edid: set ELD connector type in drm_edid_to_eld() Jani Nikula
2017-11-01 14:20 ` [PATCH 3/7] drm/i915: remove redundant ELD connector type update Jani Nikula
2017-11-01 14:21 ` [PATCH 4/7] drm/edid: abstract connector ELD clearing Jani Nikula
2017-11-01 14:21 ` [PATCH 5/7] drm/edid: build ELD in drm_add_edid_modes() Jani Nikula
2017-11-01 14:21 ` [PATCH 6/7] drm/drivers: drop redundant drm_edid_to_eld() calls Jani Nikula
2017-11-01 15:05   ` Ville Syrjälä
2017-11-01 16:54   ` Eric Anholt
2017-11-06  4:28   ` Archit Taneja
2017-11-01 14:21 ` [PATCH 7/7] drm/edid: make drm_edid_to_eld() static Jani Nikula
2017-11-01 14:56 ` [PATCH 0/7] drm/edid and drivers: ELD refactoring Ville Syrjälä
2017-11-01 15:16 ` ✗ Fi.CI.BAT: warning for " Patchwork
2017-11-01 15:42 ` Patchwork
2017-11-01 18:55 ` Patchwork
2017-11-02  3:56 ` [PATCH 0/7] " Alex Deucher
2017-11-06 14:54 ` Thierry Reding

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1509545641.git.jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=a.hajda@samsung.com \
    --cc=alexander.deucher@amd.com \
    --cc=architt@codeaurora.org \
    --cc=benjamin.gaignard@linaro.org \
    --cc=bskeggs@redhat.com \
    --cc=christian.koenig@amd.com \
    --cc=ck.hu@mediatek.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.yao@rock-chips.com \
    --cc=p.zabel@pengutronix.de \
    --cc=vincent.abriou@st.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.