aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dp_mst.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2018-06-28 13:13:07 +0000
committerVille Syrjälä <[email protected]>2018-07-05 13:52:07 +0000
commit0d99889109892396a8164bf6dd178e36d3fe3166 (patch)
treeb40c0d143556d1fcb33013e8504374280d742579 /drivers/gpu/drm/i915/intel_dp_mst.c
parentdrm/vkms: Add extra information about vkms (diff)
downloadkernel-0d99889109892396a8164bf6dd178e36d3fe3166.tar.gz
kernel-0d99889109892396a8164bf6dd178e36d3fe3166.zip
drm/fb-helper: Eliminate the .best_encoder() usage
Instead of using the .best_encoder() hook to figure out whether a given connector+crtc combo will work, let's instead do what userspace does and just iterate over all the encoders for the connector, and then check each crtc against each encoder's possible_crtcs bitmask. v2: Avoid oopsing on NULL encoders (Daniel) s/connector_crtc_ok/connector_has_possible_crtc/ Cc: Dhinakaran Pandiyan <[email protected]> Cc: Harry Wentland <[email protected]> Cc: Daniel Vetter <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Suggested-by: Daniel Vetter <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions