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

Commit ae789b7a authored by Ashish Garg's avatar Ashish Garg
Browse files

msm: mdss: validate page id before reading from edid buffer



Provide complete resolution details in a sysfs node "res_info"
limited to PAGE_SIZE. Different modules can query for multiple
resolution details based on the resolution ids received from
EDID of the TV. In case resolution details exceed PAGE_SIZE,
reuse res_info to get remaining timing details by provide page
details. Check page id is within the max supported resolution
ids to avoid reading extra memory than required.

Change-Id: I7cdd071ba462080fe5bb302d0da824ed95b50f15
Signed-off-by: default avatarAshish Garg <ashigarg@codeaurora.org>
parent 43cc5f8b
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