diff options
author | Ville Syrjälä <[email protected]> | 2018-06-28 16:13:07 +0300 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2018-07-05 16:52:07 +0300 |
commit | 0d99889109892396a8164bf6dd178e36d3fe3166 (patch) | |
tree | b40c0d143556d1fcb33013e8504374280d742579 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c91b007ed137c8497fa89993cc6757a8e81ff99b (diff) |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions