linux_dsm_epyc7002/drivers/gpu/drm/bridge/synopsys
Jernej Skrabec eea034af90
drm/bridge/synopsys: dw-hdmi: don't clobber drvdata
dw_hdmi shouldn't set drvdata since some drivers might need to store
it's own data there. Rework dw_hdmi in a way to return struct dw_hdmi
instead to store it in drvdata. This way drivers are responsible to
store and pass structure when needed.

Idea was taken from the following commit:
8242ecbd59 ("drm/bridge/synopsys: stop clobbering drvdata")

Cc: p.zabel@pengutronix.de
Cc: Laurent.pinchart@ideasonboard.com
Cc: hjc@rock-chips.com
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180214200906.31509-6-jernej.skrabec@siol.net
2018-02-16 09:33:07 +01:00
..
dw-hdmi-ahb-audio.c drm: bridge: dw-hdmi: constify snd_pcm_ops structures 2017-08-09 15:57:29 +05:30
dw-hdmi-audio.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dw-hdmi-cec.c drm/bridge: dw-hdmi: add cec driver 2017-08-07 16:18:53 +05:30
dw-hdmi-cec.h drm/bridge: dw-hdmi: add cec driver 2017-08-07 16:18:53 +05:30
dw-hdmi-i2s-audio.c drm: dw-hdmi-i2s: add missing company name on Copyright 2017-08-07 09:43:08 +05:30
dw-hdmi.c drm/bridge/synopsys: dw-hdmi: don't clobber drvdata 2018-02-16 09:33:07 +01:00
dw-hdmi.h drm/bridge: dw-hdmi: remove CEC engine register definitions 2017-08-07 16:19:13 +05:30
dw-mipi-dsi.c drm/bridge/synopsys: dsi: Add 1.31 version support 2018-02-08 08:22:51 +01:00
Kconfig drm/bridge: dw-hdmi: add cec driver 2017-08-07 16:18:53 +05:30
Makefile drm/bridge: dw-hdmi: add cec driver 2017-08-07 16:18:53 +05:30