Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH 0/3] Subject: [PATCH 0/3] media: qcom: Add Qualcomm JPEG encoder driver
@ 2026-05-15 11:46 Atanas Filipov
  2026-05-15 11:46 ` [PATCH 1/3] media: dt-bindings: qcom: add JPEG encoder binding Atanas Filipov
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Atanas Filipov @ 2026-05-15 11:46 UTC (permalink / raw)
  To: Bryan O'Donoghue, Mauro Carvalho Chehab, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Kapatrala Syed,
	Hariram Purushothaman, Bjorn Andersson, Konrad Dybcio,
	Gjorgji Rosikopulos, afilipov
  Cc: linux-media, linux-arm-msm, devicetree, linux-kernel,
	Atanas Filipov

Add a new Qualcomm JPEG V4L2 mem2mem encoder driver for Qualcomm SoCs.

The driver provides hardware-accelerated JPEG encoding through the V4L2
mem2mem framework.

Currently supported platforms are:
- sc7180
- sm8250
- sm7325
- sc7280
- qcm6490
- sm8550

The driver has been functionally verified only on qcm6490 hardware at
this time. Support for the remaining platforms is based on matching
hardware compatibility and available platform integration data.

Main features:
- V4L2 mem2mem encoder interface
- Hardware JPEG encoding
- DMA-based buffer handling
- Device-tree based platform integration
- Runtime PM support

Testing performed on qcm6490:
- JPEG encoding
- Multiple image resolutions
- Repeated streaming start/stop
- Long-running encode stability tests
- GStreamer pipeline validation

Known limitations:
- Image scaling is currently not supported
- Image width and height must be aligned to 16 pixels
- Other listed platforms are compile-tested only

This series includes:
- DT bindings for Qualcomm JPEG encoder hardware
- core JPEG encoder driver implementation
- V4L2 mem2mem integration
- platform support for supported Qualcomm SoCs
- runtime PM integration

To: Gjorgji Rosikopulos <grosikop@quicinc.com>
To: Kapatrala Syed <akapatra@quicinc.com>
To: Hariram Purushothaman <hariramp@quicinc.com>

Signed-off-by: Atanas Filipov <atanas.filipov@oss.qualcomm.com>
---
Atanas Filipov (3):
      media: dt-bindings: qcom: add JPEG encoder binding
      qcom: media: jpeg: Add Qualcomm JPEG V4L2 encoder
      arm64: qcom: dts: qcm6490: Add JPEG encoder DT properties

 .../bindings/media/qcom,jpeg-encoder.yaml          |  122 ++
 arch/arm64/boot/dts/qcom/kodiak.dtsi               |   52 +
 drivers/media/platform/qcom/Kconfig                |    1 +
 drivers/media/platform/qcom/Makefile               |    1 +
 drivers/media/platform/qcom/jpeg/Kconfig           |   17 +
 drivers/media/platform/qcom/jpeg/Makefile          |    9 +
 drivers/media/platform/qcom/jpeg/qcom_jenc_defs.h  |  253 ++++
 drivers/media/platform/qcom/jpeg/qcom_jenc_dev.c   |  370 +++++
 drivers/media/platform/qcom/jpeg/qcom_jenc_dev.h   |  111 ++
 drivers/media/platform/qcom/jpeg/qcom_jenc_hdr.c   |  388 +++++
 drivers/media/platform/qcom/jpeg/qcom_jenc_hdr.h   |  130 ++
 drivers/media/platform/qcom/jpeg/qcom_jenc_ops.c   | 1522 ++++++++++++++++++++
 drivers/media/platform/qcom/jpeg/qcom_jenc_ops.h   |   49 +
 drivers/media/platform/qcom/jpeg/qcom_jenc_res.c   |  268 ++++
 drivers/media/platform/qcom/jpeg/qcom_jenc_res.h   |   70 +
 drivers/media/platform/qcom/jpeg/qcom_jenc_v4l2.c  | 1082 ++++++++++++++
 drivers/media/platform/qcom/jpeg/qcom_jenc_v4l2.h  |   27 +
 .../platform/qcom/jpeg/qcom_v165_jenc_hw_info.h    |  509 +++++++
 .../platform/qcom/jpeg/qcom_v580_jenc_hw_info.h    |  509 +++++++
 .../platform/qcom/jpeg/qcom_v680_jenc_hw_info.h    |  509 +++++++
 .../platform/qcom/jpeg/qcom_v780_jenc_hw_info.h    |  509 +++++++
 21 files changed, 6508 insertions(+)
---
base-commit: 804a18eddd6d57bd554e0716034c764f48659b0a
change-id: 20260515-qcom-jpeg-v4l2-5014defb5bcf

Best regards,
--  
Atanas Filipov <atanas.filipov@oss.qualcomm.com>


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

end of thread, other threads:[~2026-05-15 16:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-15 11:46 [PATCH 0/3] Subject: [PATCH 0/3] media: qcom: Add Qualcomm JPEG encoder driver Atanas Filipov
2026-05-15 11:46 ` [PATCH 1/3] media: dt-bindings: qcom: add JPEG encoder binding Atanas Filipov
2026-05-15 12:13   ` Dmitry Baryshkov
2026-05-15 12:16   ` Krzysztof Kozlowski
2026-05-15 11:47 ` [PATCH 2/3] qcom: media: jpeg: Add Qualcomm JPEG V4L2 encoder Atanas Filipov
2026-05-15 12:21   ` Krzysztof Kozlowski
     [not found]     ` <SA1PR02MB11289FA5C2A01466B49C62D4BDD042@SA1PR02MB11289.namprd02.prod.outlook.com>
2026-05-15 12:29       ` Krzysztof Kozlowski
2026-05-15 13:28   ` Dmitry Baryshkov
2026-05-15 13:50     ` Nicolas Dufresne
2026-05-15 16:27   ` Bryan O'Donoghue
2026-05-15 11:47 ` [PATCH 3/3] arm64: qcom: dts: qcm6490: Add JPEG encoder DT properties Atanas Filipov
2026-05-15 12:16   ` Dmitry Baryshkov
2026-05-15 12:17   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox