sm8750: init kernel modules repo
This commit is contained in:
30
qcom/opensource/graphics-kernel/kgsl_bus.h
Normal file
30
qcom/opensource/graphics-kernel/kgsl_bus.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _KGSL_BUS_H
|
||||
#define _KGSL_BUS_H
|
||||
|
||||
enum kgsl_bus_vote {
|
||||
KGSL_BUS_VOTE_OFF = 0,
|
||||
KGSL_BUS_VOTE_ON,
|
||||
KGSL_BUS_VOTE_MINIMUM,
|
||||
KGSL_BUS_VOTE_RT_HINT_OFF,
|
||||
KGSL_BUS_VOTE_RT_HINT_ON,
|
||||
};
|
||||
|
||||
struct kgsl_device;
|
||||
struct platform_device;
|
||||
struct kgsl_pwrctrl;
|
||||
|
||||
int kgsl_bus_init(struct kgsl_device *device, struct platform_device *pdev);
|
||||
void kgsl_bus_close(struct kgsl_device *device);
|
||||
int kgsl_bus_update(struct kgsl_device *device, enum kgsl_bus_vote vote_state);
|
||||
void kgsl_icc_set_tag(struct kgsl_pwrctrl *pwr, int buslevel);
|
||||
|
||||
u32 *kgsl_bus_get_table(struct platform_device *pdev,
|
||||
const char *name, int *count);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user