mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Snapshot of the Qualcomm Adreno GPU driver (KGSL) as of msm-4.9 commit e023d014d2039d59d0999e73984ccf0cc6e60bc7 (msm: pcie: fix PCIe L0s and L1 ASPM support). Fixed compile errors,checkpatch issues and API changes: * Rename function _copy_from_user() to kgsl_copy_from_user() * Fixup vm_fault API * Rename fence API to dma_fence API * Stop using scm_call() * Fixup header includes * Fix IDR API usage * Fix __mutex_owner usage Change-Id: Ib35ff402b3b0a14a94bc2568b34be6364ef2e882 Signed-off-by: Urvashi Agrawal <urvaagra@codeaurora.org>
14 lines
391 B
C
14 lines
391 B
C
#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 */
|