diff options
author | Maxime Ripard <mripard@kernel.org> | 2025-03-13 13:00:10 +0100 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2025-03-20 14:45:53 +0100 |
commit | f24d1d4a7a425e67551ca8d86a89df7102766ac9 (patch) | |
tree | ac81ac3c0191ee291b0a8612a30cb7aa93cfc568 /arch/arm/mach-at91 | |
parent | 070bac234bc6e8e925f87bb5a5ab1a98b890fce8 (diff) |
drm/bridge: ti-sn65dsi86: Remove drm_encoder->crtc useHEADdrm-misc-next
The TI sn65dsi86 driver follows the drm_encoder->crtc pointer that is
deprecated and shouldn't be used by atomic drivers.
Fortunately, the atomic hooks provide the drm_atomic_state and we can
access our current CRTC from that, going from the bridge to its encoder,
to its connector, and to its CRTC.
This bridge driver uses the atomic hooks already, but dereferences the
drm_encoder->crtc pointer in functions that don't have access to it.
Let's rework the driver to pass the state where needed, and remove the
need for the drm_encoder->crtc dereference.
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250313-bridge-connector-v6-16-511c54a604fb@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'arch/arm/mach-at91')
0 files changed, 0 insertions, 0 deletions