aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMaxime Ripard <mripard@kernel.org>2025-02-13 15:43:22 +0100
committerMaxime Ripard <mripard@kernel.org>2025-02-19 16:59:12 +0100
commitc2b190bf2a8bd02ac196a5a41a00f2bbb73e8252 (patch)
tree0a228e83ab8885886c27431a7795fc8a9ebc7dad /include
parentdrm/bridge: Pass full state to atomic_pre_enable (diff)
downloadlinux-c2b190bf2a8bd02ac196a5a41a00f2bbb73e8252.tar.gz
linux-c2b190bf2a8bd02ac196a5a41a00f2bbb73e8252.zip
drm/bridge: Pass full state to atomic_enable
It's pretty inconvenient to access the full atomic state from drm_bridges, so let's change the atomic_enable hook prototype to pass it directly. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Tested-by: Douglas Anderson <dianders@chromium.org> Link: https://lore.kernel.org/r/20250213-bridge-connector-v3-3-e71598f49c8f@kernel.org Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/drm/drm_bridge.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h
index eef4487f45af..4c5e23123030 100644
--- a/include/drm/drm_bridge.h
+++ b/include/drm/drm_bridge.h
@@ -325,7 +325,7 @@ struct drm_bridge_funcs {
* The @atomic_enable callback is optional.
*/
void (*atomic_enable)(struct drm_bridge *bridge,
- struct drm_bridge_state *old_bridge_state);
+ struct drm_atomic_state *state);
/**
* @atomic_disable:
*