4 * (C) COPYRIGHT ARM Limited. All rights reserved.
6 * This program is free software and is provided to you under the terms of the
7 * GNU General Public License version 2 as published by the Free Software
8 * Foundation, and any use by you of this program is subject to the terms
11 * A copy of the licence is included with the program, and can also be obtained
12 * from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
13 * Boston, MA 02110-1301, USA.
22 * @file mali_kbase_pm_always_on.h
23 * "Always on" power management policy
26 #ifndef MALI_KBASE_PM_ALWAYS_ON_H
27 #define MALI_KBASE_PM_ALWAYS_ON_H
30 * The "Always on" power management policy has the following
32 * - When KBase indicates that the GPU will be powered up, but we don't yet
33 * know which Job Chains are to be run:
34 * - All Shader Cores are powered up, regardless of whether or not they will
36 * - When KBase indicates that a set of Shader Cores are needed to submit the
37 * currently queued Job Chains:
38 * - All Shader Cores are kept powered, regardless of whether or not they will
40 * - When KBase indicates that the GPU need not be powered:
41 * - The Shader Cores are kept powered, regardless of whether or not they will
42 * be needed. The GPU itself is also kept powered, even though it is not
45 * This policy is automatically overridden during system suspend: the desired
46 * core state is ignored, and the cores are forced off regardless of what the
47 * policy requests. After resuming from suspend, new changes to the desired
48 * core state made by the policy are honored.
51 * - KBase indicates the GPU will be powered up when it has a User Process that
52 * has just started to submit Job Chains.
53 * - KBase indicates the GPU need not be powered when all the Job Chains from
54 * User Processes have finished, and it is waiting for a User Process to
55 * submit some more Job Chains.
59 * Private structure for policy instance data.
61 * This contains data that is private to the particular power policy that is active.
63 typedef struct kbasep_pm_policy_always_on {
64 /** No state needed - just have a dummy variable here */
66 } kbasep_pm_policy_always_on;
68 #endif /* MALI_KBASE_PM_ALWAYS_ON_H */