diff options
| author | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2026-09-01 21:50:30 +0300 |
|---|---|---|
| committer | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2026-09-19 23:03:44 +0300 |
| commit | 9d1e2ae7196dacc90acc00a73b92c11662eb90ca (patch) | |
| tree | 85d57f1d4bc07b81ad503b63005622da985c9dc2 /tools/perf/scripts/python | |
| parent | cc6d8b2f87b97477ae25dcc1adb8e6e5a0088e4a (diff) | |
| download | linux-9d1e2ae7196dacc90acc00a73b92c11662eb90ca.tar.gz linux-9d1e2ae7196dacc90acc00a73b92c11662eb90ca.zip | |
drm/probe-helper: Introduce .force_ctx() connector callback
The .force() connector callback is invoked by
drm_helper_probe_single_connector_modes() while the modeset acquire
context it created is live, but the hook signature provides no way to
pass it down, e.g. to support implementations needing to lock further
objects.
Add a .force_ctx() variant to drm_connector_helper_funcs, taking the
acquire context and returning an error code, so that -EDEADLK propagates
into the existing retry path. When provided, it takes precedence over
drm_connector_funcs' .force(), which is kept for existing users.
This is a prerequisite for SCDC status synchronization in the HDMI
connector framework.
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://patch.msgid.link/20260901-dw-hdmi-qp-scramb-v11-6-bc12954a0688@collabora.com
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
