diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2026-04-07 11:23:20 +0200 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-04-07 17:38:07 +0200 |
| commit | 6903bd692057f1daee5a4860f13fe97a9906489a (patch) | |
| tree | 3272a75b227935138cf5c343bb2c43f8e56144f3 /rust/kernel/iommu/git@git.tavy.me:linux.git | |
| parent | cfa72955a029cd79433694cac6b5630788609cd4 (diff) | |
fbcon: Fill cursor mask in helper function
Fbcon creates a cursor shape on the fly from the user-configured
settings. The logic to create a glyph with the cursor's bitmap mask
is duplicated in four places. In the cases that involve console
rotation, the implementation further rotates the cursor glyph for
displaying.
Consolidate all cursor-mask creation in a single helper. Update the
callers accordingly. For console rotation, use the glyph helpers to
rotate the created cursor glyph to the correct orientation.
v2:
- fix sparse truncated-bits warning
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
