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

Issue 522463005: [Ozone-GBM] Handle GPU crashes (Closed)

Created:
6 years, 3 months ago by dnicoara
Modified:
6 years, 3 months ago
CC:
chromium-reviews, rjkroege, kalyank, ozone-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Ozone-GBM] Handle GPU crashes If the GPU process crashes, all the display configuration state is gone. This allows the platform to gracefully handle GPU crashes and restore the state once the GPU process spins up again. BUG=none NOTRY=true Committed: https://crrev.com/a83cb2af0561e5f4f8f5d6be8b55613d18da95e0 Cr-Commit-Position: refs/heads/master@{#293399}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Updated to allow proper restore of secondary displays #

Total comments: 2

Patch Set 3 : . #

Patch Set 4 : Rebased #

Patch Set 5 : Reland of: [Ozone-GBM] Handle GPU crashes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -67 lines) Patch
M ui/ozone/common/gpu/ozone_gpu_messages.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M ui/ozone/platform/dri/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A ui/ozone/platform/dri/channel_observer.h View 1 chunk +21 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/chromeos/display_message_handler.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M ui/ozone/platform/dri/chromeos/display_message_handler.cc View 1 2 chunks +36 lines, -1 line 0 comments Download
M ui/ozone/platform/dri/chromeos/native_display_delegate_dri.cc View 1 2 chunks +33 lines, -9 lines 0 comments Download
M ui/ozone/platform/dri/chromeos/native_display_delegate_proxy.cc View 1 1 chunk +9 lines, -3 lines 0 comments Download
M ui/ozone/platform/dri/dri_window_delegate_impl.cc View 1 3 chunks +9 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/dri_window_delegate_proxy.h View 3 chunks +11 lines, -1 line 0 comments Download
M ui/ozone/platform/dri/dri_window_delegate_proxy.cc View 1 2 chunks +33 lines, -3 lines 0 comments Download
M ui/ozone/platform/dri/dri_wrapper.cc View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M ui/ozone/platform/dri/gbm.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/platform/dri/gpu_platform_support_host_gbm.h View 4 chunks +7 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/gpu_platform_support_host_gbm.cc View 1 3 chunks +27 lines, -2 lines 0 comments Download
M ui/ozone/platform/dri/screen_manager.h View 1 1 chunk +6 lines, -3 lines 0 comments Download
M ui/ozone/platform/dri/screen_manager.cc View 1 2 3 4 3 chunks +42 lines, -39 lines 0 comments Download
M ui/ozone/platform/dri/screen_manager_unittest.cc View 1 8 chunks +17 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
dnicoara
PTAL https://codereview.chromium.org/522463005/diff/1/ui/ozone/platform/dri/dri_window_delegate_proxy.cc File ui/ozone/platform/dri/dri_window_delegate_proxy.cc (right): https://codereview.chromium.org/522463005/diff/1/ui/ozone/platform/dri/dri_window_delegate_proxy.cc#newcode22 ui/ozone/platform/dri/dri_window_delegate_proxy.cc:22: TRACE_EVENT1("dri", "DriWindowDelegateProxy::Initialize", "widget", widget_); Can I now remove ...
6 years, 3 months ago (2014-08-29 22:36:49 UTC) #2
alexst (slow to review)
https://codereview.chromium.org/522463005/diff/1/ui/ozone/platform/dri/dri_window_delegate_proxy.cc File ui/ozone/platform/dri/dri_window_delegate_proxy.cc (right): https://codereview.chromium.org/522463005/diff/1/ui/ozone/platform/dri/dri_window_delegate_proxy.cc#newcode22 ui/ozone/platform/dri/dri_window_delegate_proxy.cc:22: TRACE_EVENT1("dri", "DriWindowDelegateProxy::Initialize", "widget", widget_); On 2014/08/29 22:36:48, dnicoara wrote: ...
6 years, 3 months ago (2014-09-02 13:37:07 UTC) #3
dnicoara
I've also updated the IPC message requesting the display configuration to allow restoring the external ...
6 years, 3 months ago (2014-09-03 17:17:25 UTC) #4
alexst (slow to review)
lgtm, with a nit https://codereview.chromium.org/522463005/diff/20001/ui/ozone/platform/dri/screen_manager.cc File ui/ozone/platform/dri/screen_manager.cc (right): https://codereview.chromium.org/522463005/diff/20001/ui/ozone/platform/dri/screen_manager.cc#newcode38 ui/ozone/platform/dri/screen_manager.cc:38: LOG(WARNING) << "Display controller (crtc=" ...
6 years, 3 months ago (2014-09-04 14:44:45 UTC) #5
dnicoara
https://codereview.chromium.org/522463005/diff/20001/ui/ozone/platform/dri/screen_manager.cc File ui/ozone/platform/dri/screen_manager.cc (right): https://codereview.chromium.org/522463005/diff/20001/ui/ozone/platform/dri/screen_manager.cc#newcode38 ui/ozone/platform/dri/screen_manager.cc:38: LOG(WARNING) << "Display controller (crtc=" << crtc << ") ...
6 years, 3 months ago (2014-09-04 15:12:07 UTC) #6
dnicoara
+Ken for IPC change
6 years, 3 months ago (2014-09-04 15:13:31 UTC) #8
kenrb
ipc lgtm
6 years, 3 months ago (2014-09-04 19:46:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dnicoara@chromium.org/522463005/60001
6 years, 3 months ago (2014-09-05 01:46:48 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001) as fe647532b9df0bfc9d0896fa3368b14ffca98936
6 years, 3 months ago (2014-09-05 01:58:09 UTC) #12
spang
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/548613002/ by spang@chromium.org. ...
6 years, 3 months ago (2014-09-05 18:27:47 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:35:32 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a83cb2af0561e5f4f8f5d6be8b55613d18da95e0
Cr-Commit-Position: refs/heads/master@{#293399}

Powered by Google App Engine
This is Rietveld 408576698