From: jsg Date: Thu, 12 Aug 2021 13:06:13 +0000 (+0000) Subject: drm/i915: Correct SFC_DONE register offset X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c775aa0a197313cc184dcb092323c34408043321;p=openbsd drm/i915: Correct SFC_DONE register offset From Matt Roper 7397034905acaecbc64f6838779bdc81667e682f in linux 5.10.y/5.10.58 9c9c6d0ab08acfe41c9f7efa72c4ad3f133a266b in mainline linux --- diff --git a/sys/dev/pci/drm/i915/i915_reg.h b/sys/dev/pci/drm/i915/i915_reg.h index 5cd83eac940..ce8c91c5fdd 100644 --- a/sys/dev/pci/drm/i915/i915_reg.h +++ b/sys/dev/pci/drm/i915/i915_reg.h @@ -413,7 +413,7 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg) #define GEN11_VECS_SFC_USAGE(engine) _MMIO((engine)->mmio_base + 0x2014) #define GEN11_VECS_SFC_USAGE_BIT (1 << 0) -#define GEN12_SFC_DONE(n) _MMIO(0x1cc00 + (n) * 0x100) +#define GEN12_SFC_DONE(n) _MMIO(0x1cc000 + (n) * 0x1000) #define GEN12_SFC_DONE_MAX 4 #define RING_PP_DIR_BASE(base) _MMIO((base) + 0x228)