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 61C561F3B96; Mon, 23 Jun 2025 21:17:43 +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=1750713463; cv=none; b=uJkalobPN6HBG4xGkpyIGp6UWslGTmwZ8tEHaQKnQEL0a6gbs2yUV/8Dt3X7a/JGa/1SBtMDtN/X0lZ+9JRGMuizCTUdDMfG3znokjTdUlN8QhBNKYiPtOi4jPSpe//pLHVe9tnX8JO3UZhiI5BtF2y+E3flj1azeSY3gD0eMLI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750713463; c=relaxed/simple; bh=GljUwZqF+99DJmZGgYQ9bFi8fmPE1vbLgugBcj5HF9I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kR3ARZhZd0rDl4Th2xnWM3aMhq6yOz/rmd3O/XI+4BIG9eQQPQB8tTrxv9xORBdFuZlIWh9SJOcc/1Y3PtMclyGLdrSVJsSDirUJWucbrrdDARGYsuppx8hxvwjGKPjSR4gTX886wjv+aNgMoRfHliVl1oSnzK/8FrNo73GcSvg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=naeyzlEw; 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="naeyzlEw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7E04C4CEEA; Mon, 23 Jun 2025 21:17:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750713463; bh=GljUwZqF+99DJmZGgYQ9bFi8fmPE1vbLgugBcj5HF9I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=naeyzlEwHdQifB/jwlfJ8BS1pV/hMRHutFR1kKEo9lwfL9rzJY7Y6uwOgoFBA11o0 gWLjzN1B+fB23FnSOg2UTAmgrDF4ZeRv6sLwHIy14XG7tYiDex9aLuaFCH/NWyszJY 7AeuDsIJd5IyO/BqQxb9KQtSH8XlR6Wy2lC8Gea4= 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 5.15 148/411] drm/meson: use vclk_freq instead of pixel_freq in debug print Date: Mon, 23 Jun 2025 15:04:52 +0200 Message-ID: <20250623130637.347173601@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250623130632.993849527@linuxfoundation.org> References: <20250623130632.993849527@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 5.15-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