From: Kenneth Graunke Date: Tue, 21 Jan 2014 22:42:38 +0000 (-0800) Subject: drm/i915: Allow reading the TIMESTAMP register on Gen8. X-Git-Tag: v5.15~18109^2~62^2~116 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=431810112123bb26a0be39a99835861de9906abc;p=mirror_ubuntu-kernels.git drm/i915: Allow reading the TIMESTAMP register on Gen8. Nothing's changed here; we just need to bump the generation check. Signed-off-by: Kenneth Graunke Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_uncore.c b/drivers/gpu/drm/i915/intel_uncore.c index 2c8143c37de3..87df68f5f504 100644 --- a/drivers/gpu/drm/i915/intel_uncore.c +++ b/drivers/gpu/drm/i915/intel_uncore.c @@ -805,7 +805,7 @@ static const struct register_whitelist { uint32_t size; uint32_t gen_bitmask; /* support gens, 0x10 for 4, 0x30 for 4 and 5, etc. */ } whitelist[] = { - { RING_TIMESTAMP(RENDER_RING_BASE), 8, 0xF0 }, + { RING_TIMESTAMP(RENDER_RING_BASE), 8, 0x1F0 }, }; int i915_reg_read_ioctl(struct drm_device *dev,