[PATCH V7 00/12] drm/exynos: few patches to enhance bridge chip support

Thierry Reding thierry.reding at gmail.com
Mon Sep 22 03:18:40 PDT 2014


On Wed, Sep 17, 2014 at 03:02:48PM +0530, Ajay kumar wrote:
> On Tue, Sep 16, 2014 at 6:14 PM, Javier Martinez Canillas
> <javier at dowhile0.org> wrote:
> > [adding Laurent Pinchart to cc who had concerns with a previous
> > version of this patch-set]
> >
> > Hello Ajay,
> >
> > On Wed, Aug 27, 2014 at 4:29 PM, Ajay Kumar <ajaykumar.rs at samsung.com> wrote:
> >> This series is based on master branch of Linus tree at:
> >> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> >>
> >> I have tested this after adding few DT changes for exynos5250-snow and
> >> exynos5420-peach-pit boards.
> >>
> >> The V4 series of this particular patchset was also tested by:
> >> Rahul Sharma <rahul.sharma at samsung.com>
> >> Javier Martinez Canillas <javier at dowhile0.org>
> >>
> >> Changes since V2:
> >>         -- Address comments from Jingoo Han for ps8622 driver
> >>         -- Address comments from Daniel, Rob and Thierry regarding
> >>            bridge chaining
> >>         -- Address comments from Thierry regarding the names for
> >>            new drm_panel functions
> >>
> >> Changes since V3:
> >>         -- Remove hotplug based initialization of exynos_dp
> >>         -- Make exynos_dp work directly with drm_panel, remove
> >>            dependency on panel_binder
> >>         -- Minor cleanups in panel_binder and panel_lvds driver
> >>
> >> Changes since V4:
> >>         -- Use gpiod interface for panel-lvds and ps8622 drivers.
> >>         -- Address comments from Javier.
> >>         -- Fix compilation issues when PANEL_BINDER is selected as module.
> >>         -- Split Documentation patches from driver patches.
> >>         -- Rebase on top of the tree.
> >>
> >> Changes since V5:
> >>         -- Modify bridge drivers to support driver model.
> >>         -- Drop the concept of bridge chain(sincle there are no 2 real bridges)
> >>            Hence drop bridge-panel_binder layer.
> >>         -- Drop panel-lvds driver and accomodate the required changes in
> >>            panel-simple driver.
> >>         -- Use gpiod interface in ptn3460 driver.
> >>         -- Address all comments by Thierry Reding for V5 series.
> >>         -- Address comments from Sean Paul for exynos_dp_commit issue.
> >>
> >> Changes since V6:
> >>         -- Panel patches were seperated and they are merged already.
> >>         -- Fix few issues with ptn3460, before modifying the bridge core.
> >>         -- Modify drm_bridge as per Thierry's comments for V6 series.
> >>         -- Add drm_bridge changes minimally without breaking existing code.
> >>         -- Add new features for ptn3460, step-by-step.
> >>         -- Address comments from Thierry and Andreas for ptn3460 and ps8622.
> >>         -- Split documentation patches from driver patches.
> >>
> >
> > I've tested your series on an Exynos5420 Peach Pit and an Exynos5250
> > Snow Chromebooks and display worked for me on both machines.
> Great!
> 
> > I also needed "[PATCH] drm/panel: simple: Add AUO B116XW03 panel
> > support" [0] which does not apply cleanly on linux-next so you may
> > want to do a re-spin for that patch.
> Ok. I will take care of this in next version.
> 
> > For Snow I also had to disable CONFIG_FB_SIMPLE, otherwise I just saw
> > a blink on boot and only the backlight remained turned on (no display
> > output). I don't know if that is expected since IIUC it should be
> > possible to do a transition from simplefb to a DRM/KMS driver. I don't
> > have a serial console hooked on this machine so I couldn't debug it
> > further, sorry.
> I am just wondering how SIMPLE FB can affect DRM based display.
> I am not even sure if both can co-exist or not. Is there anything
> we can do with bootargs instead of CONFIG?

I think the issue is that simplefb will register as console but the
display driver is probably reconfiguring the display hardware and then
registering a new console, so you'd end up with just a blank screen.

Typically the simplefb device tree nodes will be added by the bootloader
so you might be able to prevent the bootloader from adding it. Ideally,
though, the solution would be to do a proper hand-off from simplefb to
DRM/KMS so that you can have a seemless transition. Somewhere in the
middle would be to make simplefb unload when loading the DRM/KMS driver.

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/20140922/884bea4c/attachment.sig>


More information about the dri-devel mailing list