summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/adreno/a3xx_gpu.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2017-02-10 20:52:40 +0100
committerRob Clark <robdclark@gmail.com>2017-04-08 12:59:31 +0200
commitc3c3ab199bdd5b39f0a16545f4205e20c03ba20f (patch)
treeb343bdd6714ad83819ea14dba2108a24e510e4d6 /drivers/gpu/drm/msm/adreno/a3xx_gpu.c
parentMerge branch 'drm-next-4.12' of git://people.freedesktop.org/~agd5f/linux int... (diff)
downloadlinux-c3c3ab199bdd5b39f0a16545f4205e20c03ba20f.tar.xz
linux-c3c3ab199bdd5b39f0a16545f4205e20c03ba20f.zip
drm/msm/gpu: move suspend/resume into debugfs->show
Each of the per-generation callbacks was doing this. Lets just simplify and move it into toplevel show() fxn. Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/adreno/a3xx_gpu.c')
-rw-r--r--drivers/gpu/drm/msm/adreno/a3xx_gpu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/adreno/a3xx_gpu.c b/drivers/gpu/drm/msm/adreno/a3xx_gpu.c
index b999349b7d2d..7fd77958a436 100644
--- a/drivers/gpu/drm/msm/adreno/a3xx_gpu.c
+++ b/drivers/gpu/drm/msm/adreno/a3xx_gpu.c
@@ -412,10 +412,8 @@ static const unsigned int a3xx_registers[] = {
#ifdef CONFIG_DEBUG_FS
static void a3xx_show(struct msm_gpu *gpu, struct seq_file *m)
{
- gpu->funcs->pm_resume(gpu);
seq_printf(m, "status: %08x\n",
gpu_read(gpu, REG_A3XX_RBBM_STATUS));
- gpu->funcs->pm_suspend(gpu);
adreno_show(gpu, m);
}
#endif