[PATCH v3 34/37] drm/bridge: tc358775: Switch to atomic commit
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Thu Feb 13 16:38:15 UTC 2025
On Thu, Feb 13, 2025 at 03:43:53PM +0100, Maxime Ripard wrote:
> The tc358775 driver follows the drm_encoder->crtc pointer that is
> deprecated and shouldn't be used by atomic drivers.
>
> This was due to the fact that we did't have any other alternative to
> retrieve the CRTC pointer. Fortunately, the CRTC pointer is now provided
> in the bridge state, so we can move to atomic callbacks and drop that
> deprecated pointer usage.
>
> Signed-off-by: Maxime Ripard <mripard at kernel.org>
> ---
> drivers/gpu/drm/bridge/tc358775.c | 41 +++++++++++++++++----------------------
> 1 file changed, 18 insertions(+), 23 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
--
With best wishes
Dmitry
More information about the dri-devel
mailing list