• Daniel Nicoara's avatar
    Reland "[Ozone-DRM] Refactor plane management and add tests" · 12dc8ef2
    Daniel Nicoara authored
    This is a reland of ce767464
    
    Original change's description:
    > [Ozone-DRM] Refactor plane management and add tests
    >
    > * We use plane properties on legacy DRM to get some details (plane
    > type, in_formats). Read the properties in HardwareDisplayPlane and
    > check that the required properties are available in DRM atomic.
    > * Split dummy plane into its own class to clean up code.
    > * Remove test plane since we can now create the real objects via
    > injected state in DrmDevice.
    > * Cleanup plane initialization.
    > * Remove MockHardwareDisplayPlaneManager and rely on MockDrmDevice to
    > inject the necessary state.
    >
    > BUG=839487
    > TEST=Ran unittests
    >
    > Change-Id: I03c91620557dcf7426629cf97bb989d8d7e83c68
    > Reviewed-on: https://chromium-review.googlesource.com/1048585
    > Commit-Queue: Daniel Nicoara <dnicoara@chromium.org>
    > Reviewed-by: Daniele Castagna <dcastagna@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#561616}
    
    Bug: 839487
    Change-Id: Ifb74647dfe1f05ef3339261dd1f7c51c0c371622
    Reviewed-on: https://chromium-review.googlesource.com/1073487Reviewed-by: default avatarDaniele Castagna <dcastagna@chromium.org>
    Commit-Queue: Daniel Nicoara <dnicoara@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#561949}
    12dc8ef2
drm_device.cc 20.6 KB