projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a00b45
)
drm/doc: Improve docs for conn_state->best_encoder
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 6 May 2019 14:46:29 +0000
(16:46 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 7 May 2019 10:04:12 +0000
(12:04 +0200)
It's mandatory and considered core state since ioctls rely on this
working.
Thanks to Laurent for pointing out this gap.
v2: Clarify to "atomic drivers" only.
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Sean Paul <sean@poorly.run>
Acked-by: Sean Paul <sean@poorly.run>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20190506144629.5976-1-daniel.vetter@ffwll.ch
include/drm/drm_connector.h
patch
|
blob
|
history
diff --git
a/include/drm/drm_connector.h
b/include/drm/drm_connector.h
index 02a131202adde10648228c080b261c0dcb799a10..f43f40d5888a7256fa2ef1af38152fbe20162c0d 100644
(file)
--- a/
include/drm/drm_connector.h
+++ b/
include/drm/drm_connector.h
@@
-517,6
+517,10
@@
struct drm_connector_state {
* Used by the atomic helpers to select the encoder, through the
* &drm_connector_helper_funcs.atomic_best_encoder or
* &drm_connector_helper_funcs.best_encoder callbacks.
+ *
+ * NOTE: Atomic drivers must fill this out (either themselves or through
+ * helpers), for otherwise the GETCONNECTOR and GETENCODER IOCTLs will
+ * not return correct data to userspace.
*/
struct drm_encoder *best_encoder;