[9610] fbdev: dpu: DPU bts code code clean
authorhwangjae lee <hj-yo.lee@samsung.com>
Mon, 21 May 2018 10:03:38 +0000 (19:03 +0900)
committerChungwoo Park <cww.park@samsung.com>
Wed, 23 May 2018 10:52:25 +0000 (19:52 +0900)
Change-Id: I0c525b1503239dab58000136e43c799410b7e6da
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
drivers/video/fbdev/exynos/dpu20/bts.c
drivers/video/fbdev/exynos/dpu20/cal_9610/dsim_cal.h
drivers/video/fbdev/exynos/dpu20/decon_dsi.c

index f6cf73bc7cfc4505510b63191ab00a82232f0a55..d7678741f7935fdc3f196ab40df1e788e208be8e 100644 (file)
@@ -456,7 +456,7 @@ void dpu_bts_init(struct decon_device *decon)
 
        decon->bts.enabled = false;
 
-       if (!IS_ENABLED(CONFIG_EXYNOS9820_BTS)) {
+       if (!IS_ENABLED(CONFIG_EXYNOS9610_BTS)) {
                DPU_ERR_BTS("decon%d bts feature is disabled\n", decon->id);
                return;
        }
@@ -498,9 +498,9 @@ void dpu_bts_init(struct decon_device *decon)
        DPU_DEBUG_BTS("[Init: D%d] resol clock = %d Khz\n",
                decon->id, decon->bts.resol_clk);
 
-//     pm_qos_add_request(&decon->bts.mif_qos, PM_QOS_BUS_THROUGHPUT, 0);
-//     pm_qos_add_request(&decon->bts.int_qos, PM_QOS_DEVICE_THROUGHPUT, 0);
-//     pm_qos_add_request(&decon->bts.disp_qos, PM_QOS_DISPLAY_THROUGHPUT, 0);
+       pm_qos_add_request(&decon->bts.mif_qos, PM_QOS_BUS_THROUGHPUT, 0);
+       pm_qos_add_request(&decon->bts.int_qos, PM_QOS_DEVICE_THROUGHPUT, 0);
+       pm_qos_add_request(&decon->bts.disp_qos, PM_QOS_DISPLAY_THROUGHPUT, 0);
        decon->bts.scen_updated = 0;
 
        decon->bts.enabled = true;
index 48391172297fe14b551a9cd90234324d25bb0cf5..804b9e63d90c6ebc6f764d2be01416069398761d 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (c) 2018 Samsung Electronics Co., Ltd.
  *             http://www.samsung.com
  *
- * Header file for Exynos9820 DSIM CAL
+ * Header file for Exynos9610 DSIM CAL
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
index ecacf5779cee8962c8ae4cc7be1c06b66fd60c1f..aafd57d91386c43f2142f618d011936a3253fb50 100644 (file)
@@ -877,7 +877,7 @@ int decon_enter_hiber(struct decon_device *decon)
                decon_dpp_stop(decon, false);
        }
 
-#if defined(CONFIG_EXYNOS9820_BTS)
+#if defined(CONFIG_EXYNOS9610_BTS)
        decon->bts.ops->bts_release_bw(decon);
 #endif