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=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 F3779C433DF for ; Wed, 20 May 2020 10:37:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CC8F6207F9 for ; Wed, 20 May 2020 10:37:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726881AbgETKhc (ORCPT ); Wed, 20 May 2020 06:37:32 -0400 Received: from a3.inai.de ([88.198.85.195]:47924 "EHLO a3.inai.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726224AbgETKhb (ORCPT ); Wed, 20 May 2020 06:37:31 -0400 Received: by a3.inai.de (Postfix, from userid 25121) id 76BFF593C1A70; Wed, 20 May 2020 12:37:25 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by a3.inai.de (Postfix) with ESMTP id 72BB36259D2B5; Wed, 20 May 2020 12:37:25 +0200 (CEST) Date: Wed, 20 May 2020 12:37:25 +0200 (CEST) From: Jan Engelhardt To: Sasha Levin cc: Daniel Vetter , Olof Johansson , Jerome Glisse , Jason Ekstrand , Alex Deucher , "Wilson, Chris" , "Syrjala, Ville" , Hawking Zhang , Tvrtko Ursulin , linux-hyperv@vger.kernel.org, Stephen Hemminger , Greg KH , Haiyang Zhang , Linux Kernel Mailing List , dri-devel , spronovo@microsoft.com, Wei Liu , Linux Fbdev development list , iourit@microsoft.com, "K. Y. Srinivasan" Subject: Re: [RFC PATCH 0/4] DirectX on Linux In-Reply-To: <20200519203608.GG33628@sasha-vm> Message-ID: References: <20200519163234.226513-1-sashal@kernel.org> <20200519203608.GG33628@sasha-vm> User-Agent: Alpine 2.22 (LSU 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Archived-At: List-Archive: List-Post: On Tuesday 2020-05-19 22:36, Sasha Levin wrote: > >> - Why DX12 on linux? Looking at this feels like classic divide and > > There is a single usecase for this: WSL2 developer who wants to run > machine learning on his GPU. The developer is working on his laptop, > which is running Windows and that laptop has a single GPU that Windows > is using. It does not feel right conceptually. If the target is a Windows API (DX12/ML), why bother with Linux environments? Make it a Windows executable, thereby skipping the WSL translation layer and passthrough.