drm/i915: drpc debugfs update for gen6
authorBen Widawsky <ben@bwidawsk.net>
Tue, 13 Dec 2011 03:34:16 +0000 (19:34 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 3 Jan 2012 17:09:45 +0000 (09:09 -0800)
commit4d85529d584856d077895a2daa703224d3aee7e1
tree0ea1a53cb4437d0cd3669792b775300d1677522d
parent6ed55ee7da15329476174bc5821dbc723f671f44
drm/i915: drpc debugfs update for gen6

Many of the old fields from Ironlake have gone away. Strip all those
fields, and try to update to fields people care about. RC information
isn't exactly ideal anymore. All we can guarantee when we read the
register is that we're not using forcewake, ie. the software isn't
forcing the hardware to stay awake. The downside is that in doing this
we may wait a while and that causes an unnaturally idle state on the
GPU.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=42578
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_reg.h