commit | d72fea538fe6d783c1e63a2fc304019abf4be93a | [log] [tgz] |
---|---|---|
author | Jordan Crouse <jcrouse@codeaurora.org> | Mon May 08 14:34:58 2017 -0600 |
committer | Rob Clark <robdclark@gmail.com> | Sat May 27 13:48:29 2017 -0400 |
tree | 596d2f4822f66c3ae72b3f6922fdc7ffcdc621ab | |
parent | 90dd57de4a043f642179b1323a31ca3ced826611 [diff] |
drm/msm: Fix the check for the command size The overrun check for the size of submitted commands is off by one. It should allow the offset plus the size to be equal to the size of the memory object when the command stream is very tightly constructed. Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Rob Clark <robdclark@gmail.com>