Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4279296imw; Tue, 19 Jul 2022 03:41:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tLSAJFFA6O2AQ+WUw0DOkRYkwjPitrxSou3SKATs9E+P0C5HaxMiFj16UiCTxk5C5OBSL9 X-Received: by 2002:a05:6808:170b:b0:335:1807:e4a2 with SMTP id bc11-20020a056808170b00b003351807e4a2mr15022241oib.89.1658227265665; Tue, 19 Jul 2022 03:41:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658227265; cv=none; d=google.com; s=arc-20160816; b=pTwOnO1Pijgk/TJ1hsCh7BVanJEoYFuaShoSnOmpLYFjcBtAQbUxkKAMy3QDVHxQ2k eVbN2wfxxgjDgbEm/WnV2YSO9U2geua640ZZTOkzOeTXgg/nrP863p9QceePMofLb+el 8ImTNKXxUmrc8cOgZbs0fqTBhYiUIALbSczcs/xTks08gBrQwMiNhUHdzrTCPSUWpfSP T1ToXrdcqG1gKJ67u3Ce+v3PzBIpZcOINFdX8bzwuogFMaaTwWFDrP+gkb0g/1SJwCRy zo2bpwZzUF6szkj2OoRkSidg9mScsYCHlsDGcQ1nR/prJ7XIqySjpIiVMwzVAJOiXXFx FE1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Pulf+GTQxk5uin6YUOuCzeis2FI3CtuvGLbmZk5/0oY=; b=R5H0wSiwHVdYeS/9J3/iGhnI5J+YZDbD2Pjvi1agmbckRr9ok/3SPE2TPMhddAtROn UeT72X+63XD63L4dhEJKoCqazBfsxS5GPqbDZCMJ59zlkBO7JdN35WA+V29pE4Xu9zOZ UuujJuV4miz0JWKWOM8/BzOCStmQtX2baknNsnDb6uUOWlnuauWg81KHNb/NkLqRMI+6 cNbGkK0Il2x7R1BVqL6fjZrTUnj9NtOP/keZiMSwsRwEwE849cK47OfDp7FEvKb+zKIk kmMqrs1w0ZmBoPJ50t/06QfdDoyvwluMlKF6YZjaWTW6CPn3HymuXpVbb1NihkD/JpFr TYaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=h63D6aj5; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y8-20020a05683009c800b0060b1dc1c5e9si2489813ott.133.2022.07.19.03.40.52; Tue, 19 Jul 2022 03:41:05 -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=@redhat.com header.s=mimecast20190719 header.b=h63D6aj5; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237144AbiGSKbZ (ORCPT + 99 others); Tue, 19 Jul 2022 06:31:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232225AbiGSKbY (ORCPT ); Tue, 19 Jul 2022 06:31:24 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 107EA3FA10 for ; Tue, 19 Jul 2022 03:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1658226682; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Pulf+GTQxk5uin6YUOuCzeis2FI3CtuvGLbmZk5/0oY=; b=h63D6aj5gTLJX/X1wLLG07Csoo65t6QHxJGH4TC+Z6Tn0SCZUlPux+GlpS2SzxbRzdZNoY Jkf8zLO3OpWf06++QB2Isu5dOVHVu1tYQ7DZFHzBcyACRH0bZwdFZFzlQy/eUo72y2PEr/ NFQC5hBCLuGS+B/wG0GpqX1mNM//Ed4= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-458-Quqbb-BjMrWIOgrgNYImrA-1; Tue, 19 Jul 2022 06:31:08 -0400 X-MC-Unique: Quqbb-BjMrWIOgrgNYImrA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4AC8F8039A2; Tue, 19 Jul 2022 10:31:08 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.39]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D0460492C3B; Tue, 19 Jul 2022 10:31:07 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 62DE21800098; Tue, 19 Jul 2022 12:31:06 +0200 (CEST) Date: Tue, 19 Jul 2022 12:31:06 +0200 From: Gerd Hoffmann To: Dmitry Osipenko Cc: kernel@collabora.com, David Airlie , Thomas =?utf-8?Q?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 Subject: Re: [PATCH v7 7/9] drm/virtio: Improve DMA API usage for shmem BOs Message-ID: <20220719103106.gttro4tjjbis6pgg@sirius.home.kraxel.org> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <05a5608b-899d-71de-a7d7-406334c5604b@collabora.com> X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE 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 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. take care, Gerd