Rob Clark
eeb754746b
drm/msm/gpu: use pm-runtime
...
We need to use pm-runtime properly when IOMMU is using device_link() to
control it's own clocks.
Signed-off-by: Rob Clark <[email protected] >
2017-04-08 06:59:31 -04:00
Rob Clark
c3c3ab199b
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 <[email protected] >
2017-04-08 06:59:31 -04:00
Noralf Trønnes
85eac4700e
drm/msm: Remove msm_debugfs_cleanup()
...
Move the contents of msm_debugfs_cleanup() to msm_drm_uninit() to free
up the drm_driver->debugfs_cleanup callback. Also remove the
mdp_kms_funcs->debugfs_cleanup callback which has no users.
Cc: [email protected]
Signed-off-by: Noralf Trønnes <[email protected] >
Acked-by: Rob Clark <[email protected] >
Signed-off-by: Daniel Vetter <[email protected] >
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
2017-03-08 11:24:45 +01:00
Noralf Trønnes
81895b5409
drm/msm: Remove drm_debugfs_remove_files() calls
...
drm_debugfs_cleanup() now removes all minor->debugfs_list entries
automatically, so it's not necessary to call
drm_debugfs_remove_files(). Additionally it uses
debugfs_remove_recursive() to clean up the debugfs files, so no need
to do that.
Cc: [email protected]
Signed-off-by: Noralf Trønnes <[email protected] >
Signed-off-by: Daniel Vetter <[email protected] >
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
2017-03-01 16:09:52 +01:00
Daniel Vetter
b5c3714fe8
drm/mm: Convert to drm_printer
...
Including all drivers. I thought about keeping small compat functions
to avoid having to change all drivers. But I really like the
drm_printer idea, so figured spreading it more widely is a good thing.
v2: Review from Chris:
- Natural argument order and better name for drm_mm_print.
- show_mm() macro in the selftest.
Cc: Rob Clark <[email protected] >
Cc: Russell King <[email protected] >
Cc: Alex Deucher <[email protected] >
Cc: Christian König <[email protected] >
Cc: Lucas Stach <[email protected] >
Cc: Tomi Valkeinen <[email protected] >
Cc: Thierry Reding <[email protected] >
Cc: Jyri Sarha <[email protected] >
Reviewed-by: Chris Wilson <[email protected] >
Signed-off-by: Daniel Vetter <[email protected] >
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
2016-12-30 12:08:28 +01:00
Rob Clark
bc5289eed4
drm/msm/mdp5: add debugfs to show smp block status
...
Signed-off-by: Rob Clark <[email protected] >
2016-11-27 11:32:34 -05:00
Baoyou Xie
c170a14e20
drm/msm: add missing header dependencies
...
We get 2 warnings when building kernel with W=1:
drivers/gpu/drm/msm/msm_debugfs.c:141:5: warning: no previous prototype for 'msm_debugfs_init' [-Wmissing-prototypes]
drivers/gpu/drm/msm/msm_debugfs.c:158:6: warning: no previous prototype for 'msm_debugfs_cleanup' [-Wmissing-prototypes]
In fact, these functions are declared in
drivers/gpu/drm/msm/msm_debugfs.h.
So this patch adds missing header dependencies.
Signed-off-by: Baoyou Xie <[email protected] >
Reviewed-by: Arnd Bergmann <[email protected] >
Signed-off-by: Daniel Vetter <[email protected] >
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
2016-10-24 16:28:25 +02:00
Rob Clark
edcd60ce24
drm/msm: move debugfs code to it's own file
...
Signed-off-by: Rob Clark <[email protected] >
2016-05-08 10:16:02 -04:00