mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
Sysman Fix Multithread Access for zesMemoryGetState
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com> Related-To: LOCI-2727
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
0e75f431e0
commit
152ee4a627
@@ -248,6 +248,7 @@ class Drm : public DriverModel {
|
||||
uint32_t getPciDomain() {
|
||||
return pciDomain;
|
||||
}
|
||||
MOCKABLE_VIRTUAL std::unique_ptr<uint8_t[]> getMemoryRegions();
|
||||
|
||||
protected:
|
||||
Drm(std::unique_ptr<HwDeviceIdDrm> &&hwDeviceIdIn, RootDeviceEnvironment &rootDeviceEnvironment);
|
||||
|
||||
@@ -43,6 +43,10 @@ bool Drm::queryEngineInfo(bool isSysmanEnabled) {
|
||||
return false;
|
||||
}
|
||||
|
||||
std::unique_ptr<uint8_t[]> Drm::getMemoryRegions() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
bool Drm::queryMemoryInfo() {
|
||||
auto pHwInfo = getRootDeviceEnvironment().getHardwareInfo();
|
||||
auto isLocalMemSupported = HwHelper::get(pHwInfo->platform.eRenderCoreFamily).getEnableLocalMemory(*pHwInfo);
|
||||
|
||||
Reference in New Issue
Block a user