diff options
| author | Thomas Zimmermann <[email protected]> | 2023-11-27 14:15:59 +0100 |
|---|---|---|
| committer | Thomas Zimmermann <[email protected]> | 2023-11-29 12:20:49 +0100 |
| commit | 33253d9e01d40542f07aaf718a655893cd2949e5 (patch) | |
| tree | f3f0873961e38878d426484fbaa62325ffe0bb36 /tools/perf/scripts/python/bin | |
| parent | 76f92201b821dd2f442ebe37ec9b52b525855bac (diff) | |
fbdev: Move default fb_mmap code into helper function
Move the default fb_mmap code for I/O address spaces into the helper
function fb_io_mmap(). The helper can either be called via struct
fb_ops.fb_mmap or as the default if no fb_mmap has been set. Also
set the new helper in __FB_DEFAULT_IOMEM_OPS_MMAP.
In the mid-term, fb_io_mmap() is supposed to become optional. Fbdev
drivers will initialize their struct fb_ops.fb_mmap to the helper
and select a corresponding Kconfig token. The helper can then be made
optional at compile time.
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 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions