-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path0006-i965_device_info.c-Add-missing-entries-to-gen7_cpu_h.patch
58 lines (53 loc) · 2.17 KB
/
0006-i965_device_info.c-Add-missing-entries-to-gen7_cpu_h.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
From ab755cb7c4079a0884ede18b232341fe36affb8c Mon Sep 17 00:00:00 2001
From: Patrick Thompson <[email protected]>
Date: Wed, 12 Oct 2022 17:00:14 -0400
Subject: [PATCH 06/10] i965_device_info.c: Add missing entries to
gen7_cpu_hook_list
Based on https://ark.intel.com/content/www/us/en/ark/products/graphics/96744/intel-hd-graphics-for-3rd-generation-intel-processors.html#@nofilter these processors do not support h264 hardware encoding and should be added to the gen7_cpu_hook_list.
Signed-off-by: Patrick Thompson [email protected]
---
src/i965_device_info.c | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/src/i965_device_info.c b/src/i965_device_info.c
index a6adcf5..6c7bfd9 100644
--- a/src/i965_device_info.c
+++ b/src/i965_device_info.c
@@ -1065,9 +1065,37 @@ static void gen6_hw_codec_preinit(VADriverContextP ctx, struct hw_codec_info *co
* It is captured by /proc/cpuinfo and the space character is stripped.
*/
const static char *gen7_cpu_hook_list[] = {
+ "Intel(R)Celeron(R)CPUG1620T",
+ "Intel(R)Celeron(R)CPUG1630",
+ "Intel(R)Celeron(R)CPU1005M",
+ "Intel(R)Celeron(R)CPU1017U",
+ "Intel(R)Celeron(R)CPU1019Y",
+ "Intel(R)Celeron(R)CPU1000M",
"Intel(R)Celeron(R)CPU1007U",
+ "Intel(R)Celeron(R)CPU1020E",
+ "Intel(R)Celeron(R)CPU1020M",
"Intel(R)Celeron(R)CPU1037U",
+ "Intel(R)Celeron(R)CPU1047UE",
+ "Intel(R)Celeron(R)CPU927UE",
+ "Intel(R)Celeron(R)CPUG1610",
+ "Intel(R)Celeron(R)CPUG1610T",
+ "Intel(R)Celeron(R)CPUG1620",
+ "Intel(R)Pentium(R)CPU2020M",
+ "Intel(R)Pentium(R)CPU2030M",
+ "Intel(R)Pentium(R)CPU2117U",
+ "Intel(R)Pentium(R)CPU2127U",
+ "Intel(R)Pentium(R)CPU2129Y",
+ "Intel(R)Pentium(R)CPUA1018",
+ "Intel(R)Pentium(R)CPUG2010",
+ "Intel(R)Pentium(R)CPUG2020",
+ "Intel(R)Pentium(R)CPUG2020T",
+ "Intel(R)Pentium(R)CPUG2030",
+ "Intel(R)Pentium(R)CPUG2030T",
+ "Intel(R)Pentium(R)CPUG2100T",
+ "Intel(R)Pentium(R)CPUG2120",
+ "Intel(R)Pentium(R)CPUG2120T",
"Intel(R)Pentium(R)CPUG2130",
+ "Intel(R)Pentium(R)CPUG2140",
};
static void gen7_hw_codec_preinit(VADriverContextP ctx, struct hw_codec_info *codec_info)
--
2.47.1.windows.1