diff options
author | Rob Clark <robdclark@gmail.com> | 2016-10-26 21:06:55 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-11-27 19:32:34 +0300 |
commit | bc5289eed4817604d0fb709bd53b2e3bf1dcb73a (patch) | |
tree | 764f5e7f55accf53f584d8bf98fbea5c6137e993 /drivers/gpu/drm/msm/msm_kms.h | |
parent | 49ec5b2e5acb8174a4418c67a3ce4e4cf9be2790 (diff) | |
download | linux-bc5289eed4817604d0fb709bd53b2e3bf1dcb73a.tar.xz |
drm/msm/mdp5: add debugfs to show smp block status
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_kms.h')
-rw-r--r-- | drivers/gpu/drm/msm/msm_kms.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_kms.h b/drivers/gpu/drm/msm/msm_kms.h index cb9758bcadfd..e470f4cf8f76 100644 --- a/drivers/gpu/drm/msm/msm_kms.h +++ b/drivers/gpu/drm/msm/msm_kms.h @@ -58,6 +58,11 @@ struct msm_kms_funcs { bool is_cmd_mode); /* cleanup: */ void (*destroy)(struct msm_kms *kms); +#ifdef CONFIG_DEBUG_FS + /* debugfs: */ + int (*debugfs_init)(struct msm_kms *kms, struct drm_minor *minor); + void (*debugfs_cleanup)(struct msm_kms *kms, struct drm_minor *minor); +#endif }; struct msm_kms { |