mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
To: Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
	Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>,
	Loic Poulain <loic.poulain@oss.qualcomm.com>,
	Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
Subject: [PATCH RFC 0/3] media: qcom: camss: vfe: Share the gen3 code with VFE 680 and 1080
Date: Thu, 03 Dec 2026 18:34:33 +0800	[thread overview]
Message-ID: <20261203-camss-vfe-v1-0-d306e66476d4@oss.qualcomm.com> (raw)

The gen3 (690 and 780), 680 and 1080 VFE drivers program the RDI write
masters in the same way and mostly differ in their register layout. The
same applies to VFE 970 and 980 from the SM8750 and Eliza series [1].

This series describes the layout with a struct vfe_gen3_cfg referenced
from the VFE resources, and moves VFE 680 and 1080 to the gen3 code,
dropping camss-vfe-680.c and camss-vfe-1080.c. VFE 970 and 980 can then
be added as gen3 layouts as well.

VFE 1080 keeps its split address and register update through
vfe_ops_split_aup. VFE 680 switches from line based to frame based write
masters, like the other gen3 VFEs.

[1] https://lore.kernel.org/all/20261202-add-support-for-camss-on-sm8750-v8-0-a07210023c55@oss.qualcomm.com/

---
Wenmeng Liu (3):
      media: qcom: camss: vfe: gen3: Describe the register layout with a struct
      media: qcom: camss: vfe: Move VFE 680 to the gen3 code
      media: qcom: camss: vfe: Move VFE 1080 to the gen3 code

 drivers/media/platform/qcom/camss/Makefile         |   2 -
 drivers/media/platform/qcom/camss/camss-vfe-1080.c | 213 ------------------
 drivers/media/platform/qcom/camss/camss-vfe-680.c  | 244 ---------------------
 drivers/media/platform/qcom/camss/camss-vfe-gen3.c | 170 ++++++++++----
 drivers/media/platform/qcom/camss/camss-vfe.h      |  11 +-
 drivers/media/platform/qcom/camss/camss.c          |  53 ++++-
 6 files changed, 178 insertions(+), 515 deletions(-)
---
base-commit: 799dd936553182df5770dde7f38d94c8337df75a
change-id: 20261203-camss-vfe-a4ef8483c117

Best regards,
-- 
Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>


             reply	other threads:[~2026-12-03 10:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 10:34 Wenmeng Liu [this message]
2026-12-03 10:34 ` [PATCH RFC 1/3] media: qcom: camss: vfe: gen3: Describe the register layout with a struct Wenmeng Liu
2026-12-03 10:34 ` [PATCH RFC 2/3] media: qcom: camss: vfe: Move VFE 680 to the gen3 code Wenmeng Liu
2026-12-03 10:34 ` [PATCH RFC 3/3] media: qcom: camss: vfe: Move VFE 1080 " Wenmeng Liu

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=20261203-camss-vfe-v1-0-d306e66476d4@oss.qualcomm.com \
    --to=wenmeng.liu@oss.qualcomm.com \
    --cc=bryan.odonoghue@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=loic.poulain@oss.qualcomm.com \
    --cc=mchehab@kernel.org \
    --cc=vladimir.zapolskiy@linaro.org \
    /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®