diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2022-04-22 09:28:38 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2022-05-04 14:05:47 +0200 |
commit | b382406a2cf4afaa7320a7ad4b298ed6e2675437 (patch) | |
tree | 45aa7e09735777433a40ac4778edf39c2434ea1e /drivers/gpu/drm/rockchip/Makefile | |
parent | 4073e42028de0f6ebbd86a9b30aaa5501bcdff59 (diff) | |
download | lwn-b382406a2cf4afaa7320a7ad4b298ed6e2675437.tar.gz lwn-b382406a2cf4afaa7320a7ad4b298ed6e2675437.zip |
drm/rockchip: Make VOP driver optional
With upcoming VOP2 support VOP won't be the only choice anymore, so make
the VOP driver optional.
This also adds a dependency from ROCKCHIP_ANALOGIX_DP to ROCKCHIP_VOP,
because that driver currently only links and works with the VOP driver.
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-22-s.hauer@pengutronix.de
Diffstat (limited to 'drivers/gpu/drm/rockchip/Makefile')
-rw-r--r-- | drivers/gpu/drm/rockchip/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rockchip/Makefile b/drivers/gpu/drm/rockchip/Makefile index 1a56f696558c..dfc5512fdb9f 100644 --- a/drivers/gpu/drm/rockchip/Makefile +++ b/drivers/gpu/drm/rockchip/Makefile @@ -4,8 +4,9 @@ # Direct Rendering Infrastructure (DRI) in XFree86 4.1.0 and higher. rockchipdrm-y := rockchip_drm_drv.o rockchip_drm_fb.o \ - rockchip_drm_gem.o rockchip_drm_vop.o rockchip_vop_reg.o + rockchip_drm_gem.o +rockchipdrm-$(CONFIG_ROCKCHIP_VOP) += rockchip_drm_vop.o rockchip_vop_reg.o rockchipdrm-$(CONFIG_ROCKCHIP_ANALOGIX_DP) += analogix_dp-rockchip.o rockchipdrm-$(CONFIG_ROCKCHIP_CDN_DP) += cdn-dp-core.o cdn-dp-reg.o rockchipdrm-$(CONFIG_ROCKCHIP_DW_HDMI) += dw_hdmi-rockchip.o |