[PATCH 0/5] media: Replace deprecated PCI functions

Philipp Stanner posted 5 patches 8 months, 2 weeks ago
drivers/media/pci/intel/ipu3/ipu3-cio2.c   |  5 ++---
drivers/media/pci/intel/ipu6/ipu6.c        |  8 ++++----
drivers/media/pci/pt3/pt3.c                | 17 +++++++++++------
drivers/media/pci/solo6x10/solo6x10-core.c |  4 ++--
drivers/media/pci/tw5864/tw5864-core.c     | 13 ++++++++-----
5 files changed, 27 insertions(+), 20 deletions(-)
[PATCH 0/5] media: Replace deprecated PCI functions
Posted by Philipp Stanner 8 months, 2 weeks ago
Replaces pcim_iomap_regions() and pcim_iomap_table(), which have been
deprecated.

The successor pcim_iomap_region() is already used in many places and
shouldn't cause trouble.

I test-built it, but have no hardware for testing.

P.

Philipp Stanner (5):
  media: ipu3-cio2: Replace deprecated PCI functions
  media: pt3: Replace deprecated PCI functions
  media: intel/ipu6: Replace deprecated PCI functions
  media: solo6x10: Replace deprecated PCI functions
  media: tw5864: Replace deprecated PCI functions

 drivers/media/pci/intel/ipu3/ipu3-cio2.c   |  5 ++---
 drivers/media/pci/intel/ipu6/ipu6.c        |  8 ++++----
 drivers/media/pci/pt3/pt3.c                | 17 +++++++++++------
 drivers/media/pci/solo6x10/solo6x10-core.c |  4 ++--
 drivers/media/pci/tw5864/tw5864-core.c     | 13 ++++++++-----
 5 files changed, 27 insertions(+), 20 deletions(-)

-- 
2.48.1
Re: [PATCH 0/5] media: Replace deprecated PCI functions
Posted by Philipp Stanner 8 months, 1 week ago
On Fri, 2025-04-04 at 15:53 +0200, Philipp Stanner wrote:
> Replaces pcim_iomap_regions() and pcim_iomap_table(), which have been
> deprecated.
> 
> The successor pcim_iomap_region() is already used in many places and
> shouldn't cause trouble.
> 
> I test-built it, but have no hardware for testing.
> 
> P.
> 
> Philipp Stanner (5):
>   media: ipu3-cio2: Replace deprecated PCI functions
>   media: pt3: Replace deprecated PCI functions
>   media: intel/ipu6: Replace deprecated PCI functions
>   media: solo6x10: Replace deprecated PCI functions
>   media: tw5864: Replace deprecated PCI functions

Hello,

is there someone who's in charge of all of media: who could take this,
or would it be more feasible to aim for the subcomponents?

P.

> 
>  drivers/media/pci/intel/ipu3/ipu3-cio2.c   |  5 ++---
>  drivers/media/pci/intel/ipu6/ipu6.c        |  8 ++++----
>  drivers/media/pci/pt3/pt3.c                | 17 +++++++++++------
>  drivers/media/pci/solo6x10/solo6x10-core.c |  4 ++--
>  drivers/media/pci/tw5864/tw5864-core.c     | 13 ++++++++-----
>  5 files changed, 27 insertions(+), 20 deletions(-)
> 
Re: [PATCH 0/5] media: Replace deprecated PCI functions
Posted by Sakari Ailus 8 months, 1 week ago
Hi Philipp,

On Mon, Apr 14, 2025 at 11:06:54AM +0200, Philipp Stanner wrote:
> On Fri, 2025-04-04 at 15:53 +0200, Philipp Stanner wrote:
> > Replaces pcim_iomap_regions() and pcim_iomap_table(), which have been
> > deprecated.
> > 
> > The successor pcim_iomap_region() is already used in many places and
> > shouldn't cause trouble.
> > 
> > I test-built it, but have no hardware for testing.
> > 
> > P.
> > 
> > Philipp Stanner (5):
> >   media: ipu3-cio2: Replace deprecated PCI functions
> >   media: pt3: Replace deprecated PCI functions
> >   media: intel/ipu6: Replace deprecated PCI functions
> >   media: solo6x10: Replace deprecated PCI functions
> >   media: tw5864: Replace deprecated PCI functions
> 
> Hello,
> 
> is there someone who's in charge of all of media: who could take this,
> or would it be more feasible to aim for the subcomponents?

I'll check the ipu patches soonish.

-- 
Kind regards,

Sakari Ailus