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

Commit ad45b289 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: fix frame rate calculation for DP interface"

parents c91b3261 e677fbbf
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1012,13 +1012,11 @@ static inline u32 mdss_panel_get_framerate(struct mdss_panel_info *panel_info)
	case MIPI_CMD_PANEL:
		frame_rate = panel_info->mipi.frame_rate;
		break;
	case DP_PANEL:
		frame_rate = panel_info->edp.frame_rate;
		break;
	case WRITEBACK_PANEL:
		frame_rate = DEFAULT_FRAME_RATE;
		break;
	case DTV_PANEL:
	case DP_PANEL:
		if (panel_info->dynamic_fps) {
			frame_rate = panel_info->lcdc.frame_rate / 1000;
			if (panel_info->lcdc.frame_rate % 1000)