Skip to content

L4 display drivers do not check width alignement #106558

@VynDragon

Description

@VynDragon

Describe the bug

When a write is sent to a L4 display (SSD1322, SSD1327, SSD1363, etc), only the x coordinate is checked for alignement, not the width of the buffer.

This causes the driver to accept a write it will not correctly reproduce and results in confusing behavior when CONFIG_LV_Z_AREA_X_ALIGNMENT_WIDTH is not set properly.

Generalized issue but the check code was copy-pasted a lot by authors (me usually)

Regression

  • This is a regression.

Steps to reproduce

No response

Relevant log output

Impact

Annoyance – Minor irritation; no significant impact on usability or functionality.

Environment

No response

Additional Context

#106476 (comment)

Metadata

Metadata

Assignees

Labels

area: DisplaybugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions