Files
linux/drivers/gpu/drm
Sascha Hauer 540b8f271e drm/rockchip: Embed drm_encoder into rockchip_decoder
The VOP2 driver needs rockchip specific information for a drm_encoder.

This patch creates a struct rockchip_encoder with a struct drm_encoder
embedded in it. This is used throughout the rockchip driver instead of
struct drm_encoder directly.

The information the VOP2 drivers needs is the of_graph endpoint node
of the encoder. To ease bisectability this is added here.

While at it convert the different encoder-to-driverdata macros to
static inline functions in order to gain type safety and readability.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Michael Riesch <michael.riesch@wolfvision.net>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220422072841.2206452-3-s.hauer@pengutronix.de
2022-05-03 11:23:47 +02:00
..
2022-04-28 16:08:19 +01:00
2022-04-25 11:17:45 +02:00
2022-02-07 16:35:35 -08:00
2022-04-25 11:17:45 +02:00
2022-04-25 11:17:45 +02:00
2022-04-07 11:31:52 +02:00
2022-04-25 10:18:52 +03:00
2022-02-07 16:35:35 -08:00
2022-03-16 09:36:13 +01:00
2022-02-07 16:35:35 -08:00
2022-04-12 09:27:20 +03:00
2022-04-07 12:53:53 +02:00
2021-11-30 09:41:28 +01:00
2021-11-30 09:41:28 +01:00
2022-02-07 16:35:35 -08:00
2022-04-12 09:27:20 +03:00