]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: use 4WORD dma burst length for small fbs
authorRahul Sharma <Rahul.Sharma@samsung.com>
Wed, 7 May 2014 11:25:22 +0000 (16:55 +0530)
committerInki Dae <daeinki@gmail.com>
Sun, 1 Jun 2014 17:07:09 +0000 (02:07 +0900)
commitd9828e1735e6e58cb4d644d2cdfdb5274c7fea19
treee0a5ac7bd84f8bd9ba02b7fd2e0ef0e2032db0e3
parent3ea97ad9735269f590fb89f14579a841c038be7f
drm/exynos: use 4WORD dma burst length for small fbs

In case of exynos, setting dma-burst to 16Word causes permanent
tearing for very small buffers, e.g. cursor buffer. Burst Mode
switching, which is based on overlay size is not recommended as
overlay size varies a lot towards the end of the screen. This
causes unstable DMA which results into tearing again.

Rendering small buffers with lower burst size doesn't
cause any noticable performance overhead. 128 pixel width is
selected based on mulitple experiments with exynos5 SoCs.

Signed-off-by: Rahul Sharma <Rahul.Sharma@samsung.com>
Signed-off-by: Prathyush K <prathyush.k@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimd.c