WebJan 23, 2024 · pm_runtime_get_sync() will increase the rumtime PM counter even when it returns an error. Thus a pairing decrement is needed to prevent refcount leak. Fix this by … WebApr 12, 2024 · > pm_runtime_put() at the end of the function would have to be conditional on > the return value from pm_runtime_resume_and_get() at the top of the > function. > > pm_runtime_get_sync() doesn't have this problem because it always > increments the count, so always needs a put. The code can just flow through
[v2] drm/bridge: Add missing pm_runtime_put_sync
Web*Re: [PATCH] drm/bridge: Add missing pm_runtime_put_sync 2024-01-19 15:36 [PATCH] drm/bridge: Add missing pm_runtime_put_sync Yongzhi Liu @ 2024-01-23 20:08 ` Laurent Pinchart 2024-01-24 7:20 ` " Yongzhi Liu 0 siblings, 1 reply; 5+ messages in thread From: Laurent Pinchart @ 2024-01-23 20:08 UTC (permalink / raw) To: Yongzhi Liu Cc: a.hajda, … Web[PATCH v2] drm/bridge: Add missing pm_runtime_put_sync From: Yongzhi Liu Date: Mon Jan 24 2024 - 02:26:45 EST Next message: Christoph Hellwig: "Re: [PATCH 02/23] MM: extend block-plugging to cover all swap reads with read-ahead" Previous message: Tian, Kevin: "RE: [PATCH v6 04/21] kvm: x86: Exclude unpermitted xfeatures at … tie down engineering torsion axle 6000
Runtime Power Management Framework
Webpm_runtime_get_sync() will increase the rumtime PM counter even when it returns an error. Thus a pairing decrement is needed to prevent refcount leak. Fix this by replacing this API … WebReturn 0 if the runtime PM usage counter of @dev has been. * incremented or a negative error code otherwise. * pm_runtime_put - Drop device usage counter and queue up "idle … WebRuntime Power Management Motivation Why Do We Need a Framework for Device Runtime PM? Well, there are a few reasons 1 Platform support may be necessary to change the power states of devices. 2 Wakeup signaling is often platform-dependent or bus-dependent (e. g. PCI devices don’t generate interrupts from low-power states). the manitoba school act of 1890