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

Commit 67b6be52 authored by Gopikrishnaiah Anandan's avatar Gopikrishnaiah Anandan Committed by Ping Li
Browse files

msm: mdss: Fix pipe number calculation for IGC



MDP hardware supports inverse gamma correction(IGC) on the source pipes.
Driver will program the LUT(Look up table) on the source pipe and
enable the IGC. Register exposes a bit mask which is equal to number of
pipes for which IGC LUT table needs to updated.
Source pipe enum values are not contiguous in nature which was resulting
in incorrect programming of IGC module.
This change fixes the issue by assigning bit mask position instead of
relying on the source pipe enum values.

Change-Id: I219cc484edd42fdd563dcb7535ceacb11e9e2d38
Signed-off-by: default avatarPing Li <pingli@codeaurora.org>
parent de724756
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