PM / devfreq: rockchip_dmc: Change readlatency according to plane number

Change-Id: Ie0340c80c693c86fed90a155104cf2f8ca6ce16e
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
This commit is contained in:
Finley Xiao
2019-01-18 16:29:57 +08:00
committed by Tao Huang
parent 85115a5899
commit b5d345b2e8
3 changed files with 120 additions and 5 deletions

View File

@@ -22,7 +22,8 @@ int rockchip_dmcfreq_wait_complete(void);
int rockchip_dmcfreq_vop_bandwidth_request(struct devfreq *devfreq,
unsigned int bw_mbyte);
void rockchip_dmcfreq_vop_bandwidth_update(struct devfreq *devfreq,
unsigned int bw_mbyte);
unsigned int bw_mbyte,
unsigned int plane_num);
#else
static inline void rockchip_dmcfreq_lock(void)
@@ -47,7 +48,8 @@ rockchip_dmcfreq_vop_bandwidth_request(struct devfreq *devfreq,
static inline void
rockchip_dmcfreq_vop_bandwidth_update(struct devfreq *devfreq,
unsigned int bw_mbyte)
unsigned int bw_mbyte,
unsigned int plane_num)
{
}
#endif