From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B9CB4285065; Tue, 17 Jun 2025 16:12:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750176764; cv=none; b=HubSGzxEa1pz4UT8G0oEtqFkBlFSxdTx1LE1bQ00LHL81dodI1Rjm2N80Q7ulmOWxLpv9YJfmyZIijFR6vYK/VXhFBZH5dE05xe5QyN7lmqNfYWrytXHs4x4jT2iKYPY6nke0Sk4n9cD/f5XkH8s6qM9dg+cpDOaZ8kfC5qncho= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750176764; c=relaxed/simple; bh=iLMlm5mH1fVDcuY3IAtw7n+2W4TUuAScqo/m/hs/Q/U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AwTbPgnjHcUU/trkRdDZ7iNBSiCPFJW80E1wVa3sfS0PPqA4LD1O2UUiCzxH7Zqe4aS0+DoilXKnuAVKKaOUdUYtkONYULVONG+EYefYRRXPuRpqDavWABNXue0AaO+KTl1cGFUWIQ7Bu5Nrq2cXD8XEwVHkpeDEVyVpAJEV9fI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NasHOaDR; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="NasHOaDR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2A21FC4CEE3; Tue, 17 Jun 2025 16:12:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750176764; bh=iLMlm5mH1fVDcuY3IAtw7n+2W4TUuAScqo/m/hs/Q/U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NasHOaDRt/eVmH89HzWrpYfjncV8H6r8hjEq/nE0oZOSlnOXOkiGDNXO4HtHGgiQO JQsH6djR9bFuJjfCoImcBuIYmCX0eqcnftP7K81hI7gcGWBQqRvFMhs0pmU9rMgQth 3/z+Eb6v8Rgq7g0xHLB3WIjL/dtLGsZOXKYDJXy4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Martin Blumenstingl , Neil Armstrong , Sasha Levin Subject: [PATCH 6.6 311/356] drm/meson: use vclk_freq instead of pixel_freq in debug print Date: Tue, 17 Jun 2025 17:27:06 +0200 Message-ID: <20250617152350.683889817@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250617152338.212798615@linuxfoundation.org> References: <20250617152338.212798615@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Martin Blumenstingl [ Upstream commit faf2f8382088e8c74bd6eeb236c8c9190e61615e ] meson_vclk_vic_supported_freq() has a debug print which includes the pixel freq. However, within the whole function the pixel freq is irrelevant, other than checking the end of the params array. Switch to printing the vclk_freq which is being compared / matched against the inputs to the function to avoid confusion when analyzing error reports from users. Fixes: e5fab2ec9ca4 ("drm/meson: vclk: add support for YUV420 setup") Signed-off-by: Martin Blumenstingl Reviewed-by: Neil Armstrong Signed-off-by: Neil Armstrong Link: https://lore.kernel.org/r/20250606221031.3419353-1-martin.blumenstingl@googlemail.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/meson/meson_vclk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/meson/meson_vclk.c b/drivers/gpu/drm/meson/meson_vclk.c index 3325580d885d0..c4123bb958e4c 100644 --- a/drivers/gpu/drm/meson/meson_vclk.c +++ b/drivers/gpu/drm/meson/meson_vclk.c @@ -790,9 +790,9 @@ meson_vclk_vic_supported_freq(struct meson_drm *priv, } for (i = 0 ; params[i].pixel_freq ; ++i) { - DRM_DEBUG_DRIVER("i = %d pixel_freq = %lluHz alt = %lluHz\n", - i, params[i].pixel_freq, - PIXEL_FREQ_1000_1001(params[i].pixel_freq)); + DRM_DEBUG_DRIVER("i = %d vclk_freq = %lluHz alt = %lluHz\n", + i, params[i].vclk_freq, + PIXEL_FREQ_1000_1001(params[i].vclk_freq)); DRM_DEBUG_DRIVER("i = %d phy_freq = %lluHz alt = %lluHz\n", i, params[i].phy_freq, PHY_FREQ_1000_1001(params[i].phy_freq)); -- 2.39.5