[HACK][9610] bts: disable PM QoS request
authorTaekki Kim <taekki.kim@samsung.com>
Fri, 11 May 2018 04:21:43 +0000 (13:21 +0900)
committerJaehyoung Choi <jkkkkk.choi@samsung.com>
Fri, 11 May 2018 05:17:16 +0000 (14:17 +0900)
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 <taekki.kim@samsung.com>
drivers/bts/bts-exynos9610.c

index 92d2879c5ae40b5dfe1576fcd0a37bbcbe4f9bae..06039463f0904209b27ea2a3d10d412a70414b9b 100644 (file)
@@ -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();