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

Commit 57db15f8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: dsi: fix panel minimum refresh rate configuration"

parents 470b9708 efd2e783
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@
#include "mdss_debug.h"

#define DT_CMD_HDR 6
#define MIN_REFRESH_RATE 48
#define DEFAULT_MDP_TRANSFER_TIME 14000

#define VSYNC_DELAY msecs_to_jiffies(17)
@@ -2176,10 +2175,10 @@ static int mdss_dsi_set_refresh_rate_range(struct device_node *pan_node,
				__func__, __LINE__);

		/*
		 * Since min refresh rate is not specified when dynamic
		 * fps is enabled, using minimum as 30
		 * If min refresh rate is not specified, set it to the
		 * default panel refresh rate.
		 */
		pinfo->min_fps = MIN_REFRESH_RATE;
		pinfo->min_fps = pinfo->mipi.frame_rate;
		rc = 0;
	}