-
Chan Li authored
This reverts commit 4e30f923. Reason for revert: The change breaks ozone_unittests on linux-chromeos-dbg. Sample failed build: https://ci.chromium.org/p/chromium/builders/ci/linux-chromeos-dbg/16729 Findit analysis: https://findit-for-me.appspot.com/waterfall/failure?url=https://luci-milo.appspot.com/buildbot/chromium.chromiumos/linux-chromeos-dbg/16729 Original change's description: > Replace drmModeSetCrtc by Atomic APIs > > If the device supports atomic APIs, use drmModeAtomicCommit to modeset > and disable instead of drmModeSetCrtc. > Abstracted Modeset and Disabled code to HDPM to handle both atomic and > legacy call. > Updated tests to support Connector and CRTC props. > > This is a reland of crrev.com/c/1715751 > > BUG=987274 > TEST=HardwareDisplayControllerTest.CheckModesettingSetsProps, > HardwareDisplayPlaneManagerLegacyTest.Modeset, > HardwareDisplayPlaneManagerLegacyTest.DisableModeset, > HardwareDisplayPlaneManagerAtomicTest.DisableModeset, Tested on > Nautilus(Intel), Grunt(AMD) and Cave(Legacy). > > Change-Id: I8ac3f81a0c117f3b3489cc0168e934799f387891 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2028168 > Reviewed-by: Daniel Nicoara <dnicoara@chromium.org> > Commit-Queue: Mark Yacoub <markyacoub@google.com> > Auto-Submit: Mark Yacoub <markyacoub@google.com> > Cr-Commit-Position: refs/heads/master@{#736438} TBR=dnicoara@chromium.org,markyacoub@google.com Change-Id: I4f2fdc4abbe9e88e5f33abd0cd31df3326f3c84d No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 987274 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2028930Reviewed-by:
Chan Li <chanli@chromium.org> Commit-Queue: Chan Li <chanli@chromium.org> Cr-Commit-Position: refs/heads/master@{#736549}
a8cd2495