3 * (C) COPYRIGHT ARM Limited. All rights reserved.
5 * This program is free software and is provided to you under the terms of the
6 * GNU General Public License version 2 as published by the Free Software
7 * Foundation, and any use by you of this program is subject to the terms
10 * A copy of the licence is included with the program, and can also be obtained
11 * from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
12 * Boston, MA 02110-1301, USA.
21 * @file mali_kbase_pm_coarse_demand.h
22 * "Coarse Demand" power management policy
25 #ifndef MALI_KBASE_PM_COARSE_DEMAND_H
26 #define MALI_KBASE_PM_COARSE_DEMAND_H
29 * The "Coarse" demand power management policy has the following
31 * - When KBase indicates that the GPU will be powered up, but we don't yet
32 * know which Job Chains are to be run:
33 * - All Shader Cores are powered up, regardless of whether or not they will
35 * - When KBase indicates that a set of Shader Cores are needed to submit the
36 * currently queued Job Chains:
37 * - All Shader Cores are kept powered, regardless of whether or not they will
39 * - When KBase indicates that the GPU need not be powered:
40 * - The Shader Cores are powered off, and the GPU itself is powered off too.
43 * - KBase indicates the GPU will be powered up when it has a User Process that
44 * has just started to submit Job Chains.
45 * - KBase indicates the GPU need not be powered when all the Job Chains from
46 * User Processes have finished, and it is waiting for a User Process to
47 * submit some more Job Chains.
51 * Private structure for policy instance data.
53 * This contains data that is private to the particular power policy that is active.
55 typedef struct kbasep_pm_policy_coarse_demand {
56 /** No state needed - just have a dummy variable here */
58 } kbasep_pm_policy_coarse_demand;
60 #endif /* MALI_KBASE_PM_COARSE_DEMAND_H */