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

Issue 241793002: Fix machine_model behaviors in gpu blacklist. (Closed)

Created:
6 years, 8 months ago by Zhenyao Mo
Modified:
6 years, 8 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Visibility:
Public.

Description

Fix machine_model behaviors in gpu blacklist. We made the assumption that GPUInfo.machine_model is (name, version). This is true for mac, where this machine_model was originally designed for. Now we also use it on Android. However, the whole machine_model should just be retreated as one name string. Now on Android Nexus, we have "Nexus 5", "Nexus 7", so they are processed like on Mac, which is incorrect. I believe a few android entries in the software_rendering_list_json.cc are not active right now due to the (name, version). BUG=364743 TEST=gpu_unittests R=kbr@chromium.org, tsepez@chromium.org, vrk@chromium.org TBR=pfeldman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265062

Patch Set 1 : #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : revised #

Patch Set 4 : #

Patch Set 5 : rebase #

Total comments: 1

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -283 lines) Patch
M chrome/browser/media/webrtc_logging_handler_host.cc View 1 2 1 chunk +7 lines, -5 lines 0 comments Download
M content/browser/devtools/devtools_system_info_handler.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_internals_ui.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M gpu/config/gpu_blacklist_unittest.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M gpu/config/gpu_control_list.h View 1 2 3 chunks +7 lines, -26 lines 0 comments Download
M gpu/config/gpu_control_list.cc View 1 2 5 chunks +47 lines, -55 lines 0 comments Download
M gpu/config/gpu_control_list_entry_unittest.cc View 1 2 2 chunks +66 lines, -1 line 0 comments Download
M gpu/config/gpu_control_list_format.txt View 1 2 3 1 chunk +12 lines, -11 lines 0 comments Download
M gpu/config/gpu_control_list_machine_model_info_unittest.cc View 1 2 1 chunk +0 lines, -57 lines 0 comments Download
M gpu/config/gpu_control_list_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M gpu/config/gpu_driver_bug_list_json.cc View 1 2 3 4 2 chunks +5 lines, -10 lines 0 comments Download
M gpu/config/gpu_driver_bug_list_unittest.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M gpu/config/gpu_info.h View 1 2 1 chunk +11 lines, -3 lines 0 comments Download
M gpu/config/gpu_info.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M gpu/config/gpu_info_collector_android.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M gpu/config/gpu_info_collector_mac.mm View 1 2 3 1 chunk +4 lines, -5 lines 0 comments Download
M gpu/config/software_rendering_list_json.cc View 1 2 3 4 5 4 chunks +6 lines, -99 lines 0 comments Download
M gpu/gpu.gyp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
Zhenyao Mo
kbr: please take a look. We need to fix this for the gpu_rasterization blacklisting.
6 years, 8 months ago (2014-04-17 22:03:25 UTC) #1
Ken Russell (switch to Gerrit)
Please file a bug about this issue and reference it from the CL. More comments ...
6 years, 8 months ago (2014-04-17 22:24:57 UTC) #2
Zhenyao Mo
On 2014/04/17 22:24:57, Ken Russell wrote: > Please file a bug about this issue and ...
6 years, 8 months ago (2014-04-17 22:56:41 UTC) #3
Ken Russell (switch to Gerrit)
On 2014/04/17 22:56:41, Zhenyao Mo wrote: > What about beside machine_mode, we add a machine_model_version? ...
6 years, 8 months ago (2014-04-17 23:10:41 UTC) #4
Zhenyao Mo
Revised, please take another look.
6 years, 8 months ago (2014-04-18 00:50:48 UTC) #5
Zhenyao Mo
scherkus: chrome/browsr/media owner
6 years, 8 months ago (2014-04-18 00:52:37 UTC) #6
Zhenyao Mo
pfeldman: chrome/browser/devtools OWNER
6 years, 8 months ago (2014-04-18 00:53:51 UTC) #7
Zhenyao Mo
tsepez: content/common/gpu/gpu_messages.h OWNER review
6 years, 8 months ago (2014-04-18 00:55:27 UTC) #8
Ken Russell (switch to Gerrit)
LGTM. One question. No need to change the code in response. https://codereview.chromium.org/241793002/diff/110001/gpu/config/gpu_control_list_format.txt File gpu/config/gpu_control_list_format.txt (right): ...
6 years, 8 months ago (2014-04-18 01:29:12 UTC) #9
Zhenyao Mo
On 2014/04/18 01:29:12, Ken Russell wrote: > LGTM. One question. No need to change the ...
6 years, 8 months ago (2014-04-18 16:47:02 UTC) #10
Tom Sepez
Messages LGTM.
6 years, 8 months ago (2014-04-18 17:45:56 UTC) #11
Ken Russell (switch to Gerrit)
On 2014/04/18 16:47:02, Zhenyao Mo wrote: > On 2014/04/18 01:29:12, Ken Russell wrote: > > ...
6 years, 8 months ago (2014-04-20 00:09:35 UTC) #12
Zhenyao Mo
Adding a few devtools owners: one of you please review the devtools change.
6 years, 8 months ago (2014-04-21 18:11:52 UTC) #13
vrk (LEFT CHROMIUM)
lgtm
6 years, 8 months ago (2014-04-21 19:07:53 UTC) #14
vrk (LEFT CHROMIUM)
On 2014/04/21 19:07:53, Victoria Kirst wrote: > lgtm clarifying: lgtm for media :)
6 years, 8 months ago (2014-04-21 19:08:25 UTC) #15
Zhenyao Mo
Thanks. devtools change is trivia, so I am landing this with TBR to unblock enabling ...
6 years, 8 months ago (2014-04-21 20:34:29 UTC) #16
Zhenyao Mo
6 years, 8 months ago (2014-04-21 20:54:20 UTC) #17
Message was sent while issue was closed.
Committed patchset #6 manually as r265062 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698