diff options
author | Laurent Pinchart <[email protected]> | 2019-06-11 16:51:43 -0400 |
---|---|---|
committer | Sean Paul <[email protected]> | 2019-06-13 13:00:29 -0400 |
commit | 1b27fbdde1df172dba604855c45078d741f8c858 (patch) | |
tree | 95c0b071eda0eb46e4593c1f5c1e935e60ca7f9c /net/lapb/lapb_out.c | |
parent | 43c76d72ea853ccaeb22a497c13d3cd946869ec6 (diff) |
drm: Add drm_atomic_get_(old|new)_connector_for_encoder() helpers
Add functions to the atomic core to retrieve the old and new connectors
associated with an encoder in a drm_atomic_state. This is useful for
encoders and bridges that need to access the connector, for instance for
the drm_display_info.
The CRTC associated with the encoder can also be retrieved through the
connector state, and from it, the old and new CRTC states.
Changed in v4:
- Added to the set
Changed in v5:
- Fix up docbook (Daniel & Laurent)
Changed in v6:
- Updated commit subject (Sam)
Link to v4: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Link to v5: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Cc: Daniel Vetter <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Tested-by: Heiko Stuebner <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Signed-off-by: Laurent Pinchart <[email protected]>
[seanpaul removed WARNs from helpers and added docs to explain why
returning NULL might be valid]
Signed-off-by: Sean Paul <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions