OpenCloudOS-Kernel/drivers/gpu/drm/imx
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
..
Kconfig drm/imx: merge imx-drm-core and ipuv3-crtc in one module 2017-04-04 10:59:08 +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
dw_hdmi-imx.c drm/bridge/synopsys: dw-hdmi: don't clobber drvdata 2018-02-16 09:33:07 +01:00
imx-drm-core.c drm/imx: format modifier support 2018-01-05 11:33:24 +10:00
imx-drm.h drm/imx: Use drm_fb_cma_fbdev_init/fini() 2017-12-08 14:47:40 +01:00
imx-ldb.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
imx-tve.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
ipuv3-crtc.c drm/imx: switch to drm_*_get(), drm_*_put() helpers 2017-10-02 16:18:58 +02:00
ipuv3-plane.c drm/imx: Use drm_mode_get_hv_timing() to populate plane clip rectangle 2018-01-23 17:41:42 +02:00
ipuv3-plane.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
parallel-display.c drm/imx: parallel-display: use correct connector enum 2017-10-02 16:19:04 +02:00