]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/connector: hdmi: Improve debug message for supported format
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tue, 27 May 2025 12:11:11 +0000 (15:11 +0300)
committerMaxime Ripard <mripard@kernel.org>
Mon, 2 Jun 2025 09:02:31 +0000 (11:02 +0200)
Add the missing 'bpc' string to the debug message indicating the
supported format identified within hdmi_try_format_bpc() helper.

Reviewed-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-3-74c9c4a8ac0c@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
drivers/gpu/drm/display/drm_hdmi_state_helper.c

index e026f1ca82848f3be874245c06093d3be8355c5c..b05099c18f64a9cf1acecbfca8c9117b753117e4 100644 (file)
@@ -597,7 +597,7 @@ hdmi_try_format_bpc(const struct drm_connector *connector,
                return false;
        }
 
-       drm_dbg_kms(dev, "%s output format supported with %u (TMDS char rate: %llu Hz)\n",
+       drm_dbg_kms(dev, "%s output format supported with %u bpc (TMDS char rate: %llu Hz)\n",
                    drm_hdmi_connector_get_output_format_name(fmt),
                    bpc, conn_state->hdmi.tmds_char_rate);