Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5635387rwr; Mon, 1 May 2023 08:36:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ634NXTtgWODti/Pi6QkWVDKsejs4R8Oj4mj2S+lxG2vW3IQJsJ5MrweLoUSU1qc93R7TmA X-Received: by 2002:a05:6a20:42a0:b0:f2:64f8:b214 with SMTP id o32-20020a056a2042a000b000f264f8b214mr19441175pzj.13.1682955388169; Mon, 01 May 2023 08:36:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682955388; cv=none; d=google.com; s=arc-20160816; b=FyWxAtfbB2xChGNaaM+jQT4hYVZzf99Y/rnfOTkbjKOHtSSA4AJxM6JLP04osWCK+6 z30gAMo0v8+HEiPLyCiYf1VsUWVjVj8nEU/zmkO3LCFGYSvefXbwSYRnJKx4lO+qNyvQ 4a0DQeLYAxFhvhDgFbyoYhb1dH0fSn9PfjfUcNeLSQwgWmhz5lLe1VO7v00UllvGu315 noBvDYn0+3i8zqk1dEmOKiJR7ZyiDlj7ONTy9Yt4gDj0llmY3fbayDq7VHVcuepzBNns 1zHKp/XQRIL9ntcNm7J+23+ZMBga2CebI1mXNkzunIYB2vkb8hswaDz/H+A9Gmj1NeEf jWZg== 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:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=S6NitGCyR/F7TYNEEZIuI/EcMSuWF1D7xUete2xH3T0=; b=y9zfOsJ4EEivB0bbHjgiiTMvJoROSrFhKLcb9qzQ/1oTI9qTPrHvFBwuiwqnOiv/6q 7vrCr9RQKbuFQtQgFYS+yEpmBYU5jk6rlmzYT06DyTfMvThG5ZUzRf2RuMLDYrmJRRDb OpwF/TZOT3HWYNrTBw4hDjRyd0yzLB7HB+ofFQO2WOaqb10ec+sS8fWIJDGx4rWtyHcw twgmIFgcDqHzIzKzEDjUKJiXgmcm0xLBH2RF+jn5h3IjGwCjbnrczPFMbTiTptFM7y6j y84e6/2qn4Gegt9uWI/yGOo8nab5EPpBhhrAEP+WdW0FZL3YqmkVHK1BelrakTFL5Xo6 QeWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=dsK9Lfh0; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 16-20020a631450000000b0050b508f68d8si27374263pgu.206.2023.05.01.08.36.13; Mon, 01 May 2023 08:36:28 -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=@collabora.com header.s=mail header.b=dsK9Lfh0; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232308AbjEAP3Y (ORCPT + 99 others); Mon, 1 May 2023 11:29:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54134 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232132AbjEAP3X (ORCPT ); Mon, 1 May 2023 11:29:23 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 259A1AA for ; Mon, 1 May 2023 08:29:21 -0700 (PDT) Received: from [192.168.2.246] (109-252-144-198.dynamic.spd-mgts.ru [109.252.144.198]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: dmitry.osipenko) by madras.collabora.co.uk (Postfix) with ESMTPSA id A39F56602121; Mon, 1 May 2023 16:29:19 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1682954960; bh=FZyPsnbblvvI0dwFtBHzZu8AEK9Dl+/PqP5r71i3Los=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=dsK9Lfh0mY5Ee/PPbnpDY1hIcenU8+6ZP4SuMHANIuf6zkac2xaVECSWFKSbM0FZK cBoepnUBxZ1MkVctRVIjG7eqRXR+N2OyTEYi54ddlmu7JtSvnuvXorrGzax7deaTeN YWcyBr0Xj9a2fiZfxO937MrXj0lIahKNpWPR4xK0F5DDcp+mhTXaviXq6Lb3W00ADn 52+Omf000QaqOO0k0AJJfRM9SkUHA+prX0PhobW6VlMfkMybZu9JSCO0uVflRepxkn nf22X8+NQSjEMIe2UIQE+WVYB5KPZcgBJIN0iv89ad/L+DtZTBOeJ8Zso3wstx+jML icDue5QwFo1Ng== Message-ID: Date: Mon, 1 May 2023 18:29:16 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v6 3/3] drm/virtio: Support sync objects Content-Language: en-US From: Dmitry Osipenko To: David Airlie , Gerd Hoffmann , Gurchetan Singh , Chia-I Wu , Daniel Vetter , Rob Clark , =?UTF-8?B?TWFyZWsgT2zFocOhaw==?= , Pierre-Eric Pelloux-Prayer , Emil Velikov Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, kernel@collabora.com, virtualization@lists.linux-foundation.org References: <20230416115237.798604-1-dmitry.osipenko@collabora.com> <20230416115237.798604-4-dmitry.osipenko@collabora.com> In-Reply-To: <20230416115237.798604-4-dmitry.osipenko@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,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 4/16/23 14:52, Dmitry Osipenko wrote: > Add sync object DRM UAPI support to VirtIO-GPU driver. Sync objects > support is needed by native context VirtIO-GPU Mesa drivers, it also will > be used by Venus and Virgl contexts. > > Reviewed-by; Emil Velikov > Signed-off-by: Dmitry Osipenko > --- > drivers/gpu/drm/virtio/virtgpu_drv.c | 3 +- > drivers/gpu/drm/virtio/virtgpu_submit.c | 219 ++++++++++++++++++++++++ > include/uapi/drm/virtgpu_drm.h | 16 +- > 3 files changed, 236 insertions(+), 2 deletions(-) Pierre-Eric tested this v6 patchset with the AMDGPU native context. He has problems his email/ML setup and is unable to reply here. I asked him to provide his t-b on the Mesa MR [1] and now replicating it here. [1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21658#note_1889792 Tested-by: Pierre-Eric Pelloux-Prayer -- Best regards, Dmitry