]> 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)
commit45ae9b65168816ca735921f16eef975c070ec1c2
tree7e19fda5f1a9830b3ce48117a3793832fd2565f8
parent99f5c0a7bc99fd61d2c9481c4179d697b3896e2b
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