diff options
author | Philipp Stanner <[email protected]> | 2024-08-07 10:30:20 +0200 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2024-08-09 15:08:42 -0500 |
commit | 2eb20b96d7696dc354e1b38c511418b56291013c (patch) | |
tree | 18474db7e3ecb6df0174adb742df78821367ee58 /scripts/generate_rust_analyzer.py | |
parent | d140f80f603584d8282817994c0c6241e736bef4 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Philipp Stanner <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Thomas Zimmermann <[email protected]>
Acked-by: Dave Airlie <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions