Re: [PATCH v2] drm/vmgfx: Use non-hybrid PCI devres API

2025-05-09 Thread Philipp Stanner
On Thu, 2025-05-08 at 11:39 -0400, Zack Rusin wrote: > On Thu, May 8, 2025 at 6:40 AM Philipp Stanner > wrote: > > > > On Wed, 2025-04-23 at 14:06 +0200, Philipp Stanner wrote: > > > vmgfx enables its PCI device with pcim_enable_device(). This, > > > implicitly, switches the function pci_request_

Re: [PATCH v2] drm/vmgfx: Use non-hybrid PCI devres API

2025-05-08 Thread Philipp Stanner
On Thu, 2025-05-08 at 11:39 -0400, Zack Rusin wrote: > On Thu, May 8, 2025 at 6:40 AM Philipp Stanner > wrote: > > > > On Wed, 2025-04-23 at 14:06 +0200, Philipp Stanner wrote: > > > vmgfx enables its PCI device with pcim_enable_device(). This, > > > implicitly, switches the function pci_request_

Re: [PATCH v2] drm/vmgfx: Use non-hybrid PCI devres API

2025-05-08 Thread Zack Rusin
On Thu, May 8, 2025 at 6:40 AM Philipp Stanner wrote: > > On Wed, 2025-04-23 at 14:06 +0200, Philipp Stanner wrote: > > vmgfx enables its PCI device with pcim_enable_device(). This, > > implicitly, switches the function pci_request_regions() into managed > > mode, where it becomes a devres functio

Re: [PATCH v2] drm/vmgfx: Use non-hybrid PCI devres API

2025-05-08 Thread Philipp Stanner
On Wed, 2025-04-23 at 14:06 +0200, Philipp Stanner wrote: > vmgfx 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

[PATCH v2] drm/vmgfx: Use non-hybrid PCI devres API

2025-04-23 Thread Philipp Stanner
vmgfx 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 o