From: Dikshita Agarwal <quic_dikshita@quicinc.com>
To: Stefan Schmidt <stefan.schmidt@linaro.org>
Cc: "Vikash Garodia" <quic_vgarodia@quicinc.com>,
"Abhinav Kumar" <quic_abhinavk@quicinc.com>,
"Mauro Carvalho Chehab" <mchehab@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Philipp Zabel" <p.zabel@pengutronix.de>,
"Hans Verkuil" <hverkuil@xs4all.nl>,
"Sebastian Fricke" <sebastian.fricke@collabora.com>,
"Bryan O'Donoghue" <bryan.odonoghue@linaro.org>,
"Dmitry Baryshkov" <dmitry.baryshkov@linaro.org>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Nicolas Dufresne" <nicolas@ndufresne.ca>,
"Uwe Kleine-König" <u.kleine-koenig@baylibre.com>,
"Jianhua Lu" <lujianhua000@gmail.com>,
linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v8 27/28] media: iris: enable video driver probe of SM8250 SoC
Date: Wed, 11 Dec 2024 11:54:09 +0530 [thread overview]
Message-ID: <b4f35301-6361-9e07-73dc-023e87c80857@quicinc.com> (raw)
In-Reply-To: <CAEvtbuuO5Ga+wW9rstX_e_RGnm5jSNSHmyy3w3M9FTopNhKttQ@mail.gmail.com>
On 12/10/2024 9:53 PM, Stefan Schmidt wrote:
> hello Dikshita,
>
> On Tue, 10 Dec 2024 at 12:08, Dikshita Agarwal
> <quic_dikshita@quicinc.com> wrote:
>>
>> Initialize the platform data and enable video driver probe of SM8250
>> SoC. Add a kernel param to select between venus and iris drivers for
>> platforms supported by both drivers, for ex: SM8250.
>>
>> Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
>
> [...]
>
>> --- a/drivers/media/platform/qcom/iris/iris_ctrls.c
>> +++ b/drivers/media/platform/qcom/iris/iris_ctrls.c
>> @@ -17,6 +17,8 @@ static inline bool iris_valid_cap_id(enum platform_inst_fw_cap_type cap_id)
>> static enum platform_inst_fw_cap_type iris_get_cap_id(u32 id)
>> {
>> switch (id) {
>> + case V4L2_CID_MPEG_VIDEO_DECODER_MPEG4_DEBLOCK_FILTER:
>> + return DEBLOCK;
>> case V4L2_CID_MPEG_VIDEO_H264_PROFILE:
>> return PROFILE;
>> case V4L2_CID_MPEG_VIDEO_H264_LEVEL:
>> @@ -32,6 +34,8 @@ static u32 iris_get_v4l2_id(enum platform_inst_fw_cap_type cap_id)
>> return 0;
>>
>> switch (cap_id) {
>> + case DEBLOCK:
>> + return V4L2_CID_MPEG_VIDEO_DECODER_MPEG4_DEBLOCK_FILTER;
>> case PROFILE:
>
> The handling for DEBLOCK does not seem to be part of the SM8250
> enablement. Or did I miss something?
> It seems they should be part of a different patch that makes use of
> the DEBLOCK cap.
>
this cap is part of platform caps of SM8250 and the value(set by
client/default) of this will set to firmware as part of start streaming
through set APIs.
{
+ .cap_id = DEBLOCK,
+ .min = 0,
+ .max = 1,
+ .step_or_mask = 1,
+ .value = 0,
+ .hfi_id = HFI_PROPERTY_CONFIG_VDEC_POST_LOOP_DEBLOCKER,
+ .set = iris_set_u32,
+ },
Thanks,
Dikshita
> regards
> Stefan Schmidt
next prev parent reply other threads:[~2024-12-11 6:24 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-10 11:05 [PATCH v8 00/28] Qualcomm iris video decoder driver Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 01/28] dt-bindings: media: Add video support for QCOM SM8550 SoC Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 02/28] media: iris: add platform driver for iris video device Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 03/28] media: iris: implement iris v4l2 file ops Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 04/28] media: iris: introduce iris core state management with shared queues Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 05/28] media: iris: implement video firmware load/unload Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 06/28] media: iris: implement boot sequence of the firmware Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 07/28] media: iris: introduce host firmware interface with necessary hooks Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 08/28] media: iris: implement power management Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 09/28] media: iris: implement reqbuf ioctl with vb2_queue_setup Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 10/28] media: iris: implement s_fmt, g_fmt and try_fmt ioctls Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 11/28] media: iris: implement g_selection ioctl Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 12/28] media: iris: implement enum_fmt and enum_framesizes ioctls Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 13/28] media: iris: implement subscribe_event and unsubscribe_event ioctls Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 14/28] media: iris: implement iris v4l2_ctrl_ops Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 15/28] media: iris: implement query_cap ioctl Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 16/28] media: iris: implement vb2 streaming ops Dikshita Agarwal
2024-12-10 12:50 ` Stefan Schmidt
2024-12-11 9:34 ` Dikshita Agarwal
2024-12-11 12:21 ` Stefan Schmidt
2024-12-10 11:05 ` [PATCH v8 17/28] media: iris: implement set properties to firmware during streamon Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 18/28] media: iris: subscribe parameters and properties to firmware for hfi_gen2 Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 19/28] media: iris: allocate, initialize and queue internal buffers Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 20/28] media: iris: implement vb2 ops for buf_queue and firmware response Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 21/28] media: iris: add support for dynamic resolution change Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 22/28] media: iris: handle streamoff/on from client in " Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 23/28] media: iris: add support for drain sequence Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 24/28] media: iris: add check whether the video session is supported or not Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 25/28] media: iris: implement power scaling for vpu2 and vpu3 Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 26/28] media: iris: add check to allow sub states transitions Dikshita Agarwal
2024-12-10 11:05 ` [PATCH v8 27/28] media: iris: enable video driver probe of SM8250 SoC Dikshita Agarwal
2024-12-10 16:23 ` Stefan Schmidt
2024-12-11 6:24 ` Dikshita Agarwal [this message]
2024-12-11 8:47 ` Dmitry Baryshkov
2024-12-11 9:07 ` Dikshita Agarwal
2024-12-11 10:00 ` Dmitry Baryshkov
2024-12-10 11:05 ` [PATCH v8 28/28] media: MAINTAINERS: add Qualcomm iris video accelerator driver Dikshita Agarwal
2024-12-10 16:50 ` [PATCH v8 00/28] Qualcomm iris video decoder driver Stefan Schmidt
2024-12-10 20:36 ` Stefan Schmidt
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=b4f35301-6361-9e07-73dc-023e87c80857@quicinc.com \
--to=quic_dikshita@quicinc.com \
--cc=bryan.odonoghue@linaro.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=hverkuil@xs4all.nl \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=lujianhua000@gmail.com \
--cc=mchehab@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=nicolas@ndufresne.ca \
--cc=p.zabel@pengutronix.de \
--cc=quic_abhinavk@quicinc.com \
--cc=quic_vgarodia@quicinc.com \
--cc=robh@kernel.org \
--cc=sebastian.fricke@collabora.com \
--cc=stefan.schmidt@linaro.org \
--cc=u.kleine-koenig@baylibre.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®