[COMMON] g2d: enable to lock device frequency
authorhyesoo.yu <hyesoo.yu@samsung.com>
Fri, 1 Jun 2018 02:33:58 +0000 (11:33 +0900)
committerJanghyuck Kim <janghyuck.kim@samsung.com>
Mon, 23 Jul 2018 05:39:24 +0000 (14:39 +0900)
Change-Id: I377499a8d7c351f17a7a7c2aa8aed8e8e1ebdc05
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
drivers/gpu/exynos/g2d/g2d_perf.c

index d8b32c42e900845026723fd9b79b114b5b60270a..31480b9a62e761cfa2869a4ef07ee2e55c2080d4 100644 (file)
 #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);
 }