From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D30D3D75D4 for ; Wed, 8 Apr 2026 15:40:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775662826; cv=none; b=FWJtGYtGSSH20YLi+P2ES4Tkab/EdrM7WwNwHaq/P6rpn8b31b6bcI7xbxj4eqxaJZG5SrfgGJkFE/JxLVE4Ff9migCns8YaBoHUPc2OyqO+5w6QNHiGLdkSPnSjcfWnGWL+7mMCzLkg9+int9PXzipXkxkHz6LIhd3fbUlMCZA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775662826; c=relaxed/simple; bh=QJr3IO0NBhQN06ES4RQzVF/mhvyAkuI4PXtOR+OpcJQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=r519VLTYOualXCZ9dopxkglMUpqQjLIZxLxhpw51rV/h7H5smDx5qWVbszf4n+TJW52UxgprtfpNitdJKLFSZfqWScQ3eRl+F4ZYkRISKrNy0Q4zY2i0obtMeOWqr18MRj8U3K5MMVBSawMteGvlZBELQoJ6w0Wensg+vXju2PA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=b53WJTCA; arc=none smtp.client-ip=198.175.65.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="b53WJTCA" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1775662822; x=1807198822; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=QJr3IO0NBhQN06ES4RQzVF/mhvyAkuI4PXtOR+OpcJQ=; b=b53WJTCAvJK2A5hj/bd3Jgfqlg3tbPHkG3K+EXF4k+z/Z9w5MczLhoSY yQpvOZowhkJzxS+x9dieZRNHe0u4FUzOsEdoLlZc3f1jR/nBxzAEtMgBS /16icc91X2RA9WXpnNfpvNSgAYyBRGJdu8YcCC3G6QFYZCXJancztK0iw +SFnY71psO94Kvt0e+XSGbE0kMVU9a/wsrYf5T1CIWzQ2O8SJUMgN6WAV /pcDlGwx8fjpZ+2urWpk4r9uBkHcFvl99s2F/UqP4kpGPLlmI0pRfvOkF dI+HIdCPSM+CwYdjC4MP0ro+6xMQudwNAjoc5bfF3N1063G3Ut/i9zbc6 w==; X-CSE-ConnectionGUID: CB2UsVJySo6wt+2wM7JyZA== X-CSE-MsgGUID: Ah9um0yDSKGF6RLVVQiYNw== X-IronPort-AV: E=McAfee;i="6800,10657,11753"; a="94038491" X-IronPort-AV: E=Sophos;i="6.23,167,1770624000"; d="scan'208";a="94038491" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2026 08:40:01 -0700 X-CSE-ConnectionGUID: 3PVdJPPeQo2HMS84K5sHPA== X-CSE-MsgGUID: nv6u7exoT42XbvKIOr8R3Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,167,1770624000"; d="scan'208";a="223740392" Received: from hrotuna-mobl2.ger.corp.intel.com (HELO kekkonen.fi.intel.com) ([10.245.245.104]) by fmviesa006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2026 08:39:53 -0700 Received: from punajuuri.localdomain (unknown [192.168.240.130]) by kekkonen.fi.intel.com (Postfix) with ESMTP id 341B712206F; Wed, 08 Apr 2026 18:39:51 +0300 (EEST) Received: from sailus by punajuuri.localdomain with local (Exim 4.98.2) (envelope-from ) id 1wAV0F-000000044Db-2ZEy; Wed, 08 Apr 2026 18:39:39 +0300 Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo From: Sakari Ailus To: linux-media@vger.kernel.org Cc: hans@jjverkuil.nl, laurent.pinchart@ideasonboard.com, Prabhakar , Kate Hsuan , Dave Stevenson , Tommaso Merciai , Benjamin Mugnier , Sylvain Petinot , Christophe JAILLET , Julien Massot , Naushir Patuck , "Yan, Dongcheng" , "Cao, Bingbu" , "Qiu, Tian Shu" , Stefan Klug , Mirela Rabulea , =?UTF-8?q?Andr=C3=A9=20Apitzsch?= , Heimir Thor Sverrisson , Kieran Bingham , Mehdi Djait , Ricardo Ribalda Delgado , Hans de Goede , Jacopo Mondi , Tomi Valkeinen , David Plowman , "Yu, Ong Hock" , "Ng, Khai Wen" , Jai Luthra , Rishikesh Donadkar Subject: [PATCH v4 20/29] media: uapi: Bump the STREAMS bit a little Date: Wed, 8 Apr 2026 18:39:29 +0300 Message-ID: <20260408153939.969381-21-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260408153939.969381-1-sakari.ailus@linux.intel.com> References: <20260408153939.969381-1-sakari.ailus@linux.intel.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Bump the V4L2_SUBDEV_CAP_STREAMS by one bit up, order to avoid confusing libcamera with streams that has moved forward from the original libcamera implementation. The bit can presumably be taken into use but only after the other free bits. Signed-off-by: Sakari Ailus --- include/uapi/linux/v4l2-subdev.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/v4l2-subdev.h b/include/uapi/linux/v4l2-subdev.h index 2347e266cf75..6160c3e21436 100644 --- a/include/uapi/linux/v4l2-subdev.h +++ b/include/uapi/linux/v4l2-subdev.h @@ -196,8 +196,11 @@ struct v4l2_subdev_capability { /* The v4l2 sub-device video device node is registered in read-only mode. */ #define V4L2_SUBDEV_CAP_RO_SUBDEV 0x00000001 +/* Reserved, old STREAMS bit libcamera used before API stabilisation. */ +/* #define V4L2_SUBDEV_CAP_STREAMS_PRELIMINARY 0x00000002 */ + /* The v4l2 sub-device supports routing and multiplexed streams. */ -#define V4L2_SUBDEV_CAP_STREAMS 0x00000002 +#define V4L2_SUBDEV_CAP_STREAMS 0x00000004 /* * Is the route active? An active route will start when streaming is enabled -- 2.47.3