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:
Richard Raya 2024-06-23 22:31:04 -03:00
parent b4fb1a8b46
commit 112243ebc3

View File

@ -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);