From ebc35eb92b23a5c92acfeba1c7d7617c782e9a80 Mon Sep 17 00:00:00 2001 From: "hyesoo.yu" Date: Fri, 1 Jun 2018 11:33:58 +0900 Subject: [PATCH] [COMMON] g2d: enable to lock device frequency Change-Id: I377499a8d7c351f17a7a7c2aa8aed8e8e1ebdc05 Signed-off-by: hyesoo.yu --- drivers/gpu/exynos/g2d/g2d_perf.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/exynos/g2d/g2d_perf.c b/drivers/gpu/exynos/g2d/g2d_perf.c index d8b32c42e900..31480b9a62e7 100644 --- a/drivers/gpu/exynos/g2d/g2d_perf.c +++ b/drivers/gpu/exynos/g2d/g2d_perf.c @@ -25,11 +25,8 @@ #ifdef CONFIG_PM_DEVFREQ static void g2d_pm_qos_update_devfreq(struct pm_qos_request *req, u32 freq) { - /* - * FIXME: PM_QOS_DEVICE_THROUGHPUT is not in the upstream kernel. - * if (!pm_qos_request_active(req)) - * pm_qos_add_request(req, PM_QOS_DEVICE_THROUGHPUT, 0); - */ + if (!pm_qos_request_active(req)) + pm_qos_add_request(req, PM_QOS_DEVICE_THROUGHPUT, 0); pm_qos_update_request(req, freq); } -- 2.20.1