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

Commit 19fc3d95 authored by Sandeep Panda's avatar Sandeep Panda
Browse files

msm: mdss: increase MDP ab vote to avoid under run



This change updates the bandwidth calculation for mdp3
hardware based on 8909 requirements, otherwise under run
is seen when USB is disconnected.

Change-Id: I49f7c225b57c43eca5ba8c6ac7b889e53cce6037
Signed-off-by: default avatarSandeep Panda <spanda@codeaurora.org>
parent 7ee16994
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
#include "mdss.h"

#define MDP_VSYNC_CLK_RATE	19200000
#define MDP_CORE_CLK_RATE	100000000
#define MDP_CORE_CLK_RATE	307200000
#define KOFF_TIMEOUT msecs_to_jiffies(84)

enum  {
+1 −1
Original line number Diff line number Diff line
@@ -351,7 +351,7 @@ static int mdp3_ctrl_res_req_bus(struct msm_fb_data_type *mfd, int status)
		struct mdss_panel_info *panel_info = mfd->panel_info;
		u64 ab = 0;
		u64 ib = 0;
		ab = panel_info->xres * panel_info->yres * 4;
		ab = panel_info->xres * panel_info->yres * 4 * 2;
		ab *= panel_info->mipi.frame_rate;
		ib = (ab * 3) / 2;
		rc = mdp3_bus_scale_set_quota(MDP3_CLIENT_DMA_P, ab, 0, ib);