diff options
author | Imre Deak <imre.deak@intel.com> | 2017-03-28 12:38:55 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2017-03-28 16:02:10 +0300 |
commit | f5073824efc856c9a8f56706f03ad4e07b779a36 (patch) | |
tree | 67519185b67224eddd6a8ed4424cd39d07806a55 /drivers/gpu/drm/i915/i915_debugfs.c | |
parent | 0a309f9e3dfaa4f5db0bf1b0cab54571744b491a (diff) | |
download | linux-f5073824efc856c9a8f56706f03ad4e07b779a36.tar.xz |
drm/i915: WARN if the core runtime PM get helpers fail
We don't expect the core runtime PM get helpers to return any error, so
add a WARN for this. Also print the return value for all the callsites
to help debugging.
v2:
- Don't call pm_runtime_get_sync() as part of initing locals. (Chris)
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1490693935-12638-1-git-send-email-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_debugfs.c')
0 files changed, 0 insertions, 0 deletions