]> git.pld-linux.org Git - packages/xorg-driver-video-intel.git/blob - alderlake.patch
- add Alderlke devices
[packages/xorg-driver-video-intel.git] / alderlake.patch
1 --- xf86-video-intel-2.99.917/src/i915_pciids.h.orig    2023-09-09 16:07:15.000000000 +0200
2 +++ xf86-video-intel-2.99.917/src/i915_pciids.h 2023-09-11 02:07:14.406515377 +0200
3 @@ -601,4 +601,42 @@
4         INTEL_VGA_DEVICE(0x9A70, info), \
5         INTEL_VGA_DEVICE(0x9A78, info)
6  
7 +/* ADL-S */
8 +#define INTEL_ADLS_IDS(info) \
9 +       INTEL_VGA_DEVICE(0x4680, info), \
10 +       INTEL_VGA_DEVICE(0x4682, info), \
11 +       INTEL_VGA_DEVICE(0x4688, info), \
12 +       INTEL_VGA_DEVICE(0x468A, info), \
13 +       INTEL_VGA_DEVICE(0x468B, info), \
14 +       INTEL_VGA_DEVICE(0x4690, info), \
15 +       INTEL_VGA_DEVICE(0x4692, info), \
16 +       INTEL_VGA_DEVICE(0x4693, info)
17 +
18 +/* ADL-P */
19 +#define INTEL_ADLP_IDS(info) \
20 +       INTEL_VGA_DEVICE(0x46A0, info), \
21 +       INTEL_VGA_DEVICE(0x46A1, info), \
22 +       INTEL_VGA_DEVICE(0x46A2, info), \
23 +       INTEL_VGA_DEVICE(0x46A3, info), \
24 +       INTEL_VGA_DEVICE(0x46A6, info), \
25 +       INTEL_VGA_DEVICE(0x46A8, info), \
26 +       INTEL_VGA_DEVICE(0x46AA, info), \
27 +       INTEL_VGA_DEVICE(0x462A, info), \
28 +       INTEL_VGA_DEVICE(0x4626, info), \
29 +       INTEL_VGA_DEVICE(0x4628, info), \
30 +       INTEL_VGA_DEVICE(0x46B0, info), \
31 +       INTEL_VGA_DEVICE(0x46B1, info), \
32 +       INTEL_VGA_DEVICE(0x46B2, info), \
33 +       INTEL_VGA_DEVICE(0x46B3, info), \
34 +       INTEL_VGA_DEVICE(0x46C0, info), \
35 +       INTEL_VGA_DEVICE(0x46C1, info), \
36 +       INTEL_VGA_DEVICE(0x46C2, info), \
37 +       INTEL_VGA_DEVICE(0x46C3, info)
38 +
39 +/* ADL-N */
40 +#define INTEL_ADLN_IDS(info) \
41 +       INTEL_VGA_DEVICE(0x46D0, info), \
42 +       INTEL_VGA_DEVICE(0x46D1, info), \
43 +       INTEL_VGA_DEVICE(0x46D2, info)
44 +
45  #endif /* _I915_PCIIDS_H */
46 --- xf86-video-intel-2.99.917/src/intel_module.c.orig   2023-09-09 16:07:15.000000000 +0200
47 +++ xf86-video-intel-2.99.917/src/intel_module.c        2023-09-11 02:07:12.843026367 +0200
48 @@ -158,6 +158,10 @@
49         .gen = 0140,
50  };
51  
52 +static const struct intel_device_info intel_alderlake_info = {
53 +       .gen = 0140,
54 +};
55 +
56  static const SymTabRec intel_chipsets[] = {
57         {PCI_CHIP_I810,                         "i810"},
58         {PCI_CHIP_I810_DC100,                   "i810-dc100"},
59 @@ -415,6 +419,41 @@
60         {0x9A70, "HD Graphics"},
61         {0x9A78, "HD Graphics"},
62  
63 +       /* Alderlake S */
64 +       {0x4680, "HD Graphics 770"},
65 +       {0x4682, "HD Graphics"},
66 +       {0x4688, "HD Graphics"},
67 +       {0x468A, "HD Graphics"},
68 +       {0x468B, "HD Graphics"},
69 +       {0x4690, "HD Graphics"},
70 +       {0x4692, "HD Graphics"},
71 +       {0x4693, "HD Graphics"},
72 +
73 +       /* Alderlake P */
74 +       {0x46A0, "HD Graphics"},
75 +       {0x46A1, "HD Graphics"},
76 +       {0x46A2, "HD Graphics"},
77 +       {0x46A3, "HD Graphics"},
78 +       {0x46A6, "Iris Xe"},
79 +       {0x46A8, "Iris Xe"},
80 +       {0x46AA, "Iris Xe"},
81 +       {0x462A, "HD Graphics"},
82 +       {0x4626, "HD Graphics"},
83 +       {0x4628, "HD Graphics"},
84 +       {0x46B0, "HD Graphics"},
85 +       {0x46B1, "HD Graphics"},
86 +       {0x46B2, "HD Graphics"},
87 +       {0x46B3, "HD Graphics"},
88 +       {0x46C0, "HD Graphics"},
89 +       {0x46C1, "HD Graphics"},
90 +       {0x46C2, "HD Graphics"},
91 +       {0x46C3, "HD Graphics"},
92 +
93 +       /* Alderlake N */
94 +       {0x46D0, "HD Graphics"},
95 +       {0x46D1, "HD Graphics"},
96 +       {0x46D2, "HD Graphics"},
97 +
98         /* When adding new identifiers, also update:
99          * 1. intel_identify()
100          * 2. man/intel.man
101 @@ -481,6 +488,10 @@
102  
103         INTEL_TGL_12_IDS(&intel_tigerlake_info),
104  
105 +       INTEL_ADLS_IDS(&intel_alderlake_info),
106 +       INTEL_ADLP_IDS(&intel_alderlake_info),
107 +       INTEL_ADLN_IDS(&intel_alderlake_info),
108 +
109         INTEL_VGA_DEVICE(PCI_MATCH_ANY, &intel_generic_info),
110  #endif
111  
This page took 0.036734 seconds and 3 git commands to generate.