Skip to content
This repository was archived by the owner on Jun 20, 2022. It is now read-only.

Commit 737f1e1

Browse files
kerneltoastradcolor
authored andcommitted
msm: mdss: Boost DDR bus when committing a new frame
In order to reduce jank, request a DDR bus boost whenever a new frame is ready to be rendered to the display. The boost should be sufficient enough to render 60 FPS without any dropped frames when there is no significant external source of load. Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
1 parent 8c9fe1d commit 737f1e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/video/fbdev/msm/mdss_fb.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
#include <linux/dma-buf.h>
4949
#include <linux/mdss_io_util.h>
5050
#include <linux/wakelock.h>
51+
#include <linux/devfreq_boost.h>
5152
#include <sync.h>
5253
#include <sw_sync.h>
5354

@@ -5895,6 +5896,7 @@ int mdss_fb_do_ioctl(struct fb_info *info, unsigned int cmd,
58955896
ret = mdss_fb_mode_switch(mfd, dsi_mode);
58965897
break;
58975898
case MSMFB_ATOMIC_COMMIT:
5899+
devfreq_boost_kick(DEVFREQ_MSM_CPUBW);
58985900
ret = mdss_fb_atomic_commit_ioctl(info, argp, file);
58995901
break;
59005902

0 commit comments

Comments
 (0)