drm/i915/pm: Print offending domain in refcount failure
authorDaniel Stone <daniels@collabora.com>
Fri, 20 Nov 2015 15:55:34 +0000 (15:55 +0000)
committerImre Deak <imre.deak@intel.com>
Mon, 23 Nov 2015 15:09:34 +0000 (17:09 +0200)
commit11c86db8f052fec64804c19519a8d35958ed8aef
tree1753fb0cc2faf8c6f2768cc290a218314f244cd0
parent9895ad03c871893f6acd66a3b6210db0c1ba5933
drm/i915/pm: Print offending domain in refcount failure

If we experience a refcounting failure in a power domain/well (unref'ing at
least one too many times), log the name of the offending domain or well.

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