Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4a5bd78f authored by Alan Kwong's avatar Alan Kwong
Browse files

drm/msm/sde: validate framebuffer layout during prepare_fb



Current plane driver calculates framebuffer layout during
atomic commit. If framebuffer layout does not match expected
criteria, source pipe configuration will stay in last
configured value. This will cause smmu fault if the last
configured buffer is unmapped on next commit cycle.

Add layout validation to prepare_fb such that if layout
does not match expected criteria, it will abort current
atomic cycle.

Change-Id: I3f290d07f3fc215aac7627de6a9df7b3f7c89953
Signed-off-by: default avatarAlan Kwong <akwong@codeaurora.org>
parent 4416159a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment