From patchwork Sat Jun 30 19:23:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sylwester Nawrocki X-Patchwork-Id: 1134781 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 021EDDFF6F for ; Sat, 30 Jun 2012 19:24:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754182Ab2F3TYe (ORCPT ); Sat, 30 Jun 2012 15:24:34 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:38063 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753666Ab2F3TYd (ORCPT ); Sat, 30 Jun 2012 15:24:33 -0400 Received: by eaak11 with SMTP id k11so1705020eaa.19 for ; Sat, 30 Jun 2012 12:24:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=MzZJeVEWXSN+IaQo7TaEYRHr6/tTLP10A+uRR4t1ayI=; b=hpiyRTY1RIZD7PWbsErxY4foo9kWPQx0HBgEvMP6NQ9zPSiifx1ouTAhE1YbFakfh8 qt6ITWcoU3ndoTX9mOQjI2GDkSioUspb9FDwwqRxLLpDJRDuleyhC3AttnCmk+MzJIpT A99tutAmI7IG9Le6PwG/YuykmNZR2hpthDG3x96bWZBtU8tmgcIqw8oF5zPknFHX4m0i FMv1Y1Ckpw9H/ovblg6MYg77N2Oy75fzMAdbWbJxxUvpQd1mteXpbaQHcymZl2WVyGXi aOaZvAsUvww4W1WlunsZcOkKEPMO+3qc1waXbIa/YH/pSa5qi1e6OxwY1nGrN3jWRc9B zjzw== Received: by 10.14.37.201 with SMTP id y49mr1734033eea.128.1341084271644; Sat, 30 Jun 2012 12:24:31 -0700 (PDT) Received: from localhost.localdomain (031011252076.warszawa.vectranet.pl. [31.11.252.76]) by mx.google.com with ESMTPS id p41sm19038121eef.5.2012.06.30.12.24.29 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 30 Jun 2012 12:24:31 -0700 (PDT) From: Sylwester Nawrocki To: linux-media@vger.kernel.org Cc: posciak@google.com, andrzej.p@samsung.com, hans.verkuil@cisco.com, hdegoede@redhat.com, javier.martin@vista-silicon.com, jtp.park@samsung.com, kyungmin.park@samsung.com, k.debski@samsung.com, mchehab@infradead.org, m.szyprowski@samsung.com, Sylwester Nawrocki Subject: [PATCH/RFC 2/2] Feature removal: using capture and output capabilities for m2m devices Date: Sat, 30 Jun 2012 21:23:43 +0200 Message-Id: <1341084223-4616-3-git-send-email-sylvester.nawrocki@gmail.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1341084223-4616-1-git-send-email-sylvester.nawrocki@gmail.com> References: <1341084223-4616-1-git-send-email-sylvester.nawrocki@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Identifying a memory-to-memory video device through an ORed output and capture capability flags is not reliable. Schedule this for removal. Signed-off-by: Sylwester Nawrocki --- Documentation/feature-removal-schedule.txt | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) -- 1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index 09701af..950d84a 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt @@ -558,3 +558,17 @@ Why: The V4L2_CID_VCENTER, V4L2_CID_HCENTER controls have been deprecated There are newer controls (V4L2_CID_PAN*, V4L2_CID_TILT*) that provide similar functionality. Who: Sylwester Nawrocki + +---------------------------- + +What: Using V4L2_CAP_VIDEO_CAPTURE and V4L2_CAP_VIDEO_OUTPUT flags + to indicate a V4L2 memory-to-memory device capability +When: 3.8 +Why: New drivers should use new V4L2_CAP_VIDEO_M2M capability flag + to indicate a V4L2 video memory-to-memory (M2M) device and + applications can now identify a M2M video device by checking + for V4L2_CAP_VIDEO_M2M, with VIDIOC_QUERYCAP ioctl. Using ORed + V4L2_CAP_VIDEO_CAPTURE and V4L2_CAP_VIDEO_OUTPUT flags for M2M + devices is ambiguous and may lead, for example, to identifying + a M2M device as a video capture or output device. +Who: Sylwester Nawrocki