linux/drivers/gpu
Cristian Ciocaltea 9d1e2ae719 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>
2026-09-19 23:03:44 +03:00
..
drm drm/probe-helper: Introduce .force_ctx() connector callback 2026-09-19 23:03:44 +03:00
host1x Linux 7.2 2026-08-20 10:58:44 +10:00
ipu-v3
nova-core drm for 7.3-rc1 2026-08-21 08:41:00 -07:00
tests gpu/tests/buddy: add dirty tracker performance KUnit test 2026-08-27 17:59:01 +05:30
trace
vga vga-switcheroo: Remove unused interfaces 2026-09-11 16:52:43 +02:00
buddy.c Merge drm/drm-next into drm-misc-next 2026-09-07 13:44:24 +02:00
Kconfig gpu: Fix dependencies in CONFIG_GPU_BUDDY_KUNIT_TEST 2026-07-29 13:06:24 +02:00
Makefile