mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-08-24 06:01:02 +00:00
Add snapshot of GPU driver as of commit 9ac69cf (clk: qcom: gcc: Support code for clock controller for sdxprairie). Fixed compile errors,checkpatch issues, header refs and API changes: * Fix setup_timer API to use the new API * Add a missing argument to of_dma_configure * Rename cmd_db_get_aux_data * Change member name of tcs_cmd from complete to wait * Support new IDR_INIT API * Support new usage of llcc_slice_getd API * Remove the custom KGSL logging macros * Add utility functions for CP P4 identifiers and CP protected mode * Add functions for GMU core operations * Add helper functions to request interrupts * Replace adreno_getproperty with an array * Remove module params * Fix Coccinelle warnings Change-Id: Ifa57a94f2247fe90c713f1943882d75a60a554a5 Signed-off-by: Urvashi Agrawal <urvaagra@codeaurora.org>
18 lines
466 B
C
18 lines
466 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
|
*/
|
|
#ifndef _MSM_KGSL_H
|
|
#define _MSM_KGSL_H
|
|
|
|
#define KGSL_DEVICE_3D0 0
|
|
|
|
/* Limits mitigations APIs */
|
|
void *kgsl_pwr_limits_add(u32 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(u32 id);
|
|
|
|
#endif /* _MSM_KGSL_H */
|