Bug 1525929. Turn on WebRender on AMD Southern Islands. r=kats
authorJeff Muizelaar <jrmuizel@gmail.com>
Thu, 07 Feb 2019 18:10:58 +0000
changeset 515533 550f4337bc9bf9c61f203cc728d9e8b6f3db4723
parent 515532 8607666f33d88c2ab99cb20319224c4a54b85f34
child 515534 de71a4462179bb6c014c5e11782aad68db7648e0
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1525929
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1525929. Turn on WebRender on AMD Southern Islands. r=kats This should improve our coverage of AMD devices. Differential Revision: https://phabricator.services.mozilla.com/D18991
gfx/thebes/gfxPlatform.cpp
--- a/gfx/thebes/gfxPlatform.cpp
+++ b/gfx/thebes/gfxPlatform.cpp
@@ -2677,23 +2677,23 @@ static FeatureState& WebRenderHardwareQu
             featureWebRenderQualified.Disable(
                 FeatureStatus::Blocked, "Device too old",
                 NS_LITERAL_CSTRING("FEATURE_FAILURE_DEVICE_TOO_OLD"));
           }
 #ifdef NIGHTLY_BUILD
         } else if (adapterVendorID == u"0x1002") {  // AMD
           // AMD deviceIDs are not very well ordered. This
           // condition is based off the information in gpu-db
-          if ((deviceID >= 0x6640 && deviceID < 0x6660) ||
-              (deviceID >= 0x67a0 && deviceID < 0x6800) ||
+          if ((deviceID >= 0x6600 && deviceID < 0x66b0) ||
+              (deviceID >= 0x6780 && deviceID < 0x6840) ||
               (deviceID >= 0x6860 && deviceID < 0x6880) ||
               (deviceID >= 0x6900 && deviceID < 0x6a00) ||
               (deviceID == 0x7300) ||
               (deviceID >= 0x9830 && deviceID < 0x9870)) {
-            // we have a desktop CIK, VI, or GFX9 device
+            // we have a desktop SI, CIK, VI, or GFX9 device
           } else {
             featureWebRenderQualified.Disable(
                 FeatureStatus::Blocked, "Device too old",
                 NS_LITERAL_CSTRING("FEATURE_FAILURE_DEVICE_TOO_OLD"));
           }
         } else if (adapterVendorID == u"0x8086") {  // Intel
           const uint16_t supportedDevices[] = {
               0x191d,  // HD Graphics P530