drm/msm/adreno: fix CP cycles stat retrieval on a7xx
authorZan Dobersek <zdobersek@igalia.com>
Tue, 9 Apr 2024 12:57:00 +0000 (14:57 +0200)
committerRob Clark <robdclark@chromium.org>
Sat, 4 May 2024 16:41:54 +0000 (09:41 -0700)
commit328660262df89ab64031059909d763f7a8af9570
treef2036c5c95fe03fc66e8cac454c8e9dfcfb56893
parent3f9bb601a10dbe3a9b506d9856708a67308bb860
drm/msm/adreno: fix CP cycles stat retrieval on a7xx

a7xx_submit() should use the a7xx variant of the RBBM_PERFCTR_CP register
for retrieving the CP cycles value before and after the submitted command
stream execution.

Signed-off-by: Zan Dobersek <zdobersek@igalia.com>
Fixes: af66706accdf ("drm/msm/a6xx: Add skeleton A7xx support")
Patchwork: https://patchwork.freedesktop.org/patch/588445/
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a6xx_gpu.c