From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757217Ab0CJVMu (ORCPT ); Wed, 10 Mar 2010 16:12:50 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:48417 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757188Ab0CJVMs (ORCPT ); Wed, 10 Mar 2010 16:12:48 -0500 From: "Rafael J. Wysocki" To: Matthew Garrett Subject: Re: [Q] How to tell we're using the KMS (during suspend/resume) outside the graphics driver Date: Wed, 10 Mar 2010 22:15:26 +0100 User-Agent: KMail/1.12.4 (Linux/2.6.34-rc1-rjw; KDE/4.3.5; x86_64; ; ) Cc: Pauli Nieminen , Paul Mundt , Luca Tettamanti , Linux PCI , LKML , Jesse Barnes , ACPI Devel Maling List , pm list , dri-devel@lists.sourceforge.net References: <201003062236.09801.rjw@sisk.pl> <548cdfc21003100254t5c94aca5u5cf1e9eb29215325@mail.gmail.com> <20100310205618.GA28628@srcf.ucam.org> In-Reply-To: <20100310205618.GA28628@srcf.ucam.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201003102215.26232.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 10 March 2010, Matthew Garrett wrote: > As far as the ACPI video driver goes, acpi_get_physical_pci_device() > will give you something to work with. Hmm. Did you mean acpi_get_physical_device()? Which acpi_device should I call that for? > For the console-switching case, I think the most reasonable plan is probably > to add a flag to the console drivers to indicate whether or not they support > reprogramming the hardware themselves, and then walk all active console > drivers. There'd need to be a way for fb drivers to tell fbcon that they can > handle it. Yes, that sounds reasonable. Rafael