
To transfer a command on the DSI lanes, the following programming needs to happen prior and post a command transfer: - Vote/Unvote for clocks - Enable/Disable command engine - Mask/Unmask overflow and underflow errors. These operations are done from the display context currently. This can lead to issues during an ASYNC command wait, where in we queue the dma_wait_for_done rather than wait in the same display thread. The following change adds new DSI controller API that does the above programming from the controller context. This way, post command transfer operations can only happen once command is successfully transferred and dma_wait_for_done completes. Change-Id: I61db0d8a2656dc6e0e56864dbef01283b813d7c6 Signed-off-by: Satya Rama Aditya Pinapala <psraditya30@codeaurora.org>
31 KiB
31 KiB