mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
L0 Core Add Support For pci_speed_ext
This patch adds support for reading PCI bandwidth, generation and linkwidth information from sysfs nodes for the linux platform. Related-To: LOCI-2969 Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
061af9c284
commit
05a150f49f
@@ -1078,4 +1078,9 @@ PhysicalDevicePciBusInfo Wddm::getPciBusInfo() const {
|
||||
return PhysicalDevicePciBusInfo(0, adapterBDF.Bus, adapterBDF.Device, adapterBDF.Function);
|
||||
}
|
||||
|
||||
PhyicalDevicePciSpeedInfo Wddm::getPciSpeedInfo() const {
|
||||
PhyicalDevicePciSpeedInfo speedInfo{};
|
||||
return speedInfo;
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
@@ -203,6 +203,8 @@ class Wddm : public DriverModel {
|
||||
return adapterBDF;
|
||||
}
|
||||
|
||||
PhyicalDevicePciSpeedInfo getPciSpeedInfo() const override;
|
||||
|
||||
protected:
|
||||
std::unique_ptr<HwDeviceIdWddm> hwDeviceId;
|
||||
D3DKMT_HANDLE device = 0;
|
||||
|
||||
Reference in New Issue
Block a user