Skip to content

Commit faf2f83

Browse files
xdarklightsuperna9999
authored andcommitted
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: e5fab2e ("drm/meson: vclk: add support for YUV420 setup") Signed-off-by: Martin Blumenstingl <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent d17e61a commit faf2f83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/gpu/drm/meson/meson_vclk.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -790,9 +790,9 @@ meson_vclk_vic_supported_freq(struct meson_drm *priv,
790790
}
791791

792792
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));
796796
DRM_DEBUG_DRIVER("i = %d phy_freq = %lluHz alt = %lluHz\n",
797797
i, params[i].phy_freq,
798798
PHY_FREQ_1000_1001(params[i].phy_freq));

0 commit comments

Comments
 (0)