From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A4DB8CCD1BF for ; Fri, 24 Oct 2025 19:23:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1878610EB35; Fri, 24 Oct 2025 19:23:00 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=linux.dev header.i=@linux.dev header.b="c5qzPTWL"; dkim-atps=neutral Received: from out-188.mta0.migadu.com (out-188.mta0.migadu.com [91.218.175.188]) by gabe.freedesktop.org (Postfix) with ESMTPS id EF27310EB32 for ; Fri, 24 Oct 2025 19:22:48 +0000 (UTC) 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> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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