From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3561606A31F for ; Sat, 5 Dec 2026 23:57:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Ctk4q/k9 Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5D51D10E295; Sat, 5 Dec 2026 23:57:48 +0000 (UTC) Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3346110E295 for ; Sat, 5 Dec 2026 23:57:42 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id CA1BD4336B; Sat, 5 Dec 2026 23:57:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B94F1F0092B; Sat, 5 Dec 2026 23:57:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796515061; bh=KtjOd4/f7QZ/GrvhaMYaq2zC+UK5VzfTb9QyuFesjCQ=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Ctk4q/k9FPPZAzifO0o0rKg0RGKXxvNIvr7/AKDqa81YHJLwRaB9gzP/dOEKGcrKS d09jESkO5ehmUlBsiLAb4Mvzv/Cy2kdytD8jXHK7GwPquWpNdFKw4F9QrOqi3oDcht lakSfdPzz6o3zEMHa/qyqkoh6AJAG2gXMr3kYTN1jmXS9s3XOHVSxOEn3ATrtW9b2g IFhV/AEJRuiKDCU/2DI9Pm2Z76J+jIhbsyVzzPXFSzFbY3CX146qE3mJwseyhDUEfC vjqLcXeER+RAibruBI3siEda/zsvOCaoh4XwwIbMPR+U03sB3HuNivxmGd+hyePBqg Qav7ZlSOVPLPw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH v2 2/4] drm/exynos: exynos_dp: change poweron/off to encoder enable/disable To: "Alexandre Marquet" Cc: dri-devel@lists.freedesktop.org In-Reply-To: <20261206-drm-misc-next-manta-auxbus-v2-2-390b739ce0db@a-marquet.fr> References: <20261206-drm-misc-next-manta-auxbus-v2-0-390b739ce0db@a-marquet.fr> <20261206-drm-misc-next-manta-auxbus-v2-2-390b739ce0db@a-marquet.fr> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Sat, 05 Dec 2026 23:57:41 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sashiko-reviews@lists.linux.dev Sender: "dri-devel" X-Spam-Status: No, score=-16.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Archived-By: Thank you for your contribution! Sashiko AI review found 3 potential issues to consider: - [Low] drm/exynos: exynos_dp: missing Fixes trailer for regression fix - [Low] drm/exynos: exynos_dp: inaccurate commit message failure site and clock name - [Low] drm/exynos: exynos_dp: unused to_dp() macro left behind -- commit 269abfdbef2082384c741927ed813980afbb8c76 Author: Alexandre Marquet > drm/exynos: exynos_dp: change poweron/off to encoder enable/disable > > Current functions exynos_dp_poweron()/exynos_dp_poweroff(), that > supposedly powers on/off the device, actually only enable the encoder > clock. This causes issues where poweron() calls fail silently in > analogix_dp_probe(), leading in some cases to a state where the encoder > is never enabled but the rest of the driver assumes that it is. [Severity: Low] Is this description of the failure site and clock accurate? analogix_dp_probe() only enables runtime PM and never calls power_on(). The silent -EPERM failure happens in analogix_dp_resume() when runtime PM resumes for a pre-modeset DP AUX transaction while encoder->crtc is NULL. Also, exynos_dp_crtc_clock_enable() toggles the CRTC's FIMD-to-DP pipeline clock via exynos_drm_pipe_clk_enable(), not the DP encoder clock (dp->clock), which remains managed in analogix_dp_resume() and analogix_dp_suspend(). > This commit fixes the issue by moving the code enabling/disabling > encoder clocks from the analogix DP bridge platform data, to the DRM > encoder funcs struct (exynos_dp_encoder_helper_funcs). > > Signed-off-by: Alexandre Marquet > Tested-by: Marek Szyprowski [Severity: Low] This fixes a regression introduced when platform power handling moved into runtime PM. Should this include: Fixes: 73f613908eb1 ("drm/bridge: analogix_dp: move platform and PHY powe= r handling into runtime PM") > diff --git a/drivers/gpu/drm/exynos/exynos_dp.c b/drivers/gpu/drm/exynos/= exynos_dp.c > index 4db7400c8a232..e6c43bd0018ea 100644 > --- a/drivers/gpu/drm/exynos/exynos_dp.c > +++ b/drivers/gpu/drm/exynos/exynos_dp.c > @@ -43,39 +43,27 @@ struct exynos_dp_device { > struct analogix_dp_plat_data plat_data; > }; > =20 > -static int exynos_dp_crtc_clock_enable(struct analogix_dp_plat_data *pla= t_data, > - bool enable) > -{ > - struct exynos_dp_device *dp =3D to_dp(plat_data); > - struct drm_encoder *encoder =3D &dp->encoder; [Severity: Low] With this caller removed, the to_dp() macro in exynos_dp.c has no remaining users. Can it be removed in this commit too? --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261206-drm-misc-n= ext-manta-auxbus-v2-0-390b739ce0db@a-marquet.fr?part=3D2