]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Exynos: Respect framebuffer pitch for FIMD/Mixer
authorDaniel Stone <daniels@collabora.com>
Tue, 17 Mar 2015 13:24:58 +0000 (13:24 +0000)
committerInki Dae <daeinki@gmail.com>
Thu, 2 Apr 2015 13:37:13 +0000 (22:37 +0900)
commit250591e76a34dfbc9e89e0f5c1411297ebdbda14
tree8c5ff17a25e2ca2880cf1899489a87c797eb43f4
parent09032aaf16a1969b6d0051afca6cdd2056eb4720
drm: Exynos: Respect framebuffer pitch for FIMD/Mixer

When performing a modeset, use the framebuffer pitch value to set FIMD
IMG_SIZE and Mixer SPAN registers. These are both defined as pitch - the
distance between contiguous lines (bytes for FIMD, pixels for mixer).

Fixes display on Snow (1366x768).

Signed-off-by: Daniel Stone <daniels@collabora.com>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimd.c
drivers/gpu/drm/exynos/exynos_mixer.c