Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp770660pxb; Fri, 14 Jan 2022 16:15:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJw9yjbCV4ImwKL/5vG/tuA3MgrZw6qhEI5cTRajnGDiCnsDuw7PZLPr/YRmLSyJcMD1Ql1q X-Received: by 2002:a17:907:8694:: with SMTP id qa20mr9309373ejc.378.1642205715259; Fri, 14 Jan 2022 16:15:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642205715; cv=none; d=google.com; s=arc-20160816; b=PKI+TUfAtGvyq8+yBiQFbluOJMZuX5grhtihxt/klPSv4j+ex4+s1xUtG85bARJzZp aK1qhhc46qoOyk0ElH9ayeL6LlaoDS7qyUaA1+u0nsGJw4N4YsFH8SZ16d8ES2KWUYu9 zPgdEyIkYtY0DmY69C7qg/qzhYgzjeCnM3Sp48YXYN33LoIm7nCHt9fjF+3sXXFYysGb GoL7P0QWWC+c/NMwmWac6lvy0xRuMqZzaD5qv1chrlLMTBy1Bj1rtt1/o43/PwIhuP5d +gXEtlScbxbyvJgAHYODCTQUc7S9sfi7XUg9EpZ9eZb5E67yh2p2dPztIfyEDOtqUpW6 pMsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-filter; bh=If7C7a508dnCJ0DiCHfoafWzl0CdQjH4vbUyslN3bD8=; b=jLQgDSksKKeJHhRzQ9cgN7lKJSyslusnWizWfCOgCYI/yW4oQrJl2D5kYEL2QY8+Ty WvW6xyvFWS3dXAM1XIGHlsIS1HieQQgM+HrN0dOrwjDmGGkKYKUU9ONNPK2yxZCBf7zQ IoNpvFQve0dUb9SVyoO4fh+GVNOuQ7LxsZ4v/GtfFwXWSU07DMSOqU930XAwqaPmkx99 wf71cIASeDZgIYNGkUkxH8oQD3XijnebGCNE44TLkbY3MBAoI9AB8KZjuTumZeVGC9Dd QgaIEqJAYuCsQaRPk1iavdqo4R40BRDd0T0X0yrPFgJKnAZtS2AEQq3GXV9flZTS1bkt Yc2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=FX2cF4aJ; 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=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qk33si23540ejc.91.2022.01.14.16.14.42; Fri, 14 Jan 2022 16:15:15 -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=@linux.microsoft.com header.s=default header.b=FX2cF4aJ; 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=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230089AbiANW0i (ORCPT + 99 others); Fri, 14 Jan 2022 17:26:38 -0500 Received: from linux.microsoft.com ([13.77.154.182]:43168 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbiANW0h (ORCPT ); Fri, 14 Jan 2022 17:26:37 -0500 Received: from [192.168.1.17] (unknown [192.182.150.27]) by linux.microsoft.com (Postfix) with ESMTPSA id 65CAB20B8028; Fri, 14 Jan 2022 14:26:37 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 65CAB20B8028 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1642199197; bh=If7C7a508dnCJ0DiCHfoafWzl0CdQjH4vbUyslN3bD8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=FX2cF4aJTzR9Hal31tgXlpTLHoAUBGpCi62nLeI+6p2ZEQyP0ydOgj+IFm5hNT1mr Z3L5DSekagUeVEEaAd5JHZIr407nRuTIjqgYUngwiPXg1m2yT+q9F74kg8oHpG4YN1 Fhxd+xWV36UmaALuDQ+NJb0v8Lpxt3v1ZiVZTTSA= Message-ID: Date: Fri, 14 Jan 2022 14:26:36 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v1 9/9] drivers: hv: dxgkrnl: Implement DXGSYNCFILE Content-Language: en-US To: Greg KH Cc: kys@microsoft.com, haiyangz@microsoft.com, sthemmin@microsoft.com, wei.liu@kernel.org, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, spronovo@microsoft.com References: From: Iouri Tarassov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/12/2022 11:41 PM, Greg KH wrote: > On Wed, Jan 12, 2022 at 11:55:14AM -0800, Iouri Tarassov wrote: > > Implement the LX_DXCREATESYNCFILE IOCTL (D3DKMTCreateSyncFile). > > Your subject line does not describe what this is doing at all, as we > have no clue what DXGSYNCFILE is. Hi Greg, I do not understand this comment. The full description is: " drivers: hv: dxgkrnl: Implement DXGSYNCFILE Implement the LX_DXCREATESYNCFILE IOCTL (D3DKMTCreateSyncFile). dxgsyncfile is built on top of the Linux sync_file object and provides a way for the user mode to synchronize with the execution of the device DMA packets. The IOCTL creates a dxgsyncfile object for the given GPU synchronization object and a fence value. A sync_object file descriptor is returned to the caller. The caller could wait for the object by using poll(). When the GPU synchronization object is signaled on the host, the host sends a message to the virtual machine and the sync_file object is signaled. " Is this not enough? Thanks Iouri