mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Revert "Refactor Drm::queryTopology() to take struct"
This reverts commit f83b51e628.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a92798ec4f
commit
6bb76c82e3
@@ -66,16 +66,6 @@ class Drm {
|
||||
MaxSize
|
||||
};
|
||||
|
||||
struct QueryTopologyData {
|
||||
int sliceCount;
|
||||
int subSliceCount;
|
||||
int euCount;
|
||||
|
||||
int maxSliceCount;
|
||||
int maxSubSliceCount;
|
||||
int maxEuCount;
|
||||
};
|
||||
|
||||
virtual ~Drm();
|
||||
|
||||
virtual int ioctl(unsigned long request, void *arg);
|
||||
@@ -116,7 +106,7 @@ class Drm {
|
||||
MOCKABLE_VIRTUAL bool querySystemInfo();
|
||||
MOCKABLE_VIRTUAL bool queryEngineInfo();
|
||||
MOCKABLE_VIRTUAL bool queryMemoryInfo();
|
||||
bool queryTopology(const HardwareInfo &hwInfo, QueryTopologyData &data);
|
||||
bool queryTopology(const HardwareInfo &hwInfo, int &sliceCount, int &subSliceCount, int &euCount);
|
||||
bool createVirtualMemoryAddressSpace(uint32_t vmCount);
|
||||
void destroyVirtualMemoryAddressSpace();
|
||||
uint32_t getVirtualMemoryAddressSpace(uint32_t vmId);
|
||||
|
||||
Reference in New Issue
Block a user