Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/msm/a6xx: Evaluate adreno_is_a650_family in pdc_in_aop check

A650 family includes A660 family (they've got a big family), A650
itself, and some more A6XX_GEN3 SKUs, all of which should fall into
the same branch of the if-condition. Simplify that.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/605206/
Signed-off-by: Rob Clark <robdclark@chromium.org>

authored by

Konrad Dybcio and committed by
Rob Clark
1b3975ef a30f9f65

+1 -2
+1 -2
drivers/gpu/drm/msm/adreno/a6xx_gmu.c
··· 525 525 if (IS_ERR(pdcptr)) 526 526 goto err; 527 527 528 - if (adreno_is_a650(adreno_gpu) || 529 - adreno_is_a660_family(adreno_gpu) || 528 + if (adreno_is_a650_family(adreno_gpu) || 530 529 adreno_is_a7xx(adreno_gpu)) 531 530 pdc_in_aop = true; 532 531 else if (adreno_is_a618(adreno_gpu) || adreno_is_a640_family(adreno_gpu))