From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F116C433FE for ; Sun, 12 Sep 2021 16:37:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 354776108E for ; Sun, 12 Sep 2021 16:37:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232021AbhILQjG (ORCPT ); Sun, 12 Sep 2021 12:39:06 -0400 Received: from mail-4317.protonmail.ch ([185.70.43.17]:49223 "EHLO mail-4317.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229643AbhILQjC (ORCPT ); Sun, 12 Sep 2021 12:39:02 -0400 Date: Sun, 12 Sep 2021 16:37:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail; t=1631464666; bh=iWrsRXODT54fDjqbomuMW+tTamZc86GMmNWS6hNNFB8=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=O/hynjvK8++aD+Cgq1/CvOwTKI0hr91VGbBx3avDCjd84t91P9UnNaqQIPOoAEICM xFi7eNm13Vh6aCSM2JrhLTZ50PjBjI96AFC8BAf4CvxvPKNaUdYg7PTrM/JC7+iZ3D DqRzpSD1x31vPa0Y9o8DUlm6OzfLc+pVTwE4R4KpS0uEWzhN4oyLeeEJps5qqgru2v 6PsH9HVq9BhVzkVoPKjBsTG9Nt5tkDApBLnSYFQk2cwVdwtFOFNQ8Tkfq3GQUkcECl flMewAJ1ylCoutOibTmhIqjHaLo7ZN8CsMfQDxf8gMONlkdDs6XgSAvtMOOzaT89f9 PKLsK17qLfbGg== To: Greg Kroah-Hartman From: Simon Ser Cc: Daniel Vetter , dri-devel , Oded Gabbay , mzuckerman@habana.ai, dsinger@habana.ai, Linus Torvalds , Dave Airlie , Jason Gunthorpe , "Linux-Kernel@Vger. Kernel. Org" Reply-To: Simon Ser Subject: Re: Accelerator drivers going forward (was Re: Habanalabs Open-Source TPC LLVM compiler and SynapseAI Core library) Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > > - move drivers/misc/habanalabs under drivers/gpu/habanalabs and > > > review/discussions on dri-devel > > Wait, why move into gpu? Are we going to do that for all hardware > accelerators that we currently have in the kernel tree? > > These things are not GPUs in the sense of them being "do some work and > write out to a screen", which is what I would associate with a GPU (G > does stand for "Graphical", right?) > > Yes, GPUs can do things that some accelerators can do, but they can do > things that accelerators can not do, and the other way around as well. > I doubt you want all of the existing gpu drivers to be only treated as > an "accelerator driver" now, as where would the logic that has to happen > to get the bits out to a screen live? This seems like a description of the "display" part of the drivers, driven by KMS. There are many chips which can't do the "display" part, only the "render" part. Their drivers are living in drivers/gpu/ as well.