Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754222AbeAOHMU (ORCPT + 1 other); Mon, 15 Jan 2018 02:12:20 -0500 Received: from mail-it0-f41.google.com ([209.85.214.41]:38517 "EHLO mail-it0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753995AbeAOHMR (ORCPT ); Mon, 15 Jan 2018 02:12:17 -0500 X-Google-Smtp-Source: ACJfBovVWDVIFpRo2mld+YDbEsM/lbNDBVwmDdjtHOQ5qz8F9IWkbH3bqyG/A4OBi6HEq1oxKIaPDQ== MIME-Version: 1.0 In-Reply-To: <20180110160732.7722-2-gustavo@padovan.org> References: <20180110160732.7722-1-gustavo@padovan.org> <20180110160732.7722-2-gustavo@padovan.org> From: Alexandre Courbot Date: Mon, 15 Jan 2018 16:11:53 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v7 1/6] [media] vb2: add is_unordered callback for drivers To: Gustavo Padovan Cc: Linux Media Mailing List , Hans Verkuil , Mauro Carvalho Chehab , Shuah Khan , Pawel Osciak , Sakari Ailus , Brian Starkey , Thierry Escande , linux-kernel@vger.kernel.org, Gustavo Padovan Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Thu, Jan 11, 2018 at 1:07 AM, Gustavo Padovan wrote: > From: Gustavo Padovan > > Explicit synchronization benefits a lot from ordered queues, they fit > better in a pipeline with DRM for example so create a opt-in way for > drivers notify videobuf2 that the queue is unordered. > > Drivers don't need implement it if the queue is ordered. This is going to make user-space believe that *all* vb2 drivers use ordered queues by default, at least until non-ordered drivers catch up with this change. Wouldn't it be less dangerous to do the opposite (make queues non-ordered by default)?