drm/msm/a6xx: Move ioremap out of hw_init path
authorRob Clark <robdclark@chromium.org>
Mon, 20 Mar 2023 14:43:36 +0000 (07:43 -0700)
committerRob Clark <robdclark@chromium.org>
Sat, 25 Mar 2023 23:31:45 +0000 (16:31 -0700)
commit8559da8fdfe57f293ff200ac145dabc3e9de849c
tree0366d081ab03d8a8ffc50eaa509a4d90006942a6
parent8ead9678316376ee1dd05ffddfa6a620047b1d4f
drm/msm/a6xx: Move ioremap out of hw_init path

Move the one-time RPMh setup to a6xx_gmu_init().  To get rid of the hack
for one-time init vs start, add in an extra a6xx_rpmh_stop() at the end
of the init sequence.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/527854/
Link: https://lore.kernel.org/r/20230320144356.803762-15-robdclark@gmail.com
drivers/gpu/drm/msm/adreno/a6xx_gmu.c