summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPhilipp Stanner <phasta@kernel.org>2025-05-14 09:31:27 +0200
committerZack Rusin <zack.rusin@broadcom.com>2025-05-14 07:53:14 -0400
commit9934ab18051118385c7ea44d8e14175edbe6dc9c (patch)
treee82e1de36f74422fb6714d7cbec36ed6a616af86 /include/linux
parent217f80acfcf126b7d7d7b818c9bfea3c96fa85ec (diff)
drm/vmwgfx: Use non-hybrid PCI devres API
vmwgfx 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. Moreover, since both functions are already managed in this driver, the calls to pci_release_regions() are unnecessary. Remove the calls to pci_release_regions(). Replace the call to sometimes-managed pci_request_regions() with one to always-managed pcim_request_all_regions(). Signed-off-by: Philipp Stanner <phasta@kernel.org> Reviewed-by: Zack Rusin <zack.rusin@broadcom.com> Signed-off-by: Zack Rusin <zack.rusin@broadcom.com> Link: https://lore.kernel.org/r/20250514073126.85443-2-phasta@kernel.org
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions