Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: ui/ozone/platform/drm/gpu/screen_manager.cc

Issue 1130613003: [ozone] Remove unneeded workaround for disabling display controllers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/screen_manager.cc
diff --git a/ui/ozone/platform/drm/gpu/screen_manager.cc b/ui/ozone/platform/drm/gpu/screen_manager.cc
index 3dc6c4fcdda0bad291b974063032fca94f5a3897..120de8c33f3a06f8a39424af55a335de0bb4d94f 100644
--- a/ui/ozone/platform/drm/gpu/screen_manager.cc
+++ b/ui/ozone/platform/drm/gpu/screen_manager.cc
@@ -182,13 +182,6 @@ bool ScreenManager::DisableDisplayController(
controllers_.push_back(controller);
}
- if (!controller->IsDisabled()) {
- // Workaround for driver bug that does not release the buffer on null
- // modeset.
- ModesetDisplayController(controller, controller->origin(),
- controller->get_mode(), false);
- }
-
controller->Disable();
UpdateControllerToWindowMapping();
return true;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698