From: Jiyu Yang Date: Wed, 29 Aug 2018 05:34:21 +0000 (+0800) Subject: gpu:disable platform power down macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2e23583e0cd7f6c1a9fe3f168469757f8aabf251;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_mali-driver.git gpu:disable platform power down macro PD#173105: gpu:disable platform power down macro Change-Id: I545cad6b5fe064a10b6a566f1acf071806498073 --- 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