Index: ui/ozone/platform/drm/gpu/hardware_display_plane_manager_legacy.cc |
diff --git a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_legacy.cc b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_legacy.cc |
index e4120764274591a4be73989f15a85e2c0b511e97..501dfabcf6dcc702ee531bcc1352f0204493e0c3 100644 |
--- a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_legacy.cc |
+++ b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager_legacy.cc |
@@ -105,6 +105,9 @@ bool HardwareDisplayPlaneManagerLegacy::SetPlaneData( |
uint32_t crtc_id, |
const gfx::Rect& src_rect, |
CrtcController* crtc) { |
+ // Legacy modesetting rejects transforms. |
+ if (overlay.plane_transform != gfx::OVERLAY_TRANSFORM_NONE) |
+ return false; |
if ((hw_plane->type() == HardwareDisplayPlane::kDummy) || |
plane_list->legacy_page_flips.empty() || |
plane_list->legacy_page_flips.back().crtc_id != crtc_id) { |