diff options
| author | Maxime Ripard <mripard@kernel.org> | 2025-02-13 15:43:23 +0100 |
|---|---|---|
| committer | Maxime Ripard <mripard@kernel.org> | 2025-02-19 16:59:12 +0100 |
| commit | f5f6a5bf01096fbb8d33d917de3df681374d2b52 (patch) | |
| tree | 6280cc8760b08534f7251bd02c54587c9dc5f586 /include | |
| parent | drm/bridge: Pass full state to atomic_enable (diff) | |
| download | linux-f5f6a5bf01096fbb8d33d917de3df681374d2b52.tar.gz linux-f5f6a5bf01096fbb8d33d917de3df681374d2b52.zip | |
drm/bridge: Pass full state to atomic_disable
It's pretty inconvenient to access the full atomic state from
drm_bridges, so let's change the atomic_disable 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-4-e71598f49c8f@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/drm/drm_bridge.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_bridge.h b/include/drm/drm_bridge.h index 4c5e23123030..087752226bf9 100644 --- a/include/drm/drm_bridge.h +++ b/include/drm/drm_bridge.h @@ -342,7 +342,7 @@ struct drm_bridge_funcs { * The @atomic_disable callback is optional. */ void (*atomic_disable)(struct drm_bridge *bridge, - struct drm_bridge_state *old_bridge_state); + struct drm_atomic_state *state); /** * @atomic_post_disable: |
