No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ritesh Kumar 20c46f6fa6 disp: msm: dsi: remove early return from dma_cmd_wait_for_done
In ASYNC wait mode, next command kickoff can happen before previous
command ISR execution is completed in below sequence:

ASYNC command A -> triggered

dsi_ctrl_isr for command A -> fired and executed
	atomic_set(&dsi_ctrl->dma_irq_trig, 1);

wait_for_done for command A -> returns early as
	dsi_ctrl->dma_irq_trig is 1

ASYNC Command B -> triggered

wait_for_done for command B -> waiting for cmd_dma_done

dsi_ctrl_isr for command A -> executes
	complete_all(&dsi_ctrl->irq_info.cmd_dma_done);

wait_for_done for command B -> returns success incorrectly based on
	complete_all of previous command isr and disable_status_interrupt()
	is not called.

This leads to refcount of dma_done going wrong and dsi_ctrl_isr is not
enabled on suspend resume.

To fix this issue, mark command transfer successful only based on
complete_all(cmd_dma_done). This way disable_status_interrupt() will be
always called either from dsi_ctrl_isr or wait_for_done().

Change-Id: I0379ea7ff82a1e077b95f6996d11d1722de00936
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
2021-11-17 20:58:17 -08:00
config display: msm: qpic: Add QPIC display support base on DRM framework 2021-06-20 22:18:43 -07:00
hdcp
include disp: msm: parse SPMI registers and append to IO lend list 2020-08-17 09:47:28 -07:00
msm disp: msm: dsi: remove early return from dma_cmd_wait_for_done 2021-11-17 20:58:17 -08:00
rotator disp: rotator: remove ubwc format support for rotator 2021-10-29 13:07:51 +05:30
tinydrm disp: msm: qpic: fix kw issues in QPIC display driver 2021-09-13 09:14:57 +08:00
Android.bp display: get unifdef explicitly 2021-04-02 12:26:40 +05:30
display_kernel_headers.py display: get unifdef explicitly 2021-04-02 12:26:40 +05:30
Makefile display: msm: qpic: Add QPIC display support base on DRM framework 2021-06-20 22:18:43 -07:00
NOTICE