Bug 1447141: Blacklist all acceleration on a small subset of AMD device/driver combinations that show up in content crashes. r=milan

MozReview-Commit-ID: FTBPGRTdmUG
This commit is contained in:
Bas Schouten 2018-04-13 14:06:52 +02:00
parent a310920353
commit 45f1c7b8eb
3 changed files with 20 additions and 0 deletions

View File

@ -306,6 +306,14 @@ const GfxDeviceFamily* GfxDriverInfo::GetDeviceFamily(DeviceFamily id)
case Bug1155608:
APPEND_DEVICE(0x2e22); /* IntelG45_1 */
break;
case Bug1447141:
APPEND_DEVICE(0x9991);
APPEND_DEVICE(0x9993);
APPEND_DEVICE(0x9996);
APPEND_DEVICE(0x9998);
APPEND_DEVICE(0x9901);
APPEND_DEVICE(0x990b);
break;
case Bug1207665:
APPEND_DEVICE(0xa001); /* Intel Media Accelerator 3150 */
APPEND_DEVICE(0xa002);

View File

@ -98,6 +98,7 @@ enum DeviceFamily {
Bug1116812,
Bug1155608,
Bug1207665,
Bug1447141,
DeviceFamilyMax
};

View File

@ -1393,6 +1393,17 @@ GfxInfo::GetGfxDriverInfo()
nsIGfxInfo::FEATURE_ADVANCED_LAYERS, nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION,
DRIVER_BETWEEN_INCLUSIVE, V(23,21,13,8569), V(23,21,13,9135),
"FEATURE_FAILURE_BUG_1419264", "Windows 10");
// Bug 1447141, for causing device creation crashes.
APPEND_TO_DRIVER_BLOCKLIST2(OperatingSystem::Windows7,
(nsAString&)GfxDriverInfo::GetDeviceVendor(VendorAMD), (GfxDeviceFamily*)GfxDriverInfo::GetDeviceFamily(Bug1447141),
GfxDriverInfo::allFeatures, nsIGfxInfo::FEATURE_BLOCKED_DEVICE,
DRIVER_EQUAL, V(15, 201, 2201, 0), "FEATURE_FAILURE_BUG_1447141_1");
APPEND_TO_DRIVER_BLOCKLIST2(OperatingSystem::Windows7,
(nsAString&)GfxDriverInfo::GetDeviceVendor(VendorAMD), (GfxDeviceFamily*)GfxDriverInfo::GetDeviceFamily(Bug1447141),
GfxDriverInfo::allFeatures, nsIGfxInfo::FEATURE_BLOCKED_DEVICE,
DRIVER_EQUAL, V(15, 201, 1701, 0), "FEATURE_FAILURE_BUG_1447141_1");
}
return *mDriverInfo;
}