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

Commit 6352885f authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Make GMU local functions to static" into msm-4.14

parents 8199ad9b afd3411a
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -310,7 +310,7 @@ static struct {
 * @gmu: Pointer to GMU device
 * @node: Pointer to GMU device node
 */
int gmu_iommu_init(struct gmu_device *gmu, struct device_node *node)
static int gmu_iommu_init(struct gmu_device *gmu, struct device_node *node)
{
	struct device_node *child;
	struct gmu_iommu_context *ctx = NULL;
@@ -347,7 +347,7 @@ int gmu_iommu_init(struct gmu_device *gmu, struct device_node *node)
 * from IOMMU context banks.
 * @gmu: Pointer to GMU device
 */
void gmu_kmem_close(struct gmu_device *gmu)
static void gmu_kmem_close(struct gmu_device *gmu)
{
	int i;
	struct gmu_memdesc *md = &gmu->fw_image;
@@ -387,7 +387,7 @@ void gmu_kmem_close(struct gmu_device *gmu)
	iommu_domain_free(ctx->domain);
}

void gmu_memory_close(struct gmu_device *gmu)
static void gmu_memory_close(struct gmu_device *gmu)
{
	gmu_kmem_close(gmu);
	/* Free user memory context */
@@ -401,7 +401,7 @@ void gmu_memory_close(struct gmu_device *gmu)
 * @gmu: Pointer to GMU device
 * @node: Pointer to GMU device node
 */
int gmu_memory_probe(struct gmu_device *gmu, struct device_node *node)
static int gmu_memory_probe(struct gmu_device *gmu, struct device_node *node)
{
	int ret;

@@ -754,7 +754,7 @@ static int gmu_bus_vote_init(struct gmu_device *gmu, struct kgsl_pwrctrl *pwr)
	return 0;
}

int gmu_rpmh_init(struct gmu_device *gmu, struct kgsl_pwrctrl *pwr)
static int gmu_rpmh_init(struct gmu_device *gmu, struct kgsl_pwrctrl *pwr)
{
	struct rpmh_arc_vals gfx_arc, cx_arc, mx_arc;
	int ret;
+4 −4
Original line number Diff line number Diff line
@@ -259,7 +259,7 @@ static int hfi_send_msg(struct gmu_device *gmu, struct hfi_msg_hdr *msg,
	return rc;
}

int hfi_send_gmu_init(struct gmu_device *gmu, uint32_t boot_state)
static int hfi_send_gmu_init(struct gmu_device *gmu, uint32_t boot_state)
{
	struct hfi_gmu_init_cmd init_msg = {
		.hdr = {
@@ -292,7 +292,7 @@ int hfi_send_gmu_init(struct gmu_device *gmu, uint32_t boot_state)
	return rc;
}

int hfi_get_fw_version(struct gmu_device *gmu,
static int hfi_get_fw_version(struct gmu_device *gmu,
		uint32_t expected_ver, uint32_t *ver)
{
	struct hfi_fw_version_cmd fw_ver = {
@@ -356,7 +356,7 @@ int hfi_send_lmconfig(struct gmu_device *gmu)
	return rc;
}

int hfi_send_perftbl(struct gmu_device *gmu)
static int hfi_send_perftbl(struct gmu_device *gmu)
{
	struct hfi_dcvstable_cmd dcvstbl = {
		.hdr = {
@@ -397,7 +397,7 @@ int hfi_send_perftbl(struct gmu_device *gmu)
	return rc;
}

int hfi_send_bwtbl(struct gmu_device *gmu)
static int hfi_send_bwtbl(struct gmu_device *gmu)
{
	struct hfi_bwtable_cmd bwtbl = {
		.hdr = {