• Daniel Nicoara's avatar
    Fix check for PLANE_CTM on legacy · bfde49d0
    Daniel Nicoara authored
    Enable universal planes when initializing the DRM device in the browser
    process. This ensures all planes are exposed via DRM.
    
    If DRM reports 0 planes (on legacy this can happen) do not report
    support for PLANE_CTM otherwise the display configuration will try to
    set hardware CTM.
    
    Bug: 869901
    Test: Compiled
    Change-Id: I3fd09e3628e198219d8bb0b1400afd156cb4bcbe
    Reviewed-on: https://chromium-review.googlesource.com/1167892
    Commit-Queue: Daniel Nicoara <dnicoara@chromium.org>
    Reviewed-by: default avatarDaniele Castagna <dcastagna@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#581911}
    bfde49d0
drm_util.cc 24.5 KB