]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: rzg2l-cru: Split hw locking from buffers
authorJacopo Mondi <jacopo.mondi+renesas@ideasonboard.com>
Wed, 11 Feb 2026 08:50:10 +0000 (09:50 +0100)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 19 May 2026 07:01:49 +0000 (09:01 +0200)
commitffd977914e162fa73aa1200c998fb555221ece20
treee7505065bbb27e569b28fb6b2f79f1a32683516a
parentc3e0b2e34ef1f177a459ead54d1f66123149ec46
media: rzg2l-cru: Split hw locking from buffers

Split the locking between a spinlock dedicated to protect the hardware
slots programming (hw_lock) and one lock (qlock) to protect the queue of
buffers submitted by userspace.

Do not rework the locking strategy yet but start simply by splitting the
locking in two.

Signed-off-by: Jacopo Mondi <jacopo.mondi+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/renesas/rzg2l-cru/rzg2l-video.c