From aa6f441e35a565319cef69f1b47900de5b7d3f64 Mon Sep 17 00:00:00 2001 From: Taekki Kim Date: Fri, 11 May 2018 13:21:43 +0900 Subject: [PATCH] [HACK][9610] bts: disable PM QoS request This pathc disables PM QoS request because PM QoS classes are not applied for devfreq. This patch will be revert after applied PM QoS and Devfreq. Change-Id: Ia4ad7aa6f0368e29edbca1f8c78c14c0838b99a0 Signed-off-by: Taekki Kim --- drivers/bts/bts-exynos9610.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/bts/bts-exynos9610.c b/drivers/bts/bts-exynos9610.c index 92d2879c5ae4..06039463f090 100644 --- a/drivers/bts/bts-exynos9610.c +++ b/drivers/bts/bts-exynos9610.c @@ -165,8 +165,10 @@ struct trex_info { unsigned int write; }; +#if 0 static struct pm_qos_request exynos_mif_bts_qos; static struct pm_qos_request exynos_int_bts_qos; +#endif static DEFINE_SPINLOCK(bts_lock); static DEFINE_MUTEX(media_mutex); @@ -1410,8 +1412,10 @@ void bts_update_bw(enum bts_bw_type type, struct bts_bw bw) mif_freq = total_bw * 100 / BUS_WIDTH / exynos_mif_util; int_freq = int_bw * 100 / BUS_WIDTH / exynos_int_util; +#if 0 pm_qos_update_request(&exynos_mif_bts_qos, mif_freq); pm_qos_update_request(&exynos_int_bts_qos, int_freq); +#endif BTS_DBG("[BTS] BW(KB/s): type%i bw %up %ur %uw,\n", type, bw.peak, bw.read, bw.write); @@ -3327,8 +3331,10 @@ static int __init exynos_bts_init(void) bts_initialize_domains(); +#if 0 pm_qos_add_request(&exynos_mif_bts_qos, PM_QOS_BUS_THROUGHPUT, 0); pm_qos_add_request(&exynos_int_bts_qos, PM_QOS_DEVICE_THROUGHPUT, 0); +#endif register_syscore_ops(&exynos_bts_syscore_ops); bts_debugfs(); -- 2.20.1