mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 16:45:25 +08:00
Store hardware IP version in hardware info
Query HW IP version using ioctl helper prelim Related-To: NEO-7457 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
49c828e481
commit
8ddc889c1d
@@ -12,7 +12,6 @@
|
||||
#include "shared/source/os_interface/linux/i915.h"
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
#include "ioctl_helper_init_calls.inl"
|
||||
|
||||
#include <cstring>
|
||||
|
||||
@@ -36,6 +35,11 @@ DrmMock::DrmMock(int fd, RootDeviceEnvironment &rootDeviceEnvironment) : Drm(std
|
||||
I915_SCHEDULER_CAP_PREEMPTION;
|
||||
}
|
||||
|
||||
int DrmMock::handleRemainingRequests(DrmIoctl request, void *arg) {
|
||||
ioctlCallsCount--;
|
||||
return -1;
|
||||
};
|
||||
|
||||
int DrmMock::ioctl(DrmIoctl request, void *arg) {
|
||||
ioctlCallsCount++;
|
||||
ioctlCount.total++;
|
||||
|
||||
Reference in New Issue
Block a user