Fix mode modeset fallback.
The CL fixes the following issues: 1. When looping over pending modeset requests, do not depend on the dynamic vector size. 2. If the display modeset has failed, do not always select the next available mode, check that it's valid first. 3. Retry configuring displays when any of them fail, not just the last one. 4. Use default values for unittest variables. BUG=b/168800852 TEST=should configure multiple displays even after the first mode is rejected. display_unittests Change-Id: I285d02f4b7f653588b53c48655cc05514264242d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2417008Reviewed-by:Avi Drissman <avi@chromium.org> Reviewed-by:
Gil Dekel <gildekel@chromium.org> Commit-Queue: Mark Yacoub <markyacoub@google.com> Cr-Commit-Position: refs/heads/master@{#808472}
Showing
Please register or sign in to comment