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

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

Merge "msm: kgsl: Decouple zap shader and content protection on a6x"

parents c5d0188b 50b38b14
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -1039,13 +1039,6 @@ static int a6xx_microcode_load(struct adreno_device *adreno_dev)
	kgsl_regwrite(device, A6XX_CP_SQE_INSTR_BASE_HI,
				upper_32_bits(gpuaddr));

	/*
	 * Do not invoke to load zap shader if MMU does
	 * not support secure mode.
	 */
	if (!device->mmu.secured)
		return 0;

	/* Load the zap shader firmware through PIL if its available */
	if (adreno_dev->gpucore->zap_name && !adreno_dev->zap_loaded) {
		zap = subsystem_get(adreno_dev->gpucore->zap_name);