public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Yury Norov <yury.norov@gmail.com>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Sebastian Fricke <sebastian.fricke@collabora.com>,
	Linux Media Mailing List <linux-media@vger.kernel.org>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	knaerzche@gmail.com, Collabora Kernel ML <kernel@collabora.com>,
	bob.beckett@collabora.com,
	Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	"open list:ARM/Rockchip SoC..."
	<linux-rockchip@lists.infradead.org>,
	linux-staging@lists.linux.dev, nicolas.dufresne@collabora.com,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Rasmus Villemoes <linux@rasmusvillemoes.dk>
Subject: Re: [PATCH 3/6] bitops: bitmap helper to set variable length values
Date: Wed, 13 Jul 2022 12:44:38 -0700	[thread overview]
Message-ID: <Ys8gpl3m+vvEM7Sy@yury-laptop> (raw)
In-Reply-To: <CAHp75VeOLfKw4-+Dpn54yy6j=tdiBNA_2Kvhj7mUUjTD-M_vYA@mail.gmail.com>

On Wed, Jul 13, 2022 at 09:10:33PM +0200, Andy Shevchenko wrote:
> On Wed, Jul 13, 2022 at 8:56 PM Yury Norov <yury.norov@gmail.com> wrote:
> > On Wed, Jul 13, 2022 at 06:31:59PM +0200, Sebastian Fricke wrote:
> 
> ...
> 
> > I'd suggest you to try implementing
> >         bitmap_copy_from(dst, src, dst_off, len)
> > or even
> >         bitmap_copy_from(dst, dst_off, src, src_off, len)
> > if you expect that you'll need more flexibility in the future.
> 
> Do you think it would be useful?
> 
> We have bitmap_replace() & bitmap_remap(). Wouldn't that be enough?

bitmap_replace and bitmap_remap have no an 'offset' parameter.

  reply	other threads:[~2022-07-13 19:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-13 16:31 [PATCH 3/6] bitops: bitmap helper to set variable length values Sebastian Fricke
2022-07-13 16:32 ` [PATCH 4/6] staging: media: rkvdec: Add valid pixel format check Sebastian Fricke
2022-07-13 16:32 ` [PATCH 5/6] staging: media: rkvdec: Enable S_CTRL IOCTL Sebastian Fricke
2022-07-13 19:11   ` Ezequiel Garcia
2022-07-13 16:32 ` [PATCH 6/6] staging: media: rkvdec: Add HEVC backend Sebastian Fricke
2022-07-13 18:49 ` [PATCH 3/6] bitops: bitmap helper to set variable length values Yury Norov
2022-07-13 19:10   ` Andy Shevchenko
2022-07-13 19:44     ` Yury Norov [this message]
2022-07-13 20:14       ` Andy Shevchenko
2022-07-13 20:42         ` Yury Norov
2022-07-14 11:24           ` Andy Shevchenko
2022-07-21 17:05             ` Sebastian Fricke

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=Ys8gpl3m+vvEM7Sy@yury-laptop \
    --to=yury.norov@gmail.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=andy.shevchenko@gmail.com \
    --cc=bob.beckett@collabora.com \
    --cc=ezequiel@vanguardiasur.com.ar \
    --cc=gregkh@linuxfoundation.org \
    --cc=jernej.skrabec@gmail.com \
    --cc=kernel@collabora.com \
    --cc=knaerzche@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=linux@rasmusvillemoes.dk \
    --cc=mchehab@kernel.org \
    --cc=nicolas.dufresne@collabora.com \
    --cc=sebastian.fricke@collabora.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