Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1284)

Issue 947293002: [Ozone-Dri] Gracefully handle DRM devices with no resources (Closed)

Created:
5 years, 10 months ago by dnicoara
Modified:
5 years, 10 months ago
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Ozone-Dri] Gracefully handle DRM devices with no resources DRM devices such as VGEM do not have resources, so we want to ignore them rather than crash. BUG=460982 Committed: https://crrev.com/3b2bde2e135f6125956bc4b526e1a6208111ae53 Cr-Commit-Position: refs/heads/master@{#317687}

Patch Set 1 #

Total comments: 4

Patch Set 2 : . #

Patch Set 3 : Make errors/warning to vlogs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -20 lines) Patch
M ui/ozone/platform/dri/dri_wrapper.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/dri/dri_wrapper.cc View 1 2 2 chunks +24 lines, -3 lines 0 comments Download
M ui/ozone/platform/dri/drm_device_generator.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M ui/ozone/platform/dri/gbm_wrapper.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/dri/gbm_wrapper.cc View 1 chunk +10 lines, -4 lines 0 comments Download
M ui/ozone/platform/dri/hardware_display_plane_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/dri/native_display_delegate_dri.cc View 1 2 2 chunks +8 lines, -4 lines 0 comments Download
M ui/ozone/platform/dri/ozone_platform_dri.cc View 1 chunk +3 lines, -1 line 0 comments Download
M ui/ozone/platform/dri/ozone_platform_gbm.cc View 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
dnicoara
PTAL
5 years, 10 months ago (2015-02-23 21:35:07 UTC) #2
alexst (slow to review)
https://codereview.chromium.org/947293002/diff/1/ui/ozone/platform/dri/dri_wrapper.cc File ui/ozone/platform/dri/dri_wrapper.cc (right): https://codereview.chromium.org/947293002/diff/1/ui/ozone/platform/dri/dri_wrapper.cc#newcode171 ui/ozone/platform/dri/dri_wrapper.cc:171: return false; Should reset the plane manager here since ...
5 years, 10 months ago (2015-02-23 21:46:32 UTC) #3
dnicoara
https://codereview.chromium.org/947293002/diff/1/ui/ozone/platform/dri/dri_wrapper.cc File ui/ozone/platform/dri/dri_wrapper.cc (right): https://codereview.chromium.org/947293002/diff/1/ui/ozone/platform/dri/dri_wrapper.cc#newcode171 ui/ozone/platform/dri/dri_wrapper.cc:171: return false; On 2015/02/23 21:46:32, alexst wrote: > Should ...
5 years, 10 months ago (2015-02-23 21:49:10 UTC) #4
dnicoara
As per our offline discussion, added an early check to see if the device can ...
5 years, 10 months ago (2015-02-23 22:37:38 UTC) #5
alexst (slow to review)
lgtm
5 years, 10 months ago (2015-02-23 22:42:49 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/947293002/40001
5 years, 10 months ago (2015-02-23 22:57:50 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/44841)
5 years, 10 months ago (2015-02-23 23:29:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/947293002/40001
5 years, 10 months ago (2015-02-23 23:52:17 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-24 00:26:06 UTC) #13
commit-bot: I haz the power
5 years, 10 months ago (2015-02-24 00:26:31 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3b2bde2e135f6125956bc4b526e1a6208111ae53
Cr-Commit-Position: refs/heads/master@{#317687}

Powered by Google App Engine
This is Rietveld 408576698