Skip to content

Commit 0e79efd

Browse files
tuxedoxt1Naim
authored andcommitted
drm/i915/rc6: Disable RC6 for InfinityBook Pro Gen8
Signed-off-by: Christoffer Sandberg <cs@tuxedo.de>
1 parent 028ef9c commit 0e79efd

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

drivers/gpu/drm/i915/gt/intel_rc6.c

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
/*
33
* Copyright © 2019 Intel Corporation
44
*/
5-
65
#include <linux/pm_runtime.h>
76
#include <linux/string_helpers.h>
7+
#include <linux/dmi.h>
88

99
#include <drm/drm_print.h>
1010

@@ -497,6 +497,16 @@ static bool rc6_supported(struct intel_rc6 *rc6)
497497
if (!HAS_RC6(i915))
498498
return false;
499499

500+
if (dmi_match(DMI_PRODUCT_SKU, "IBP1XI08MK1") ||
501+
dmi_match(DMI_PRODUCT_SKU, "IBP14I08MK2") ||
502+
dmi_match(DMI_PRODUCT_SKU, "IBP16I08MK2") ||
503+
dmi_match(DMI_PRODUCT_SKU, "OMNIA08IMK1") ||
504+
dmi_match(DMI_PRODUCT_SKU, "OMNIA08IMK2")) {
505+
drm_notice(&i915->drm,
506+
"RC6 disabled by quirk\n");
507+
return false;
508+
}
509+
500510
if (intel_vgpu_active(i915))
501511
return false;
502512

0 commit comments

Comments
 (0)