summaryrefslogtreecommitdiffstats
path: root/content/browser/gpu/gpu_internals_ui.cc
diff options
context:
space:
mode:
authorapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-12 03:47:08 +0000
committerapatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-12 03:47:08 +0000
commit68852bdf95b0a8a4d7dfc70578caa503f49f3dbf (patch)
tree23d0c6a1e787d53136004590f68fe11567516952 /content/browser/gpu/gpu_internals_ui.cc
parent0158ac1f5d29789b7ca5cf022083b7c70abec368 (diff)
downloadchromium_src-68852bdf95b0a8a4d7dfc70578caa503f49f3dbf.zip
chromium_src-68852bdf95b0a8a4d7dfc70578caa503f49f3dbf.tar.gz
chromium_src-68852bdf95b0a8a4d7dfc70578caa503f49f3dbf.tar.bz2
Windows: Detect whether Lenovo dCute is installed.
The associated Thinkpad USB Port Replicator driver can crash on GPU process startup. This patch is just to detect it and note its presence in about:gpu. The fix for the crash itself will be separate. BUG=181665 Review URL: https://chromiumcodereview.appspot.com/12566026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@187478 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/gpu/gpu_internals_ui.cc')
-rw-r--r--content/browser/gpu/gpu_internals_ui.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/browser/gpu/gpu_internals_ui.cc b/content/browser/gpu/gpu_internals_ui.cc
index 6828793..6170b00 100644
--- a/content/browser/gpu/gpu_internals_ui.cc
+++ b/content/browser/gpu/gpu_internals_ui.cc
@@ -125,6 +125,10 @@ base::DictionaryValue* GpuInfoAsDictionaryValue() {
"Optimus", new base::FundamentalValue(gpu_info.optimus)));
basic_info->Append(NewDescriptionValuePair(
"AMD switchable", new base::FundamentalValue(gpu_info.amd_switchable)));
+ if (gpu_info.lenovo_dcute) {
+ basic_info->Append(NewDescriptionValuePair(
+ "Lenovo dCute", new base::FundamentalValue(true)));
+ }
if (gpu_info.display_link_version.IsValid()) {
basic_info->Append(NewDescriptionValuePair(
"DisplayLink Version", gpu_info.display_link_version.GetString()));