From 2e23583e0cd7f6c1a9fe3f168469757f8aabf251 Mon Sep 17 00:00:00 2001 From: Jiyu Yang Date: Wed, 29 Aug 2018 13:34:21 +0800 Subject: [PATCH] gpu:disable platform power down macro PD#173105: gpu:disable platform power down macro Change-Id: I545cad6b5fe064a10b6a566f1acf071806498073 --- .../kernel/drivers/gpu/arm/midgard/mali_kbase_config_defaults.h | 2 +- .../kernel/drivers/gpu/arm/midgard/mali_kbase_config_defaults.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/mali_kbase_config_defaults.h b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/mali_kbase_config_defaults.h index 684bf5d..dbb4f97 100644 --- a/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/mali_kbase_config_defaults.h +++ b/bifrost/r10p0/kernel/drivers/gpu/arm/midgard/mali_kbase_config_defaults.h @@ -270,7 +270,7 @@ enum { * Note that as this prevents kbase from powering down shader cores, this limits * the available power policies to coarse_demand and always_on. */ -#define PLATFORM_POWER_DOWN_ONLY (1) +#define PLATFORM_POWER_DOWN_ONLY (0) /* * Maximum frequency (in kHz) that the GPU can be clocked. For some platforms diff --git a/dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_config_defaults.h b/dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_config_defaults.h index 376a94b..9d918a8 100755 --- a/dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_config_defaults.h +++ b/dvalin/kernel/drivers/gpu/arm/midgard/mali_kbase_config_defaults.h @@ -264,7 +264,7 @@ enum { * Note that as this prevents kbase from powering down shader cores, this limits * the available power policies to coarse_demand and always_on. */ -#define PLATFORM_POWER_DOWN_ONLY (1) +#define PLATFORM_POWER_DOWN_ONLY (0) /** * Maximum frequency (in kHz) that the GPU can be clocked. For some platforms -- 2.20.1