[PATCH 02/18] drm/bridge: Add HDMI output fmt helper
Neil Armstrong
narmstrong at baylibre.com
Wed Mar 17 16:08:07 UTC 2021
On 17/03/2021 16:43, Maxime Ripard wrote:
> The atomic_get_output_bus_fmts bridge callback is there to list the
> available formats for output by decreasing order of preference.
>
> On HDMI controllers, we have a fairly static list that will depend on
> what the HDMI sink is capable of and the BPC our controller can output.
>
> The dw-hdmi driver already has that code done in a fairly generic
> manner, so let's turn that code into an helper for all the HDMI
> controllers to reuse.
This code was based on the capabilities of the DW-HDMI IP, copying it as-is
doesn't make much sense, we should be able to filter out formats the HDMI IP
doesn't support.
Neil
>
> Signed-off-by: Maxime Ripard <maxime at cerno.tech>
> ---
[...]
More information about the dri-devel
mailing list