[Ozone-Dri] Set DPMS when configuring displays and remove ForceDPMSOn
commit0866c10f7a2cbcd909c354999c9ba5d021c909a1
authordnicoara <dnicoara@chromium.org>
Fri, 27 Feb 2015 18:51:34 +0000 (27 10:51 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 27 Feb 2015 18:52:14 +0000 (27 18:52 +0000)
tree7fb310ad542dfdcc07fa7051bcd46e6f7425ff57
parent682127b6172df1e37786d9190a30479b83b5c2b3
[Ozone-Dri] Set DPMS when configuring displays and remove ForceDPMSOn

We're forcing DPMS to on since some drivers may not perform it
themselves. We also want to only do it on displays that are modeset
otherwise we may be putting disabled displays in a higher power
state.

BUG=chrome-os-partner:36664

Review URL: https://codereview.chromium.org/958933003

Cr-Commit-Position: refs/heads/master@{#318490}
ui/ozone/common/gpu/ozone_gpu_messages.h
ui/ozone/platform/dri/dri_gpu_platform_support.cc
ui/ozone/platform/dri/dri_gpu_platform_support.h
ui/ozone/platform/dri/native_display_delegate_dri.cc
ui/ozone/platform/dri/native_display_delegate_dri.h
ui/ozone/platform/dri/native_display_delegate_proxy.cc