Commit 7a9bc329 authored by zmo@google.com's avatar zmo@google.com

Blacklist all GPU access on Lion with Intel HD 4000.

We have to do this to avoid potential kernel panic.  Will remove this entry once Apple fixes the issue and pushes the updates to users.

BUG=134015
TEST=
Review URL: https://chromiumcodereview.appspot.com/10837006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149084 0039d316-1c4b-4281-b951-d872f2087c98
parent 7129b1b7
......@@ -22,28 +22,30 @@
// 4. "device_id" is an array of strings. 0 is reserved.
// 5. "multi_gpu_style" is a string, valid values include "optimus", and
// "amd_switchable".
// 6. "driver_vendor" is a STRING structure (defined below).
// 7. "driver_version" is a VERSION structure (defined below).
// 8. "driver_date" is a VERSION structure (defined below).
// 6. "multi_gpu_category" is a string, valid values include "any", "primary",
// and "secondary". If unspecified, the default value is "primary".
// 7. "driver_vendor" is a STRING structure (defined below).
// 8. "driver_version" is a VERSION structure (defined below).
// 9. "driver_date" is a VERSION structure (defined below).
// The version is interpreted as "year.month.day".
// 9. "gl_vendor" is a STRING structure (defined below).
// 10. "gl_renderer" is a STRING structure (defined below).
// 11. "perf_graphics" is a FLOAT structure (defined below).
// 12. "perf_gaming" is a FLOAT structure (defined below).
// 13. "perf_overall" is a FLOAT structure (defined below).
// 14. "exceptions" is a list of entries.
// 15. "blacklist" is a list of gpu feature strings, valid values include
// 10. "gl_vendor" is a STRING structure (defined below).
// 11. "gl_renderer" is a STRING structure (defined below).
// 12. "perf_graphics" is a FLOAT structure (defined below).
// 13. "perf_gaming" is a FLOAT structure (defined below).
// 14. "perf_overall" is a FLOAT structure (defined below).
// 15. "exceptions" is a list of entries.
// 16. "blacklist" is a list of gpu feature strings, valid values include
// "accelerated_2d_canvas", "accelerated_compositing", "webgl",
// "multisampling", "flash_3d", "flash_stage3d", "texture_sharing",
// and "all".
// This field is mandatory.
// 16. "description" has the description of the entry.
// 17. "webkit_bugs" is an array of associated webkit bug numbers.
// 18. "cr_bugs" is an array of associated webkit bug numbers.
// 19. "browser_version" is a VERSION structure (defined below). If this
// 17. "description" has the description of the entry.
// 18. "webkit_bugs" is an array of associated webkit bug numbers.
// 19. "cr_bugs" is an array of associated webkit bug numbers.
// 20. "browser_version" is a VERSION structure (defined below). If this
// condition is not satisfied, the entry will be ignored. If it is not
// present, then the entry applies to all versions of the browser.
// 20. "disabled" is a boolean. If it is present, the entry will be skipped.
// 21. "disabled" is a boolean. If it is present, the entry will be skipped.
// This can not be used in exceptions.
//
// VERSION includes "op", "style", "number", and "number2". "op" can be any of
......@@ -66,7 +68,7 @@
{
"name": "software rendering list",
// Please update the version number whenever you change this file.
"version": "2.4",
"version": "2.5",
"entries": [
{
"id": 1,
......@@ -656,6 +658,24 @@
"blacklist": [
"texture_sharing"
]
},
{
"id": 44,
"description": "Intel HD 4000 causes kernel panic on Lion.",
"cr_bugs": [134015],
"os": {
"type": "macosx",
"version": {
"op": "=",
"number": "10.7"
}
},
"vendor_id": "0x8086",
"device_id": ["0x0166"],
"multi_gpu_category": "any",
"blacklist": [
"all"
]
}
]
}
......@@ -253,10 +253,6 @@ void GpuDataManagerImpl::AppendPluginCommandLine(
// special-casing this video card won't be necessary. See
// http://crbug.com/134015
if ((flags & content::GPU_FEATURE_TYPE_ACCELERATED_COMPOSITING) ||
(gpu_info_.gpu.vendor_id == 0x8086 && // Intel
gpu_info_.gpu.device_id == 0x0166) || // HD 4000
(gpu_info_.gpu.vendor_id == 0x10de && // NVidia
gpu_info_.gpu.device_id == 0x0fd5) || // GeForce GT 650M
CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableAcceleratedCompositing)) {
if (!command_line->HasSwitch(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment