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

Skip to content
Commit 134d6ab2 authored by Dhaval Patel's avatar Dhaval Patel Committed by Steve Cohen
Browse files

drm/msm/sde: avoid secure flag clear for multirect pipe



Smart DMA hardware pipe allows secure buffer on rect_0
while non-secure buffer on rect_1 and vice versa. Current
invalid address type programming may clear the buffer type
bits when either rectangle configuration is coming out of
order. For example, rect_0 configures the address type to
secure when it parses buffer configuration. Rect_1 may wipe
out the earlier programming if it is using non-secure buffer.
This patch fixes the address type programming race condition.

Change-Id: Ibf9f2408f55a98339fb977e709dd1ece23cfb784
Signed-off-by: default avatarDhaval Patel <pdhaval@codeaurora.org>
[cohens@codeaurora.org: resolved trivial merge conflict]
Signed-off-by: default avatarSteve Cohen <cohens@codeaurora.org>
parent 9ded59e0
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