Bug 1207665 - Block Intel GMA 3150 for d3d11/d2d on all drivers. (bug 1207665 part 1, r=jrmuizel). r=jrmuizel

This commit is contained in:
David Anderson 2015-09-28 01:44:00 +02:00
parent 670e4d1065
commit 4ed02eb1a5
3 changed files with 19 additions and 0 deletions

View File

@ -266,6 +266,12 @@ const GfxDeviceFamily* GfxDriverInfo::GetDeviceFamily(DeviceFamily id)
case Bug1155608:
APPEND_DEVICE(0x2e22); /* IntelG45_1 */
break;
case Bug1207665:
APPEND_DEVICE(0xa001); /* Intel Media Accelerator 3150 */
APPEND_DEVICE(0xa002);
APPEND_DEVICE(0xa011);
APPEND_DEVICE(0xa012);
break;
case AMDRadeonHD5800:
APPEND_DEVICE(0x6899);
break;

View File

@ -91,6 +91,7 @@ enum DeviceFamily {
Bug1137716,
Bug1116812,
Bug1155608,
Bug1207665,
DeviceFamilyMax
};

View File

@ -1030,6 +1030,18 @@ GfxInfo::GetGfxDriverInfo()
nsIGfxInfo::FEATURE_DIRECT3D_11_LAYERS, nsIGfxInfo::FEATURE_BLOCKED_DEVICE,
DRIVER_LESS_THAN, GfxDriverInfo::allDriverVersions );
/* Disable D3D11 layers on Intel GMA 3150 for failing to allocate a shared handle for textures.
* See bug 1207665. Additionally block D2D so we don't accidentally use WARP.
*/
APPEND_TO_DRIVER_BLOCKLIST2(DRIVER_OS_ALL,
(nsAString&) GfxDriverInfo::GetDeviceVendor(VendorIntel), (GfxDeviceFamily*) GfxDriverInfo::GetDeviceFamily(Bug1207665),
nsIGfxInfo::FEATURE_DIRECT3D_11_LAYERS, nsIGfxInfo::FEATURE_BLOCKED_DEVICE,
DRIVER_LESS_THAN, GfxDriverInfo::allDriverVersions );
APPEND_TO_DRIVER_BLOCKLIST2(DRIVER_OS_ALL,
(nsAString&) GfxDriverInfo::GetDeviceVendor(VendorIntel), (GfxDeviceFamily*) GfxDriverInfo::GetDeviceFamily(Bug1207665),
nsIGfxInfo::FEATURE_DIRECT2D, nsIGfxInfo::FEATURE_BLOCKED_DEVICE,
DRIVER_LESS_THAN, GfxDriverInfo::allDriverVersions );
/* Disable D2D on AMD Catalyst 14.4 until 14.6
* See bug 984488
*/