diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2025-08-29 11:13:45 +0200 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-09-16 12:42:52 +0200 |
| commit | d8c4bddcd8bcb41885d3db2ba18c840c411564c2 (patch) | |
| tree | be7af2a6180cfd46364e10a932f871307943ee48 /tools/perf/scripts/python | |
| parent | cf207ea2c39d2809eb6e579279178dfdc89fa906 (diff) | |
drm/fb-helper: Synchronize dirty worker with vblank
Before updating the display from the console's shadow buffer, the dirty
worker now waits for a vblank. This allows several screen updates to pile
up and acts as a rate limiter. If a DRM master is present, it could
interfere with the vblank. Don't wait in this case.
v4:
* share code with WAITFORVSYNC ioctl (Emil)
* use lock guard
v3:
* add back helper->lock
* acquire DRM master status while waiting for vblank
v2:
* don't hold helper->lock while waiting for vblank
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://lore.kernel.org/r/20250829091447.46719-1-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
