]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitb5e50c3f56ee4aa0d0168eab5ece413ac5df76aa
treeeb6ee1777dc52a00d3981e4a7a208bbe6a136263
parent357b13c3e498bb658f511f91a9e4f09c9553be6e
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