summarylogtreecommitdiffstats
path: root/0002-enable-vaapi.patch
diff options
context:
space:
mode:
authorEwout van Mansom2023-10-11 18:24:05 +0200
committerEwout van Mansom2023-10-11 18:24:05 +0200
commit6d1ea3d29f771faeb31ae0c859be68df9cfcc06a (patch)
treef1d532bb88459ada3d6eccfef03e0c6b5de8b7eb /0002-enable-vaapi.patch
parent6abdbb7cdbfcfff9a90f4df22b7c1c6f1ad2599b (diff)
downloadaur-6d1ea3d29f771faeb31ae0c859be68df9cfcc06a.tar.gz
118.0.2-1
Diffstat (limited to '0002-enable-vaapi.patch')
-rw-r--r--0002-enable-vaapi.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/0002-enable-vaapi.patch b/0002-enable-vaapi.patch
new file mode 100644
index 000000000000..609534694cd1
--- /dev/null
+++ b/0002-enable-vaapi.patch
@@ -0,0 +1,18 @@
+diff --color --unified --recursive --text firefox-118.0.orig/widget/gtk/GfxInfo.cpp firefox-118.0.new/widget/gtk/GfxInfo.cpp
+--- firefox-118.0.orig/widget/gtk/GfxInfo.cpp 2023-09-26 19:58:23.886518746 +0200
++++ firefox-118.0.new/widget/gtk/GfxInfo.cpp 2023-09-26 20:20:46.293989468 +0200
+@@ -1095,14 +1095,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,