Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2abd935f authored by Tatenda Chipeperekwa's avatar Tatenda Chipeperekwa
Browse files

drm/msm/dp: limit the logs related to DSC modes



Limit the logs related to DSC modes to use cases in which the
mode has DSC capabilities.

Change-Id: I1ab02e936aa1c67aa2824c88c86d5d5144163f60
Signed-off-by: default avatarTatenda Chipeperekwa <tatendac@codeaurora.org>
parent f5f31790
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1894,6 +1894,7 @@ static void dp_display_convert_to_dp_mode(struct dp_display *dp_display,
	if (free_dsc_blks >= required_dsc_blks)
		dp_mode->capabilities |= DP_PANEL_CAPS_DSC;

	if (dp_mode->capabilities & DP_PANEL_CAPS_DSC)
		pr_debug("in_use:%d, max:%d, free:%d, req:%d, caps:0x%x, width:%d\n",
			dp->tot_dsc_blks_in_use, dp->parser->max_dp_dsc_blks,
			free_dsc_blks, required_dsc_blks, dp_mode->capabilities,