summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-08-13 04:04:54 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-08-13 04:04:54 +0000
commitbfc2e86af1152cf2ab628ee5ec6e9039a2fad37b (patch)
treef66c74e7a478c82d394c9727c99996700386d507
parent29ce7968be83469bfb83a36609da0f7b1d03ca98 (diff)
drm/i915/mtl: Wake GT before sending H2G message
From Vinay Belgaumkar 6d46d09a0d7dd412c5b76f74f89fe4448ba2117e in mainline linux
-rw-r--r--sys/dev/pci/drm/i915/intel_uncore.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915/intel_uncore.c b/sys/dev/pci/drm/i915/intel_uncore.c
index abff10e16f2..a1d42953045 100644
--- a/sys/dev/pci/drm/i915/intel_uncore.c
+++ b/sys/dev/pci/drm/i915/intel_uncore.c
@@ -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 */
};
/*