Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4369781imw; Tue, 19 Jul 2022 05:30:20 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vlPc1TOe+g3tFfFd3AvAl4TE413/0U+jFSCVB89BduGbAhSyHtdnfaGlWRgMyIADtn80Gy X-Received: by 2002:a05:6402:3314:b0:43a:47e6:3f1 with SMTP id e20-20020a056402331400b0043a47e603f1mr42846242eda.270.1658233820789; Tue, 19 Jul 2022 05:30:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658233820; cv=none; d=google.com; s=arc-20160816; b=tdMduX59Y7x+THZ2EBLhyQ6unIF+PLGjzYFn+PcbJGHi7mCgkTKahIm8NjKiBn4j5D 2KDJuJunpfq4fmOvy+HPF3GNl0t0wgmXqgc53SBFzOjf4e0g6uL2Zu1r45sX9NQag7LU n0JROmoO9QVjGY57wi/Awe2kG+wvKStaHcZedHMqSQP8PARQXd1rLXFJxriodv6/PHA8 ZogjZOIbg9r6zb4qjVqEyB+wLnzoebWNWFxbrP27SNOIiX4T6lnRkNBhouK4eB3r5yXc GAa2D2Nd+h7gla0ouJ+c9A2DbgKn0Cd4FEcMpOhjVIF+8Zg6OuPx0CHW9dkUEoxO60pp rlXg== 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; bh=BmBrjBPv+XK7kdNBzPGv4gzybvq2whYoPDlbRmQ0jJk=; b=bF57A/1W7LFFUbsqCiyWXGr1l12/+hdZR91CWuya3U+2yuk3/NGOCWs3IhreGVDuZ1 6m+9NY1CpEdBTFjLzAL+x8IzrJ78vulgeOc2TY7c0Ku1aDG6/qnYTy0hKjuzi/FtDI25 YZ73u3yDhDFnIsnm0+cMnfS0/q4oy0jxcebrkUTY90G2z11eX5zbnlMWgewmTm+FpDCr gki7nE/rTT+wU6bbShDi8bBJsqZQNzPDtOhNi5K/HEn7Vm0pS9Hue8rxqgCNjKupJvXb xzJWH7OfZ4sEDSe2H4br9fr2YUcERt8y6UQcoZmenLIS2pKSAumA9o5NqX6gwhW5NjQX Bb/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=QY4weZno; 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=NONE sp=NONE 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 sh44-20020a1709076eac00b0072f2ce19e48si9291056ejc.631.2022.07.19.05.29.56; Tue, 19 Jul 2022 05:30:20 -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=QY4weZno; 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=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237194AbiGSLaV (ORCPT + 99 others); Tue, 19 Jul 2022 07:30:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237085AbiGSLaT (ORCPT ); Tue, 19 Jul 2022 07:30:19 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99BB0B85D for ; Tue, 19 Jul 2022 04:30:17 -0700 (PDT) Received: from [192.168.2.145] (109-252-119-232.nat.spd-mgts.ru [109.252.119.232]) (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 26F1E6601A84; Tue, 19 Jul 2022 12:30:14 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1658230215; bh=rpzY+Hd9YfT45BgcKVJ7OOuh8FXmtUnkCtfOS2g4cH8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=QY4weZnoEpTNCE+75cy9Q/HJl98aGY9Zv/JSVZHs0E0CtgRq75NDF5KuQBzU5/D+H sJeG185T0kStxcAfzXU4gcWEiNinbxubFJnE7aONh+hIHd3uynT7rfcGBpBDOLEfAl hj14oE8wBkOeVrnfYSDqslFkU+A+AOkzEcsrbwUcbl9NK0/79nC4p3gQeGCouYevGq Pnq/TpE8dnfDsYqRmQN4yEtfhNpiXysp8BG1usKYlTm5d0yhIOS+3NOh+yE7CLuxBF C2233Yf7sX/a18TWz3s8ttH4nmqkKa9kdeueq/S2J4jUgoBS/K3vVKMcFY9uXNeaLS SHWWg8Su6nv5g== Message-ID: Date: Tue, 19 Jul 2022 14:30:11 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v7 7/9] drm/virtio: Improve DMA API usage for shmem BOs Content-Language: en-US To: Gerd Hoffmann Cc: kernel@collabora.com, David Airlie , =?UTF-8?Q?Thomas_Hellstr=c3=b6m?= , Emil Velikov , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Gurchetan Singh , Thomas Zimmermann , Dmitry Osipenko , virtualization@lists.linux-foundation.org, Robin Murphy References: <20220630200726.1884320-1-dmitry.osipenko@collabora.com> <20220630200726.1884320-8-dmitry.osipenko@collabora.com> <20220705135323.emr4gdbcxoisdcxe@sirius.home.kraxel.org> <20220705154507.67ovlun4m26xzppn@sirius.home.kraxel.org> <1380526d-17fb-6eb2-0fd5-5cddbdf0a92e@collabora.com> <20220706071301.43fvbioka4iksqup@sirius.home.kraxel.org> <05a5608b-899d-71de-a7d7-406334c5604b@collabora.com> <20220719103106.gttro4tjjbis6pgg@sirius.home.kraxel.org> From: Dmitry Osipenko In-Reply-To: <20220719103106.gttro4tjjbis6pgg@sirius.home.kraxel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS 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 7/19/22 13:31, Gerd Hoffmann wrote: > On Wed, Jul 06, 2022 at 10:22:52AM +0300, Dmitry Osipenko wrote: >> On 7/6/22 10:13, Gerd Hoffmann wrote: >>> Hi, >>> >>>> Gerd, thank you very much! It's was indeed unclear to me how to test the >>>> MMIO GPU, but yours variant with microvm works! I was looking for trying >>>> aarch64 in the past, but it also was unclear how to do it since there is >>>> no DT support for the VirtIO-GPU, AFAICS. >>> >>> aarch64 uses acpi by default (can be disabled via 'qemu -no-acpi'). >>> Not fully sure about arm(v7). >>> >>> Even with DT it should work because DT only describes the virtio-mmio >>> 'slots', not the actual virtio devices. >>> >>>> There is no virgl support because it's a virtio-gpu-device and not >>>> virtio-gpu-device-gl that is PCI-only in Qemu. Hence everything seems good. >>> >>> It's named 'virtio-gpu-gl-device' >> >> Ah, thanks again! Just quickly tested virtio-gpu-gl-device and >> everything works too for MMIO GPU on microvm, including virgl and Xorg >> (glamor). >> >> [drm] features: +virgl +edid -resource_blob -host_visible >> [drm] features: -context_init >> [drm] number of scanouts: 1 >> [drm] number of cap sets: 2 >> [drm] cap set 0: id 1, max-version 1, max-size 308 >> [drm] cap set 1: id 2, max-version 2, max-size 696 >> [drm] Initialized virtio_gpu 0.1.0 0 for LNRO0005:01 on minor 0 >> virtio-mmio LNRO0005:01: [drm] drm_plane_enable_fb_damage_clips() not called > > Cool. Havn't found the time to try s390x, so I'm taking that as good > enough test that we don't have any unnoticed dependencies on pci. > > Queued up. I'll go over a few more pending patches, and assuming no > issues show up in testing this should land in drm-misc-next in a few > hours. Great, thank you. -- Best regards, Dmitry