Skip to content

Commit 1c1eb70

Browse files
kuu-rtij-intel
authored andcommitted
alienware-wmi: extends the list of supported models
Adds thermal + gmode quirk to: - Dell G15 5510 - Dell G15 5511 - Dell G15 5515 - Dell G3 3500 - Dell G3 3590 - Dell G5 5500 Adds thermal quirk to: - Alienware m18 R2 - Alienware m17 R5 AMD Support for these models was manually verified by reading their respective ACPI tables. Signed-off-by: Kurt Borja <kuurtb@gmail.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20241111183546.14617-1-kuurtb@gmail.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent 2b8dc45 commit 1c1eb70

1 file changed

Lines changed: 81 additions & 0 deletions

File tree

drivers/platform/x86/dell/alienware-wmi.c

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,15 @@ static struct quirk_entry quirk_asm201 = {
188188
.gmode = false,
189189
};
190190

191+
static struct quirk_entry quirk_g_series = {
192+
.num_zones = 2,
193+
.hdmi_mux = 0,
194+
.amplifier = 0,
195+
.deepslp = 0,
196+
.thermal = true,
197+
.gmode = true,
198+
};
199+
191200
static struct quirk_entry quirk_x_series = {
192201
.num_zones = 2,
193202
.hdmi_mux = 0,
@@ -231,6 +240,24 @@ static const struct dmi_system_id alienware_quirks[] __initconst = {
231240
},
232241
.driver_data = &quirk_asm201,
233242
},
243+
{
244+
.callback = dmi_matched,
245+
.ident = "Alienware m17 R5",
246+
.matches = {
247+
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
248+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m17 R5 AMD"),
249+
},
250+
.driver_data = &quirk_x_series,
251+
},
252+
{
253+
.callback = dmi_matched,
254+
.ident = "Alienware m18 R2",
255+
.matches = {
256+
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
257+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m18 R2"),
258+
},
259+
.driver_data = &quirk_x_series,
260+
},
234261
{
235262
.callback = dmi_matched,
236263
.ident = "Alienware x15 R1",
@@ -267,6 +294,60 @@ static const struct dmi_system_id alienware_quirks[] __initconst = {
267294
},
268295
.driver_data = &quirk_x51_r3,
269296
},
297+
{
298+
.callback = dmi_matched,
299+
.ident = "Dell Inc. G15 5510",
300+
.matches = {
301+
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
302+
DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15 5510"),
303+
},
304+
.driver_data = &quirk_g_series,
305+
},
306+
{
307+
.callback = dmi_matched,
308+
.ident = "Dell Inc. G15 5511",
309+
.matches = {
310+
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
311+
DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15 5511"),
312+
},
313+
.driver_data = &quirk_g_series,
314+
},
315+
{
316+
.callback = dmi_matched,
317+
.ident = "Dell Inc. G15 5515",
318+
.matches = {
319+
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
320+
DMI_MATCH(DMI_PRODUCT_NAME, "Dell G15 5515"),
321+
},
322+
.driver_data = &quirk_g_series,
323+
},
324+
{
325+
.callback = dmi_matched,
326+
.ident = "Dell Inc. G3 3500",
327+
.matches = {
328+
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
329+
DMI_MATCH(DMI_PRODUCT_NAME, "G3 3500"),
330+
},
331+
.driver_data = &quirk_g_series,
332+
},
333+
{
334+
.callback = dmi_matched,
335+
.ident = "Dell Inc. G3 3590",
336+
.matches = {
337+
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
338+
DMI_MATCH(DMI_PRODUCT_NAME, "G3 3590"),
339+
},
340+
.driver_data = &quirk_g_series,
341+
},
342+
{
343+
.callback = dmi_matched,
344+
.ident = "Dell Inc. G5 5500",
345+
.matches = {
346+
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
347+
DMI_MATCH(DMI_PRODUCT_NAME, "G5 5500"),
348+
},
349+
.driver_data = &quirk_g_series,
350+
},
270351
{
271352
.callback = dmi_matched,
272353
.ident = "Dell Inc. Inspiron 5675",

0 commit comments

Comments
 (0)