]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: provide FBC status in debugfs
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 5 Feb 2010 20:42:41 +0000 (12:42 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 22 Feb 2010 16:46:57 +0000 (11:46 -0500)
commited4ab2e035ca9972d8b860503ee08231a49d8b27
treeeb6ee1777dc52a00d3981e4a7a208bbe6a136263
parent548da2a5f0f4e7ccb853262995c1ade0d57e1d22
drm/i915: provide FBC status in debugfs

Tools like powertop want to check the current FBC status and report it
to the user.  So add a debugfs file indicating whether FBC is enabled,
and if not, why.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c