diff options
author | Tobias Jakobi | 2015-08-18 00:51:24 +0200 |
---|---|---|
committer | Inki Dae | 2015-09-02 23:10:28 +0900 |
commit | 179239a7ae805f7695167c62a97eac3efe52d7af (patch) | |
tree | 5228ad4284d25b58c1bd41a75ce41ab46a24570c /CREDITS | |
parent | 879a37d00f1882b1e56a66e626af4194d592d257 (diff) |
drm/exynos: fix size check in g2d_check_buf_desc_is_valid()
The size check was incomplete. It only computed the
size of area of the drawing rectangle and checked if
the size still fit inside the buffer.
The correct check is to compute the position of the
last byte that the G2D engine is going to access and
then check if that position is still contained in the
buffer. In particular we need the stride information
to determine this.
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions