Skip to content

Commit

Permalink
drm/i915: Allow reading the TIMESTAMP register on Gen8.
Browse files Browse the repository at this point in the history
Nothing's changed here; we just need to bump the generation check.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Kenneth Graunke authored and Daniel Vetter committed Jan 22, 2014
1 parent 74e21ac commit 4318101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/intel_uncore.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4318101

Please sign in to comment.