From mboxrd@z Thu Jan 1 00:00:00 1970 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 DA63B15E8B for ; Fri, 24 Oct 2025 19:17:28 +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=1761333451; cv=none; b=RRs9OVjJDsOcwEHBVl+7C9fFSOGtYO0a5ma/YW/COsb/SgBLurIc6j3cT0GFjSMZf9fUPKYB8i/yICDsylilkTpAhuqHcZ90qAvbnwWxpPYUawI0YS3TQmAnXSNT1n8G0kKoazbjfjfomazjJ1eYhha/b2WQnc9oSgbaTgQpOrg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761333451; c=relaxed/simple; bh=9azi96wBOJ6vXSjdzcfToJLMXg52vQx/W6W0iwJWqYo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=GCaw8tpJ1vWVF7siKo8z2nHzBuhM5aOR3Fse8puA2lbrXLEA3uW9JriXtaqGjX5aoEGVr/SCiaWmZfxcedaVZQE5wri1B/oSRxVoqb+SQ+Q5+lk1Wh8s6O2pQ7sx8feJ9dxIeSyfGBL/MVsz2nT9G1NIk4Q3kLE1w7Kxwz/N2P0= 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=c5qzPTWL; 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="c5qzPTWL" 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=1761333446; 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; bh=ANhWe0qYmdKcTZKvGQIIz2zwd1hYT8FYOTKZM81v5zg=; b=c5qzPTWLkI5BS8Q9Bxza059jRaigNP0KvcgfSEQz7jCHxGdxyrLpK/C7Z9ApfId+cminFW KruiW/u5a4HLo/OfAiaBZ2rN07GHVyznZGXtqnTtvejQ9b0ljIzToxbxRmJkoAL04amwNR vkU+iLtPQpZKydeJQBOkXv78wFbq7eY= 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 0/3] drm: zynqmp_dp: Retrain link after HPD if necessary Date: Fri, 24 Oct 2025 15:17:04 -0400 Message-Id: <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: 8bit X-Migadu-Flow: FLOW_OUT I noticed that after reconnecting a mini-displayport cable, the sink would not display an image. But if I forced the link to re-train, the image would come back. Some digging revealed that the DP spec requires retraining after a HPD event if the sink syas the link has gone down. So implement that since it fixes my problem and it's required by spec. Sean Anderson (3): drm: zynqmp_dp: Update connector state before AUX transfers drm: zynqmp_dp: Use smp_load/store for status drm: zynqmp_dp: Retrain link after HPD if necessary drivers/gpu/drm/xlnx/zynqmp_dp.c | 43 +++++++++++++++++++------------- 1 file changed, 26 insertions(+), 17 deletions(-) -- 2.35.1.1320.gc452695387.dirty