[PATCH 2/5] drm/bridge: add encoder support to specify bridge input format

Jernej Škrabec jernej.skrabec at siol.net
Mon May 27 15:29:33 UTC 2019


Hi!

Thanks for working on this!

Dne ponedeljek, 20. maj 2019 ob 15:37:50 CEST je Neil Armstrong napisal(a):
> This patch adds a new format_set() callback to the bridge ops permitting
> the encoder to specify the new input format and encoding.
> 
> This allows supporting the very specific HDMI2.0 YUV420 output mode
> when the bridge cannot convert from RGB or YUV444 to YUV420.
> 
> In this case, the encode must downsample before the bridge and must
> specify the bridge the new input bus format differs.
> 
> This will also help supporting the YUV420 mode where the bridge cannot
> downsample, and also support 10bit, 12bit and 16bit output modes
> when the bridge cannot convert between different bit depths.
> 
> Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>
> ---

Reviewed-by: Jernej Skrabec <jernej.skrabec at siol.net>

Best regards,
Jernej




More information about the dri-devel mailing list