drm/msm/a6xx: update pdc/rscc GMU registers for A640/A650
authorJonathan Marek <jonathan@marek.ca>
Thu, 23 Apr 2020 21:09:19 +0000 (17:09 -0400)
committerRob Clark <robdclark@chromium.org>
Mon, 18 May 2020 16:26:33 +0000 (09:26 -0700)
commit02ef80c54e7cd70fe1f422b0315fd1534033e382
treed2631497b77d5e3d0ef6a3e1b0cbf3d17223ee3c
parentc6ed04f856a4ebbbd8276ea871d8c98590abb0d0
drm/msm/a6xx: update pdc/rscc GMU registers for A640/A650

Update the gmu_pdc registers for A640 and A650.

Some of the RSCC registers on A650 are in a separate region.

Note this also changes the address of these registers:

RSCC_TCS1_DRV0_STATUS
RSCC_TCS2_DRV0_STATUS
RSCC_TCS3_DRV0_STATUS

Based on the values in msm-4.14 and msm-4.19 kernels.

v3: replaced adreno_is_a650 around ->rscc with checks for "rscc" resource

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a6xx_gmu.c
drivers/gpu/drm/msm/adreno/a6xx_gmu.h
drivers/gpu/drm/msm/adreno/a6xx_gmu.xml.h