diff options
author | Rob Clark <robdclark@gmail.com> | 2014-05-30 14:49:43 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2014-06-02 07:36:21 -0400 |
commit | 70c70f091b1ffd16b3e1a439bd595f7d539b1d5d (patch) | |
tree | 658865a8a0b0b18a57a967989b034af84f0b0765 /drivers/gpu/drm/msm/msm_drv.c | |
parent | a7d3c9509b2fecf8e593f3c933ab302cbe987d2e (diff) | |
download | linux-70c70f091b1ffd16b3e1a439bd595f7d539b1d5d.tar.gz linux-70c70f091b1ffd16b3e1a439bd595f7d539b1d5d.tar.bz2 linux-70c70f091b1ffd16b3e1a439bd595f7d539b1d5d.zip |
drm/msm: add perf logging debugfs
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_drv.c')
-rw-r--r-- | drivers/gpu/drm/msm/msm_drv.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index 929f57343440..1d5151ab81e7 100644 --- a/drivers/gpu/drm/msm/msm_drv.c +++ b/drivers/gpu/drm/msm/msm_drv.c @@ -548,6 +548,12 @@ static int late_init_minor(struct drm_minor *minor) return ret; } + ret = msm_perf_debugfs_init(minor); + if (ret) { + dev_err(minor->dev->dev, "could not install perf debugfs\n"); + return ret; + } + return 0; } @@ -588,6 +594,7 @@ static void msm_debugfs_cleanup(struct drm_minor *minor) if (!minor->dev->dev_private) return; msm_rd_debugfs_cleanup(minor); + msm_perf_debugfs_cleanup(minor); } #endif |