[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190814104520.6001-1-darekm@google.com>
Date: Wed, 14 Aug 2019 12:44:58 +0200
From: Dariusz Marcinkiewicz <darekm@...gle.com>
To: dri-devel@...ts.freedesktop.org, linux-media@...r.kernel.org,
hverkuil-cisco@...all.nl
Cc: Dariusz Marcinkiewicz <darekm@...gle.com>,
Alex Deucher <alexander.deucher@....com>,
Allison Randal <allison@...utok.net>,
amd-gfx@...ts.freedesktop.org, Andrzej Hajda <a.hajda@...sung.com>,
Chris Wilson <chris@...is-wilson.co.uk>,
Colin Ian King <colin.king@...onical.com>,
Daniel Vetter <daniel.vetter@...ll.ch>,
David Francis <David.Francis@....com>,
Dhinakaran Pandiyan <dhinakaran.pandiyan@...el.com>,
Douglas Anderson <dianders@...omium.org>,
Enrico Weigelt <info@...ux.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Hans Verkuil <hverkuil@...all.nl>,
Harry Wentland <harry.wentland@....com>,
Imre Deak <imre.deak@...el.com>,
intel-gfx@...ts.freedesktop.org,
Jani Nikula <jani.nikula@...el.com>,
Jernej Skrabec <jernej.skrabec@...l.net>,
"Jerry (Fangzhi) Zuo" <Jerry.Zuo@....com>,
Jonas Karlman <jonas@...boo.se>,
Kate Stewart <kstewart@...uxfoundation.org>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
Leo Li <sunpeng.li@....com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-samsung-soc@...r.kernel.org, linux-tegra@...r.kernel.org,
Lyude Paul <lyude@...hat.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Manasi Navare <manasi.d.navare@...el.com>,
Neil Armstrong <narmstrong@...libre.com>,
nouveau@...ts.freedesktop.org,
Ramalingam C <ramalingam.c@...el.com>,
Rodrigo Vivi <rodrigo.vivi@...el.com>,
Russell King <rmk+kernel@...linux.org.uk>,
Sam Ravnborg <sam@...nborg.org>,
Sean Paul <seanpaul@...omium.org>,
Shashank Sharma <shashank.sharma@...el.com>,
Thomas Gleixner <tglx@...utronix.de>,
Thomas Lim <Thomas.Lim@....com>,
"Ville Syrjälä"
<ville.syrjala@...ux.intel.com>
Subject: [PATCH v7 0/9] drm: cec: convert DRM drivers to the new notifier API
This series updates DRM drivers to use new CEC notifier API.
Changes since v6:
Made CEC notifiers' registration and de-registration symmetric
in tda998x and dw-hdmi drivers. Also, accidentally dropped one
patch in v6 (change to drm_dp_cec), brought it back now.
Changes since v5:
Fixed a warning about a missing comment for a new member of
drm_dp_aux_cec struct. Sending to a wider audience,
including maintainers of respective drivers.
Changes since v4:
Addressing review comments.
Changes since v3:
Updated adapter flags in dw-hdmi-cec.
Changes since v2:
Include all DRM patches from "cec: improve notifier support,
add connector info connector info" series.
Changes since v1:
Those patches delay creation of notifiers until respective
connectors are constructed. It seems that those patches, for a
couple of drivers, by adding the delay, introduce a race between
notifiers' creation and the IRQs handling threads - at least I
don't see anything obvious in there that would explicitly forbid
such races to occur. v2 adds a write barrier to make sure IRQ
threads see the notifier once it is created (replacing the
WRITE_ONCE I put in v1). The best thing to do here, I believe,
would be not to have any synchronization and make sure that an IRQ
only gets enabled after the notifier is created.
Dariusz Marcinkiewicz (9):
drm_dp_cec: add connector info support.
drm/i915/intel_hdmi: use cec_notifier_conn_(un)register
dw-hdmi-cec: use cec_notifier_cec_adap_(un)register
tda9950: use cec_notifier_cec_adap_(un)register
drm: tda998x: use cec_notifier_conn_(un)register
drm: sti: use cec_notifier_conn_(un)register
drm: tegra: use cec_notifier_conn_(un)register
drm: dw-hdmi: use cec_notifier_conn_(un)register
drm: exynos: exynos_hdmi: use cec_notifier_conn_(un)register
.../display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 +-
drivers/gpu/drm/bridge/synopsys/dw-hdmi-cec.c | 13 +++---
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 46 +++++++++++++------
drivers/gpu/drm/drm_dp_cec.c | 25 ++++++----
drivers/gpu/drm/exynos/exynos_hdmi.c | 31 +++++++------
drivers/gpu/drm/i2c/tda9950.c | 12 ++---
drivers/gpu/drm/i2c/tda998x_drv.c | 36 ++++++++++-----
drivers/gpu/drm/i915/display/intel_dp.c | 4 +-
drivers/gpu/drm/i915/display/intel_hdmi.c | 13 ++++--
drivers/gpu/drm/nouveau/nouveau_connector.c | 3 +-
drivers/gpu/drm/sti/sti_hdmi.c | 19 +++++---
drivers/gpu/drm/tegra/output.c | 28 ++++++++---
include/drm/drm_dp_helper.h | 17 ++++---
13 files changed, 155 insertions(+), 94 deletions(-)
--
2.23.0.rc1.153.gdeed80330f-goog
Powered by blists - more mailing lists