[PATCH v7 8/8] drm: Config orientation property if panel provides it
Stephen Boyd
swboyd at chromium.org
Fri Jun 10 13:21:40 PDT 2022
Quoting Hsin-Yi Wang (2022-06-09 00:27:23)
> Panel orientation property should be set before drm_dev_register().
> Some drm driver calls drm_dev_register() in .bind(). However, most
> panels sets orientation property relatively late, mostly in .get_modes()
> callback, since this is when they are able to get the connector and
> binds the orientation property to it, though the value should be known
> when the panel is probed.
>
> In drm_bridge_connector_init(), if a bridge is a panel bridge, use it to
> set the connector's panel orientation property.
>
> Suggested-by: Doug Anderson <dianders at chromium.org>
> Signed-off-by: Hsin-Yi Wang <hsinyi at chromium.org>
> ---
Reviewed-by: Stephen Boyd <swboyd at chromium.org>
More information about the linux-arm-kernel
mailing list