All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiaqi Shi <shijiaqi_develop@163.com>
To: Frank Li <Frank.li@oss.nxp.com>, sashiko-reviews@lists.linux.dev
Cc: Jiaqi Shi <shijiaqi_develop@163.com>,
	imx@lists.linux.dev, Frank.Li@kernel.org, media-ci@linuxtv.org,
	slongerbeam@gmail.com, p.zabel@pengutronix.de,
	mchehab@kernel.org
Subject: Re: [PATCH v6 1/2] media: imx: remove legacy video node control and format handling
Date: Tue, 24 Nov 2026 13:38:02 +0800	[thread overview]
Message-ID: <20261124053802.608265-1-shijiaqi_develop@163.com> (raw)
In-Reply-To: <awR-WfnTvAxN6Lcg@SMW015318>

Hi Frank,

On Mon, Nov 23, 2026 at 11:56:41AM -0600, Frank Li wrote:
> Please check this one?

Thanks for the review. I checked this, and I think dropping legacy_api
is outside the scope of this series.

The series implements the three items in drivers/staging/media/imx/TODO:
export FIM to v4l2-core, drop control inheritance, and drop the legacy
format handling where the video node format is derived from the source
subdev. All three are done.

The remaining legacy-only ioctls (querystd/g_std/s_std, g_parm/s_parm,
enum_frameintervals) are not what that TODO targets: they are thin
forwarders to the source subdev, not the format/control inheritance the
TODO is about.

Also, simply setting legacy_api = false would not be safe: g_selection
and the V4L2_EVENT_SOURCE_CHANGE subscription are not implemented in the
MC (legacy_api = false) path, so flipping it would silently drop them.

A full legacy removal would therefore need to first complete the MC path
(g_selection, SOURCE_CHANGE), then drop legacy_api and update the docs
to point userspace at the subdev nodes. I am happy to do that as a
follow-up series if you, Steve and Philipp want the legacy path removed
entirely.

For this series, would you be OK with keeping legacy_api as is, given it
matches the TODO scope?

Regards,
Jiaqi


  reply	other threads:[~2026-11-24  5:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22 11:42 [PATCH v6 0/2] media: imx: staging cleanup and FIM export to v4l2-core Jiaqi Shi
2026-11-22 11:42 ` [PATCH v6 1/2] media: imx: remove legacy video node control and format handling Jiaqi Shi
2026-11-22 11:53   ` sashiko-bot
2026-11-23 17:56     ` Frank Li
2026-11-24  5:38       ` Jiaqi Shi [this message]
2026-11-22 11:42 ` [PATCH v6 2/2] media: v4l2-core: add frame interval monitor helper Jiaqi Shi
2026-11-24  5:37 ` [PATCH v6 0/2] media: imx: staging cleanup and FIM export to v4l2-core Dan Carpenter
2026-11-25 11:00 ` Hans Verkuil
2026-11-27 23:41   ` Jiaqi Shi

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=20261124053802.608265-1-shijiaqi_develop@163.com \
    --to=shijiaqi_develop@163.com \
    --cc=Frank.Li@kernel.org \
    --cc=Frank.li@oss.nxp.com \
    --cc=imx@lists.linux.dev \
    --cc=mchehab@kernel.org \
    --cc=media-ci@linuxtv.org \
    --cc=p.zabel@pengutronix.de \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=slongerbeam@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.