[PATCH v9 1/6] video: add display_timing and videomode

2012-11-14 Thread Thierry Reding
On Wed, Nov 14, 2012 at 12:43:18PM +0100, Steffen Trumtrar wrote: [...] > diff --git a/include/linux/videomode.h b/include/linux/videomode.h [...] > +int videomode_from_timing(struct display_timings *disp, struct videomode *vm, > + unsigned int index); > +#endif Nit: should

[PATCH v9 1/6] video: add display_timing and videomode

2012-11-14 Thread Steffen Trumtrar
Add display_timing structure and the according helper functions. This allows the description of a display via its supported timing parameters. Every timing parameter can be specified as a single value or a range . Also, add helper functions to convert from display timings to a generic videomode

[PATCH v9 1/6] video: add display_timing and videomode

2012-11-14 Thread Steffen Trumtrar
Add display_timing structure and the according helper functions. This allows the description of a display via its supported timing parameters. Every timing parameter can be specified as a single value or a range min typ max. Also, add helper functions to convert from display timings to a generic

Re: [PATCH v9 1/6] video: add display_timing and videomode

2012-11-14 Thread Thierry Reding
On Wed, Nov 14, 2012 at 12:43:18PM +0100, Steffen Trumtrar wrote: [...] diff --git a/include/linux/videomode.h b/include/linux/videomode.h [...] +int videomode_from_timing(struct display_timings *disp, struct videomode *vm, + unsigned int index); +#endif Nit: should have