Skip to content
Commit 095c7135 authored by Alan Kwong's avatar Alan Kwong Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm/sde: add out of bound check for vsync select



In vsync select, the number of pingpongs is not checked
against number of encoders, which may cause an out of
bound access if an invalid of number of physical encoders
is given. Add a check to validate the number of physical
encoders and pingpongs before configuring vsync select.

Change-Id: Ic84bedfc3e69980126ca60f9dd31b6440dc055ab
Signed-off-by: default avatarAlan Kwong <akwong@codeaurora.org>
parent 4d9a308b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment