nouveau: properly check for _DSM function support
authorPeter Lekensteyn <lekensteyn@gmail.com>
Sat, 17 Dec 2011 11:53:43 +0000 (12:53 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 13 Jan 2012 09:09:07 +0000 (09:09 +0000)
According to the ACPI spec version 4, section 9.14.1, _DSM functions
must return a value with the first bit enabled if any DSM functions are
supported for the given UUID and revision ID. For a given function index n
to be marked supported, bit n must be enabled.

Signed-off-by: Peter Lekensteyn <lekensteyn@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

No differences found