[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165052546651.683267.17613165683277248005.b4-ty@cerno.tech>
Date: Thu, 21 Apr 2022 09:17:49 +0200
From: Maxime Ripard <maxime@...no.tech>
To: dri-devel@...ts.freedesktop.org,
Maxime Ripard <mripard@...nel.org>,
Miaoqian Lin <linmq006@...il.com>,
linux-kernel@...r.kernel.org, Daniel Vetter <daniel@...ll.ch>,
Eric Anholt <eric@...olt.net>, Emma Anholt <emma@...olt.net>,
David Airlie <airlied@...ux.ie>
Cc: Maxime Ripard <maxime@...no.tech>
Subject: Re: (subset) [PATCH v3] drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
On Wed, 20 Apr 2022 21:50:07 +0800, Miaoqian Lin wrote:
> If the device is already in a runtime PM enabled state
> pm_runtime_get_sync() will return 1.
>
> Also, we need to call pm_runtime_put_noidle() when pm_runtime_get_sync()
> fails, so use pm_runtime_resume_and_get() instead. this function
> will handle this.
>
> [...]
Applied to drm/drm-misc (drm-misc-fixes).
Thanks!
Maxime
Powered by blists - more mailing lists