From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757266Ab0CJVRN (ORCPT ); Wed, 10 Mar 2010 16:17:13 -0500 Received: from cavan.codon.org.uk ([93.93.128.6]:52874 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753581Ab0CJVRI (ORCPT ); Wed, 10 Mar 2010 16:17:08 -0500 Date: Wed, 10 Mar 2010 21:17:04 +0000 From: Matthew Garrett To: "Rafael J. Wysocki" Cc: Pauli Nieminen , Paul Mundt , Luca Tettamanti , Linux PCI , LKML , Jesse Barnes , ACPI Devel Maling List , pm list , dri-devel@lists.sourceforge.net Subject: Re: [Q] How to tell we're using the KMS (during suspend/resume) outside the graphics driver Message-ID: <20100310211704.GA29201@srcf.ucam.org> References: <201003062236.09801.rjw@sisk.pl> <548cdfc21003100254t5c94aca5u5cf1e9eb29215325@mail.gmail.com> <20100310205618.GA28628@srcf.ucam.org> <201003102215.26232.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201003102215.26232.rjw@sisk.pl> User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 10, 2010 at 10:15:26PM +0100, Rafael J. Wysocki wrote: > 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()? Ah, no, acpi_get_pci_dev. > Which acpi_device should I call that for? The video one. acpi_video_bus_check does something very similar to check whether the device actually exists. -- Matthew Garrett | mjg59@srcf.ucam.org