diff options
author | 2018-02-02 16:11:23 +0100 | |
---|---|---|
committer | 2018-05-04 09:39:59 +0900 | |
commit | 0ccc1c8f0282e237a0bd6dca7cdac4ed5e318ee7 (patch) | |
tree | 275c1b06f66f3cf92453c70dd25e089689369301 /lib/test_overflow.c | |
parent | drm/exynos/mixer: fix synchronization check in interlaced mode (diff) | |
download | linux-dev-0ccc1c8f0282e237a0bd6dca7cdac4ed5e318ee7.tar.xz linux-dev-0ccc1c8f0282e237a0bd6dca7cdac4ed5e318ee7.zip |
drm/exynos: mixer: avoid Oops in vp_video_buffer()
If an interlaced video mode is selected, a IOMMU pagefault is
triggered by vp_video_buffer().
Fix the most apparent bugs:
- pitch value for chroma plane
- divide by two of height and vpos of source and destination
Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
[ a.hajda: Halved also destination height and vpos, updated commit message ]
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions