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

Skip to content
Commit 9b65e87c authored by Ujwal Patel's avatar Ujwal Patel Committed by Jayant Shekhar
Browse files

msm: mdss: fix boot-up issues with splash thread enabled



Starting with commit f01f7cd13954e86172a5745f5838487b0d2400e5 (delay
iommu mapping of buffers until commit), if continuous splash and splash
thread both are enabled, iommu attach is skipped if handoff is pending.
But if iommu is not attached then iova is treated as physical address and
MDP hw fetches memory from incorrect buffer resulting in corruption on
screen. Fix this by attaching iommu based on its ref count and not by
handoff pending flag. Also if splash thread is disabled then do not allow
iommu attach if it is an empty commit.

Change-Id: I363b87256c8faa6a2ab51e25f3487bc04f91d0dc
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>
Signed-off-by: default avatarJayant Shekhar <jshekhar@codeaurora.org>
parent 67462a2a
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