]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitce7750f3582153d65f1d425a4e45c1b33f1f7209
tree1d4ecd73ab4acc681b54be2f270673d89f3edf0f
parent8790b7d5bc07d18a8ea36ed035e0656527f539c7
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