diff options
| author | Jordan Crouse <jcrouse@codeaurora.org> | 2016-02-25 09:16:24 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:15:49 -0700 |
| commit | 5103db813f92bdb6c064631674e4ae5726be03f3 (patch) | |
| tree | c12b0fec0575125e59639631c9cdc190cbe770d1 /include/linux | |
| parent | e64e0d283a6be977af3bfba4f9a559630a7836ee (diff) | |
msm: kgsl: Add Qualcomm GPU driver
Snapshot of the Qualcom Adreno GPU driver (KGSL) as of msm-3.18 commit
commit e70ad0cd5efd ("Promotion of kernel.lnx.3.18-151201.").
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/msm_kgsl.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/msm_kgsl.h b/include/linux/msm_kgsl.h new file mode 100644 index 000000000000..68cfe76e8652 --- /dev/null +++ b/include/linux/msm_kgsl.h @@ -0,0 +1,13 @@ +#ifndef _MSM_KGSL_H +#define _MSM_KGSL_H + +#include <uapi/linux/msm_kgsl.h> + +/* Limits mitigations APIs */ +void *kgsl_pwr_limits_add(enum kgsl_deviceid id); +void kgsl_pwr_limits_del(void *limit); +int kgsl_pwr_limits_set_freq(void *limit, unsigned int freq); +void kgsl_pwr_limits_set_default(void *limit); +unsigned int kgsl_pwr_limits_get_freq(enum kgsl_deviceid id); + +#endif /* _MSM_KGSL_H */ |
