drm/msm/adreno: push dump/show stuff to base class
authorRob Clark <robdclark@gmail.com>
Fri, 5 Sep 2014 19:05:38 +0000 (15:05 -0400)
committerRob Clark <robdclark@gmail.com>
Wed, 10 Sep 2014 15:19:09 +0000 (11:19 -0400)
commit3bcefb0497f9fcad19be286b14d286784d584c5b
tree1d84684517b03ef818ab882f9d850cd0bee14e43
parent3526e9fb4f3f178fe9dbab3886c86e294e45816c
drm/msm/adreno: push dump/show stuff to base class

Add ptr to list of interesting registers to 'struct adreno_gpu' and use
that to move most of the debugfs show and register dump bits down into
adreno_gpu.  This will avoid duplication as support for additional
adreno generations is added.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/adreno/a3xx_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/adreno/adreno_gpu.h