From nobody Tue Nov 26 04:20:14 2024 Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) (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 8F5D81F8F1B for ; Mon, 21 Oct 2024 13:42:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.241.56.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729518160; cv=none; b=kQ6BBhoTd4LMbYyg9ysfzttBIQ1e3/379WlddqXmd8h13Hij1kM6ZtYWqi8TWiDH09uvCsMPwqM5ful8xscrClStokX8MJPgGkqEAgdJcFAhQHEri1GJeWsl/88jv81UqxJCu7faHwCo/7DlvaLOnTLb323BngBpaliWbkQBCoQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729518160; c=relaxed/simple; bh=2OvNmKCE+1cUEVZtspsYcVHSe2PwsTglKsSpIw30sCY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kalegSDwInl+kj9ZcoJliwLYSV81pCiQ5cujHl/3gx45lb8pYMeb3UmyA45GaBLtxnLFLGhad40vP668JODbYFKMPazpV/nY26FPTyc63tn0c2VEpHB1JSrssPzFrl0iPCisg7PwN1N69Ge0zEV3tZWneGIh+tvFplj6f7tw4u0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=steffen.cc; spf=pass smtp.mailfrom=steffen.cc; dkim=pass (2048-bit key) header.d=steffen.cc header.i=@steffen.cc header.b=1HBJy0MW; arc=none smtp.client-ip=80.241.56.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=steffen.cc Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=steffen.cc Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=steffen.cc header.i=@steffen.cc header.b="1HBJy0MW" Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4XXGhT4w7Sz9sqr; Mon, 21 Oct 2024 15:42:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=steffen.cc; s=MBO0001; t=1729518153; 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=p+Ueqw7K6WBwEq+dB6zx4UE03I/127H/OEWMY7Bd6us=; b=1HBJy0MWhCTeRao5h9ySggPP1YHqCwKRWJJp3t1NP8nwkRoGsFXoWVwCX3oW70/FDGnAe8 KXbn4FFgoq3/axUS7BRaaxQNLeET3MGRX8jSRScyubaL909T6gnkdmuYFSmlqdz3B2e6q+ hL3J4NEV+1UIgeH5D81zf54lz2uOqi8493PZffxo+reHiPl2SmIZwlxFFJlTUPhnO34ycG Gi8WnZ9pKlwZX5hXP/rLoS/KCaFalUyv1KtAUDK3FYPKhdkIzzFgv36GxUVQn+S8VzWp7S mXmgJibt1/VcdzNEzQaDJE8FuAu3uid3+MQv8+f8td6b/pEcvsoH+5NWMlUJ/w== From: Steffen Dirkwinkel To: dri-devel@lists.freedesktop.org, Laurent Pinchart Cc: Dmitry Baryshkov , Steffen Dirkwinkel , Tomi Valkeinen , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Michal Simek , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm: xlnx: zynqmp_dpsub: fix hotplug detection Date: Mon, 21 Oct 2024 15:41:14 +0200 Message-ID: <20241021134115.216568-1-lists@steffen.cc> 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 Content-Type: text/plain; charset="utf-8" From: Steffen Dirkwinkel drm_kms_helper_poll_init needs to be called after zynqmp_dpsub_kms_init. zynqmp_dpsub_kms_init creates the connector and without it we don't enable hotplug detection. Signed-off-by: Steffen Dirkwinkel --- drivers/gpu/drm/xlnx/zynqmp_kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/xlnx/zynqmp_kms.c b/drivers/gpu/drm/xlnx/zynqm= p_kms.c index bd1368df7870..311397cee5ca 100644 --- a/drivers/gpu/drm/xlnx/zynqmp_kms.c +++ b/drivers/gpu/drm/xlnx/zynqmp_kms.c @@ -509,12 +509,12 @@ int zynqmp_dpsub_drm_init(struct zynqmp_dpsub *dpsub) if (ret) return ret; =20 - drm_kms_helper_poll_init(drm); - ret =3D zynqmp_dpsub_kms_init(dpsub); if (ret < 0) goto err_poll_fini; =20 + drm_kms_helper_poll_init(drm); + /* Reset all components and register the DRM device. */ drm_mode_config_reset(drm); =20 --=20 2.47.0