Re: [PATCH v2 25/43] drm/sun4i: frontend: Apply format sub-sampling to CH1 dimensions

2018-11-27 Thread Maxime Ripard
On Fri, Nov 23, 2018 at 10:24:57AM +0100, Paul Kocialkowski wrote: > The frontend comes with two "channels", that can be configured > independently. When used in YUV mode, the first channel (CH0) represents > the luminance component while the second channel (CH1) represents the > chrominance. In RG

[PATCH v2 25/43] drm/sun4i: frontend: Apply format sub-sampling to CH1 dimensions

2018-11-23 Thread Paul Kocialkowski
The frontend comes with two "channels", that can be configured independently. When used in YUV mode, the first channel (CH0) represents the luminance component while the second channel (CH1) represents the chrominance. In RGB mode, both have to be configured the same way. Use variables (with the Y