[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87frhzc1a9.fsf@minerva.mail-host-address-is-not-set>
Date: Tue, 22 Apr 2025 23:51:58 +0200
From: Javier Martinez Canillas <javierm@...hat.com>
To: Philipp Stanner <phasta@...nel.org>, Dave Airlie <airlied@...hat.com>,
Gerd Hoffmann <kraxel@...hat.com>, Maarten Lankhorst
<maarten.lankhorst@...ux.intel.com>, Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>, David Airlie <airlied@...il.com>,
Simona Vetter <simona@...ll.ch>, Alex Deucher <alexander.deucher@....com>,
Arnd Bergmann <arnd@...nel.org>, Jani Nikula <jani.nikula@...el.com>,
Niklas Schnelle <schnelle@...ux.ibm.com>, Jeff Johnson
<jeff.johnson@....qualcomm.com>, Philipp Stanner <phasta@...nel.org>
Cc: virtualization@...ts.linux.dev, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/cirrus: Use non-hybrid PCI devres API
Philipp Stanner <phasta@...nel.org> writes:
Hello Philipp,
> cirrus enables its PCI device with pcim_enable_device(). This,
> implicitly, switches the function pci_request_regions() into managed
> mode, where it becomes a devres function.
>
> The PCI subsystem wants to remove this hybrid nature from its
> interfaces. To do so, users of the aforementioned combination of
> functions must be ported to non-hybrid functions.
>
> Replace the call to sometimes-managed pci_request_regions() with one to
> the always-managed pcim_request_all_regions().
>
> Signed-off-by: Philipp Stanner <phasta@...nel.org>
> ---
Reviewed-by: Javier Martinez Canillas <javierm@...hat.com>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
Powered by blists - more mailing lists