]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tilcdc: Write DMA base and ceiling address with single instruction
authorJyri Sarha <jsarha@ti.com>
Fri, 26 Aug 2016 12:10:14 +0000 (15:10 +0300)
committerJyri Sarha <jsarha@ti.com>
Thu, 1 Sep 2016 19:31:59 +0000 (22:31 +0300)
commit2e91897455e0f20a829e679a37acb5574c1f8dfe
tree7e19fda5f1a9830b3ce48117a3793832fd2565f8
parent98fe02763febafd8ee635c275b562e0100d3cf68
drm/tilcdc: Write DMA base and ceiling address with single instruction

Write DMA base and ceiling address with a single instruction, if
available. This should make it more unlikely that LCDC would fetch the
DMA addresses in the middle of an update. Having bad combination of
addresses in dma base and ceiling (e.g base > ceiling) can cause
unpredictaple behavior in LCDC.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c
drivers/gpu/drm/tilcdc/tilcdc_regs.h