From nobody Sun Feb 8 05:26:55 2026 Received: from out-181.mta0.migadu.com (out-181.mta0.migadu.com [91.218.175.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB05B1E98EF for ; Fri, 24 Oct 2025 19:17:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761333452; cv=none; b=NabE2paQaOsKk0gme3Nib94AU9yl1VQWolCkIp4UyRecDDodaYf6NyUVmdhKxGHQT/MnGEHPJoa/5XYmh0wa8Ixv+S9HQqrUkXjangoSNh6f4Df51+EKXaNLM/7I+B5LT9OGhvxBlUvo4DHxAHfW1AmaBDrSLQ7WpyN+sM+KSFQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761333452; c=relaxed/simple; bh=M35FZF9FZHHqFhXklunZHjP2+vMtckyHYPaoKSrmPUI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=OoBhanYBCjYfw2xHLo7RY0JmzDmqhAE+LejpIohbpGlUUFCPqTdr+aXwiPiIM94ApgClpfea5arXbBgefuK5PK8x1pM5vALGYgiE+iIadZd4G5X8q/r8DonLBWB6jl8PODgCFJlMekg4pLt8LvxPJfjQTS/1nZ+xhBRa6vI7H+U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=s/jCUmPp; arc=none smtp.client-ip=91.218.175.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="s/jCUmPp" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1761333448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+Hv9cQ6qRRi2vVHLXfvCFJ0ztNKP7yXxJBYCkVumGr0=; b=s/jCUmPp0JFWxmvc6dD3Mv6HLCLd0hsNa8sA/9O/qtRJTalPT8D0Itf6d0vwStc+JdTvnz qBETiCc1v4TKQZI7qjE/mSHbkZOPxZrzfWOiZS/TS4U0RpaCxYbx8wRyzRHNjrVRUQ9+Mh zQBWT7LkOD8hAy/5PQM2bNTYA18BYGo= From: Sean Anderson To: Laurent Pinchart , Tomi Valkeinen , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, David Airlie , Hyun Kwon , Simona Vetter , Michal Simek , linux-arm-kernel@lists.infradead.org, Sean Anderson Subject: [PATCH 1/3] drm: zynqmp_dp: Update connector state before AUX transfers Date: Fri, 24 Oct 2025 15:17:05 -0400 Message-Id: <20251024191707.2310589-2-sean.anderson@linux.dev> In-Reply-To: <20251024191707.2310589-1-sean.anderson@linux.dev> References: <20251024191707.2310589-1-sean.anderson@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" We still want to retry AUX transfers even when the connector is first plugged in. Update the connector state before reading the DPDC to ensure the AUX bus sees the most-recent state. Fixes: d76271d22694 ("drm: xlnx: DRM/KMS driver for Xilinx ZynqMP DisplayPo= rt Subsystem") Signed-off-by: Sean Anderson --- drivers/gpu/drm/xlnx/zynqmp_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/xlnx/zynqmp_dp.c b/drivers/gpu/drm/xlnx/zynqmp= _dp.c index 34ddbf98e81d..f39c78b08e6a 100644 --- a/drivers/gpu/drm/xlnx/zynqmp_dp.c +++ b/drivers/gpu/drm/xlnx/zynqmp_dp.c @@ -1697,6 +1697,7 @@ static enum drm_connector_status __zynqmp_dp_bridge_d= etect(struct zynqmp_dp *dp) } =20 if (state & ZYNQMP_DP_INTERRUPT_SIGNAL_STATE_HPD) { + dp->status =3D connector_status_connected; ret =3D drm_dp_dpcd_read(&dp->aux, 0x0, dp->dpcd, sizeof(dp->dpcd)); if (ret < 0) { @@ -1711,7 +1712,6 @@ static enum drm_connector_status __zynqmp_dp_bridge_d= etect(struct zynqmp_dp *dp) drm_dp_max_lane_count(dp->dpcd), dp->num_lanes); =20 - dp->status =3D connector_status_connected; return connector_status_connected; } =20 --=20 2.35.1.1320.gc452695387.dirty