diff options
author | dnicoara <dnicoara@chromium.org> | 2015-03-05 20:29:08 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-06 04:29:53 +0000 |
commit | 78e363fa39d6edd2b8e3472b294c11b612af32e6 (patch) | |
tree | 30c702f4c71b2007b228f3ebf4b97b62a7b4d7ea /ui/ozone/platform/drm/gpu/drm_device.cc | |
parent | 3150d8a1916160a74b9c2465e3d929724f01362d (diff) | |
download | chromium_src-78e363fa39d6edd2b8e3472b294c11b612af32e6.zip chromium_src-78e363fa39d6edd2b8e3472b294c11b612af32e6.tar.gz chromium_src-78e363fa39d6edd2b8e3472b294c11b612af32e6.tar.bz2 |
[Ozone-Drm] Replace some LOGs with PLOGs and some with VLOGs
Log messages that are less critical were moved to VLOG(2) so they won't
show up by default. The others have been changed to PLOGs so that we get
more information on why the kernel rejected the DRM calls.
BUG=none
Review URL: https://codereview.chromium.org/970323002
Cr-Commit-Position: refs/heads/master@{#319410}
Diffstat (limited to 'ui/ozone/platform/drm/gpu/drm_device.cc')
-rw-r--r-- | ui/ozone/platform/drm/gpu/drm_device.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/ozone/platform/drm/gpu/drm_device.cc b/ui/ozone/platform/drm/gpu/drm_device.cc index 0a4952f..5f87095 100644 --- a/ui/ozone/platform/drm/gpu/drm_device.cc +++ b/ui/ozone/platform/drm/gpu/drm_device.cc @@ -48,8 +48,7 @@ bool DrmCreateDumbBuffer(int fd, request.flags = 0; if (drmIoctl(fd, DRM_IOCTL_MODE_CREATE_DUMB, &request) < 0) { - VLOG(2) << "Cannot create dumb buffer (" << errno << ") " - << strerror(errno); + VPLOG(2) << "Cannot create dumb buffer"; return false; } |