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

Commit ab0594ff authored by Ujwal Patel's avatar Ujwal Patel
Browse files

msm: mdss: fix processed overlay number mapping



When source split is enabled, overlay list is sorted and then processed
but user-space is not aware of this sorting and assumes that driver
processes overlays in the original order. So when there is an error
during prepare ioctl, processed_overlay return value is used by
user-space to find out which overlay had an error. But user-space uses
this process_overlay in the original list order while driver operates on
sorted list. This requires mapping of bad overlay from sorted list to
original list. Simplify and correct this mapping implementation.

Change-Id: If78f65812b989deed9f423a0c8630effc905d111
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>
parent 18f228f0
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