mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
drm: Boost DDR bus when a new frame is ready to be committed
Change-Id: I5e1bb49eb16b153161f7a876289928e041eb53ec Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
b4fb1a8b46
commit
112243ebc3
@ -20,6 +20,7 @@
|
||||
#include <linux/sort.h>
|
||||
#include <linux/debugfs.h>
|
||||
#include <linux/ktime.h>
|
||||
#include <linux/devfreq_boost.h>
|
||||
#include <uapi/drm/sde_drm.h>
|
||||
#include <drm/drm_mode.h>
|
||||
#include <drm/drm_crtc.h>
|
||||
@ -4367,6 +4368,10 @@ void sde_crtc_commit_kickoff(struct drm_crtc *crtc,
|
||||
|
||||
SDE_ATRACE_BEGIN("crtc_commit");
|
||||
|
||||
/* Boost when a new frame is ready to be committed */
|
||||
devfreq_boost_kick(DEVFREQ_CPU_LLCC_DDR_BW);
|
||||
devfreq_boost_kick(DEVFREQ_CPU_CPU_LLCC_BW);
|
||||
|
||||
is_error = _sde_crtc_prepare_for_kickoff_rot(dev, crtc);
|
||||
|
||||
idle_pc_state = sde_crtc_get_property(cstate, CRTC_PROP_IDLE_PC_STATE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user