aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_crtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/drm_crtc.h')
-rw-r--r--include/drm/drm_crtc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index fa1aa214c8ea..8cca2a895981 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -53,6 +53,7 @@ struct drm_device;
53struct drm_mode_set; 53struct drm_mode_set;
54struct drm_file; 54struct drm_file;
55struct drm_clip_rect; 55struct drm_clip_rect;
56struct drm_printer;
56struct device_node; 57struct device_node;
57struct dma_fence; 58struct dma_fence;
58struct edid; 59struct edid;
@@ -594,6 +595,18 @@ struct drm_crtc_funcs {
594 */ 595 */
595 int (*set_crc_source)(struct drm_crtc *crtc, const char *source, 596 int (*set_crc_source)(struct drm_crtc *crtc, const char *source,
596 size_t *values_cnt); 597 size_t *values_cnt);
598
599 /**
600 * @atomic_print_state:
601 *
602 * If driver subclasses struct &drm_crtc_state, it should implement
603 * this optional hook for printing additional driver specific state.
604 *
605 * Do not call this directly, use drm_atomic_crtc_print_state()
606 * instead.
607 */
608 void (*atomic_print_state)(struct drm_printer *p,
609 const struct drm_crtc_state *state);
597}; 610};
598 611
599/** 612/**