Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1501377iog; Sat, 25 Jun 2022 11:02:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vFXsrg6EsaB38Sr6tqNLanMpoic1NQr6c2PAFx5FyurSmSM4NSmsON9tjoxC6VcfJPG39S X-Received: by 2002:a17:90b:1808:b0:1ec:9559:3060 with SMTP id lw8-20020a17090b180800b001ec95593060mr11120773pjb.163.1656180139270; Sat, 25 Jun 2022 11:02:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656180139; cv=none; d=google.com; s=arc-20160816; b=c2f5NuUvp7iHUK7HG22DBp8vpgI2aN+ajrN2a9AHJrA5jmVJIlo65G3lPYoQWX3Cyj dUMn6/3ox58yhEzekRDrOMq6VSHkCD6O/jAE42Usp8e5r8r/8FCrhUbsnOBnCxILhvp2 SO3XRtXDAAjF/KD5XV1JfZbx5zbVxBntbanWwLpoKcDv1K6KiIdYIjqMKXkJMtQuVFAT ShHzL2d812QEyirI/yK9nlgA2+9834t832apSeeqkkWAqWMhzZBUN5kqBrVTVd7eo1+9 WEqLAA3NbNanr1g018oSniiu+2FA8vYgBKvrpz/DoJIGF6tXzrE6r6Rx85joSRyyRWnF luEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=qdOBIdyq2W/XPrbuZUOS3HZJhZlnWjio9PK1s5ldH9w=; b=C8IsrPFuSE0RYOlSK/Koseyuw3nbXgUmG8Koi/QXfTKGdNaHG4WOhEqnMPgTyUnbXR FFYQ2Vy4ons+3+c8V/t3mJbSFoNkxPQQZbs/cP+EthPvmGqhHB4j3YklMVnyITXWfu3i 3VOd5ZKKnd6RhpQT0HyHlm8k8OJN9MdaxabV1J8CAbAE8BDFNLWHSy6BfQwmEegdIX5K Zon2RoiObOc0iBHMI3TDi1Ym5cWhEqvLA3QLrqwV3UmN/TXY6F4eR7yZTZ994/7UMcyk MFjJYpsoc1Rve2Ua5NZ9Iu5k9PsA/db8hQwoCRqM+EdTvHE2a3DMDy7OzqW59/kQKCL1 4q+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b="hZQq/Xzg"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g9-20020a170902d5c900b00153b2d16643si6895167plh.587.2022.06.25.11.01.51; Sat, 25 Jun 2022 11:02:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b="hZQq/Xzg"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233301AbiFYR0M (ORCPT + 99 others); Sat, 25 Jun 2022 13:26:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231904AbiFYR0L (ORCPT ); Sat, 25 Jun 2022 13:26:11 -0400 Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 176D813CDC for ; Sat, 25 Jun 2022 10:26:09 -0700 (PDT) Received: by mail-ot1-x32f.google.com with SMTP id s20-20020a056830439400b0060c3e43b548so4256363otv.7 for ; Sat, 25 Jun 2022 10:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=qdOBIdyq2W/XPrbuZUOS3HZJhZlnWjio9PK1s5ldH9w=; b=hZQq/Xzg9/2t0QmYfD8eMd0ERp/kboN8Hrh/uFMKSsFkqUeGOdhQ+igDNE6eJdOmco P9xNfHOUqyIESA/tO88I91Z32GnfGZtlejdUcw0AIu0arbKJNpXuK+FBaOwnkn5dyYB/ KZZ43SiuwyDICkH7ESSA/X+dsq84i4/h4zEdk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=qdOBIdyq2W/XPrbuZUOS3HZJhZlnWjio9PK1s5ldH9w=; b=Y1ZP6SmlkpvvrPukhn/Q2aDQlzbUTCgdQirJi6ahawkjRBcgVDRyqmmZssyVLYmBtk Z7MYbVATlM6euuNpOwz1sbrlba9WJ995MFzxYkVD+HL1aVG7URs/tHClq3LYnihYm3hl YkgCMjDyQIbUCo8VYW+sfdswOd/zrCx9EiI42D8Gn3VE1F/hsPkCNQJxhtRZ+vbGYgnM gElpI+5DUkukPFvBqVAEz2BvJSit3mJC1Yr/37AYoVOswDLUeB2KEhov8UYF8J+hhmqb smv7twVHM0UJ7SLbGjwX9Zv2OgRWrbTi4uZvMT6lZcAt9vbAywt77KCGh9vg8FMpDsud uYYw== X-Gm-Message-State: AJIora9kqmKzNjzeZH7R/Aut1QG2+0rGyDi4Hq/l0NZl2yj5Kciow3yU v3IIzX5lyQDyupQWShVruzUQCjSMLNWrcU5b5SUJ8w== X-Received: by 2002:a9d:178:0:b0:616:a150:dbae with SMTP id 111-20020a9d0178000000b00616a150dbaemr2407570otu.321.1656177968486; Sat, 25 Jun 2022 10:26:08 -0700 (PDT) MIME-Version: 1.0 References: <85a6nq45uh.fsf@linux.intel.com> <20220620094907.4101274-1-maciej.kwapulinski@linux.intel.com> In-Reply-To: <20220620094907.4101274-1-maciej.kwapulinski@linux.intel.com> From: Daniel Vetter Date: Sat, 25 Jun 2022 19:25:57 +0200 Message-ID: Subject: Re: [PATCH v3 00/14] Driver of Intel(R) Gaussian & Neural Accelerator To: maciej.kwapulinski@linux.intel.com Cc: gregkh@linuxfoundation.org, andy.shevchenko@gmail.com, arnd@arndb.de, corbet@lwn.net, derek.kiernan@xilinx.com, dragan.cvetic@xilinx.com, guy.zadicario@intel.com, linus.walleij@linaro.org, olof@lixom.net, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 20 Jun 2022 at 11:51, wrote: > On Wed, 16 Jun 2021 09:38:14 +0200, Maciej Kwapulinski wrote: > > after consulting, we will try to share api and some kernel code > > between the two drivers. > > We prepared a prototype work based on Daniel Vetter=E2=80=99s invitation = to > evaluate DRM framework as prospective fit. > > Early results look quite promising. Effective leverage of DRM framework f= or > non GPU driver has been achieved. GNA driver source code turned out to ha= ve > been simplified by offloading some areas (device management + memory > regions management). > > As a result, GNA driver source code size has been reduced by 15% (420 > lines). DRM Framework complexity has not been an issue so far. Nice. > Plan for next step is to publish code to dri-devel ML. > Please share your thoughts. Sounds like solid progress and looking forward for some patches! Cheers, Daniel --=20 Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch