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_demand.h
22 * A simple demand based power management policy
25 #ifndef MALI_KBASE_PM_DEMAND_H
26 #define MALI_KBASE_PM_DEMAND_H
29 * The demand power management policy has the following characteristics:
30 * - When KBase indicates that the GPU will be powered up, but we don't yet
31 * know which Job Chains are to be run:
32 * - The Shader Cores are not powered up
33 * - When KBase indicates that a set of Shader Cores are needed to submit the
34 * currently queued Job Chains:
35 * - Only those Shader Cores are powered up
36 * - When KBase indicates that the GPU need not be powered:
37 * - The Shader Cores are powered off, and the GPU itself is powered off too.
40 * - KBase indicates the GPU will be powered up when it has a User Process that
41 * has just started to submit Job Chains.
42 * - KBase indicates the GPU need not be powered when all the Job Chains from
43 * User Processes have finished, and it is waiting for a User Process to
44 * submit some more Job Chains.
48 * Private structure for policy instance data.
50 * This contains data that is private to the particular power policy that is active.
52 typedef struct kbasep_pm_policy_demand {
53 /** No state needed - just have a dummy variable here */
55 } kbasep_pm_policy_demand;
57 #endif /* MALI_KBASE_PM_DEMAND_H */