mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH RFC 0/3] media: qcom: camss: vfe: Share the gen3 code with VFE 680 and 1080
@ 2026-12-03 10:34 Wenmeng Liu
  2026-12-03 10:34 ` [PATCH RFC 1/3] media: qcom: camss: vfe: gen3: Describe the register layout with a struct Wenmeng Liu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Wenmeng Liu @ 2026-12-03 10:34 UTC (permalink / raw)
  To: Bryan O'Donoghue, Vladimir Zapolskiy, Loic Poulain,
	Mauro Carvalho Chehab
  Cc: linux-media, linux-arm-msm, linux-kernel, Wenmeng Liu

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>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-03 10:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-03 10:34 [PATCH RFC 0/3] media: qcom: camss: vfe: Share the gen3 code with VFE 680 and 1080 Wenmeng Liu
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

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®