mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
feature(sysman): Added changes for Porting Frequency API
The new classes SysmanKmdInterface, SysmanKmdInterfaceI915 and SysmanKmdInterfaceXe have been introduced. A map is maintained in the SysmanKmdInterfaceI915 and SysmanKmdInterfaceXe class for the sysfs file names. The access specifier of the function getDrmVersion has been changed from protected to public so as to use it in the sysman code. This is required for the SysmanKmdInterface pointer to point to the SysmanKmdInterfaceI915 and SysmanKmdInterfaceXe accordingly. The ULTs have been added for the new sysfs file path corresponding to the i915 and the Xe driver. Related-To: LOCI-4399 Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9dd9df9198
commit
b9837ef068
@@ -254,6 +254,7 @@ class Drm : public DriverModel {
|
||||
MOCKABLE_VIRTUAL std::string getSysFsPciPath();
|
||||
std::unique_ptr<HwDeviceIdDrm> &getHwDeviceId() { return hwDeviceId; }
|
||||
std::vector<uint8_t> query(uint32_t queryId, uint32_t queryItemFlags);
|
||||
static std::string getDrmVersion(int fileDescriptor);
|
||||
|
||||
protected:
|
||||
Drm(std::unique_ptr<HwDeviceIdDrm> &&hwDeviceIdIn, RootDeviceEnvironment &rootDeviceEnvironment);
|
||||
@@ -264,7 +265,6 @@ class Drm : public DriverModel {
|
||||
void printIoctlStatistics();
|
||||
void setupIoctlHelper(const PRODUCT_FAMILY productFamily);
|
||||
void queryAndSetVmBindPatIndexProgrammingSupport();
|
||||
static std::string getDrmVersion(int fileDescriptor);
|
||||
bool queryDeviceIdAndRevision();
|
||||
bool queryI915DeviceIdAndRevision();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user