[lkml]   [2010]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [Q] How to tell we're using the KMS (during suspend/resume) outside the graphics driver
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 |

 \ /
  Last update: 2010-03-10 22:19    [W:0.060 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site