From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: drm/display: bridge_connector: Use cached connector status in .get_modes() Date: Mon, 25 May 2026 21:15:04 +1000 Message-ID: In-Reply-To: <20260520-dw-hdmi-qp-scramb-v6-8-24b74603b782@collabora.com> References: <20260520-dw-hdmi-qp-scramb-v6-0-24b74603b782@collabora.com> <20260520-dw-hdmi-qp-scramb-v6-8-24b74603b782@collabora.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Patch Review Good correctness improvement. The old code called `drm_bridge_connector_detect()` from `get_modes()`, which was redundant since `drm_helper_probe_single_connector_modes()` has already populated `connector->status`. Using the cached value avoids duplicate detect calls and the duplicate hotplug event that came with them. This is also a necessary prerequisite for the `detect_ctx` switch. --- Generated by Claude Code Patch Reviewer