On Fri, Jul 18, 2014 at 02:13:49AM +0530, Ajay Kumar wrote: [...] > diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/Kconfig [...] > depends on DRM_EXYNOS_FIMD && ARCH_EXYNOS && (DRM_PTN3460=n || > DRM_PTN3460=y || DRM_PTN3460=DRM_EXYNOS)
One of the reasons the current way of implementing bridges is that it
doesn't scale, as shown by this ridiculous dependency. In patch
[RESEND PATCH V5 12/12] drm/exynos: Add ps8622 lvds bridge discovery to
DP driver
you add support for another type of bridge but it doesn't update this
dependency. I suspect that in order for this to work properly you'll
need to extend the dependency like so (rewritten to make it somewhat
cleaner):
depends on DRM_EXYNOS_FIMD && ARCH_EXYNOS
depends on DRM_PTN3460=n || DRM_PTN3460=y || DRM_PTN3460=DRM_EXYNOS
depends on DRM_PS8622=n || DRM_PS8622=y || DRM_PS8622=DRM_EXYNOS
And you'll need one more of these lines for each new bridge chip that
you want to support.
Thierry
pgpqKEq56NuBZ.pgp
Description: PGP signature
