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

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

Merge "msm: kgsl: Combine MSG_START HFI and gmu quirk"

parents eef0f087 ca2fa34d
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -645,7 +645,12 @@ static int a6xx_gmu_hfi_start_msg(struct kgsl_device *device)
	struct adreno_device *adreno_dev = ADRENO_DEVICE(device);
	struct hfi_start_cmd req;

	if (adreno_is_a640(adreno_dev) || adreno_is_a680(adreno_dev))
	/*
	 * This HFI was not supported in legacy firmware and this quirk
	 * serves as a better means to identify targets that depend on
	 * legacy firmware.
	 */
	if (!ADRENO_QUIRK(adreno_dev, ADRENO_QUIRK_HFI_USE_REG))
		return hfi_send_req(KGSL_GMU_DEVICE(device),
					 H2F_MSG_START, &req);