mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jai Luthra <j-luthra@ti.com>
To: Maxime Ripard <mripard@kernel.org>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	Jack Zhu <jack.zhu@starfivetech.com>,
	Hans Verkuil <hverkuil-cisco@xs4all.nl>,
	Vaishnav Achath <vaishnav.a@ti.com>,
	Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Cc: <linux-media@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	"Julien Massot" <julien.massot@collabora.com>,
	Changhuang Liang <Changhuang.liang@starfivetech.com>,
	Jai Luthra <j-luthra@ti.com>, "Pratyush Yadav" <p.yadav@ti.com>
Subject: [PATCH 0/2] media: ti,cadence: Fixes for CSI2RX
Date: Fri, 23 Feb 2024 13:53:00 +0530	[thread overview]
Message-ID: <20240223-csi_fixes-v1-0-c7eda7a4a852@ti.com> (raw)

This series fixes two bugs:
1. When Cadence CSI2RX is used with an external DPHY controller, fix the
   programming sequence to configure the DPHY controller before starting
   streaming on the source
2. Fix a possible race condition in TI CSI2RX Shim driver when
   restarting DMA after stalling due to lack of buffers

These fixes were originally posted in the multi-stream RFC series [1],
but as these are unrelated and urgent, posting them separately now so
they can get picked independently.

Test logs with SK-AM62A + OV5640 https://0x0.st/H5pN.txt

[1]: https://lore.kernel.org/all/20240222-multistream-v1-0-1837ed916eeb@ti.com/

Signed-off-by: Jai Luthra <j-luthra@ti.com>
---
Jai Luthra (1):
      media: ti: j721e-csi2rx: Fix races while restarting DMA

Pratyush Yadav (1):
      media: cadence: csi2rx: configure DPHY before starting source stream

 drivers/media/platform/cadence/cdns-csi2rx.c       | 26 ++++++++++++----------
 .../media/platform/ti/j721e-csi2rx/j721e-csi2rx.c  |  5 ++---
 2 files changed, 16 insertions(+), 15 deletions(-)
---
base-commit: 33e1d31873f87d119e5120b88cd350efa68ef276
change-id: 20240223-csi_fixes-71ddf5181df8

Best regards,
-- 
Jai Luthra <j-luthra@ti.com>


             reply	other threads:[~2024-02-23  8:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-23  8:23 Jai Luthra [this message]
2024-02-23  8:23 ` [PATCH 1/2] media: cadence: csi2rx: configure DPHY before starting source stream Jai Luthra
2024-02-23  8:23 ` [PATCH 2/2] media: ti: j721e-csi2rx: Fix races while restarting DMA Jai Luthra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240223-csi_fixes-v1-0-c7eda7a4a852@ti.com \
    --to=j-luthra@ti.com \
    --cc=Changhuang.liang@starfivetech.com \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=jack.zhu@starfivetech.com \
    --cc=julien.massot@collabora.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=mripard@kernel.org \
    --cc=p.yadav@ti.com \
    --cc=sakari.ailus@linux.intel.com \
    --cc=tomi.valkeinen@ideasonboard.com \
    --cc=vaishnav.a@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®