aboutsummaryrefslogtreecommitdiff
path: root/repos/clang/firefox/amdgpu-vaapi.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repos/clang/firefox/amdgpu-vaapi.patch')
-rw-r--r--repos/clang/firefox/amdgpu-vaapi.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/repos/clang/firefox/amdgpu-vaapi.patch b/repos/clang/firefox/amdgpu-vaapi.patch
new file mode 100644
index 00000000..099e43c7
--- /dev/null
+++ b/repos/clang/firefox/amdgpu-vaapi.patch
@@ -0,0 +1,19 @@
+permit amdgpu vaapi in release
+--
+--- a/widget/gtk/GfxInfo.cpp
++++ b/widget/gtk/GfxInfo.cpp
+@@ -1086,14 +1086,6 @@ const nsTArray<GfxDriverInfo>& GfxInfo::GetGfxDriverInfo() {
+ 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,