drm/gud: Prepare buffer for CPU access in gud_flush_work()
authorNoralf Trønnes <noralf@tronnes.org>
Wed, 30 Nov 2022 19:26:52 +0000 (20:26 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Tue, 6 Dec 2022 15:37:10 +0000 (16:37 +0100)
commit562fd7cc67cb6d1fe8b96e72fbca9a423b5a43be
tree965f01c37d2d6ce24b71e67c0052cbb523f1e81f
parent754a6ca85c220ea7b1c5413085a1eb8b4dff2c2a
drm/gud: Prepare buffer for CPU access in gud_flush_work()

In preparation for moving to the shadow plane helper prepare the
framebuffer for CPU access as early as possible.

v2:
- Use src as variable name for iosys_map (Thomas)

Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20221122-gud-shadow-plane-v2-4-435037990a83@tronnes.org
drivers/gpu/drm/gud/gud_pipe.c