[RESEND PATCH V5 03/12] drm/exynos: dp: modify driver to support drm_panel
Thierry Reding
thierry.reding at gmail.com
Mon Jul 21 01:02:29 PDT 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140721/65f1e4f2/attachment-0001.sig>
More information about the dri-devel
mailing list