drm/i915: Allow reading the TIMESTAMP register on Gen8.
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/gpu/drm/i915/intel_uncore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_uncore.c +1 -1
@@ -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,
Signature · 1 line
1.8.4.2
Daniel Vetter
AppliedQuoted 3 lines · Kenneth Graunke
Nothing's changed here; we just need to bump the generation check.
Signed-off-by Kenneth Graunke <[email protected]>
Merged to -fixes to avoid hassles with ABI negotation - 3.14 is the first officially supported bdw platform anyway.
-Daniel
Quoted 24 lines
--- drivers/gpu/drm/i915/intel_uncore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/intel_uncore.c +1
-1@@ -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,Signature · 6 lines
1.8.4.2 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch