Re: [PATCH 0/2] Use pcim_request_region() in vboxvideo

Bjorn Helgaas
2024-07-31T19:36:07Z

On Mon, Jul 29, 2024 at 11:36:24AM +0200, Philipp Stanner wrote:
> Hi everyone,
>
> Now that we've got the simplified PCI devres API available we can slowly
> start using it in drivers and step by step phase the more problematic
> API out.
>
> vboxvideo currently does not have a region request, so it is a suitable
> first user.
>
> P.
>
> Philipp Stanner (2):
> PCI: Make pcim_request_region() a public function
> drm/vboxvideo: Add PCI region request
>
> drivers/gpu/drm/vboxvideo/vbox_main.c | 4 ++++
> drivers/pci/devres.c | 1 +
> drivers/pci/pci.h | 2 --
> include/linux/pci.h | 1 +
> 4 files changed, 6 insertions(+), 2 deletions(-)

Given an ack from the vboxvideo maintainers, I can apply both of these
via the PCI tree so there's no race during the merge window.