Thread (21 messages) 21 messages, 6 authors, 2018-02-19

Re: [PATCH v5 05/12] drm/bridge/synopsys: dw-hdmi: don't clobber drvdata

From: Heiko Stuebner <heiko@sntech.de>
Date: 2018-02-16 07:04:25
Also in: dri-devel, linux-arm-kernel, linux-clk, lkml

Am Mittwoch, 14. Februar 2018, 21:08:59 CET schrieb Jernej Skrabec:
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:
8242ecbd597d ("drm/bridge/synopsys: stop clobbering drvdata")

Cc: p.zabel@pengutronix.de
Cc: narmstrong@baylibre.com
Cc: Laurent.pinchart@ideasonboard.com
Cc: hjc@rock-chips.com
Cc: heiko@sntech.de
Acked-by: Neil Armstrong <redacted>
Signed-off-by: Jernej Skrabec <redacted>
For the Rockchip-part
Tested-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Heiko Stuebner <heiko@sntech.de>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help