From: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
To: Vikash Garodia <vikash.garodia@oss.qualcomm.com>,
Dikshita Agarwal <dikshita.agarwal@oss.qualcomm.com>,
Abhinav Kumar <abhinav.kumar@linux.dev>,
Bryan O'Donoghue <bod@kernel.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Cc: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org,
Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Subject: [PATCH v5 0/6] media: iris: port support for Qualcomm SC7280
Date: Mon, 27 Oct 2025 14:26:58 +0200 [thread overview]
Message-ID: <20251027-iris-sc7280-v5-0-5eeab5670e4b@oss.qualcomm.com> (raw)
Port Support for the Qualcomm SC7280 aka QCM6490 aka QCS6490 platform
from the existing venus driver to the newer Iris driver. The firmware on
this platform uses the older, gen1 HFI, which puts it close to SM8250
from both the hardware and interface point of view.
Test results:
$ ./fluster.py r -d GStreamer-H.264-V4L2-Gst1.0 -ts JVT-AVC_V1
...
Ran 76/135 tests successfully in 16.903 secs
$ ./fluster.py r -d GStreamer-H.265-V4L2-Gst1.0 -ts JCT-VC-HEVC_V1 -j 1
Only WPP_E_ericsson_MAIN_2 succeeds, this needs to be investigated
later. For other tests I'm getting:
qcom-iris aa00000.video-codec: session error for command: db800000, event id:1009, session id:4bd48000
After removing several test vectors and running single-threaded:
$ ./fluster.py r -d GStreamer-VP9-V4L2-Gst1.0 -ts VP9-TEST-VECTORS -j 1
Ran 217/292 tests successfully in 136.210 secs
Disabled tests:
"name": "vp90-2-18-resize.ivf",
"name": "vp90-2-21-resize_inter_1920x1080_5_1-2.webm",
"name": "vp90-2-21-resize_inter_1920x1080_5_3-4.webm",
"name": "vp90-2-21-resize_inter_1920x1080_7_1-2.webm",
"name": "vp90-2-21-resize_inter_1920x1080_7_3-4.webm",
"name": "vp90-2-21-resize_inter_320x180_5_1-2.webm",
"name": "vp90-2-21-resize_inter_320x180_5_3-4.webm",
"name": "vp90-2-21-resize_inter_320x180_7_1-2.webm",
"name": "vp90-2-21-resize_inter_320x180_7_3-4.webm",
"name": "vp90-2-21-resize_inter_640x360_5_1-2.webm",
"name": "vp90-2-21-resize_inter_640x360_5_3-4.webm",
"name": "vp90-2-21-resize_inter_640x360_7_1-2.webm",
"name": "vp90-2-21-resize_inter_640x360_7_3-4.webm",
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
Changes in v5:
- Fix typo in the commit message (Dikshita)
- Dropped .min field for PIPE capability (Dikshita)
- Corrected max_core_mbps for SC7280 (Dikshita)
- Link to v4: https://lore.kernel.org/r/20251019-iris-sc7280-v4-0-ee6dcee6e741@oss.qualcomm.com
Changes in v4:
- Dropped the inst_fw_caps rework, it will be sent later after rework.
- Dropped .min value for PIPE capability, set it in the same code path
(Vikash)
- Adjusted clock index names, clock names and num_vpp_pipes for SC7280
(Dikshita)
- Squashed the SC7280-specific codepaths into the iris_vpu2_ops
(Konrad)
- Dropped the register moving patch, it is now unused.
- Link to v3: https://lore.kernel.org/r/20251013-iris-sc7280-v3-0-f3bceb77a250@oss.qualcomm.com
Changes in v3:
- Included the header file for the SC7280 platform (LKP)
- Link to v2: https://lore.kernel.org/r/20251012-iris-sc7280-v2-0-d53a1a4056c3@oss.qualcomm.com
Changes in v2:
- Expanded commit messages to explain some of the changes (Konrad).
- Moved platform_inst_cap_qcs8300 back to the header (Dikshita) and
added guarding ifdefs to the haders.
- Merged SC7280-specific ops into the common implementations (Konrad).
- Split SC7280-specific config bits to a separate header (following the
Gen2 split).
- Link to v1: https://lore.kernel.org/r/20251008-iris-sc7280-v1-0-def050ba5e1f@oss.qualcomm.com
---
Dmitry Baryshkov (6):
media: iris: turn platform caps into constants
media: iris: turn platform data into constants
media: iris: stop encoding PIPE value into fw_caps
media: iris: remove duplication between generic gen2 data and qcs8300
media: iris: rename sm8250 platform file to gen1
media: iris: enable support for SC7280 platform
drivers/media/platform/qcom/iris/Makefile | 2 +-
drivers/media/platform/qcom/iris/iris_ctrls.c | 18 +-
.../platform/qcom/iris/iris_platform_common.h | 18 +-
...iris_platform_sm8250.c => iris_platform_gen1.c} | 63 ++-
.../media/platform/qcom/iris/iris_platform_gen2.c | 25 +-
.../platform/qcom/iris/iris_platform_qcs8300.h | 534 +--------------------
.../platform/qcom/iris/iris_platform_sc7280.h | 27 ++
drivers/media/platform/qcom/iris/iris_probe.c | 4 +
drivers/media/platform/qcom/iris/iris_resources.c | 2 +-
drivers/media/platform/qcom/iris/iris_vpu2.c | 6 +
drivers/media/platform/qcom/iris/iris_vpu_common.c | 34 +-
11 files changed, 161 insertions(+), 572 deletions(-)
---
base-commit: fe45352cd106ae41b5ad3f0066c2e54dbb2dfd70
change-id: 20251006-iris-sc7280-fdb797f238d8
Best regards,
--
With best wishes
Dmitry
next reply other threads:[~2025-10-27 12:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-27 12:26 Dmitry Baryshkov [this message]
2025-10-27 12:26 ` [PATCH v5 1/6] media: iris: turn platform caps into constants Dmitry Baryshkov
2025-10-27 12:27 ` [PATCH v5 2/6] media: iris: turn platform data " Dmitry Baryshkov
2025-10-27 12:27 ` [PATCH v5 3/6] media: iris: stop encoding PIPE value into fw_caps Dmitry Baryshkov
2025-10-28 5:01 ` Dikshita Agarwal
2025-10-28 10:27 ` Vikash Garodia
2025-10-27 12:27 ` [PATCH v5 4/6] media: iris: remove duplication between generic gen2 data and qcs8300 Dmitry Baryshkov
2025-10-27 12:27 ` [PATCH v5 5/6] media: iris: rename sm8250 platform file to gen1 Dmitry Baryshkov
2025-10-27 12:27 ` [PATCH v5 6/6] media: iris: enable support for SC7280 platform Dmitry Baryshkov
2025-10-28 5:24 ` Dikshita Agarwal
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=20251027-iris-sc7280-v5-0-5eeab5670e4b@oss.qualcomm.com \
--to=dmitry.baryshkov@oss.qualcomm.com \
--cc=abhinav.kumar@linux.dev \
--cc=bod@kernel.org \
--cc=bryan.odonoghue@linaro.org \
--cc=dikshita.agarwal@oss.qualcomm.com \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=vikash.garodia@oss.qualcomm.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®