From 2da3df3d913daf2c6ec560ac3d74d00c92bb0576 Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 13 Aug 2024 04:04:53 +0000 Subject: [PATCH] drm/i915/mtl: Wake GT before sending H2G message From Vinay Belgaumkar 6d46d09a0d7dd412c5b76f74f89fe4448ba2117e in mainline linux --- sys/dev/pci/drm/i915/intel_uncore.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 */ }; /* -- 2.20.1