mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Extend DRM mock and queryTopology tests - part 1
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com Related-To: NEO-6591
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
452de80d70
commit
f2c4231a27
@@ -13,10 +13,8 @@
|
||||
namespace NEO {
|
||||
IoctlHelper *ioctlHelperFactory[IGFX_MAX_PRODUCT] = {};
|
||||
|
||||
IoctlHelper *IoctlHelper::get(const HardwareInfo *hwInfo, const std::string &prelimVersion) {
|
||||
auto product = hwInfo->platform.eProductFamily;
|
||||
|
||||
auto productSpecificIoctlHelper = ioctlHelperFactory[product];
|
||||
IoctlHelper *IoctlHelper::get(const PRODUCT_FAMILY productFamily, const std::string &prelimVersion) {
|
||||
auto productSpecificIoctlHelper = ioctlHelperFactory[productFamily];
|
||||
if (productSpecificIoctlHelper) {
|
||||
return productSpecificIoctlHelper->clone();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user