drm/rockchip: Refactor the component match logic.
authorJeffy Chen <jeffy.chen@rock-chips.com>
Wed, 22 Mar 2017 03:21:20 +0000 (11:21 +0800)
committerSean Paul <seanpaul@chromium.org>
Fri, 24 Mar 2017 18:48:58 +0000 (14:48 -0400)
commit8820b68bd378db1821b23b93dbb5a1a06cbbdfdd
treeb2efb3bc44361010224374c633f8ae8970f1fd41
parent0cad7f71b5be7f3c6b63cfccb881e65a3c09404d
drm/rockchip: Refactor the component match logic.

Currently we are adding all components from the dts, if one of their
drivers been disabled, we would not be able to bring up others.

Refactor component match logic, follow exynos drm.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Acked-by: Mark Yao <mark.yao@rock-chips.com>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1490152880-21855-1-git-send-email-jeffy.chen@rock-chips.com
drivers/gpu/drm/rockchip/Kconfig
drivers/gpu/drm/rockchip/Makefile
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c
drivers/gpu/drm/rockchip/cdn-dp-core.c
drivers/gpu/drm/rockchip/dw-mipi-dsi.c
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
drivers/gpu/drm/rockchip/inno_hdmi.c
drivers/gpu/drm/rockchip/rockchip_drm_drv.c
drivers/gpu/drm/rockchip/rockchip_drm_drv.h
drivers/gpu/drm/rockchip/rockchip_vop_reg.c