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

Commit a6ce1cc9 authored by Carter Cooper's avatar Carter Cooper
Browse files

msm: kgsl: Remove extra performance vote



This vote is no longer needed in the bootup sequence so
remove it.

Change-Id: I179090e51c1e9a05406018e01b3343d3154ccbe0
Signed-off-by: default avatarCarter Cooper <ccooper@codeaurora.org>
parent 452becbf
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -404,17 +404,6 @@ static int hfi_send_feature_ctrls(struct gmu_device *gmu)
	return 0;
}

static int hfi_send_init_perf_vote(struct gmu_device *gmu)
{
	struct hfi_gx_bw_perf_vote_cmd req = {
		.ack_type = DCVS_ACK_BLOCK,
		.freq = 2,
		.bw = 2,
	};

	return hfi_send_req(gmu, H2F_MSG_GX_BW_PERF_VOTE, &req);
}

static int hfi_send_dcvstbl(struct gmu_device *gmu)
{
	struct hfi_dcvstable_cmd cmd = {
@@ -647,11 +636,6 @@ int hfi_start(struct gmu_device *gmu, uint32_t boot_state)
		result = hfi_send_core_fw_start(gmu);
		if (result)
			return result;

		/* Force a vote with initial values */
		result = hfi_send_init_perf_vote(gmu);
		if (result)
			return result;
	} else {
		/*
		 * Tell the GMU we are sending no more HFIs