We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 882f38b commit 273500aCopy full SHA for 273500a
drivers/gpu/drm/i915/i915_cmd_parser.c
@@ -572,6 +572,9 @@ struct drm_i915_reg_descriptor {
572
#define REG32(_reg, ...) \
573
{ .addr = (_reg), __VA_ARGS__ }
574
575
+#define REG32_IDX(_reg, idx) \
576
+ { .addr = _reg(idx) }
577
+
578
/*
579
* Convenience macro for adding 64-bit registers.
580
*
@@ -669,6 +672,7 @@ static const struct drm_i915_reg_descriptor gen9_blt_regs[] = {
669
672
REG64_IDX(RING_TIMESTAMP, BSD_RING_BASE),
670
673
REG32(BCS_SWCTRL),
671
674
REG64_IDX(RING_TIMESTAMP, BLT_RING_BASE),
675
+ REG32_IDX(RING_CTX_TIMESTAMP, BLT_RING_BASE),
676
REG64_IDX(BCS_GPR, 0),
677
REG64_IDX(BCS_GPR, 1),
678
REG64_IDX(BCS_GPR, 2),
0 commit comments