|
|
Log in / Subscribe / Register

media: dw100: Dynamic vertex map updates and fixes for PREEMPT_RT

From:  Stefan Klug <stefan.klug-AT-ideasonboard.com>
To:  Xavier Roumegue <xavier.roumegue-AT-oss.nxp.com>, Mauro Carvalho Chehab <mchehab-AT-kernel.org>, Sebastian Andrzej Siewior <bigeasy-AT-linutronix.de>, Clark Williams <clrkwllms-AT-kernel.org>, Steven Rostedt <rostedt-AT-goodmis.org>, Laurent Pinchart <laurent.pinchart-AT-ideasonboard.com>
Subject:  [PATCH v3 0/4] media: dw100: Dynamic vertex map updates and fixes for PREEMPT_RT
Date:  Thu, 29 Jan 2026 12:43:09 +0100
Message-ID:  <20260129-sklug-v6-16-topic-dw100-v3-1-dev-v3-0-2eb5685eaf09@ideasonboard.com>
Cc:  linux-media-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, linux-rt-devel-AT-lists.linux.dev, Nicolas Dufresne <nicolas-AT-ndufresne.ca>, Stefan Klug <stefan.klug-AT-ideasonboard.com>
Archive-link:  Article

Hi all,

This series contains a few updates to the dw100 dewarper. Patches 1-2
implement V4L2 requests support and dynamic updates of the vertex map.
This enables advanced use cases like interactive pan, zoom and rotate. A
first attempt to implement the dynamic update was posted a while back in
[1] but wasn't merged due to races in the implementation. By switching
to V4L2 requests the implementation is a lot simpler now.

Patch 3 fixes an issue on PREEMPT_RT enabled kernels.

Patch 4 does a bit of cleanup.

Best regards,
Stefan

[1] https://lore.kernel.org/linux-media/20241022063155.506191...

Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
---
Changes in v3:
- Split the irq handler into two halves
- Added cleanup patch 4/4
- Link to v2: https://lore.kernel.org/r/20260122-sklug-v6-16-topic-dw10...

Changes in v2:
- Use v4l2_m2m_buf_done_and_job_finish() for correct signal order
- Use dev_warn_once() instead of manual tracking
- Dropped threaded interrupt handler
- Renamed user_map_needs_update to user_map_is_dirty
- Link to v1: https://lore.kernel.org/r/20260105-sklug-v6-16-topic-dw10...

---
Stefan Klug (4):
      media: dw100: Implement V4L2 requests support
      media: dw100: Implement dynamic vertex map update
      media: dw100: Fix kernel oops with PREEMPT_RT enabled
      media: dw100: Merge dw100_device_run and dw100_start

 drivers/media/platform/nxp/dw100/dw100.c | 129 ++++++++++++++++++++-----------
 1 file changed, 86 insertions(+), 43 deletions(-)
---
base-commit: 9ace4753a5202b02191d54e9fdf7f9e3d02b85eb
change-id: 20260105-sklug-v6-16-topic-dw100-v3-1-dev-b856657db695

Best regards,
-- 
Stefan Klug <stefan.klug@ideasonboard.com>




Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds