linux/drivers/gpu/drm/ast
Philipp Stanner 2eb20b96d7 drm/ast: Request PCI BAR with devres
ast currently ioremaps two PCI BARs using pcim_iomap(). It does not perform
a request on the regions, however, which would make the driver a bit more
robust.

PCI now offers pcim_iomap_region(), a managed function which both requests
and ioremaps a BAR.

Replace pcim_iomap() with pcim_iomap_region().

Suggested-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20240807083018.8734-4-pstanner@redhat.com
Signed-off-by: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Dave Airlie <airlied@redhat.com>
History 2024-08-09 15:08:42 -05:00
..
ast_ddc.c drm/ast: Define struct ast_ddc in ast_ddc.c 2024-04-11 09:38:17 +02:00
ast_ddc.h drm/ast: Define struct ast_ddc in ast_ddc.c 2024-04-11 09:38:17 +02:00
ast_dp.c drm/ast: Fix soft lockup 2024-04-05 10:22:23 +02:00
ast_dp501.c drm/ast: Rename AST_IO_CRTC_PORT to AST_IO_VGACRI 2023-10-19 13:55:33 +02:00
ast_dram_tables.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ast_drv.c drm/ast: Request PCI BAR with devres 2024-08-09 15:08:42 -05:00
ast_drv.h drm/ast: Move DDC code to ast_ddc.{c,h} 2024-04-02 10:40:46 +02:00
ast_main.c drm/ast: Include <linux/of.h> where necessary 2024-04-02 10:40:43 +02:00
ast_mm.c drm/ast: Rename AST_IO_CRTC_PORT to AST_IO_VGACRI 2023-10-19 13:55:33 +02:00
ast_mode.c drm/ast: Use drm_atomic_helper_commit_tail() helper 2024-07-03 09:38:23 +02:00
ast_post.c drm/ast: Partially implement POST without ast device instance 2023-11-28 16:17:08 +01:00
ast_reg.h drm/ast: Inline ast_crtc_dpms() into callers 2024-07-03 09:38:23 +02:00
ast_tables.h drm/ast: Add resolution support for 1152x864@75 2022-09-20 10:19:32 +02:00
Kconfig drm: Only select I2C_ALGOBIT for drivers that actually need it 2023-01-10 11:15:44 +01:00
Makefile drm/ast: Move DDC code to ast_ddc.{c,h} 2024-04-02 10:40:46 +02:00