From 8c503dc354b3c68f8d069be96e2f687d23fabd4c Mon Sep 17 00:00:00 2001 From: xxm Date: Tue, 15 Jul 2014 15:02:15 +0800 Subject: [PATCH] rockchip:mali400:tmp not disable mali clk ,enable mali runtime pm --- drivers/clk/clk.c | 2 +- drivers/gpu/arm/mali400/mali/platform/rk30/rk3066.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 251c10b63c41..f18956ec5394 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -498,7 +498,7 @@ out: return; } -static bool clk_ignore_unused; +static bool clk_ignore_unused = true; static int __init clk_ignore_unused_setup(char *__unused) { clk_ignore_unused = true; diff --git a/drivers/gpu/arm/mali400/mali/platform/rk30/rk3066.c b/drivers/gpu/arm/mali400/mali/platform/rk30/rk3066.c index 6a1a422610a3..dae42a13a9ce 100644 --- a/drivers/gpu/arm/mali400/mali/platform/rk30/rk3066.c +++ b/drivers/gpu/arm/mali400/mali/platform/rk30/rk3066.c @@ -73,8 +73,10 @@ static struct mali_gpu_device_data mali_gpu_data = }; static void mali_platform_device_add_config(struct platform_device *pdev) { +#if 0 if (cpu_is_rk3036()) mali_gpu_device_device_type.pm = NULL; +#endif pdev->dev.id = 0; pdev->dev.release = mali_platform_device_release; pdev->dev.type = &mali_gpu_device_device_type; -- 2.34.1