diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2016-01-28 15:04:58 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-02-09 11:21:06 +0100 |
commit | e87a52b38943608531ff63ea397b1ae5dd48e341 (patch) | |
tree | 4e012a5f9f526aa22600e523d58ad0964a6537ef /drivers/platform | |
parent | 97a8df90875f72ba3b4c3320759fd93cea743261 (diff) | |
download | linux-e87a52b38943608531ff63ea397b1ae5dd48e341.tar.bz2 |
drm/atomic: Add encoder_mask to crtc_state, v3.
This allows iteration over encoders without requiring connection_mutex.
Changes since v1:
- Add a set_best_encoder helper function and update encoder_mask inside
it.
Changes since v2:
- Relax the WARN_ON(!crtc), with explanation.
- Call set_best_encoder when connector is moved between crtc's.
- Add some paranoia to steal_encoder to prevent accidentally setting
best_encoder to NULL.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/56AA200A.6070501@linux.intel.com
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions