]> git.baikalelectronics.ru Git - kernel.git/commit
drm/gud: Add async_flush module parameter
authorNoralf Trønnes <noralf@tronnes.org>
Sat, 3 Jul 2021 14:13:21 +0000 (16:13 +0200)
committerNoralf Trønnes <noralf@tronnes.org>
Thu, 8 Jul 2021 12:34:28 +0000 (14:34 +0200)
commit44cb3a700e2a246c02ba405c8e3ee77ed587b1ea
tree1e20ddd7dc8ae2d7d3cf0c2d0e061b3a217cf9b8
parentf9e75bc42a4378aeedff144f51508049290b8e11
drm/gud: Add async_flush module parameter

Provide a way for userspace to choose synchronous flushing/pageflips.
This helps save CPU and power.

It is also useful for test scripts since userspace can know when a flush
has happended and wait before doing the next visual test.

Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Peter Stuge <peter@stuge.se>
Link: https://patchwork.freedesktop.org/patch/msgid/20210703141321.35494-2-noralf@tronnes.org
drivers/gpu/drm/gud/gud_pipe.c