fix: ensure system info is queried only once

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-07-26 11:59:53 +00:00
committed by Compute-Runtime-Automation
parent 0cdfa882eb
commit 7f6c6c6bb9
3 changed files with 20 additions and 0 deletions

View File

@@ -364,6 +364,7 @@ class Drm : public DriverModel {
bool memoryInfoQueried = false;
bool engineInfoQueried = false;
bool systemInfoQueried = false;
private:
int getParamIoctl(DrmParam param, int *dstValue);