Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp581617imp; Thu, 21 Feb 2019 07:14:19 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib6hMLw0uDo4db9NsNLCC8RDn26zmlQ4Qs6mLBtplGuOzopQLSwamyIY8Mh4gSP/VUkgqeL X-Received: by 2002:a17:902:8697:: with SMTP id g23mr34358825plo.30.1550762058978; Thu, 21 Feb 2019 07:14:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550762058; cv=none; d=google.com; s=arc-20160816; b=pvnv+uh9mD9EksnbagqbArD3aW2R3YkJaML7Hfyyd3VQL79GrbTClm3YWecf9e8IMS sj1/roraEy87/5dHz4wfX2gxrwx8faWVFeIyggDOTNfSp1rVRnCecpXrHFrljBKmlBtX cFBD04lNRHkHcBWdZc0xYb/rN4ljVKtCCb2EtYEZQGfbfOw1dy3dcXYxnf0m7KcqgBod I1bfpJJjyKsmP4DAtntQUtxerqVcWjJj/1VOO8At5y/cOTUJqBysOp/ItlX/w9FdtQXG VPEldhEjOPqkrRlyTvyxRbvLIOc3bHdN9TcWkiRPi1aGt2FiYatxIxXMGXsF1Rt2KR6Q dSKg== 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=kr63WnyeUvUYi2mRx288/3iKDwYkqeNqJ3hqQC0Gg2s=; b=GmcslEfaeuiCvqVe5NaRpOOPeU1HlXrKixIXn1UpZZNvYp4PporVTpxolPZf8C8V4z Vh6O/PhdipIXYSFTfqjYVeTRlOATByw6RxSS5cSmy+5Db9ILykIzwoeUdpr6/3cVZgSQ manSG/qXWU7wpVXOQyv8f9OTeH45Bs8z2GveIFDrpTGf0ES1t2fZlE7FpgOqZxzC59IF FcdBAPWTV9M+IxAE1QgBhi4KJLXc6riPL8bzMG5OshFSAhDooaqXM9YM9z5qCWfs4pAx sijYv5h4iSCAylKW607XIkSCAJqbfi2uQd81VTrAS6iy/Akj91P3vYLqTm2Olcjsbl6U QwxQ== 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 l2si21347085pfc.287.2019.02.21.07.14.03; Thu, 21 Feb 2019 07:14:18 -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 S1728219AbfBUPLl (ORCPT + 99 others); Thu, 21 Feb 2019 10:11:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60588 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725858AbfBUPLk (ORCPT ); Thu, 21 Feb 2019 10:11:40 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AA4803082B57; Thu, 21 Feb 2019 15:11:40 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-116-228.ams2.redhat.com [10.36.116.228]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5F94F5D9E2; Thu, 21 Feb 2019 15:11:40 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 9FE9511A9A; Thu, 21 Feb 2019 16:11:39 +0100 (CET) Date: Thu, 21 Feb 2019 16:11:39 +0100 From: Gerd Hoffmann To: dri-devel@lists.freedesktop.org, Dave Airlie , David Airlie , "open list:DRM DRIVER FOR QXL VIRTUAL GPU" , "open list:DRM DRIVER FOR QXL VIRTUAL GPU" , open list Subject: Re: [PATCH v2 2/2] drm/qxl: kick out vgacon Message-ID: <20190221151139.ul2ihzd2yi4m47tf@sirius.home.kraxel.org> References: <20190221113534.20764-1-kraxel@redhat.com> <20190221113534.20764-3-kraxel@redhat.com> <20190221122011.GP2665@phenom.ffwll.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190221122011.GP2665@phenom.ffwll.local> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.45]); Thu, 21 Feb 2019 15:11:40 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > I was thinking of checking whether pdev is a VGA class device and whether > it decodes vga access, and in that case automatically calling How can I figure that? Ok, class is easy, but decode? pci.h offers functions to set vga decode but not to get that info ... thanks, Gerd