drm/gud: Enable synchronous flushing by default
authorNoralf Trønnes <noralf@tronnes.org>
Wed, 30 Nov 2022 19:26:54 +0000 (20:26 +0100)
committerNoralf Trønnes <noralf@tronnes.org>
Tue, 6 Dec 2022 15:38:45 +0000 (16:38 +0100)
commit5ad8e63ebba3d5a0730b43180b200e41eeb9409c
tree999ccfa5e5f4c4e48b2470f14c76d43a7ee38abe
parentc17d048609bf09d4fc78b02964e42eafb66a337e
drm/gud: Enable synchronous flushing by default

gud has a module parameter that controls whether framebuffer flushing
happens synchronously during the commit or asynchronously in a worker.

GNOME before version 3.38 handled all displays in the same rendering loop.
This lead to gud slowing down the refresh rate for a faster monitor. This
has now been fixed so lets change the default.

The plan is to remove async flushing in the future. The code is now
structured in a way that makes it easy to do this.

Link: https://blogs.gnome.org/shell-dev/2020/07/02/splitting-up-the-frame-clock/
Suggested-by: Thomas Zimmermann <tzimmermann@suse.de>
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-6-435037990a83@tronnes.org
drivers/gpu/drm/gud/gud_pipe.c