Re: [PATCHv15 2/7] video: add display_timing and videomode

2012-12-08 Thread Tomi Valkeinen
On 2012-12-06 12:07, Grant Likely wrote: > On Mon, 26 Nov 2012 16:39:58 +0100, Steffen Trumtrar > wrote: >> On Mon, Nov 26, 2012 at 02:37:26PM +0200, Tomi Valkeinen wrote: >>> On 2012-11-26 11:07, Steffen Trumtrar wrote: >>> +/* + * Subsystem independent description of a videomode.

[PATCHv15 2/7] video: add display_timing and videomode

2012-12-07 Thread Tomi Valkeinen
On 2012-12-06 12:07, Grant Likely wrote: > On Mon, 26 Nov 2012 16:39:58 +0100, Steffen Trumtrar pengutronix.de> wrote: >> On Mon, Nov 26, 2012 at 02:37:26PM +0200, Tomi Valkeinen wrote: >>> On 2012-11-26 11:07, Steffen Trumtrar wrote: >>> +/* + * Subsystem independent description of a vi

[PATCHv15 2/7] video: add display_timing and videomode

2012-12-06 Thread Grant Likely
On Mon, 26 Nov 2012 16:39:58 +0100, Steffen Trumtrar wrote: > On Mon, Nov 26, 2012 at 02:37:26PM +0200, Tomi Valkeinen wrote: > > On 2012-11-26 11:07, Steffen Trumtrar wrote: > > > > > +/* > > > + * Subsystem independent description of a videomode. > > > + * Can be generated from struct display_t

Re: [PATCHv15 2/7] video: add display_timing and videomode

2012-12-06 Thread Grant Likely
On Mon, 26 Nov 2012 16:39:58 +0100, Steffen Trumtrar wrote: > On Mon, Nov 26, 2012 at 02:37:26PM +0200, Tomi Valkeinen wrote: > > On 2012-11-26 11:07, Steffen Trumtrar wrote: > > > > > +/* > > > + * Subsystem independent description of a videomode. > > > + * Can be generated from struct display_

[PATCHv15 2/7] video: add display_timing and videomode

2012-11-26 Thread Steffen Trumtrar
On Mon, Nov 26, 2012 at 02:37:26PM +0200, Tomi Valkeinen wrote: > On 2012-11-26 11:07, Steffen Trumtrar wrote: > > > +/* > > + * Subsystem independent description of a videomode. > > + * Can be generated from struct display_timing. > > + */ > > +struct videomode { > > + u32 pixelclock; /

[PATCHv15 2/7] video: add display_timing and videomode

2012-11-26 Thread Tomi Valkeinen
On 2012-11-26 11:07, Steffen Trumtrar wrote: > +/* > + * Subsystem independent description of a videomode. > + * Can be generated from struct display_timing. > + */ > +struct videomode { > + u32 pixelclock; /* pixelclock in Hz */ I don't know if this is of any importance, but the linu

[PATCHv15 2/7] video: add display_timing and videomode

2012-11-26 Thread Steffen Trumtrar
Add display_timing structure and the according helper functions. This allows the description of a display via its supported timing parameters. Also, add helper functions to convert from display timings to a generic videomode structure. The struct display_timing specifies all needed parameters to

Re: [PATCHv15 2/7] video: add display_timing and videomode

2012-11-26 Thread Steffen Trumtrar
On Mon, Nov 26, 2012 at 02:37:26PM +0200, Tomi Valkeinen wrote: > On 2012-11-26 11:07, Steffen Trumtrar wrote: > > > +/* > > + * Subsystem independent description of a videomode. > > + * Can be generated from struct display_timing. > > + */ > > +struct videomode { > > + u32 pixelclock; /

Re: [PATCHv15 2/7] video: add display_timing and videomode

2012-11-26 Thread Tomi Valkeinen
On 2012-11-26 11:07, Steffen Trumtrar wrote: > +/* > + * Subsystem independent description of a videomode. > + * Can be generated from struct display_timing. > + */ > +struct videomode { > + u32 pixelclock; /* pixelclock in Hz */ I don't know if this is of any importance, but the linu

[PATCHv15 2/7] video: add display_timing and videomode

2012-11-26 Thread Steffen Trumtrar
Add display_timing structure and the according helper functions. This allows the description of a display via its supported timing parameters. Also, add helper functions to convert from display timings to a generic videomode structure. The struct display_timing specifies all needed parameters to