drm/mgag200: Use managed interfaces for framebuffer write combining
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 16 Sep 2021 18:16:00 +0000 (20:16 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 23 Sep 2021 07:26:09 +0000 (09:26 +0200)
commitf3eb831ea49f034744bc0a17f29f97cb32484a85
tree1d4ecd73ab4acc681b54be2f270673d89f3edf0f
parent23b405bff2216aff9d498c6031405e0ed8908ae3
drm/mgag200: Use managed interfaces for framebuffer write combining

Replace arch_phys_wc_add() and arch_io_reserve_memtype_wc() with
the rsp managed functions. Allows for removing the cleanup code
for memory management

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210916181601.9146-5-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_drv.h
drivers/gpu/drm/mgag200/mgag200_mm.c