diff --git a/gfx/thebes/gfxPlatformGtk.cpp b/gfx/thebes/gfxPlatformGtk.cpp index 434fce6139c6..1c44e5ff130f 100644 --- a/gfx/thebes/gfxPlatformGtk.cpp +++ b/gfx/thebes/gfxPlatformGtk.cpp @@ -279,7 +279,7 @@ bool gfxPlatformGtk::InitVAAPIConfig(bool aForceEnabledByUser) { } else if (status == nsIGfxInfo::FEATURE_BLOCKED_PLATFORM_TEST) { featureZeroCopy.ForceDisable(FeatureStatus::Unavailable, "Force disabled by gfxInfo", failureId); - } else if (status != nsIGfxInfo::FEATURE_STATUS_OK) { + } else if (status != nsIGfxInfo::FEATURE_ALLOW_ALWAYS) { featureZeroCopy.Disable(FeatureStatus::Blocklisted, "Blocklisted by gfxInfo", failureId); } diff --git a/widget/gtk/GfxInfo.cpp b/widget/gtk/GfxInfo.cpp index 455afdbffcc0..aeaf50bede31 100644 --- a/widget/gtk/GfxInfo.cpp +++ b/widget/gtk/GfxInfo.cpp @@ -826,7 +826,13 @@ const nsTArray& GfxInfo::GetGfxDriverInfo() { "FEATURE_HARDWARE_VIDEO_DECODING_DISABLE", ""); #endif //////////////////////////////////// - // HW_DECODED_VIDEO_ZERO_COPY + // FEATURE_HW_DECODED_VIDEO_ZERO_COPY - ALLOWLIST + APPEND_TO_DRIVER_BLOCKLIST2(OperatingSystem::Linux, DeviceFamily::All, + nsIGfxInfo::FEATURE_HW_DECODED_VIDEO_ZERO_COPY, + nsIGfxInfo::FEATURE_ALLOW_ALWAYS, + DRIVER_COMPARISON_IGNORED, V(0, 0, 0, 0), + "FEATURE_ROLLOUT_ALL"); + // Disable on all AMD devices using Mesa (Bug 1802844). APPEND_TO_DRIVER_BLOCKLIST_EXT( OperatingSystem::Linux, ScreenSizeStatus::All, BatteryStatus::All,