
git-subtree-dir: qcom/opensource/graphics-kernel git-subtree-mainline:992813d9c1
git-subtree-split:b4fdc4c042
Change-Id: repo: https://git.codelinaro.org/clo/la/platform/vendor/qcom/opensource/graphics-kernel tag: GRAPHICS.LA.14.0.r1-07700-lanai.0
31 lines
823 B
C
31 lines
823 B
C
/* 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
|