The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: unlisted-recipients:; (no To-header on input)
Cc: linuxarm@huawei.com, mauro.chehab@huawei.com,
	Mauro Carvalho Chehab <mchehab+huawei@kernel.org>,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	linux-kernel@vger.kernel.org, linux-media@vger.kernel.org,
	linux-staging@lists.linux.dev
Subject: [PATCH 0/2] Address device enumeration and run_mode
Date: Sat,  6 Nov 2021 12:05:35 +0000	[thread overview]
Message-ID: <cover.1636200095.git.mchehab+huawei@kernel.org> (raw)

As the atomisp is starting to work with normal V4L2 apps (on USERPTR mode),
change the code to:

1. start creating devices from the one that atually works with normal
   apps (the preview device, previously /dev/video2);

2. Set run_mode for all device types that need it.

Please notice that patch 1 replaces a previously sent patch:
	https://lore.kernel.org/all/543e61dd07c90a7d8577b3a94696edc77953b9d8.1635497370.git.mchehab+huawei@kernel.org/

Mauro Carvalho Chehab (2):
  media: atomisp: set per-device's default mode
  media: atomisp: register first the preview devnode

 .../staging/media/atomisp/pci/atomisp_fops.c  |  5 +++
 .../media/atomisp/pci/atomisp_subdev.c        | 31 ++++++++++++-------
 .../media/atomisp/pci/atomisp_subdev.h        |  3 ++
 .../staging/media/atomisp/pci/atomisp_v4l2.c  |  4 ++-
 .../staging/media/atomisp/pci/atomisp_v4l2.h  |  3 +-
 5 files changed, 32 insertions(+), 14 deletions(-)

-- 
2.33.1



             reply	other threads:[~2021-11-06 12:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-06 12:05 Mauro Carvalho Chehab [this message]
2021-11-06 12:05 ` [PATCH 1/2] media: atomisp: set per-device's default mode Mauro Carvalho Chehab
2021-11-06 12:05 ` [PATCH 2/2] media: atomisp: register first the preview devnode Mauro Carvalho Chehab

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=cover.1636200095.git.mchehab+huawei@kernel.org \
    --to=mchehab+huawei@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=linuxarm@huawei.com \
    --cc=mauro.chehab@huawei.com \
    --cc=sakari.ailus@linux.intel.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