]> git.karo-electronics.de Git - linux-beck.git/commit
drm/atomic: add debugfs file to dump out atomic state
authorRob Clark <robdclark@gmail.com>
Sat, 5 Nov 2016 15:08:10 +0000 (11:08 -0400)
committerSean Paul <seanpaul@chromium.org>
Tue, 8 Nov 2016 21:38:03 +0000 (16:38 -0500)
commit6559c901cb4840e46893d587d8af435aac9c4c3f
tree2e8878c166d83f7c68183acc699b5855a864563e
parentfceffb325b30f6a9f0bdee22e65d0b8bb35883af
drm/atomic: add debugfs file to dump out atomic state

Useful to dump current state from debugfs, if turning on the drm.debug
bit is too much overhead.

The drm_state_dump() can also be used by drivers, for example to
implement a module param that dumps state on error irqs.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1478358492-30738-6-git-send-email-robdclark@gmail.com
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_debugfs.c
include/drm/drm_atomic.h