summaryrefslogtreecommitdiff
path: root/rust/kernel/iommu/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2026-04-07 11:23:19 +0200
committerHelge Deller <deller@gmx.de>2026-04-07 17:38:07 +0200
commitcfa72955a029cd79433694cac6b5630788609cd4 (patch)
tree92e0af2b946b9f427bbac94a0352d1df4fbddc37 /rust/kernel/iommu/git@git.tavy.me:linux.git
parenta30e9e6b018f40941a626ff77e0bf35c015038fa (diff)
lib/fonts: Implement font rotation
Move the core of fbcon's font-rotation code to the font library as the new helper font_data_rotate(). The code can rotate in steps of 90°. For completeness, it also copies the glyph data for multiples of 360°. Bring back the memset optimization. A memset to 0 again clears the whole glyph output buffer. Then use the internal rotation helpers on the cleared output. Fbcon's original implementation worked like this, but lost it during refactoring. Replace fbcon's font-rotation code with the new implementations. All that's left to do for fbcon is to maintain its internal fbcon state. v2: - fix typos Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'rust/kernel/iommu/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions