From: hwangjae lee Date: Mon, 21 May 2018 10:03:38 +0000 (+0900) Subject: [9610] fbdev: dpu: DPU bts code code clean X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=57d8755bf5bba7bfadd69944d410fc1e813184e9;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [9610] fbdev: dpu: DPU bts code code clean Change-Id: I0c525b1503239dab58000136e43c799410b7e6da Signed-off-by: hwangjae lee --- diff --git a/drivers/video/fbdev/exynos/dpu20/bts.c b/drivers/video/fbdev/exynos/dpu20/bts.c index f6cf73bc7cfc..d7678741f793 100644 --- a/drivers/video/fbdev/exynos/dpu20/bts.c +++ b/drivers/video/fbdev/exynos/dpu20/bts.c @@ -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; diff --git a/drivers/video/fbdev/exynos/dpu20/cal_9610/dsim_cal.h b/drivers/video/fbdev/exynos/dpu20/cal_9610/dsim_cal.h index 48391172297f..804b9e63d90c 100644 --- a/drivers/video/fbdev/exynos/dpu20/cal_9610/dsim_cal.h +++ b/drivers/video/fbdev/exynos/dpu20/cal_9610/dsim_cal.h @@ -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 diff --git a/drivers/video/fbdev/exynos/dpu20/decon_dsi.c b/drivers/video/fbdev/exynos/dpu20/decon_dsi.c index ecacf5779cee..aafd57d91386 100644 --- a/drivers/video/fbdev/exynos/dpu20/decon_dsi.c +++ b/drivers/video/fbdev/exynos/dpu20/decon_dsi.c @@ -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