OSDN Git Service

drm/msm: add a5xx specific debugfs
authorRob Clark <robdclark@gmail.com>
Wed, 13 Dec 2017 20:12:56 +0000 (15:12 -0500)
committerRob Clark <robdclark@gmail.com>
Tue, 20 Feb 2018 15:41:20 +0000 (10:41 -0500)
commit331dc0bc195bb77fcbe60b4513464b406a6d20cb
treedfeedeb1fdedecea15b6a19da92c8162ca06661f
parent3f0689e663524115b068258bab789dff1ddab5da
drm/msm: add a5xx specific debugfs

Add some debugfs to dump out PFP and ME microcontroller state, as well
as some of the queues (MEQ and ROQ).  Also add a debugfs file to trigger
a GPU reset (and reloading the firmware on next submit).

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/Makefile
drivers/gpu/drm/msm/adreno/a5xx_debugfs.c [new file with mode: 0644]
drivers/gpu/drm/msm/adreno/a5xx_gpu.c
drivers/gpu/drm/msm/adreno/a5xx_gpu.h
drivers/gpu/drm/msm/adreno/adreno_device.c
drivers/gpu/drm/msm/msm_debugfs.c
drivers/gpu/drm/msm/msm_gpu.h