Messages in this thread |  | | Date | Tue, 28 Apr 2026 00:52:34 +0300 | | From | Dmitry Baryshkov <> | | Subject | Re: [PATCH v5 03/10] drm/bridge-connector: Use cached connector status in .get_modes() |
| |
On Sun, Apr 26, 2026 at 03:20:15AM +0300, Cristian Ciocaltea wrote: > Replace the active drm_bridge_connector_detect() call in get_modes() > with a read of the already-cached connector->status. > > The .get_modes() callback is only invoked from > drm_helper_probe_single_connector_modes(), which has already retrieved > the connector status. Calling detect again is redundant and triggers a > duplicate hotplug event. This is also a prerequisite for switching to > the .detect_ctx() hook, which requires a drm_modeset_acquire_ctx not > available in the .get_modes() path. > > Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> > --- > drivers/gpu/drm/display/drm_bridge_connector.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) >
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
-- With best wishes Dmitry
|  |