diff options
author | spang <spang@chromium.org> | 2015-04-13 16:00:50 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-13 23:01:34 +0000 |
commit | 762b96dd0a95676a1ad163943410edc8912061d4 (patch) | |
tree | 71d54e2c74512ea0b51fdc6ee00612299275e05a /ui/ozone/platform/drm/gpu/drm_display_snapshot.cc | |
parent | 2c131a7d93b4c32abdf8792e76576e310f1b4853 (diff) | |
download | chromium_src-762b96dd0a95676a1ad163943410edc8912061d4.zip chromium_src-762b96dd0a95676a1ad163943410edc8912061d4.tar.gz chromium_src-762b96dd0a95676a1ad163943410edc8912061d4.tar.bz2 |
ozone: drm: Remove DPMS property changes
These property changes are not required and are causing issues. In
particular, modesetting with a NULL framebuffer after DPMS off may
fail. Remove DPMS altogether since it is apparently not required.
BUG=473831
TEST=Tested various displays attached to link & panther, suspended.
Display turns on/off as expected.
Review URL: https://codereview.chromium.org/1081213002
Cr-Commit-Position: refs/heads/master@{#324931}
Diffstat (limited to 'ui/ozone/platform/drm/gpu/drm_display_snapshot.cc')
-rw-r--r-- | ui/ozone/platform/drm/gpu/drm_display_snapshot.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ui/ozone/platform/drm/gpu/drm_display_snapshot.cc b/ui/ozone/platform/drm/gpu/drm_display_snapshot.cc index 96e0a2f..4c90654 100644 --- a/ui/ozone/platform/drm/gpu/drm_display_snapshot.cc +++ b/ui/ozone/platform/drm/gpu/drm_display_snapshot.cc @@ -83,12 +83,7 @@ DrmDisplaySnapshot::DrmDisplaySnapshot(const scoped_refptr<DrmDevice>& drm, nullptr), drm_(drm), connector_(connector->connector_id), - crtc_(crtc->crtc_id), - dpms_property_(drm->GetProperty(connector, "DPMS")) { - if (!dpms_property_) - VLOG(1) << "Failed to find the DPMS property for connector " - << connector->connector_id; - + crtc_(crtc->crtc_id) { ScopedDrmPropertyBlobPtr edid_blob(drm->GetPropertyBlob(connector, "EDID")); if (edid_blob) { |