From: Andrzej Lawrynowicz <andrzej.lawrynowicz@xxxxxxxxx> Since gen9 timestamp can be read from BLT ring (TIMESTAMP_BCSUNIT). Add this register to reg_read ioctl whitelist. v2: commit message change (Arkadiusz Hiler) Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> Cc: Arkadiusz Hiler <arkadiusz.hiler@xxxxxxxxx> Cc: Michal Winiarski <michal.winiarski@xxxxxxxxx> Signed-off-by: Andrzej Lawrynowicz <andrzej.lawrynowicz@xxxxxxxxx> Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@xxxxxxxxx> --- drivers/gpu/drm/i915/intel_uncore.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_uncore.c b/drivers/gpu/drm/i915/intel_uncore.c index e2b188d..c2c3fe6 100644 --- a/drivers/gpu/drm/i915/intel_uncore.c +++ b/drivers/gpu/drm/i915/intel_uncore.c @@ -1354,6 +1354,9 @@ static const struct register_whitelist { { .offset_ldw = RING_TIMESTAMP(RENDER_RING_BASE), .offset_udw = RING_TIMESTAMP_UDW(RENDER_RING_BASE), .size = 8, .gen_bitmask = GEN_RANGE(4, 9) }, + { .offset_ldw = RING_TIMESTAMP(BLT_RING_BASE), + .offset_udw = RING_TIMESTAMP_UDW(BLT_RING_BASE), + .size = 8, .gen_bitmask = GEN_RANGE(9, 9) }, }; int i915_reg_read_ioctl(struct drm_device *dev, -- 2.7.4 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx