diff options
Diffstat (limited to '0003-enable-vaapi.patch')
-rw-r--r-- | 0003-enable-vaapi.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/0003-enable-vaapi.patch b/0003-enable-vaapi.patch new file mode 100644 index 000000000000..25b2b78aa45d --- /dev/null +++ b/0003-enable-vaapi.patch @@ -0,0 +1,18 @@ +diff --color --unified --recursive --text firefox-121.0.orig/widget/gtk/GfxInfo.cpp firefox-121.0.new/widget/gtk/GfxInfo.cpp +--- firefox-121.0.orig/widget/gtk/GfxInfo.cpp 2023-12-20 13:53:06.861183956 +0100 ++++ firefox-121.0.new/widget/gtk/GfxInfo.cpp 2023-12-20 13:56:53.516600523 +0100 +@@ -1112,14 +1112,6 @@ + nsIGfxInfo::FEATURE_BLOCKED_DEVICE, DRIVER_LESS_THAN, V(23, 1, 1, 0), + "FEATURE_HARDWARE_VIDEO_DECODING_AMD_DISABLE", "Mesa 23.1.1.0"); + +- // Disable on Release/late Beta on AMD +-#if !defined(EARLY_BETA_OR_EARLIER) +- APPEND_TO_DRIVER_BLOCKLIST(OperatingSystem::Linux, DeviceFamily::AtiAll, +- nsIGfxInfo::FEATURE_HARDWARE_VIDEO_DECODING, +- nsIGfxInfo::FEATURE_BLOCKED_DEVICE, +- DRIVER_COMPARISON_IGNORED, V(0, 0, 0, 0), +- "FEATURE_HARDWARE_VIDEO_DECODING_DISABLE", ""); +-#endif + //////////////////////////////////// + // FEATURE_HW_DECODED_VIDEO_ZERO_COPY - ALLOWLIST + APPEND_TO_DRIVER_BLOCKLIST2(OperatingSystem::Linux, DeviceFamily::All, |