Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/meson: use vclk_freq instead of pixel_freq in debug print

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

authored by

Martin Blumenstingl and committed by
Neil Armstrong
faf2f838 d17e61ab

+3 -3
+3 -3
drivers/gpu/drm/meson/meson_vclk.c
··· 790 790 } 791 791 792 792 for (i = 0 ; params[i].pixel_freq ; ++i) { 793 - DRM_DEBUG_DRIVER("i = %d pixel_freq = %lluHz alt = %lluHz\n", 794 - i, params[i].pixel_freq, 795 - PIXEL_FREQ_1000_1001(params[i].pixel_freq)); 793 + DRM_DEBUG_DRIVER("i = %d vclk_freq = %lluHz alt = %lluHz\n", 794 + i, params[i].vclk_freq, 795 + PIXEL_FREQ_1000_1001(params[i].vclk_freq)); 796 796 DRM_DEBUG_DRIVER("i = %d phy_freq = %lluHz alt = %lluHz\n", 797 797 i, params[i].phy_freq, 798 798 PHY_FREQ_1000_1001(params[i].phy_freq));