diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-02-25 21:10:28 +0000 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2016-02-26 15:11:40 +0200 |
commit | 135dc79efbc119ea5fb34475996983159e6ca31c (patch) | |
tree | 0b9fd8eaf2a4f8d599849a7df3b10fc46705cbc2 /drivers/gpu/drm/i915/i915_gem_evict.c | |
parent | 99cf8ea16595ecf14d81c8afe165154cec035400 (diff) | |
download | talos-obmc-linux-135dc79efbc119ea5fb34475996983159e6ca31c.tar.gz talos-obmc-linux-135dc79efbc119ea5fb34475996983159e6ca31c.zip |
drm/i915: Balance assert_rpm_wakelock_held() for !IS_ENABLED(CONFIG_PM)
commit 09731280028ce03e6a27e1998137f1775a2839f3
Author: Imre Deak <imre.deak@intel.com>
Date: Wed Feb 17 14:17:42 2016 +0200
drm/i915: Add helper to get a display power ref if it was already enabled
left the rpm wakelock assertions unbalanced if CONFIG_PM was disabled as
intel_runtime_pm_get_if_in_use() would return true without incrementing
the local bookkeeping required for the assertions.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
CC: Mika Kuoppala <mika.kuoppala@intel.com>
CC: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
CC: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1456434628-22574-1-git-send-email-chris@chris-wilson.co.uk
Reviewed-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_evict.c')
0 files changed, 0 insertions, 0 deletions