mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 09:22:27 +00:00
drm/i915: Enable rpm wakeref tracking whether runtime pm is enabled or not
Don't see why we should skip the wakeref tracking when the platform doesn't support runtime pm. We still want all the code to be 100% leak free so let's track this unconditionally. Cc: Vlastimil Babka <[email protected]> Cc: Dmitry Vyukov <[email protected]> Cc: Marco Elver <[email protected]> # stackdepot Cc: Chris Wilson <[email protected]> Cc: Imre Deak <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Imre Deak <[email protected]>
This commit is contained in:
@@ -77,9 +77,6 @@ track_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm)
|
||||
depot_stack_handle_t stack, *stacks;
|
||||
unsigned long flags;
|
||||
|
||||
if (!rpm->available)
|
||||
return -1;
|
||||
|
||||
stack = __save_depot_stack();
|
||||
if (!stack)
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user