• dnicoara's avatar
    Make SetDisplayPower() take a callback to signal completion · eebe273b
    dnicoara authored
    SetDisplayPower() is called by powerd to turn the panel on. After that
    powerd will set the backlight level. Since DisplayConfigurator may be
    executing the SetDisplayPower() operation asynchronously, the panel
    may still be off when powerd tries to set the backlight level. So
    powerd's operation would be ignored by the driver.
    
    BUG=chrome-os-partner:35662
    
    Review URL: https://codereview.chromium.org/886103002
    
    Cr-Commit-Position: refs/heads/master@{#313983}
    eebe273b
display_configurator.h 16.3 KB