Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eca4db7f authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Separate out A6xx GMU specific code"

parents e9cd0bd8 933eb989
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ msm_adreno-y += \
	adreno_a4xx_preempt.o \
	adreno_a5xx_preempt.o \
	adreno_a6xx_preempt.o \
	adreno_a6xx_gmu.o \
	adreno_sysfs.o \
	adreno.o \
	adreno_cp_parser.o \
+14 −1222

File changed.

Preview size limit exceeded, changes collapsed.

+14 −2
Original line number Diff line number Diff line
/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -131,6 +131,18 @@ void a6xx_snapshot(struct adreno_device *adreno_dev,
		struct kgsl_snapshot *snapshot);
void a6xx_snapshot_gmu(struct adreno_device *adreno_dev,
		struct kgsl_snapshot *snapshot);

void a6xx_crashdump_init(struct adreno_device *adreno_dev);

int a6xx_gmu_oob_set(struct adreno_device *adreno_dev, enum oob_request req);
void a6xx_gmu_oob_clear(struct adreno_device *adreno_dev, enum oob_request req);
void a6xx_gmu_enable_lm(struct kgsl_device *device);
int a6xx_gmu_load_firmware(struct kgsl_device *device);
int a6xx_gmu_rpmh_gpu_pwrctrl(struct adreno_device *adreno_dev,
		unsigned int mode, unsigned int arg1, unsigned int arg2);
int a6xx_gmu_wait_for_lowest_idle(struct adreno_device *adreno_dev);
int a6xx_gmu_wait_for_idle(struct adreno_device *adreno_dev);
int a6xx_gmu_sptprac_enable(struct adreno_device *adreno_dev);
void a6xx_gmu_sptprac_disable(struct adreno_device *adreno_dev);
bool a6xx_gmu_gx_is_on(struct adreno_device *adreno_dev);
bool a6xx_gmu_sptprac_is_on(struct adreno_device *adreno_dev);
#endif
+1235 −0

File added.

Preview size limit exceeded, changes collapsed.