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

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

Merge "msm: kgsl: Remove extra performance vote"

parents d530d303 a6ce1cc9
Loading
Loading
Loading
Loading
+0 −16
Original line number Diff line number Diff line
@@ -397,17 +397,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 = {
@@ -640,11 +629,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