aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2016-01-28 14:04:58 +0000
committerDaniel Vetter <[email protected]>2016-02-09 10:21:06 +0000
commite87a52b38943608531ff63ea397b1ae5dd48e341 (patch)
tree4e012a5f9f526aa22600e523d58ad0964a6537ef /drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
parentdrm/atomic: Do not unset crtc when an encoder is stolen (diff)
downloadkernel-e87a52b38943608531ff63ea397b1ae5dd48e341.tar.gz
kernel-e87a52b38943608531ff63ea397b1ae5dd48e341.zip
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 <[email protected]> Reviewed-by: Gustavo Padovan <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c')
0 files changed, 0 insertions, 0 deletions