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

Unified Diff: gpu/config/gpu_control_list_testing.json

Issue 2756793003: Move GPU blacklist and driver bug workaround list from json to data struct. (Closed)
Patch Set: pure rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/config/gpu_control_list_testing.json
diff --git a/gpu/config/gpu_control_list_testing.json b/gpu/config/gpu_control_list_testing.json
new file mode 100644
index 0000000000000000000000000000000000000000..e49b0f9023ff78e1fc285ec4efc75d0f6bf26803
--- /dev/null
+++ b/gpu/config/gpu_control_list_testing.json
@@ -0,0 +1,722 @@
+{
+ "name": "gpu control list testing",
+ "version": "1.0",
+ "entries": [
+ {
+ "id": 1,
+ "description": "GpuControlListEntryTest.DetailedEntry",
+ "cr_bugs": [1024, 678],
+ "webkit_bugs": [1950],
+ "os": {
+ "type": "macosx",
+ "version": {
+ "op": "=",
+ "value": "10.6.4"
+ }
+ },
+ "vendor_id": "0x10de",
+ "device_id": ["0x0640"],
+ "driver_version": {
+ "op": "=",
+ "value": "1.6.18"
+ },
+ "features": [
+ "test_feature_0"
+ ],
+ "disabled_extensions": [
+ "test_extension1",
+ "test_extension2"
+ ]
+ },
+ {
+ "id": 2,
+ "description": "GpuControlListEntryTest.VendorOnAllOsEntry",
+ "vendor_id": "0x10de",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 3,
+ "description": "GpuControlListEntryTest.VendorOnLinuxEntry",
+ "os": {
+ "type": "linux"
+ },
+ "vendor_id": "0x10de",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 4,
+ "description": "GpuControlListEntryTest.AllExceptNVidiaOnLinuxEntry",
+ "os": {
+ "type": "linux"
+ },
+ "exceptions": [
+ {
+ "vendor_id": "0x10de"
+ }
+ ],
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 5,
+ "description": "GpuControlListEntryTest.AllExceptIntelOnLinuxEntry",
+ "os": {
+ "type": "linux"
+ },
+ "exceptions": [
+ {
+ "vendor_id": "0x8086"
+ }
+ ],
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 6,
+ "description": "GpuControlListEntryTest.DateOnWindowsEntry",
+ "os": {
+ "type": "win"
+ },
+ "driver_date": {
+ "op": "<",
+ "value": "2010.5.8"
+ },
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 7,
+ "description": "GpuControlListEntryTest.MultipleDevicesEntry",
+ "vendor_id": "0x10de",
+ "device_id": ["0x1023", "0x0640"],
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 8,
+ "description": "GpuControlListEntryTest.ChromeOSEntry",
+ "os": {
+ "type": "chromeos"
+ },
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 9,
+ "description": "GpuControlListEntryTest.GlVersionGLESEntry",
+ "gl_type": "gles",
+ "gl_version": {
+ "op": "=",
+ "value": "3.0"
+ },
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 10,
+ "description": "GpuControlListEntryTest.GlVersionANGLEEntry",
+ "gl_type": "angle",
+ "gl_version": {
+ "op": ">",
+ "value": "2.0"
+ },
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 11,
+ "description": "GpuControlListEntryTest.GlVersionGLEntry",
+ "gl_type": "gl",
+ "gl_version": {
+ "op": "<",
+ "value": "4.0"
+ },
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 12,
+ "description": "GpuControlListEntryTest.GlVendorEqual",
+ "gl_vendor": "NVIDIA",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 13,
+ "description": "GpuControlListEntryTest.GlVendorWithDot",
+ "gl_vendor": "X\\.Org.*",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 14,
+ "description": "GpuControlListEntryTest.GlRendererContains",
+ "gl_renderer": ".*GeForce.*",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 15,
+ "description": "GpuControlListEntryTest.GlRendererCaseInsensitive",
+ "gl_renderer": "(?i).*software.*",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 16,
+ "description": "GpuControlListEntryTest.GlExtensionsEndWith",
+ "gl_extensions": ".*GL_SUN_slice_accum",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 17,
+ "description": "GpuControlListEntryTest.OptimusEntry",
+ "os": {
+ "type": "linux"
+ },
+ "multi_gpu_style": "optimus",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 18,
+ "description": "GpuControlListEntryTest.AMDSwitchableEntry",
+ "os": {
+ "type": "macosx"
+ },
+ "multi_gpu_style": "amd_switchable",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 19,
+ "description": "GpuControlListEntryTest.DriverVendorBeginWith",
+ "driver_vendor": "NVIDIA.*",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 20,
+ "description": "GpuControlListEntryTest.LexicalDriverVersionEntry",
+ "os": {
+ "type": "linux"
+ },
+ "vendor_id": "0x1002",
+ "driver_version": {
+ "op": "=",
+ "style": "lexical",
+ "value": "8.76"
+ },
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 21,
+ "description": "GpuControlListEntryTest.NeedsMoreInfoEntry",
+ "vendor_id": "0x8086",
+ "driver_version": {
+ "op": "<",
+ "value": "10.7"
+ },
+ "features": [
+ "test_feature_1"
+ ]
+ },
+ {
+ "id": 22,
+ "description": "GpuControlListEntryTest.NeedsMoreInfoForExceptionsEntry",
+ "vendor_id": "0x8086",
+ "exceptions": [
+ {
+ "gl_renderer": ".*mesa.*"
+ }
+ ],
+ "features": [
+ "test_feature_1"
+ ]
+ },
+ {
+ "id" : 23,
+ "description": "GpuControlListEntryTest.NeedsMoreInfoForGlVersionEntry",
+ "gl_type": "gl",
+ "gl_version": {
+ "op": "<",
+ "value" : "3.5"
+ },
+ "features" : [
+ "test_feature_1"
+ ]
+ },
+ {
+ "id": 24,
+ "description": "GpuControlListEntryTest.FeatureTypeAllEntry",
+ "features": [
+ "all"
+ ]
+ },
+ {
+ "id": 25,
+ "description": "GpuControlListEntryTest.FeatureTypeAllEntryWithExceptions",
+ "features": [
+ "all",
+ {
+ "exceptions" : [
+ "test_feature_0"
+ ]
+ }
+ ]
+ },
+ {
+ "id": 26,
+ "description": "GpuControlListEntryTest.SingleActiveGPU",
+ "os": {
+ "type": "macosx"
+ },
+ "vendor_id": "0x10de",
+ "device_id": ["0x0640"],
+ "multi_gpu_category": "active",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 27,
+ "description": "GpuControlListEntryTest.MachineModelName",
+ "os": {
+ "type": "android"
+ },
+ "machine_model_name": [
+ "Nexus 4", "XT1032", "GT-.*", "SCH-.*"
+ ],
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 28,
+ "description": "GpuControlListEntryTest.MachineModelNameException",
+ "exceptions": [
+ {
+ "os": {
+ "type": "android"
+ },
+ "machine_model_name": ["Nexus.*"]
+ }
+ ],
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 29,
+ "description": "GpuControlListEntryTest.MachineModelVersion",
+ "os": {
+ "type": "macosx"
+ },
+ "machine_model_name": ["MacBookPro"],
+ "machine_model_version": {
+ "op": "=",
+ "value": "7.1"
+ },
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 30,
+ "description": "GpuControlListEntryTest.MachineModelVersionException",
+ "os": {
+ "type": "macosx"
+ },
+ "machine_model_name": ["MacBookPro"],
+ "exceptions": [
+ {
+ "machine_model_version": {
+ "op": ">",
+ "value": "7.1"
+ }
+ }
+ ],
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 31,
+ "description": "GpuControlListEntryDualGPUTest.CategoryAny.Intel",
+ "os": {
+ "type": "macosx"
+ },
+ "vendor_id": "0x8086",
+ "device_id": ["0x0166"],
+ "multi_gpu_category": "any",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 32,
+ "description": "GpuControlListEntryDualGPUTest.CategoryAny.NVidia",
+ "os": {
+ "type": "macosx"
+ },
+ "vendor_id": "0x10de",
+ "device_id": ["0x0640"],
+ "multi_gpu_category": "any",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 33,
+ "description": "GpuControlListEntryDualGPUTest.CategorySecondary",
+ "os": {
+ "type": "macosx"
+ },
+ "vendor_id": "0x8086",
+ "device_id": ["0x0166"],
+ "multi_gpu_category": "secondary",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 34,
+ "description": "GpuControlListEntryDualGPUTest.CategoryPrimary",
+ "os": {
+ "type": "macosx"
+ },
+ "vendor_id": "0x8086",
+ "device_id": ["0x0166"],
+ "multi_gpu_category": "primary",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 35,
+ "description": "GpuControlListEntryDualGPUTest.CategoryDefault",
+ "os": {
+ "type": "macosx"
+ },
+ "vendor_id": "0x8086",
+ "device_id": ["0x0166"],
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 36,
+ "description": "GpuControlListEntryDualGPUTest.ActiveSecondaryGPU",
+ "os": {
+ "type": "macosx"
+ },
+ "vendor_id": "0x8086",
+ "device_id": ["0x0166", "0x0168"],
+ "multi_gpu_category": "active",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 37,
+ "description": "GpuControlListEntryDualGPUTest.VendorOnlyActiveSecondaryGPU",
+ "os": {
+ "type": "macosx"
+ },
+ "vendor_id": "0x8086",
+ "multi_gpu_category": "active",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 38,
+ "description": "GpuControlListEntryDualGPUTest.ActivePrimaryGPU",
+ "os": {
+ "type": "macosx"
+ },
+ "vendor_id": "0x10de",
+ "device_id": ["0x0640"],
+ "multi_gpu_category": "active",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 39,
+ "description": "GpuControlListEntryDualGPUTest.VendorOnlyActivePrimaryGPU",
+ "os": {
+ "type": "macosx"
+ },
+ "vendor_id": "0x10de",
+ "multi_gpu_category": "active",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 40,
+ "description": "GpuControlListEntryTest.PixelShaderVersion",
+ "pixel_shader_version": {
+ "op": "<",
+ "value": "4.1"
+ },
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 41,
+ "description": "GpuControlListEntryTest.OsVersionZeroLT",
+ "os": {
+ "type": "android",
+ "version": {
+ "op": "<",
+ "value": "4.2"
+ }
+ },
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 42,
+ "description": "GpuControlListEntryTest.OsVersionZeroAny",
+ "os": {
+ "type": "android"
+ },
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 43,
+ "description": "GpuControlListEntryTest.OsComparisonAny",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 44,
+ "description": "GpuControlListEntryTest.OsComparisonGE",
+ "os": {
+ "type": "win",
+ "version": {
+ "op": ">=",
+ "value": "6"
+ }
+ },
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 45,
+ "description": "GpuControlListEntryTest.ExceptionWithoutVendorId",
+ "os": {
+ "type": "linux"
+ },
+ "vendor_id": "0x8086",
+ "exceptions": [
+ {
+ "device_id": ["0x2a06"],
+ "driver_version": {
+ "op": ">=",
+ "value": "8.1"
+ }
+ },
+ {
+ "device_id": ["0x2a02"],
+ "driver_version": {
+ "op": ">=",
+ "value": "9.1"
+ }
+ }
+ ],
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 46,
+ "description": "GpuControlListEntryTest.MultiGpuStyleAMDSwitchableDiscrete",
+ "multi_gpu_style": "amd_switchable_discrete",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 47,
+ "description": "GpuControlListEntryTest.MultiGpuStyleAMDSwitchableIntegrated",
+ "multi_gpu_style": "amd_switchable_integrated",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 48,
+ "description": "GpuControlListEntryTest.InProcessGPU",
+ "os": {
+ "type": "win"
+ },
+ "in_process_gpu": true,
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 49,
+ "description": "GpuControlListEntryTest.SameGPUTwiceTest",
+ "os": {
+ "type": "win"
+ },
+ "vendor_id": "0x8086",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 50,
+ "description": "GpuControlListEntryTest.NVidiaNumberingScheme",
+ "os": {
+ "type": "win"
+ },
+ "vendor_id": "0x10de",
+ "driver_version": {
+ "op": "<=",
+ "value": "8.17.12.6973"
+ },
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 51,
+ "description": "GpuControlListTest.NeedsMoreInfo",
+ "os": {
+ "type": "win"
+ },
+ "vendor_id": "0x10de",
+ "driver_version": {
+ "op": "<",
+ "value": "12"
+ },
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 52,
+ "description": "GpuControlListTest.NeedsMoreInfoForExceptions",
+ "os": {
+ "type": "linux"
+ },
+ "vendor_id": "0x8086",
+ "exceptions": [
+ {
+ "gl_renderer": ".*mesa.*"
+ }
+ ],
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 53,
+ "description": "GpuControlListTest.IgnorableEntries.0",
+ "os": {
+ "type": "linux"
+ },
+ "vendor_id": "0x8086",
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 54,
+ "description": "GpuControlListTest.IgnorableEntries.1",
+ "os": {
+ "type": "linux"
+ },
+ "vendor_id": "0x8086",
+ "driver_version": {
+ "op": "<",
+ "value": "10.7"
+ },
+ "features": [
+ "test_feature_0"
+ ]
+ },
+ {
+ "id": 55,
+ "description": "GpuControlListTest.DisabledExtensionTest.0",
+ "os": {
+ "type": "win"
+ },
+ "disabled_extensions": [
+ "test_extension2",
+ "test_extension1"
+ ]
+ },
+ {
+ "id": 56,
+ "description": "GpuControlListTest.DisabledExtensionTest.1",
+ "os": {
+ "type": "win"
+ },
+ "disabled_extensions": [
+ "test_extension3",
+ "test_extension2"
+ ]
+ },
+ {
+ "id": 57,
+ "description": "GpuControlListEntryTest.DirectRendering",
+ "os": {
+ "type": "linux"
+ },
+ "direct_rendering": false,
+ "features": [
+ "test_feature_1"
+ ]
+ },
+ {
+ "id": 58,
+ "description": "GpuControlListTest.LinuxKernelVersion",
+ "os": {
+ "type": "linux",
+ "version": {
+ "op": "<",
+ "value": "3.19.1"
+ }
+ },
+ "vendor_id": "0x8086",
+ "features": [
+ "test_feature_0"
+ ]
+ }
+ ]
+}
« no previous file with comments | « gpu/config/gpu_control_list_os_info_unittest.cc ('k') | gpu/config/gpu_control_list_testing_arrays_and_structs_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698