[PATCH v2 2/5] drm: Centralize format information

2016-06-08 Thread Laurent Pinchart
Hi Eric, On Wednesday 08 Jun 2016 11:27:32 Eric Engestrom wrote: > On Wed, Jun 08, 2016 at 02:35:35AM +0300, Laurent Pinchart wrote: > > Various pieces of information about DRM formats (number of planes, color > > depth, chroma subsampling, ...) are scattered across different helper > > functions

[PATCH v2 2/5] drm: Centralize format information

2016-06-08 Thread Eric Engestrom
On Wed, Jun 08, 2016 at 02:35:35AM +0300, Laurent Pinchart wrote: > Various pieces of information about DRM formats (number of planes, color > depth, chroma subsampling, ...) are scattered across different helper > functions in the DRM core. Callers of those functions often need to > access more th

[PATCH v2 2/5] drm: Centralize format information

2016-06-08 Thread Laurent Pinchart
Various pieces of information about DRM formats (number of planes, color depth, chroma subsampling, ...) are scattered across different helper functions in the DRM core. Callers of those functions often need to access more than a single parameter of the format, leading to inefficiencies due to mult