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

Issue 1064453003: [4/4][Ozone-Drm] Keep track of DRM devices in browser process (Closed)

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

Description

[Ozone-Drm] Keep track of DRM devices in browser process Keeping the DRM devices open in the browser process means the kernel doesn't need to clean up the display state when the GPU process crashes, eliminating the flicker caused by the kernel disabling the CRTCs on GPU crashes. BUG=445773 Committed: https://crrev.com/7eb5cd9c17165102b9b25805c1f97cfde260aed8 Cr-Commit-Position: refs/heads/master@{#327557}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 1

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : Rebased & made sure primary device is IPC-ed first #

Patch Set 5 : . #

Total comments: 1

Patch Set 6 : . #

Total comments: 3

Patch Set 7 : rebased #

Patch Set 8 : removed S_ISDIR check #

Patch Set 9 : Update due to change in ScopedPtrHashMap definition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -70 lines) Patch
M ui/ozone/platform/drm/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/drm.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A ui/ozone/platform/drm/host/drm_device_handle.h View 1 2 3 4 1 chunk +34 lines, -0 lines 0 comments Download
A ui/ozone/platform/drm/host/drm_device_handle.cc View 1 2 3 4 5 6 7 1 chunk +77 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/host/drm_native_display_delegate.h View 1 2 3 4 5 6 7 8 4 chunks +6 lines, -4 lines 0 comments Download
M ui/ozone/platform/drm/host/drm_native_display_delegate.cc View 1 2 3 4 5 6 7 chunks +62 lines, -66 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
dnicoara
5 years, 8 months ago (2015-04-27 14:22:20 UTC) #2
dnicoara
https://codereview.chromium.org/1064453003/diff/20001/ui/ozone/platform/drm/host/drm_native_display_delegate.cc File ui/ozone/platform/drm/host/drm_native_display_delegate.cc (right): https://codereview.chromium.org/1064453003/diff/20001/ui/ozone/platform/drm/host/drm_native_display_delegate.cc#newcode247 ui/ozone/platform/drm/host/drm_native_display_delegate.cc:247: drm_devices_.add(event.path(), handle.Pass()); Hmm, this will be problematic since the ...
5 years, 8 months ago (2015-04-27 16:46:55 UTC) #3
spang
https://codereview.chromium.org/1064453003/diff/40001/ui/ozone/platform/drm/host/drm_device_handle.cc File ui/ozone/platform/drm/host/drm_device_handle.cc (right): https://codereview.chromium.org/1064453003/diff/40001/ui/ozone/platform/drm/host/drm_device_handle.cc#newcode35 ui/ozone/platform/drm/host/drm_device_handle.cc:35: file_ = base::File(path, base::File::FLAG_OPEN | base::File::FLAG_READ | The base::File ...
5 years, 8 months ago (2015-04-27 22:23:15 UTC) #4
dnicoara
https://codereview.chromium.org/1064453003/diff/40001/ui/ozone/platform/drm/host/drm_device_handle.cc File ui/ozone/platform/drm/host/drm_device_handle.cc (right): https://codereview.chromium.org/1064453003/diff/40001/ui/ozone/platform/drm/host/drm_device_handle.cc#newcode35 ui/ozone/platform/drm/host/drm_device_handle.cc:35: file_ = base::File(path, base::File::FLAG_OPEN | base::File::FLAG_READ | On 2015/04/27 ...
5 years, 7 months ago (2015-04-28 16:26:16 UTC) #5
spang
do you need to rebase? https://codereview.chromium.org/1064453003/diff/100001/ui/ozone/platform/drm/host/drm_device_handle.cc File ui/ozone/platform/drm/host/drm_device_handle.cc (right): https://codereview.chromium.org/1064453003/diff/100001/ui/ozone/platform/drm/host/drm_device_handle.cc#newcode57 ui/ozone/platform/drm/host/drm_device_handle.cc:57: CHECK(!S_ISDIR(file_info.st_mode)); what's this for? ...
5 years, 7 months ago (2015-04-28 17:05:38 UTC) #6
dnicoara
Yep, needed a rebase ... done. https://codereview.chromium.org/1064453003/diff/100001/ui/ozone/platform/drm/host/drm_device_handle.cc File ui/ozone/platform/drm/host/drm_device_handle.cc (right): https://codereview.chromium.org/1064453003/diff/100001/ui/ozone/platform/drm/host/drm_device_handle.cc#newcode57 ui/ozone/platform/drm/host/drm_device_handle.cc:57: CHECK(!S_ISDIR(file_info.st_mode)); On 2015/04/28 ...
5 years, 7 months ago (2015-04-28 18:06:50 UTC) #7
spang
lgtm
5 years, 7 months ago (2015-04-28 18:23:36 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1064453003/140001
5 years, 7 months ago (2015-04-29 18:26:45 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/5695)
5 years, 7 months ago (2015-04-29 18:56:39 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1064453003/160001
5 years, 7 months ago (2015-04-29 19:12:40 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1064453003/160001
5 years, 7 months ago (2015-04-29 20:49:34 UTC) #18
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 7 months ago (2015-04-29 21:28:05 UTC) #19
commit-bot: I haz the power
5 years, 7 months ago (2015-04-29 21:29:18 UTC) #20
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/7eb5cd9c17165102b9b25805c1f97cfde260aed8
Cr-Commit-Position: refs/heads/master@{#327557}

Powered by Google App Engine
This is Rietveld 408576698