Re: [RFC 1/5] video: Add generic display panel core

2012-09-13 Thread Robert Schwebel
On Thu, Sep 13, 2012 at 01:29:54PM +0200, Sascha Hauer wrote: > > > You have seen my of videomode helper proposal. One result there > > > was that we want to have ranges for the margin/synclen fields. > > > Does it make sense to base this new panel framework on a more > > > sophisticated internal r

Re: [RFC 1/5] video: Add generic display panel core

2012-09-13 Thread Sascha Hauer
On Thu, Sep 13, 2012 at 03:40:40AM +0200, Laurent Pinchart wrote: > Hi Sascha, > > > > +int panel_get_modes(struct panel *panel, const struct fb_videomode > > > **modes) > > > +{ > > > + if (!panel->ops || !panel->ops->get_modes) > > > + return 0; > > > + > > > + return panel->ops->get_mod

Re: [RFC 1/5] video: Add generic display panel core

2012-09-13 Thread Laurent Pinchart
Hi Sascha, On Tuesday 04 September 2012 11:24:46 Sascha Hauer wrote: > Hi Laurent, > > On Fri, Aug 17, 2012 at 02:49:39AM +0200, Laurent Pinchart wrote: > > +/** > > + * panel_get_modes - Get video modes supported by the panel > > + * @panel: The panel > > + * @modes: Pointer to an array of modes

Re: [RFC 1/5] video: Add generic display panel core

2012-09-04 Thread Sascha Hauer
Hi Laurent, On Fri, Aug 17, 2012 at 02:49:39AM +0200, Laurent Pinchart wrote: > +/** > + * panel_get_modes - Get video modes supported by the panel > + * @panel: The panel > + * @modes: Pointer to an array of modes > + * > + * Fill the modes argument with a pointer to an array of video modes. The

[RFC 1/5] video: Add generic display panel core

2012-08-16 Thread Laurent Pinchart
Signed-off-by: Laurent Pinchart --- drivers/video/Kconfig|1 + drivers/video/Makefile |1 + drivers/video/panel/Kconfig |4 + drivers/video/panel/Makefile |1 + drivers/video/panel/panel.c | 269 ++ include/video/panel.h