diff options
author | Rob Clark <robdclark@gmail.com> | 2016-11-05 18:08:09 +0300 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2016-11-09 00:38:03 +0300 |
commit | fceffb325b30f6a9f0bdee22e65d0b8bb35883af (patch) | |
tree | f61f4cf41025c9a8612a004f785b4bcd20b70c36 /include/drm/drmP.h | |
parent | 1638d30c1584ff8097776d691f5fa5aafa7aeb8c (diff) | |
download | linux-fceffb325b30f6a9f0bdee22e65d0b8bb35883af.tar.xz |
drm/atomic: add new drm_debug bit to dump atomic state
The contents of drm_{plane,crtc,connector}_state is dumped before
commit. If a driver extends any of the state structs, it can implement
the corresponding funcs->atomic_print_state() to add it's own driver
specific state.
Signed-off-by: Rob Clark <robdclark@gmail.com>
[seanpaul resolved conflict in drm_plane.h]
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r-- | include/drm/drmP.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index e92c904fe8cb..4e58137c1882 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -135,6 +135,7 @@ struct dma_buf_attachment; #define DRM_UT_PRIME 0x08 #define DRM_UT_ATOMIC 0x10 #define DRM_UT_VBL 0x20 +#define DRM_UT_STATE 0x40 extern __printf(6, 7) void drm_dev_printk(const struct device *dev, const char *level, |