drm/msm/gpu: move suspend/resume into debugfs->show
authorRob Clark <robdclark@gmail.com>
Fri, 10 Feb 2017 19:52:40 +0000 (14:52 -0500)
committerRob Clark <robdclark@gmail.com>
Sat, 8 Apr 2017 10:59:31 +0000 (06:59 -0400)
commitc3c3ab199bdd5b39f0a16545f4205e20c03ba20f
treeb343bdd6714ad83819ea14dba2108a24e510e4d6
parent0168778115687486575a6831df865dbc4f5369fe
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>
drivers/gpu/drm/msm/adreno/a3xx_gpu.c
drivers/gpu/drm/msm/adreno/a4xx_gpu.c
drivers/gpu/drm/msm/adreno/a5xx_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/msm_debugfs.c