ozone/display: Plumb Internal Modeset Flag

This CL plumbs an internal modeset flag to allow ui/display and ozone
to adjust the behavior of modeset commits. Or, in language more fitting
to these layers, adjust the behavior of display configurations.

The flags will allow us to request configuration tests and seamless
display configurations in following work.

Otherwise, this CL does not changes any functionality.

Bug: b:236674622, b:238361145
Test: display_unittests && ozone_unittests
Change-Id: I2b6da071d5187ba0b1bea7727501d60d4806f39f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3763044
Commit-Queue: Gil Dekel <[email protected]>
Reviewed-by: Daniel Nicoara <[email protected]>
Reviewed-by: Robert Kroeger <[email protected]>
Reviewed-by: Robert Sesek <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1025832}
diff --git a/ui/display/manager/configure_displays_task.cc b/ui/display/manager/configure_displays_task.cc
index 292e721..37a2dbec 100644
--- a/ui/display/manager/configure_displays_task.cc
+++ b/ui/display/manager/configure_displays_task.cc
@@ -272,7 +272,8 @@
 
   delegate_->Configure(
       config_requests,
-      base::BindOnce(on_configured, weak_ptr_factory_.GetWeakPtr()));
+      base::BindOnce(on_configured, weak_ptr_factory_.GetWeakPtr()),
+      display::kTestModeset | display::kCommitModeset);
 }
 
 void ConfigureDisplaysTask::OnConfigurationChanged() {}