diff options
author | Tvrtko Ursulin <[email protected]> | 2019-10-16 10:38:02 +0100 |
---|---|---|
committer | Tvrtko Ursulin <[email protected]> | 2019-10-17 10:50:47 +0100 |
commit | 05488673a4d41383f9dd537f298e525e6b00fb93 (patch) | |
tree | 08ebbbf1fbab1dd2f48962d7e9b3affa70898b7d /scripts/gdb/linux/timerlist.py | |
parent | eb8de23c955bd4dae47bfdac61179010d3e451d8 (diff) |
drm/i915/pmu: Support multiple GPUs
With discrete graphics system can have both integrated and discrete GPU
handled by i915.
Currently we use a fixed name ("i915") when registering as the uncore PMU
provider which stops working in this case.
To fix this we add the PCI device name string to non-integrated devices
handled by us. Integrated devices keep the legacy name preserving
backward compatibility.
v2:
* Detect IGP and keep legacy name. (Michal)
* Use PCI device name as suffix. (Michal, Chris)
v3:
* Constify the name. (Chris)
* Use pci_domain_nr. (Chris)
v4:
* Fix kfree_const usage. (Chris)
v5:
* kfree_const does not work for modules. (Chris)
* Changed is_igp helper to take i915.
Signed-off-by: Tvrtko Ursulin <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Michal Wajdeczko <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions