drm/gud: Split up gud_flush_work()
authorNoralf Trønnes <noralf@tronnes.org>
Wed, 30 Nov 2022 19:26:51 +0000 (20:26 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Tue, 6 Dec 2022 15:35:53 +0000 (16:35 +0100)
commit754a6ca85c220ea7b1c5413085a1eb8b4dff2c2a
tree5023ef9030f62f7a65e4e03bd17af84f47131f38
parentf531d198822a4bdf631f080a9638096681f6eb9f
drm/gud: Split up gud_flush_work()

In preparation for inlining synchronous flushing split out the part of
gud_flush_work() that can be shared by the sync and async code paths.

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-3-435037990a83@tronnes.org
drivers/gpu/drm/gud/gud_pipe.c