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

Issue 2498103002: Fix potential GPU crash caused by VT switching (Closed)

Created:
4 years, 1 month ago by dnicoara
Modified:
4 years, 1 month ago
Reviewers:
dbehr, Daniel Erat
CC:
chromium-reviews, oshima+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix potential GPU crash caused by VT switching When display control is released Frecon may change the configuration at will. Since Chrome never stops page flipping, there is a race condition when Chrome regains control where the Chrome hasn't polled for the configuration but is still page flipping which leads to a failed page flip due to invalid display configuration (which causes the GPU process to be killed). Turning the displays off unparents the windows from the displays allowing Chrome to continue page flipping while the display configuration is renewed. BUG=655770 TEST=Updated display_unittests Committed: https://crrev.com/547665586e0d17adc9d8ecf03b41c9448fe7719c Cr-Commit-Position: refs/heads/master@{#432177}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add doc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -9 lines) Patch
M ui/display/chromeos/display_configurator.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M ui/display/chromeos/display_configurator.cc View 2 chunks +25 lines, -6 lines 0 comments Download
M ui/display/chromeos/display_configurator_unittest.cc View 2 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
dnicoara
PTAL derat@ for OWNERS dbehr@ FYI
4 years, 1 month ago (2016-11-14 22:19:09 UTC) #2
Daniel Erat
lgtm https://codereview.chromium.org/2498103002/diff/1/ui/display/chromeos/display_configurator.h File ui/display/chromeos/display_configurator.h (right): https://codereview.chromium.org/2498103002/diff/1/ui/display/chromeos/display_configurator.h#newcode384 ui/display/chromeos/display_configurator.h:384: // Helper function that sends the actual command. ...
4 years, 1 month ago (2016-11-14 22:44:43 UTC) #5
dnicoara
https://codereview.chromium.org/2498103002/diff/1/ui/display/chromeos/display_configurator.h File ui/display/chromeos/display_configurator.h (right): https://codereview.chromium.org/2498103002/diff/1/ui/display/chromeos/display_configurator.h#newcode384 ui/display/chromeos/display_configurator.h:384: // Helper function that sends the actual command. On ...
4 years, 1 month ago (2016-11-14 22:51:45 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2498103002/20001
4 years, 1 month ago (2016-11-15 14:48:17 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-15 14:52:03 UTC) #14
commit-bot: I haz the power
4 years, 1 month ago (2016-11-15 14:54:47 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/547665586e0d17adc9d8ecf03b41c9448fe7719c
Cr-Commit-Position: refs/heads/master@{#432177}

Powered by Google App Engine
This is Rietveld 408576698