artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8d3db1
)
drm/i915: Correct SFC_DONE register offset
author
jsg
<jsg@openbsd.org>
Thu, 12 Aug 2021 13:06:13 +0000
(13:06 +0000)
committer
jsg
<jsg@openbsd.org>
Thu, 12 Aug 2021 13:06:13 +0000
(13:06 +0000)
From Matt Roper
7397034905acaecbc64f6838779bdc81667e682f
in linux 5.10.y/5.10.58
9c9c6d0ab08acfe41c9f7efa72c4ad3f133a266b
in mainline linux
sys/dev/pci/drm/i915/i915_reg.h
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/i915/i915_reg.h
b/sys/dev/pci/drm/i915/i915_reg.h
index
5cd83ea
..
ce8c91c
100644
(file)
--- 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) * 0x1
00)
+#define GEN12_SFC_DONE(n) _MMIO(0x1cc00
0 + (n) * 0x10
00)
#define GEN12_SFC_DONE_MAX 4
#define RING_PP_DIR_BASE(base) _MMIO((base) + 0x228)