]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/rockchip: lvds: Change platform data to hold helper_funcs pointer
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 24 Dec 2019 14:38:54 +0000 (15:38 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 5 Jan 2020 11:12:39 +0000 (12:12 +0100)
commit36839e5788da973ac574e9fe16c41166df918565
treed50f4b7bcb593a41e8b18e71906618dda3b682ca
parent04bc39adf9f1b0499a34eaeef4419890eb2e282a
drm/rockchip: lvds: Change platform data to hold helper_funcs pointer

Prepare the introduction of PX30 support by using
drm_encoder_helper_funcs as platform data instead of multiple register
names which are specific to rk3288 and not generic to all Rockchip
IPs. This way adding support for a new flavor of a similar IP will be
a matter of adding the relevant helper funcs.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20191224143900.23567-6-miquel.raynal@bootlin.com
drivers/gpu/drm/rockchip/rockchip_lvds.c
drivers/gpu/drm/rockchip/rockchip_lvds.h