]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/meson: use vclk_freq instead of pixel_freq in debug print
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Fri, 6 Jun 2025 22:10:31 +0000 (00:10 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 10 Jun 2025 12:14:43 +0000 (14:14 +0200)
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 <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250606221031.3419353-1-martin.blumenstingl@googlemail.com
drivers/gpu/drm/meson/meson_vclk.c

index 3325580d885d0ac225356a950aebc679a23d78a4..c4123bb958e4c763a9f49d63060f0910740ffc0c 100644 (file)
@@ -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));