drm/i915: Show PCI power state under debugfs/i915_runtime_pm_status
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 3 Apr 2016 13:14:21 +0000 (14:14 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 3 Apr 2016 14:10:19 +0000 (15:10 +0100)
commita156e64dd6bf609ae5c366e1676e580dca239e3e
tree5e72ec766867770180d102a5e419f6b59cbcb61f
parent188c1ab7769dd7c092f9b1be5f69aa34d4a6f9d6
drm/i915: Show PCI power state under debugfs/i915_runtime_pm_status

As the current PCI power state is an essential feature of runtime pm,
include it in the debugfs/i915_runtime_pm_status.

v2: Use pci_power_name()

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1459689261-7920-2-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c