From ddd8e1a8fab2ac39396282a7c09ddf6eca219613 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Wed, 12 Mar 2025 04:01:18 +0100 Subject: clang repos updated --- repos/clang/firefox/amdgpu-vaapi.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 repos/clang/firefox/amdgpu-vaapi.patch (limited to 'repos/clang/firefox/amdgpu-vaapi.patch') 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& 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, -- cgit v1.2.3