aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2022-11-03 16:14:38 +0100
committerThomas Zimmermann <[email protected]>2022-11-05 17:05:54 +0100
commitf231af498c29f3acbd4436f67a8c7de8a428fb0f (patch)
treeedb27954aa4bf4888d2e99d6aa4ba5c922cafdc9 /scripts/generate_rust_analyzer.py
parentafb0ff78c13c5193be046b912bf6cbae85cdb7c7 (diff)
drm/fb-helper: Disconnect damage worker from update logic
The fbdev helpers implement a damage worker that forwards fbdev updates to the DRM driver. The worker's update logic depends on the generic fbdev emulation. Separate the two via function pointer. The generic fbdev emulation sets struct drm_fb_helper_funcs.fb_dirty, a new callback that hides the update logic from the damage worker. It's not possible to use the generic logic with other fbdev emulation, because it contains additional code for the shadow buffering that the generic emulation employs. DRM drivers with internal fbdev emulation can set fb_dirty to their own implementation if they require damage handling; although no such drivers currently exist. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions