diff options
author | Peter Wu <[email protected]> | 2016-07-15 15:12:15 +0200 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2016-07-30 18:19:29 +1000 |
commit | df42194a9ac2678bf086c2c5372e125e742b0ee7 (patch) | |
tree | dad115f02e302179e8eb4be7fb87a8322fd7f858 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 28668f43b8e421634e1623f72a879812288dd06b (diff) |
drm/nouveau/acpi: ensure matching ACPI handle and supported functions
Ensure that the returned set of supported DSM functions (MUX, Optimus)
match the ACPI handle that is set in nouveau_dsm_pci_probe.
As there are no machines with a MUX function on just one PCI device and
an Optimus on another, there should not be a functional impact. This
change however makes this implicit assumption more obvious.
Convert int to bool and rename has_dsm to has_mux while at it. Let the
caller set nouveau_dsm_priv.dhandle as needed.
v2: pass dhandle to the caller.
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Peter Wu <[email protected]>
Acked-by: Dave Airlie <[email protected]
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions