Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1738569imu; Wed, 21 Nov 2018 00:56:35 -0800 (PST) X-Google-Smtp-Source: AFSGD/UlbMliPB3KUKVEsG7/FDfQhi2/1zlvZ3SqGCW1/o32oaCw3ABRJZ0tVIq40sj3+LXMBrmy X-Received: by 2002:a63:955a:: with SMTP id t26mr5200999pgn.449.1542790595512; Wed, 21 Nov 2018 00:56:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542790595; cv=none; d=google.com; s=arc-20160816; b=EzSLNFeKxsbbDbP3pvIRt7nIRisK0f8tmdC+VTP6eR4ytTN5qRDCXGRsi2Qld2bRhl jP67Ls4AVMr/QM1/LknBIFXfOx0ZHKBTMZNpay+e9sAYLmbf6jAcRFPfkYecR0ru6+0r yMe/p74f3HFBn6uiwFXaSEN38XHHF7iFxAK8Ym/wrc59Na6m3veaADorzDUFPWMRuGvx 2Xd86luX4iA/uxi2RUEGEa7UKr+jgL1MR9xrNWhR/UC3P+81jVXRLhq+rXCwda6NvjOv nMu3oJlXFr+8hMqyhkoN94tAFsHZCfN2YmwWkQQ3QtORqU9qxDZ6Q+sBu1TIU14ghulS tGsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date; bh=ziFdMyN9KMEQxm9rvC+AtPiC/tJQKzEXulj3kLoztnw=; b=iTDV4GJPNHLEAwoXalhY7eTFojk3fGgigu8Zk7XeWVrvGpRWm8nJRXo9j59DBG8AzH vtdhUGJCXWZZN86eOFh9tG55xmJFYSI8BlUaZCBsfL5czolg29KeY6lZlk78/VRiISgE qPFNIFyC6nfw47NiynRkaJhVJglbHrunp8oqp5EOS8kPBq2c360I4s9mkj2RDXVmDBYX X0jhDrZ76aPjZ77BqLlLQ/9z7lzE/xrFLs6yNSdnVwOfosTv8RY06yAsC+ozlWuppfbG TXoAcVQfX2Ql/Ejj4mPCK98xG1OPS3KYIiWNZWhpT3qRZ/1/O3WWAAEHjLamK6JvbB3N iYiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 193si45802273pgc.220.2018.11.21.00.56.18; Wed, 21 Nov 2018 00:56:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728370AbeKUT2B (ORCPT + 99 others); Wed, 21 Nov 2018 14:28:01 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50934 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726165AbeKUT2B (ORCPT ); Wed, 21 Nov 2018 14:28:01 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A454C307D849; Wed, 21 Nov 2018 08:54:23 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-116-59.ams2.redhat.com [10.36.116.59]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3B778600C3; Wed, 21 Nov 2018 08:54:23 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 33C5340DB8C; Wed, 21 Nov 2018 09:54:22 +0100 (CET) Date: Wed, 21 Nov 2018 09:54:22 +0100 From: Gerd Hoffmann To: virtio-dev@lists.oasis-open.org, dri-devel@lists.freedesktop.org, David Airlie , open list , "open list:VIRTIO GPU DRIVER" Subject: Re: [PATCH v4 2/2] drm/virtio: add edid support Message-ID: <20181121085422.mk4ob6vhwbnufqzl@sirius.home.kraxel.org> References: <20181030063206.19528-1-kraxel@redhat.com> <20181030063206.19528-3-kraxel@redhat.com> <20181030093804.GQ21967@phenom.ffwll.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181030093804.GQ21967@phenom.ffwll.local> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Wed, 21 Nov 2018 08:54:23 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 30, 2018 at 10:38:04AM +0100, Daniel Vetter wrote: > On Tue, Oct 30, 2018 at 07:32:06AM +0100, Gerd Hoffmann wrote: > > linux guest driver implementation of the VIRTIO_GPU_F_EDID feature. > > > > Signed-off-by: Gerd Hoffmann > > Like with bochs, I think drm_do_get_edid() here is overkill and fairly > pointless. Like with bochs it makes sense to use drm_do_get_edid(), because it handles edid override and other common stuff. Not that this should actually be needed for virtual devices, but I think it still makes sense for consistency with other drivers, and it might be handy for testing too. cheers, Gerd