[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yg5gJfSJCCaY5JYs@intel.com>
Date: Thu, 17 Feb 2022 16:48:05 +0200
From: Ville Syrjälä <ville.syrjala@...ux.intel.com>
To: Andrzej Hajda <andrzej.hajda@...el.com>
Cc: linux-kernel@...r.kernel.org, intel-gfx@...ts.freedesktop.org,
dri-devel@...ts.freedesktop.org, netdev <netdev@...r.kernel.org>,
Lucas De Marchi <lucas.demarchi@...el.com>,
Chris Wilson <chris@...is-wilson.co.uk>,
Eric Dumazet <edumazet@...gle.com>,
Chris Wilson <chris.p.wilson@...el.com>,
Jakub Kicinski <kuba@...nel.org>,
Dmitry Vyukov <dvyukov@...gle.com>
Subject: Re: [Intel-gfx] [PATCH 6/9] drm/i915: Separate wakeref tracking
On Thu, Feb 17, 2022 at 03:04:38PM +0100, Andrzej Hajda wrote:
> -static noinline depot_stack_handle_t
> +static intel_wakeref_t
> track_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm)
> {
> - depot_stack_handle_t stack, *stacks;
> - unsigned long flags;
> -
> - if (rpm->no_wakeref_tracking)
> - return -1;
> -
> - stack = __save_depot_stack();
> - if (!stack)
> + if (!rpm->available)
> return -1;
no_wakeref_tracking != available
--
Ville Syrjälä
Intel
Powered by blists - more mailing lists