diff options
author | Finley Xiao <finley.xiao@rock-chips.com> | 2019-01-18 16:29:57 +0800 |
---|---|---|
committer | Tao Huang <huangtao@rock-chips.com> | 2019-01-23 18:39:42 +0800 |
commit | b5d345b2e871ce2bcf26e1bfc7e9c851cb5a6ff1 (patch) | |
tree | f88dc48da389b4a07baeeb65f6f10639e75ca47b /include | |
parent | 85115a5899052ec3dbe6f91a91eb45aeb8552886 (diff) |
PM / devfreq: rockchip_dmc: Change readlatency according to plane number
Change-Id: Ie0340c80c693c86fed90a155104cf2f8ca6ce16e
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/soc/rockchip/rockchip_dmc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/soc/rockchip/rockchip_dmc.h b/include/soc/rockchip/rockchip_dmc.h index aaa8cbeed94e..0bc2b8f92b53 100644 --- a/include/soc/rockchip/rockchip_dmc.h +++ b/include/soc/rockchip/rockchip_dmc.h @@ -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 |