OSDN Git Service

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)
commit66367461e573321f0fbb0be0391165b5a54d5fe4
treee0a5ac7bd84f8bd9ba02b7fd2e0ef0e2032db0e3
parent049d34e94f9aa2c3ed22a7bad75dd188ec7dacb9
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