Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp383896imp; Thu, 21 Feb 2019 03:28:34 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia5I/+T+DUqmi6NsB/q/Qlq2xKg3fj0Or6FqZ0TvRsjGMdUcdJ6X2ibq9sX5nZoWsm2msWB X-Received: by 2002:a17:902:684:: with SMTP id 4mr41756454plh.3.1550748514075; Thu, 21 Feb 2019 03:28:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550748514; cv=none; d=google.com; s=arc-20160816; b=x+UKyPTYv00UWRWzAEBbRfoMu53sh5N8RL49Dest+lh3PXc+CGtzV9lyY1heofXcVV 31xfIIGyVcb6ledJ/OoA+7nY+U/m55Sokr2CrnvHFz0oVBjQf0AIebi8/RyphCb4z5Ag 01VA5134tX+gW+WqAzJBq1wRbB2G22qjr5f/C2UuQbpQRmRuz9+mrev8U5eyDLlniw66 jlyh69Lk5Y001Us2rCfkvLk/GlGSIdLztwoNiL3hHValRmdr+bHXndMdtLvizOfz42UK 5ymwKCh2ojzNZba6TFOplcthDLbO++PIBIVGfFHgeAj0SmdStneKi4LtjMSMN03zV77+ ZvUA== 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=iL96aVWxJ6uTEez2uY+4Pn6YRDXMG9pX8NuKk5a1was=; b=xxYlYDmyuxuKxVGZY8bf220UDoLLSdEyroC+NDHP8RxPDbEw+fXKlHawmZiOrirV1f jXp7sxhpMx5zxLOL9AfjGG4sqSJLHrnSdTch4rAIUGYY3tbINGLKvRK/djILvm/nNuYd KmMYzx/CRq+imuSyOBhKVr1GZTcidnkt7iCAJoPqh3S2Hnaq9+ISHEXoIv8AfOJsVShc mXKbbo9JmMXv3U4ja2A7cdTEVqGlhQRgBT9DpqnxmXRGcXpZWI8pznvjc3VoxSkbyrtr HPGJ44vJ5ZKEr+3LZmn7WECE1y/p950hpz6p7jkh46OOAg3YEkCIkPbGA/0CB9p8Yhpz FdyQ== 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 m188si21524420pfb.266.2019.02.21.03.28.18; Thu, 21 Feb 2019 03:28:34 -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 S1726151AbfBUL0l (ORCPT + 99 others); Thu, 21 Feb 2019 06:26:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:22109 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725385AbfBUL0l (ORCPT ); Thu, 21 Feb 2019 06:26:41 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6EE073091851; Thu, 21 Feb 2019 11:26:41 +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 286975C277; Thu, 21 Feb 2019 11:26:41 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 50E9D11A9A; Thu, 21 Feb 2019 12:26:40 +0100 (CET) Date: Thu, 21 Feb 2019 12:26:40 +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] drm/qxl: unbind vgacon Message-ID: <20190221112640.vob3qxyligudm6io@sirius.home.kraxel.org> References: <20190220143640.9970-1-kraxel@redhat.com> <20190221095751.GN2665@phenom.ffwll.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190221095751.GN2665@phenom.ffwll.local> User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Thu, 21 Feb 2019 11:26:41 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > + /* unbind vgacon to make sure it doesn't touch our vga registers */ > > + console_lock(); > > + ret = do_take_over_console(&dummy_con, 0, MAX_NR_CONSOLES - 1, true); > > + console_unlock(); > > Still seems very late, in i915 we kick out vgacon as pretty much the first > thing in driver load. See i915_kick_out_vgacon. So the idea isn't completely silly ... thanks for the pointer, Gerd