diff options
| author | Dmitry Baryshkov <[email protected]> | 2025-02-20 15:07:26 +0000 |
|---|---|---|
| committer | Neil Armstrong <[email protected]> | 2025-06-30 15:42:32 +0000 |
| commit | eb028cd884e1b0976ff8c5944ee6650fe3ed0a6c (patch) | |
| tree | da92b77c2d0341b2ce339aa87445fd70d8dd26fe /tools/perf/scripts/python | |
| parent | drm/ttm: fix error handling in ttm_buffer_object_transfer (diff) | |
| download | kernel-eb028cd884e1b0976ff8c5944ee6650fe3ed0a6c.tar.gz kernel-eb028cd884e1b0976ff8c5944ee6650fe3ed0a6c.zip | |
drm/bridge: panel: move prepare_prev_first handling to drm_panel_bridge_add_typed
The commit 5ea6b1702781 ("drm/panel: Add prepare_prev_first flag to
drm_panel") and commit 0974687a19c3 ("drm/bridge: panel: Set
pre_enable_prev_first from drmm_panel_bridge_add") added handling of
panel's prepare_prev_first to devm_panel_bridge_add() and
drmm_panel_bridge_add(). However if the driver calls
drm_panel_bridge_add_typed() directly, then the flag won't be handled
and thus the drm_bridge.pre_enable_prev_first will not be set.
Move prepare_prev_first handling to the drm_panel_bridge_add_typed() so
that there is no way to miss the flag.
Fixes: 5ea6b1702781 ("drm/panel: Add prepare_prev_first flag to drm_panel")
Fixes: 0974687a19c3 ("drm/bridge: panel: Set pre_enable_prev_first from drmm_panel_bridge_add")
Reported-by: Svyatoslav Ryhel <[email protected]>
Closes: https://lore.kernel.org/dri-devel/CAPVz0n3YZass3Bns1m0XrFxtAC0DKbEPiW6vXimQx97G243sXw@mail.gmail.com/
Signed-off-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
