drm/i915/pm: Unstatic power_domain_str
authorDaniel Stone <daniels@collabora.com>
Fri, 20 Nov 2015 15:55:33 +0000 (15:55 +0000)
committerImre Deak <imre.deak@intel.com>
Mon, 23 Nov 2015 15:09:18 +0000 (17:09 +0200)
commit9895ad03c871893f6acd66a3b6210db0c1ba5933
tree23bd71c8085b60317bced797b55833b33229dd7f
parenta7de5506004415527035d7858b5993c906e2544e
drm/i915/pm: Unstatic power_domain_str

Let us print human-parseable values from the power domain code; upcoming
display code also wants to use it.

This requires moving it out of i915_debugfs.c, as that is only conditionally
compiled.

v2: Move it out of the header.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1448034934-11926-1-git-send-email-daniels@collabora.com
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_runtime_pm.c