aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2023-07-06 17:08:49 +0200
committerThomas Zimmermann <[email protected]>2023-07-08 21:03:19 +0200
commit692411e5e146c8d273f3e001080763f16f3550d5 (patch)
tree2de557cb1f6f150f336e445dae410387f59ddff9 /scripts/generate_rust_analyzer.py
parentf32c224008bae063f7896cb1a2a4fffda9157098 (diff)
fbdev/metronomefb: Generate deferred I/O ops
Use the existing generator macros to create deferred-I/O helpers for metronomefb and set them in the fb_ops structure. Functions for damage handling on memory ranges and areas are provided by the driver. Metronomefb's implementation of fb_write writes to system memory, so the generated code can use the respective helper internally. This also fixes a long-standing bug where fb_write returned an errno code instead of the number of written bytes. See the commit message of commit 921b7383f348 ("fbdev: Return number of bytes read or written") for more details. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Sam Ravnborg <[email protected]> Acked-by: Helge Deller <[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