drm/i915/mtl: Wake GT before sending H2G message
authorjsg <jsg@openbsd.org>
Tue, 13 Aug 2024 04:04:53 +0000 (04:04 +0000)
committerjsg <jsg@openbsd.org>
Tue, 13 Aug 2024 04:04:53 +0000 (04:04 +0000)
From Vinay Belgaumkar
6d46d09a0d7dd412c5b76f74f89fe4448ba2117e in mainline linux

sys/dev/pci/drm/i915/intel_uncore.c

index abff10e..a1d4295 100644 (file)
@@ -1833,7 +1833,10 @@ static const struct intel_forcewake_range __mtl_fw_ranges[] = {
        GEN_FW_RANGE(0x24000, 0x2ffff, 0), /*
                0x24000 - 0x2407f: always on
                0x24080 - 0x2ffff: reserved */
-       GEN_FW_RANGE(0x30000, 0x3ffff, FORCEWAKE_GT)
+       GEN_FW_RANGE(0x30000, 0x3ffff, FORCEWAKE_GT),
+       GEN_FW_RANGE(0x40000, 0x1901ef, 0),
+       GEN_FW_RANGE(0x1901f0, 0x1901f3, FORCEWAKE_GT)
+               /* FIXME: WA to wake GT while triggering H2G */
 };
 
 /*