Skip to content

Commit 1b3975e

Browse files
konradybciorobclark
authored andcommitted
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>
1 parent a30f9f6 commit 1b3975e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/gpu/drm/msm/adreno/a6xx_gmu.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,8 +525,7 @@ static void a6xx_gmu_rpmh_init(struct a6xx_gmu *gmu)
525525
if (IS_ERR(pdcptr))
526526
goto err;
527527

528-
if (adreno_is_a650(adreno_gpu) ||
529-
adreno_is_a660_family(adreno_gpu) ||
528+
if (adreno_is_a650_family(adreno_gpu) ||
530529
adreno_is_a7xx(adreno_gpu))
531530
pdc_in_aop = true;
532531
else if (adreno_is_a618(adreno_gpu) || adreno_is_a640_family(adreno_gpu))

0 commit comments

Comments
 (0)