Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp306435pxb; Wed, 4 Nov 2020 23:55:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnPSXM+G4K/vNEH2711aB8fo/Diy7OudQxXxG6jTNAvXbi2SKsinvF13LqJl+pax86mW9Y X-Received: by 2002:a50:a6d0:: with SMTP id f16mr1254769edc.135.1604562944889; Wed, 04 Nov 2020 23:55:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604562944; cv=none; d=google.com; s=arc-20160816; b=hH3iIpJWac0INkjLu0hJDyBxw2RHNdToRmB/CCRUdB517Me66USqLa30mmh60JuboN xjb9oGvXJztS4UIjhGLOj+lwWrZQJtfT9CJHdIAVBwXmeWjrHpTeymNC6pa9aBdT4MFL 02s4QkIeNbmUnt70KDkiLBeAHzcq8hZgShY1z3dr+kf/tCgUWPFHSbP8in1z+MV4/Zkm 7q79zqLG0rvUAnCBqA3DPJlgRKVpR8oVBrP4BSIyG6XGRYfJZ6AT9FKqQ4nanQeHPbbX KjbVZnHfz+JZlVaIJnLhIeHz1YaICov4H23SCBu8go26n2/ro3KsWEhGm4QJ8Zabi0ml 7rmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=uWxXaFjaX2JSFXvoISaJ2nJGcPKFBfvWFO1ioi84K5o=; b=f0Rwl442LKaIGeoMqh+DiQckru7T1YQUX59OmmeLp04hb6ravVUjq08r0zXQOkWL53 fzwhFCb8kNml9gx3RwOY4UE+/AqSiPpUuzpfBSdTE95HXH+G2x7s0Mid6ispL+yyEqjF PWF8ErxIfgSQnU6UfiX+QXdQ22dHyBAz40/AUqs8SaxSshXpTFTGCh5WMEW2R/satR7S IutD5BAYTY6FMX7HXC0t0tsr32i4kkSX/6z4ohYDUvwd1yG//JRZFGMJ2Z8kW0KNh+1v mOiCh3eymb8eQ5ZSrduD367rDYqf6pjB6a3vJJob+tkzDtCYooH4wXSEPRNgpP90TBik jYxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LJEtMmMP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b14si564019ejp.67.2020.11.04.23.55.21; Wed, 04 Nov 2020 23:55:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LJEtMmMP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727691AbgKEHxy (ORCPT + 99 others); Thu, 5 Nov 2020 02:53:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726152AbgKEHxx (ORCPT ); Thu, 5 Nov 2020 02:53:53 -0500 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28C0DC0613CF for ; Wed, 4 Nov 2020 23:53:52 -0800 (PST) Received: by mail-lj1-x241.google.com with SMTP id k25so540498lji.9 for ; Wed, 04 Nov 2020 23:53:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uWxXaFjaX2JSFXvoISaJ2nJGcPKFBfvWFO1ioi84K5o=; b=LJEtMmMPnPNPuMOUjflAShtf/tGL+Srg3vIXk+Lh9SsAUj7yk2rRC4aN2nBaIEeBaH 7srSBNMaaQU4FOWJVKx5aYqjKLliAMLz9fH3ilnVAdUb8Aw4B2moCRMuzCCkF9X2ZKR7 idPu03npS0S+dIGpYKBd1q5mep93sRahA0zoeHLrMJpedNtAyosrk4IeNLEFVhV84rRi YMtdyjACyWB3SkSjjAC+T4HWDmo+63ag4qIcV9tlCSWgI4nUnkUPHHXQ9LQNoh5P1xK1 X5oXHgtp+BLLQj0ouYR5zkyglNR0i1dk6IyQB642/q+WU6l+tApxCj0NZaZpp3Ktyd5X zHlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uWxXaFjaX2JSFXvoISaJ2nJGcPKFBfvWFO1ioi84K5o=; b=NfPgdINTcmKE5qj0zXuz4hWujWwf6XglZkqUwVyPauMA9phpYhGfxos/2xGsTkA6/K iXFKUrHNJBzLc58hnefyNvcN1dL47reWjCHI3OR+ZylHvssXLblerIk8uzu9hp/eSFw2 oH2xDk0anA6j5nJDuev5hfFp+eEyG2D9ln9FYbUUHQ9zoFlxnUkEtgagJy2aZwMKUNYv eVdWNi28DzVNTjAXP4vRE+1BCN4P9Zp4IbFWZ9PdL6cBKuPlEz0VyE2mk/q8GrE5lwIy HNkDtT9xFt33zde26+u40TMrMxD7CaHKNOKEwYGUu3/6qpUrA/9F629Dub3rfU2H1Lsv NnLw== X-Gm-Message-State: AOAM533CoV5lknP0fFN2OQPvcnLnvSM5A8b8SrRgFB03nfrJ4l0oxpfe j0v92DdziBrDs0r2cskcgcD8CxVKEZxyrcVno7tSUw== X-Received: by 2002:a05:651c:1205:: with SMTP id i5mr449252lja.283.1604562830673; Wed, 04 Nov 2020 23:53:50 -0800 (PST) MIME-Version: 1.0 References: <20201030143715.577641-1-narmstrong@baylibre.com> In-Reply-To: <20201030143715.577641-1-narmstrong@baylibre.com> From: Linus Walleij Date: Thu, 5 Nov 2020 08:53:39 +0100 Message-ID: Subject: Re: [PATCH v2 0/4] media: meson: Add support for the Amlogic GE2D Accelerator Unit To: Neil Armstrong , Todd Kjos Cc: Hans Verkuil , Linux Media Mailing List , "open list:ARM/Amlogic Meson..." , Linux ARM , "linux-kernel@vger.kernel.org" , John Stultz Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Neil, this is just a drive-by question and I'm looping in Todd in the hopes for a discussion or clarification. On Fri, Oct 30, 2020 at 3:37 PM Neil Armstrong wrote: > The GE2D is a 2D accelerator with various features like configurable blitter > with alpha blending, frame rotation, scaling, format conversion and colorspace > conversion. > > The driver implements a Memory2Memory VB2 V4L2 streaming device permitting: > - 0, 90, 180, 270deg rotation > - horizontal/vertical flipping > - source cropping > - destination compositing > - 32bit/24bit/16bit format conversion > > This adds the support for the GE2D version found in the AXG SoCs Family. We are starting to see a bunch of these really nicely abstracted blitters and other 2D-accelerators now. Is stuff like Android going to pick up and use this to blit and blend generic buffers? Or is this in essence a camera and/or video out accelerator thing? The placement of this driver in drivers/media makes me think that it is for cameras or video output, but the functionality is actually quite generic. I've been half-guessing that userspace like Android actually mostly use GPUs to composit their graphics, but IIUC this can sometimes be used for 2D compositing, and when used will often be quicker and/or more energy efficient than using a GPU for the same task. Yours, Linus Walleij