Files
linux/drivers/gpu/drm
Thomas Zimmermann 0ccaa3dde9 drm/ast: Rework I/O register setup
There are three different ways of retrieving the I/O-memory ranges
for AST devices: either from PCI BAR 1, from PCI BAR 2 or from PCI
BAR 1 by 'guessing'.

Make the respective code more readable by making each case self-
contained. Also add error checking against the length of the PCI
BARs.

v2:
	* fix I/O range length to 128 bytes
	* fix length test for PCI BAR 2

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231116100240.22975-3-tzimmermann@suse.de
2023-11-28 16:12:29 +01:00
..
2023-11-28 15:32:24 +01:00
2023-11-27 13:56:32 -06:00
2023-11-27 13:56:32 -06:00
2023-11-28 16:12:29 +01:00
2023-11-27 13:56:32 -06:00
2023-11-15 10:56:44 +01:00
2023-11-28 11:55:56 +01:00
2023-11-27 13:56:32 -06:00
2023-11-28 15:32:24 +01:00
2023-11-27 13:56:32 -06:00
2023-11-27 13:56:32 -06:00
2023-11-28 11:55:56 +01:00
2023-11-28 11:55:56 +01:00
2023-11-21 11:09:33 +02:00
2023-09-20 15:27:44 +02:00
2023-10-27 13:47:56 +02:00
2023-02-20 14:56:52 +01:00