drm/nouveau: Add interface to detect optimus and v1 support
authorDave Airlie <airlied@redhat.com>
Fri, 2 Nov 2012 01:04:27 +0000 (11:04 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 28 Nov 2012 23:57:59 +0000 (09:57 +1000)
commitc839d748bdaa4f373368abeef3efc18e21e78313
tree7c677be1bbd382f7af70c18285e9812fb8e4ea8a
parentbf2c886a857dcf61f2354796a8858a230f2737fa
drm/nouveau: Add interface to detect optimus and v1 support

This is required to decide if we can auto-powerdown and how to implement it.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_acpi.c
drivers/gpu/drm/nouveau/nouveau_acpi.h