]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Add display components by parsing MDP ports
authorArchit Taneja <architt@codeaurora.org>
Thu, 19 May 2016 05:08:39 +0000 (10:38 +0530)
committerRob Clark <robdclark@gmail.com>
Sat, 16 Jul 2016 14:09:00 +0000 (10:09 -0400)
commita46a88c9f3b21be276318ceb91c1489b48cd35d9
treef30a0ebe8a06827a8499322888a0365665a859d9
parente76c6fde615ee4ff1822c65f5579aa96a08270af
drm/msm: Add display components by parsing MDP ports

The kms driver currently identifies all the mdss components it needs by
parsing a phandle list from the 'connectors' DT property.

Instead of this, describe a list of ports that the MDP hardware provides
to the external world. These ports are linked to external encoder
interfaces such as DSI, HDMI. These are also the subcomponent devices
that we need add. This description of ports complies with the generic
graph bindings.

The LVDS port is a special case since it is a part of MDP4 itself, and
its output connects directly to the LVDS panel. In this case, we don't
try to add it as a component.

Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_drv.c