Loading drivers/gpu/msm/adreno_a5xx.c +7 −0 Original line number Diff line number Diff line Loading @@ -2225,6 +2225,13 @@ static int a5xx_microcode_load(struct adreno_device *adreno_dev) kgsl_regwrite(device, A5XX_CP_PFP_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; /* * Resume call to write the zap shader base address into the * appropriate register, Loading drivers/gpu/msm/adreno_a6xx.c +7 −0 Original line number Diff line number Diff line Loading @@ -853,6 +853,13 @@ 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) { /* Loading Loading
drivers/gpu/msm/adreno_a5xx.c +7 −0 Original line number Diff line number Diff line Loading @@ -2225,6 +2225,13 @@ static int a5xx_microcode_load(struct adreno_device *adreno_dev) kgsl_regwrite(device, A5XX_CP_PFP_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; /* * Resume call to write the zap shader base address into the * appropriate register, Loading
drivers/gpu/msm/adreno_a6xx.c +7 −0 Original line number Diff line number Diff line Loading @@ -853,6 +853,13 @@ 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) { /* Loading