Skip to content

[Backport v4.4-branch] drivers: display: co5300: Fix address alignment issue#107652

Open
github-actions[bot] wants to merge 1 commit intov4.4-branchfrom
backport-105901-to-v4.4-branch
Open

[Backport v4.4-branch] drivers: display: co5300: Fix address alignment issue#107652
github-actions[bot] wants to merge 1 commit intov4.4-branchfrom
backport-105901-to-v4.4-branch

Conversation

@github-actions
Copy link
Copy Markdown

@github-actions github-actions Bot commented Apr 21, 2026

Backport 4626c0e from #105901.

Original PR description:


The CO5300 display controller of zc143ac72mipi shield requires the start coordinate and the size(width/height) of the updated area to be even for each frame update. Also the DCNano DBI controller on MIMXRT700 EVK which performs the frame update requires the frame buffer address to be 64-byte aligned. So the CO5300 driver maintains an internal buffer, for each write, the update area are copied to the internal buffer first, then the descriptor shall be adjusted to the even value AND make sure the the address of the actual updated area are aligned properly.

Fixes #104000

Improve the coordinate and address alignment logic in the CO5300
display driver. The driver now properly aligns the framebuffer
address according to the addr_align property from device tree,
in addition to ensuring coordinates are even values.

Signed-off-by: Kate Wang <yumeng.wang@nxp.com>
(cherry picked from commit 4626c0e)
@github-actions github-actions Bot added the Backport Backport PR and backport failure issues label Apr 21, 2026
@github-project-automation github-project-automation Bot moved this to To do in Backports Apr 21, 2026
@MaureenHelm MaureenHelm added this to the v4.4.1 milestone Apr 21, 2026
@github-project-automation github-project-automation Bot moved this from To do to Done in Backports Apr 22, 2026
@MaureenHelm MaureenHelm reopened this Apr 22, 2026
@github-project-automation github-project-automation Bot moved this from Done to Needs more info in Backports Apr 22, 2026
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Display Backport Backport PR and backport failure issues

Projects

Status: Needs more info

Development

Successfully merging this pull request may close these issues.

4 participants