Fallback to Linear Modifiers if Preferred Modifiers fail.
Test-Modeset with preferred modifiers. If it the test passes, save the preferred modifiers to use for full modeset. If it fails, try testing with linear modifiers for every controller. Use empty modifiers list if the platform doesn't support preferred modifiers list. This enables us to launch Intel Rendering Buffer Compression. http://go/cros-intelrbc BUG=979736,1082882 TEST: RBC enabled on (4K eDP with 4K external) and (4K eDP and 2 external monitors), zork, and nautilus Change-Id: I7698d2cc9f13e5293eb0f6579dee775314988037 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2567263Reviewed-by:Daniel Nicoara <dnicoara@chromium.org> Commit-Queue: Mark Yacoub <markyacoub@google.com> Cr-Commit-Position: refs/heads/master@{#834389}
Showing
Please register or sign in to comment