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

Issue 1503223005: Identify the active GPU using GL strings in multiple GPU situation. (Closed)

Created:
5 years ago by Zhenyao Mo
Modified:
5 years ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org, vmiura, David Yen
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Identify the active GPU using GL strings in multiple GPU situation. Also, now we switch the multi_gpu_category setting for each entry to "active" gpu as default (before was "primary" as default). It's more intuitive as mostly we want to apply entries to the GPU that's in use. This fixes a few bugs where we incorrectly apply the blacklist decisions and workarounds to the GPU that's not in use. BUG=547025, 413004 TEST=gpu_unittests Committed: https://crrev.com/7c7ee3e822e34dd970ea38cb8db4b18da9ef61bb Cr-Commit-Position: refs/heads/master@{#364192}

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -5 lines) Patch
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/config/gpu_control_list.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/config/gpu_control_list_entry_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/config/gpu_control_list_format.txt View 1 chunk +1 line, -1 line 0 comments Download
M gpu/config/gpu_info_collector.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/config/gpu_info_collector.cc View 1 2 3 4 chunks +78 lines, -0 lines 0 comments Download
M gpu/config/gpu_info_collector_unittest.cc View 1 2 1 chunk +52 lines, -0 lines 0 comments Download
M gpu/config/software_rendering_list_json.cc View 8 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
Zhenyao Mo
kbr: Please review. vmiura, dyen: FYI (feel free to review)
5 years ago (2015-12-08 18:35:16 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1503223005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1503223005/1
5 years ago (2015-12-08 18:36:32 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/89365)
5 years ago (2015-12-08 19:01:23 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1503223005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1503223005/40001
5 years ago (2015-12-08 22:22:01 UTC) #11
Zhenyao Mo
On 2015/12/08 22:22:01, commit-bot: I haz the power wrote: > Dry run: CQ is trying ...
5 years ago (2015-12-08 22:23:18 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/89563) linux_chromium_clobber_rel_ng on ...
5 years ago (2015-12-08 22:54:05 UTC) #14
Ken Russell (switch to Gerrit)
This looks good overall but one comment. https://codereview.chromium.org/1503223005/diff/40001/gpu/config/gpu_info_collector.cc File gpu/config/gpu_info_collector.cc (right): https://codereview.chromium.org/1503223005/diff/40001/gpu/config/gpu_info_collector.cc#newcode166 gpu/config/gpu_info_collector.cc:166: context_gpu_info.secondary_gpus[ii].active; Are ...
5 years ago (2015-12-08 22:58:48 UTC) #15
Zhenyao Mo
Revised, please review again. https://codereview.chromium.org/1503223005/diff/40001/gpu/config/gpu_info_collector.cc File gpu/config/gpu_info_collector.cc (right): https://codereview.chromium.org/1503223005/diff/40001/gpu/config/gpu_info_collector.cc#newcode166 gpu/config/gpu_info_collector.cc:166: context_gpu_info.secondary_gpus[ii].active; On 2015/12/08 22:58:48, Ken ...
5 years ago (2015-12-09 18:36:53 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1503223005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1503223005/80001
5 years ago (2015-12-09 18:39:22 UTC) #19
Ken Russell (switch to Gerrit)
Thanks for updating. LGTM https://codereview.chromium.org/1503223005/diff/80001/gpu/config/gpu_info_collector.cc File gpu/config/gpu_info_collector.cc (right): https://codereview.chromium.org/1503223005/diff/80001/gpu/config/gpu_info_collector.cc#newcode250 gpu/config/gpu_info_collector.cc:250: // We fail to idendify ...
5 years ago (2015-12-09 21:05:12 UTC) #20
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/147186)
5 years ago (2015-12-09 21:17:06 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1503223005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1503223005/100001
5 years ago (2015-12-09 21:21:22 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:100001)
5 years ago (2015-12-09 23:00:39 UTC) #27
commit-bot: I haz the power
5 years ago (2015-12-09 23:02:20 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7c7ee3e822e34dd970ea38cb8db4b18da9ef61bb
Cr-Commit-Position: refs/heads/master@{#364192}

Powered by Google App Engine
This is Rietveld 408576698