Index: ui/ozone/platform/drm/gpu/crtc_controller.cc |
diff --git a/ui/ozone/platform/drm/gpu/crtc_controller.cc b/ui/ozone/platform/drm/gpu/crtc_controller.cc |
index 6c912c647290d0a3a271a81fb925f591c551db15..9e0b78da738d51da3cc212037061b5080d7dc184 100644 |
--- a/ui/ozone/platform/drm/gpu/crtc_controller.cc |
+++ b/ui/ozone/platform/drm/gpu/crtc_controller.cc |
@@ -76,7 +76,7 @@ bool CrtcController::SchedulePageFlip( |
const OverlayPlane* primary = OverlayPlane::GetPrimaryPlane(overlays); |
if (!primary) { |
LOG(ERROR) << "No primary plane to display on crtc " << crtc_; |
- page_flip_request->Signal(); |
+ page_flip_request->Signal(gfx::SwapAck); |
return true; |
} |
DCHECK(primary->buffer.get()); |
@@ -86,14 +86,14 @@ bool CrtcController::SchedulePageFlip( |
<< mode_.hdisplay << "x" << mode_.vdisplay << " got " |
<< primary->buffer->GetSize().ToString() << " for" |
<< " crtc=" << crtc_ << " connector=" << connector_; |
- page_flip_request->Signal(); |
+ page_flip_request->Signal(gfx::SwapAck); |
return true; |
} |
if (!drm_->plane_manager()->AssignOverlayPlanes(plane_list, overlays, crtc_, |
this)) { |
PLOG(ERROR) << "Failed to assign overlay planes for crtc " << crtc_; |
- page_flip_request->Signal(); |
+ page_flip_request->Signal(gfx::SwapFailed); |
return false; |
} |
@@ -160,7 +160,7 @@ void CrtcController::SignalPageFlipRequest() { |
// locally to avoid deleting the object we are making a call on. |
scoped_refptr<PageFlipRequest> last_request; |
last_request.swap(page_flip_request_); |
- last_request->Signal(); |
+ last_request->Signal(gfx::SwapAck); |
} |
} |