linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] drm/bridge: ti-sn65dsi86: Support EDID reading
@ 2020-11-02 18:11 Stephen Boyd
  2020-11-02 18:11 ` [PATCH v3 1/4] drm/bridge: ti-sn65dsi86: Combine register accesses in ti_sn_aux_transfer() Stephen Boyd
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Stephen Boyd @ 2020-11-02 18:11 UTC (permalink / raw)
  To: Andrzej Hajda, Neil Armstrong, Sam Ravnborg
  Cc: linux-kernel, dri-devel, Douglas Anderson, Laurent Pinchart,
	Jonas Karlman, Jernej Skrabec, Sean Paul

This patch series cleans up the DDC code a little bit so that
it is more efficient time wise and supports grabbing the EDID
of the eDP panel over the aux channel. I timed this on a board
I have on my desk and it takes about 20ms to grab the EDID out
of the panel and make sure it is valid.

The first two patches seem less controversial so I stuck them at
the beginning. The third patch does the EDID reading and caches
it so we don't have to keep grabbing it over and over again. And
finally the last patch updates the reply field so that short
reads and nacks over the channel are reflected properly instead of
treating them as some sort of error that can't be discerned.

Stephen Boyd (4):
  drm/bridge: ti-sn65dsi86: Combine register accesses in
    ti_sn_aux_transfer()
  drm/bridge: ti-sn65dsi86: Make polling a busy loop
  drm/bridge: ti-sn65dsi86: Read EDID blob over DDC
  drm/bridge: ti-sn65dsi86: Update reply on aux failures

 drivers/gpu/drm/bridge/ti-sn65dsi86.c | 103 ++++++++++++++++++--------
 1 file changed, 71 insertions(+), 32 deletions(-)

Cc: Douglas Anderson <dianders@chromium.org>
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
Cc: Jonas Karlman <jonas@kwiboo.se>
Cc: Jernej Skrabec <jernej.skrabec@siol.net>
Cc: Sean Paul <seanpaul@chromium.org>

base-commit: 3650b228f83adda7e5ee532e2b90429c03f7b9ec
-- 
Sent by a computer, using git, on the internet


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-05-07 21:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-02 18:11 [PATCH v3 0/4] drm/bridge: ti-sn65dsi86: Support EDID reading Stephen Boyd
2020-11-02 18:11 ` [PATCH v3 1/4] drm/bridge: ti-sn65dsi86: Combine register accesses in ti_sn_aux_transfer() Stephen Boyd
2020-11-02 18:11 ` [PATCH v3 2/4] drm/bridge: ti-sn65dsi86: Make polling a busy loop Stephen Boyd
2020-11-02 18:11 ` [PATCH v3 3/4] drm/bridge: ti-sn65dsi86: Read EDID blob over DDC Stephen Boyd
2021-03-18  0:20   ` Laurent Pinchart
2021-03-23  3:17     ` Stephen Boyd
2021-03-23 19:07       ` Doug Anderson
2021-03-23 19:52         ` Laurent Pinchart
2021-05-07 21:32           ` Doug Anderson
2020-11-02 18:11 ` [PATCH v3 4/4] drm/bridge: ti-sn65dsi86: Update reply on aux failures Stephen Boyd
2020-11-07 11:09 ` [PATCH v3 0/4] drm/bridge: ti-sn65dsi86: Support EDID reading Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).