diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-07-09 04:40:04 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2018-07-13 12:40:27 -0400 |
commit | aab999a66e4bc448a439733d60c83c86bee4c2be (patch) | |
tree | 04c94c28b050ec270c6a50dcf5670d22fd3de86f | |
parent | 3479fc248bf383549ff629c607df0486813e14fd (diff) |
drm/doc: switch drm_connector_state to inline comments
For consistency. Also spelled out the docs for ->best_encoder a bit
more while at it.
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180709084016.23750-4-daniel.vetter@ffwll.ch
-rw-r--r-- | include/drm/drm_connector.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/include/drm/drm_connector.h b/include/drm/drm_connector.h index a5179eb9e56f..99fd75d7a3a9 100644 --- a/include/drm/drm_connector.h +++ b/include/drm/drm_connector.h | |||
@@ -378,12 +378,9 @@ struct drm_tv_connector_state { | |||
378 | 378 | ||
379 | /** | 379 | /** |
380 | * struct drm_connector_state - mutable connector state | 380 | * struct drm_connector_state - mutable connector state |
381 | * @connector: backpointer to the connector | ||
382 | * @best_encoder: can be used by helpers and drivers to select the encoder | ||
383 | * @state: backpointer to global drm_atomic_state | ||
384 | * @tv: TV connector state | ||
385 | */ | 381 | */ |
386 | struct drm_connector_state { | 382 | struct drm_connector_state { |
383 | /** @connector: backpointer to the connector */ | ||
387 | struct drm_connector *connector; | 384 | struct drm_connector *connector; |
388 | 385 | ||
389 | /** | 386 | /** |
@@ -394,6 +391,13 @@ struct drm_connector_state { | |||
394 | */ | 391 | */ |
395 | struct drm_crtc *crtc; | 392 | struct drm_crtc *crtc; |
396 | 393 | ||
394 | /** | ||
395 | * @best_encoder: | ||
396 | * | ||
397 | * Used by the atomic helpers to select the encoder, through the | ||
398 | * &drm_connector_helper_funcs.atomic_best_encoder or | ||
399 | * &drm_connector_helper_funcs.best_encoder callbacks. | ||
400 | */ | ||
397 | struct drm_encoder *best_encoder; | 401 | struct drm_encoder *best_encoder; |
398 | 402 | ||
399 | /** | 403 | /** |
@@ -402,6 +406,7 @@ struct drm_connector_state { | |||
402 | */ | 406 | */ |
403 | enum drm_link_status link_status; | 407 | enum drm_link_status link_status; |
404 | 408 | ||
409 | /** @state: backpointer to global drm_atomic_state */ | ||
405 | struct drm_atomic_state *state; | 410 | struct drm_atomic_state *state; |
406 | 411 | ||
407 | /** | 412 | /** |
@@ -411,6 +416,7 @@ struct drm_connector_state { | |||
411 | */ | 416 | */ |
412 | struct drm_crtc_commit *commit; | 417 | struct drm_crtc_commit *commit; |
413 | 418 | ||
419 | /** @tv: TV connector state */ | ||
414 | struct drm_tv_connector_state tv; | 420 | struct drm_tv_connector_state tv; |
415 | 421 | ||
416 | /** | 422 | /** |