linux/drivers/gpu/drm/rcar-du
Arnd Bergmann 4f5504cfc6 drm: rcar-du: Clarify vsp dependency
The VSP1 compositor code in DRM links against the respective V4L
driver, but the dependency is not expressed correctly in Kconfig,
which leads to a build error when the DRM driver is built-in
and the V4L driver is a module:

drivers/gpu/built-in.o: In function `rcar_du_vsp_plane_atomic_update':
rcar-du/rcar_du_vsp.c:183: undefined reference to `vsp1_du_atomic_update'

This patch avoids the problem by ensuring that the DRM VSP code can
only be enabled if the V4L driver is linked into the kernel, or
both are loadable modules.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 6d62ef3ac3 ("drm: rcar-du: Expose the VSP1 compositor through KMS planes")
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
2016-04-24 02:53:35 +03:00
..
Kconfig drm: rcar-du: Clarify vsp dependency 2016-04-24 02:53:35 +03:00
Makefile drm: rcar-du: Expose the VSP1 compositor through KMS planes 2016-02-23 09:32:44 +02:00
rcar_du_crtc.c drm/rcar-du: removed optional dummy crtc mode_fixup function. 2016-03-04 17:58:47 +01:00
rcar_du_crtc.h drm: rcar-du: Expose the VSP1 compositor through KMS planes 2016-02-23 09:32:44 +02:00
rcar_du_drv.c drm: rcar-du: Use generic drm_connector_register_all() helper 2016-04-20 13:29:41 +02:00
rcar_du_drv.h drm: rcar-du: Add R8A7795 device support 2016-02-23 09:34:29 +02:00
rcar_du_encoder.c drm: rcar-du: lvds: Avoid duplication of clock clamp code 2016-02-23 09:34:30 +02:00
rcar_du_encoder.h drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_group.c drm: rcar-du: Add R8A7795 device support 2016-02-23 09:34:29 +02:00
rcar_du_group.h drm: rcar-du: Restart the DU group when a plane source changes 2016-02-20 02:58:55 +02:00
rcar_du_hdmicon.c drm: rcar-du: Perform initialization/cleanup at probe/remove time 2016-02-20 02:58:50 +02:00
rcar_du_hdmicon.h drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_hdmienc.c drm: rcar-du: Add probe deferral debug messages 2016-02-23 09:34:33 +02:00
rcar_du_hdmienc.h drm: rcar-du: Add HDMI encoder and connector support 2014-11-26 20:09:38 +02:00
rcar_du_kms.c drm: rcar-du: Add tri-planar memory formats support 2016-02-23 09:34:33 +02:00
rcar_du_kms.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_lvdscon.c drm: rcar-du: Perform initialization/cleanup at probe/remove time 2016-02-20 02:58:50 +02:00
rcar_du_lvdscon.h drm: rcar-du: Remove platform data support 2014-11-26 20:09:36 +02:00
rcar_du_lvdsenc.c drm: rcar-du: lvds: Add R-Car Gen3 support 2016-02-23 09:34:32 +02:00
rcar_du_lvdsenc.h drm: rcar-du: lvds: Avoid duplication of clock clamp code 2016-02-23 09:34:30 +02:00
rcar_du_plane.c drm: rcar-du: Add R8A7795 device support 2016-02-23 09:34:29 +02:00
rcar_du_plane.h drm: rcar-du: Expose the VSP1 compositor through KMS planes 2016-02-23 09:32:44 +02:00
rcar_du_regs.h drm: rcar-du: Add R8A7795 device support 2016-02-23 09:34:29 +02:00
rcar_du_vgacon.c drm: rcar-du: Perform initialization/cleanup at probe/remove time 2016-02-20 02:58:50 +02:00
rcar_du_vgacon.h drm/rcar-du: Update copyright notice 2014-09-15 11:34:06 +03:00
rcar_du_vsp.c drm: rcar-du: Add tri-planar memory formats support 2016-02-23 09:34:33 +02:00
rcar_du_vsp.h drm: rcar-du: Expose the VSP1 compositor through KMS planes 2016-02-23 09:32:44 +02:00
rcar_lvds_regs.h drm: rcar-du: lvds: Add R-Car Gen3 support 2016-02-23 09:34:32 +02:00