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

Commit 4eeb23d3 authored by Kyle Piefer's avatar Kyle Piefer
Browse files

msm: kgsl: Make DCVS vote HFI messages blocking



The DCVS HFI has an setting to either be blocking
or nonblocking. Switch all DCVS HFI messages to be
blocking. This fixes potential instability.

Change-Id: I617a7a47d1ab37d49d844dfd8c148e7512c54b2e
Signed-off-by: default avatarKyle Piefer <kpiefer@codeaurora.org>
parent 6dbbe7f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -619,7 +619,7 @@ int gmu_dcvs_set(struct gmu_device *gmu,
	struct adreno_device *adreno_dev = ADRENO_DEVICE(device);
	struct adreno_gpudev *gpudev = ADRENO_GPU_DEVICE(adreno_dev);
	struct hfi_gx_bw_perf_vote_cmd req = {
		.ack_type = DCVS_ACK_NONBLOCK,
		.ack_type = DCVS_ACK_BLOCK,
		.freq = INVALID_DCVS_IDX,
		.bw = INVALID_DCVS_IDX,
	};
+1 −1
Original line number Diff line number Diff line
@@ -407,7 +407,7 @@ static int hfi_send_feature_ctrls(struct gmu_device *gmu)
static int hfi_send_init_perf_vote(struct gmu_device *gmu)
{
	struct hfi_gx_bw_perf_vote_cmd req = {
		.ack_type = DCVS_ACK_NONBLOCK,
		.ack_type = DCVS_ACK_BLOCK,
		.freq = 2,
		.bw = 2,
	};