mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 02:18:05 +08:00
fix: query drm info to aligned storages
xe topology info to byte aligned storage xe engine info to 2 byte aligned storage system info to 4 byte aligned storage all other info to 8 byte aligned storage Related-To: NEO-9038 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
fd7c750cf7
commit
85eafc9e61
@@ -238,7 +238,7 @@ class Drm : public DriverModel {
|
||||
pciDomain = domain;
|
||||
}
|
||||
|
||||
MOCKABLE_VIRTUAL std::vector<uint8_t> getMemoryRegions();
|
||||
MOCKABLE_VIRTUAL std::vector<uint64_t> getMemoryRegions();
|
||||
|
||||
MOCKABLE_VIRTUAL bool completionFenceSupport();
|
||||
|
||||
@@ -253,7 +253,9 @@ class Drm : public DriverModel {
|
||||
bool readSysFsAsString(const std::string &relativeFilePath, std::string &readString);
|
||||
MOCKABLE_VIRTUAL std::string getSysFsPciPath();
|
||||
std::unique_ptr<HwDeviceIdDrm> &getHwDeviceId() { return hwDeviceId; }
|
||||
std::vector<uint8_t> query(uint32_t queryId, uint32_t queryItemFlags);
|
||||
|
||||
template <typename DataType>
|
||||
std::vector<DataType> query(uint32_t queryId, uint32_t queryItemFlags);
|
||||
static std::string getDrmVersion(int fileDescriptor);
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user