]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit386f91477749af4e2d733cd2f6683de57548765d
tree0ea1a53cb4437d0cd3669792b775300d1677522d
parent010f730d9d24b4eb14afd7cde6f4f831469d28b5
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