Skip to content
Snippets Groups Projects
Commit 9715040b authored by Jeff Muizelaar's avatar Jeff Muizelaar
Browse files

Bug 1740612 - Switch WebRender on Intel from allowlist to blocklist. r=aosmond

This ends up enabling hw-wr on nightly on gen6 which was left disabled
for testing sw-wr, but should otherwise have no (or at least limited)
impact.

Differential Revision: https://phabricator.services.mozilla.com/D130926
parent 02e9792c
No related branches found
No related tags found
No related merge requests found
......@@ -478,6 +478,55 @@ const GfxDeviceFamily* GfxDriverInfo::GetDeviceFamily(DeviceFamily id) {
APPEND_RANGE(0x0600, INT32_MAX);
APPEND_RANGE(0x06c0, INT32_MAX);
break;
case DeviceFamily::IntelWebRenderBlocked:
// powervr
// sgx535
APPEND_DEVICE(0x2e5b);
APPEND_DEVICE(0x8108);
APPEND_DEVICE(0x8109);
APPEND_DEVICE(0x4102);
// sgx545
APPEND_DEVICE(0x0be0);
APPEND_DEVICE(0x0be1);
APPEND_DEVICE(0x0be3);
APPEND_RANGE(0x08c7, 0x08cf);
// gen4
APPEND_DEVICE(0x2972);
APPEND_DEVICE(0x2973);
APPEND_DEVICE(0x2992);
APPEND_DEVICE(0x2993);
APPEND_DEVICE(0x29a2);
APPEND_DEVICE(0x29a3);
APPEND_DEVICE(0x2982);
APPEND_DEVICE(0x2983);
APPEND_DEVICE(0x2a02);
APPEND_DEVICE(0x2a03);
APPEND_DEVICE(0x2a12);
APPEND_DEVICE(0x2a13);
// gen4.5
APPEND_DEVICE(0x2e02);
APPEND_DEVICE(0x2e42); /* IntelB43_1 */
APPEND_DEVICE(0x2e43); /* IntelB43_2 */
APPEND_DEVICE(0x2e92); /* IntelB43_3 */
APPEND_DEVICE(0x2e93); /* IntelB43_4 */
APPEND_DEVICE(0x2e12); /* IntelQ45_1 */
APPEND_DEVICE(0x2e13); /* IntelQ45_2 */
APPEND_DEVICE(0x2e32); /* IntelG41_1 */
APPEND_DEVICE(0x2e33); /* IntelG41_2 */
APPEND_DEVICE(0x2e22); /* IntelG45_1 */
APPEND_DEVICE(0x2e23); /* IntelG45_2 */
APPEND_DEVICE(0x2a42); /* IntelGMA4500MHD_1 */
APPEND_DEVICE(0x2a43); /* IntelGMA4500MHD_2 */
// gen5 (ironlake)
APPEND_DEVICE(0x0042);
APPEND_DEVICE(0x0046);
break;
case DeviceFamily::IntelRolloutWebRender:
// Disable WebRender on these devices for now
// to match what's going out into release
......@@ -891,6 +940,7 @@ const nsAString& GfxDriverInfo::GetDeviceVendor(DeviceFamily id) {
case DeviceFamily::IntelMobileHDGraphics:
case DeviceFamily::IntelRolloutWebRender:
case DeviceFamily::IntelModernRolloutWebRender:
case DeviceFamily::IntelWebRenderBlocked:
case DeviceFamily::Bug1116812:
case DeviceFamily::Bug1155608:
case DeviceFamily::Bug1207665:
......
......@@ -201,6 +201,7 @@ enum class DeviceFamily : uint8_t {
NvidiaRolloutWebRender,
IntelRolloutWebRender,
IntelModernRolloutWebRender,
IntelWebRenderBlocked,
AtiRolloutWebRender,
Max
......
......@@ -1836,6 +1836,12 @@ const nsTArray<GfxDriverInfo>& GfxInfo::GetGfxDriverInfo() {
V(8, 17, 12, 8019), V(8, 17, 12, 8026), "FEATURE_FAILURE_BUG_1709629",
"nVidia driver > 280.26");
APPEND_TO_DRIVER_BLOCKLIST2(
OperatingSystem::Windows, DeviceFamily::IntelWebRenderBlocked,
nsIGfxInfo::FEATURE_WEBRENDER, nsIGfxInfo::FEATURE_BLOCKED_DEVICE,
DRIVER_LESS_THAN, GfxDriverInfo::allDriverVersions,
"INTEL_DEVICE_GEN5_OR_OLDER");
////////////////////////////////////
// FEATURE_WEBRENDER - ALLOWLIST
APPEND_TO_DRIVER_BLOCKLIST2_EXT(
......@@ -1855,7 +1861,7 @@ const nsTArray<GfxDriverInfo>& GfxInfo::GetGfxDriverInfo() {
APPEND_TO_DRIVER_BLOCKLIST2_EXT(
OperatingSystem::Windows, ScreenSizeStatus::All, BatteryStatus::All,
DesktopEnvironment::All, WindowProtocol::All, DriverVendor::All,
DeviceFamily::IntelRolloutWebRender, nsIGfxInfo::FEATURE_WEBRENDER,
DeviceFamily::IntelAll, nsIGfxInfo::FEATURE_WEBRENDER,
nsIGfxInfo::FEATURE_ALLOW_ALWAYS, DRIVER_COMPARISON_IGNORED,
V(0, 0, 0, 0), "FEATURE_ROLLOUT_INTEL");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment