aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_plane.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm/drm_plane.h')
-rw-r--r--include/drm/drm_plane.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/include/drm/drm_plane.h b/include/drm/drm_plane.h
index 571615079230..8185e3468a23 100644
--- a/include/drm/drm_plane.h
+++ b/include/drm/drm_plane.h
@@ -474,8 +474,8 @@ enum drm_plane_type {
474 * @format_types: array of formats supported by this plane 474 * @format_types: array of formats supported by this plane
475 * @format_count: number of formats supported 475 * @format_count: number of formats supported
476 * @format_default: driver hasn't supplied supported formats for the plane 476 * @format_default: driver hasn't supplied supported formats for the plane
477 * @crtc: currently bound CRTC 477 * @modifiers: array of modifiers supported by this plane
478 * @fb: currently bound fb 478 * @modifier_count: number of modifiers supported
479 * @old_fb: Temporary tracking of the old fb while a modeset is ongoing. Used by 479 * @old_fb: Temporary tracking of the old fb while a modeset is ongoing. Used by
480 * drm_mode_set_config_internal() to implement correct refcounting. 480 * drm_mode_set_config_internal() to implement correct refcounting.
481 * @funcs: helper functions 481 * @funcs: helper functions
@@ -512,7 +512,17 @@ struct drm_plane {
512 uint64_t *modifiers; 512 uint64_t *modifiers;
513 unsigned int modifier_count; 513 unsigned int modifier_count;
514 514
515 /**
516 * @crtc: Currently bound CRTC, only really meaningful for non-atomic
517 * drivers. Atomic drivers should instead check &drm_plane_state.crtc.
518 */
515 struct drm_crtc *crtc; 519 struct drm_crtc *crtc;
520
521 /**
522 * @fb: Currently bound framebuffer, only really meaningful for
523 * non-atomic drivers. Atomic drivers should instead check
524 * &drm_plane_state.fb.
525 */
516 struct drm_framebuffer *fb; 526 struct drm_framebuffer *fb;
517 527
518 struct drm_framebuffer *old_fb; 528 struct drm_framebuffer *old_fb;