]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/simpledrm: Use struct iosys_map consistently
authorThierry Reding <treding@nvidia.com>
Fri, 20 Jan 2023 17:30:59 +0000 (18:30 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 23 Jan 2023 14:02:13 +0000 (15:02 +0100)
commitfa904b4cbc60afa042e59a07251f54aa208218ce
treec2e6c258b7c4ebf20e4e83604a181de496c49c14
parent1cd1b5c2f6ec91d2843bc1ff42bdacef97218ec6
drm/simpledrm: Use struct iosys_map consistently

The majority of the driver already uses struct iosys_map to encapsulate
accesses to I/O remapped vs. system memory. Accesses via the screen base
pointer still use __iomem annotations, which can lead to inconsistencies
and conflicts with subsequent patches.

Convert the screen base to a struct iosys_map as well for consistency
and to avoid these issues.

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230120173103.4002342-5-thierry.reding@gmail.com
drivers/gpu/drm/tiny/simpledrm.c