From: jsg Date: Tue, 13 Aug 2024 04:04:53 +0000 (+0000) Subject: drm/i915/mtl: Wake GT before sending H2G message X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2da3df3d913daf2c6ec560ac3d74d00c92bb0576;p=openbsd drm/i915/mtl: Wake GT before sending H2G message From Vinay Belgaumkar 6d46d09a0d7dd412c5b76f74f89fe4448ba2117e in mainline linux --- 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 */ }; /*