linux/drivers/gpu/drm/sti
Sam Ravnborg 06c4a9c2ae drm/panel: decouple connector from drm_panel
To facilitate moving connector creation to display drivers,
decouple the drm_connector from drm_panel.

This patch adds a connector argument to drm_panel_get_modes().

All users of drm_panel_get_modes() already had the connector
available, so updating users was trivial.

With this patch drm_panel no longer keeps a reference to the drm_connector.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Neil Armstrong <narmstrong@baylibre.com>
Cc: Jonas Karlman <jonas@kwiboo.se>
Cc: Jernej Skrabec <jernej.skrabec@siol.net>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Inki Dae <inki.dae@samsung.com>
Cc: Joonyoung Shim <jy0922.shim@samsung.com>
Cc: Seung-Woo Kim <sw0312.kim@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Kukjin Kim <kgene@kernel.org>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Stefan Agner <stefan@agner.ch>
Cc: Alison Wang <alison.wang@nxp.com>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: CK Hu <ck.hu@mediatek.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Cc: Sandy Huang <hjc@rock-chips.com>
Cc: "Heiko Stübner" <heiko@sntech.de>
Cc: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Vincent Abriou <vincent.abriou@st.com>
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: Jonathan Hunter <jonathanh@nvidia.com>
Cc: Torsten Duwe <duwe@lst.de>
Cc: Vasily Khoruzhick <anarsoul@gmail.com>
Cc: Icenowy Zheng <icenowy@aosc.io>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Boris Brezillon <boris.brezillon@collabora.com>
Cc: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Cc: Alexios Zavras <alexios.zavras@intel.com>
Cc: Brian Masney <masneyb@onstation.org>
Cc: Rob Clark <robdclark@chromium.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Allison Randal <allison@lohutok.net>
Cc: Shayenne Moura <shayenneluzmoura@gmail.com>
Cc: Abhinav Kumar <abhinavk@codeaurora.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Cc: linux-mediatek@lists.infradead.org
Cc: linux-renesas-soc@vger.kernel.org
Cc: linux-rockchip@lists.infradead.org
Cc: linux-tegra@vger.kernel.org
Link: https://patchwork.freedesktop.org/patch/msgid/20191207140353.23967-7-sam@ravnborg.org
2019-12-09 22:57:26 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
NOTES
sti_awg_utils.c drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_awg_utils.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_compositor.c drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_compositor.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_crtc.c drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_crtc.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_cursor.c drm: sti: fix W=1 warnings 2019-09-16 15:14:43 +02:00
sti_cursor.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_drv.c drm/sti: Drop drm_gem_prime_export/import 2019-06-21 20:09:47 +02:00
sti_drv.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_dvo.c drm/panel: decouple connector from drm_panel 2019-12-09 22:57:26 +01:00
sti_gdp.c drm: sti: fix W=1 warnings 2019-09-16 15:14:43 +02:00
sti_gdp.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_hda.c drm: sti: fix W=1 warnings 2019-09-16 15:14:43 +02:00
sti_hdmi_tx3g4c28phy.c drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_hdmi_tx3g4c28phy.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hdmi.c drm: sti: fix W=1 warnings 2019-09-16 15:14:43 +02:00
sti_hdmi.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_hqvdp_lut.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_hqvdp.c drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_mixer.c drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_mixer.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_plane.c drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_plane.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_tvout.c drm: sti: fix W=1 warnings 2019-09-16 15:14:43 +02:00
sti_vid.c drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00
sti_vid.h gpu: drm: sti: Adopt SPDX identifiers 2017-12-06 15:51:23 +01:00
sti_vtg.c drm: sti: fix W=1 warnings 2019-09-16 15:14:43 +02:00
sti_vtg.h drm/sti: drop use of drmP.h 2019-06-06 17:11:26 +02:00