]> git.baikalelectronics.ru Git - kernel.git/commit
drm/kmb: Enable LCD DMA for low TVDDCV
authorEdmund Dea <edmund.j.dea@intel.com>
Tue, 25 Aug 2020 21:51:17 +0000 (14:51 -0700)
committerAnitha Chrisanthus <anitha.chrisanthus@intel.com>
Thu, 29 Jul 2021 18:28:48 +0000 (11:28 -0700)
commit7f8aad448d72e1b7a9f2af2f79e3a3dc75ae8f16
treeb0e1318e48dedc8d0c37ae9c0e3547a04be8c992
parentbc7e8c79e65f93cfa562bfc4536a590debd2b3b2
drm/kmb: Enable LCD DMA for low TVDDCV

There's an undocumented dependency between LCD layer enable bits [2-5]
and the AXI pipelined read enable bit [28] in the LCD_CONTROL register.
The proper order of operation is:

1) Clear AXI pipelined read enable bit
2) Set LCD layers
3) Set AXI pipelined read enable bit

With this update, LCD can start DMA when TVDDCV is reduced down to 700mV.

Fixes: 878625160e64 ("drm/kmb: Add support for KeemBay Display")
Signed-off-by: Edmund Dea <edmund.j.dea@intel.com>
Signed-off-by: Anitha Chrisanthus <anitha.chrisanthus@intel.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210728003126.1425028-1-anitha.chrisanthus@intel.com
drivers/gpu/drm/kmb/kmb_drv.c
drivers/gpu/drm/kmb/kmb_plane.c