mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
drm/connector: hdmi: Add missing bpc debug info to hdmi_try_format_bpc()
The very first debug message in hdmi_try_format_bpc() is incomplete, as it doesn't provide the given bpc in addition to the tried format. Add the missing debug information and drop the now redundant message from hdmi_compute_config(). Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Reviewed-by: Maxime Ripard <mripard@kernel.org> Link: https://lore.kernel.org/r/20250527-hdmi-conn-yuv-v5-4-74c9c4a8ac0c@collabora.com Signed-off-by: Maxime Ripard <mripard@kernel.org>
This commit is contained in:
parent
a191077792
commit
b01ea9acde
|
|
@ -579,8 +579,9 @@ hdmi_try_format_bpc(const struct drm_connector *connector,
|
|||
struct drm_device *dev = connector->dev;
|
||||
int ret;
|
||||
|
||||
drm_dbg_kms(dev, "Trying %s output format\n",
|
||||
drm_hdmi_connector_get_output_format_name(fmt));
|
||||
drm_dbg_kms(dev, "Trying %s output format with %u bpc\n",
|
||||
drm_hdmi_connector_get_output_format_name(fmt),
|
||||
bpc);
|
||||
|
||||
if (!sink_supports_format_bpc(connector, info, mode, fmt, bpc)) {
|
||||
drm_dbg_kms(dev, "%s output format not supported with %u bpc\n",
|
||||
|
|
@ -639,8 +640,6 @@ hdmi_compute_config(const struct drm_connector *connector,
|
|||
int ret;
|
||||
|
||||
for (bpc = max_bpc; bpc >= 8; bpc -= 2) {
|
||||
drm_dbg_kms(dev, "Trying with a %d bpc output\n", bpc);
|
||||
|
||||
ret = hdmi_compute_format(connector, conn_state, mode, bpc);
|
||||
if (ret)
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user