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

Commit e90d1e54 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Fix an overrun while constructing the GPMU load command



The calculation for the size of the buffer to contain the load
commands for the GPMU firmware was off - the size was calculated
using the type4 max size (128) but that includes the opcode, so
it really should have been the payload size (127).

Change-Id: Ic0dedbad1920c94c72ee38bfcd62ce0ac60efeb2
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 53d2912c
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