mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
Improving OS abstraction
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7bec5d5d3b
commit
0e9aa45e46
@@ -8,7 +8,7 @@
|
||||
#include "shared/source/os_interface/linux/device_time_drm.h"
|
||||
|
||||
#include "shared/source/os_interface/linux/drm_neo.h"
|
||||
#include "shared/source/os_interface/linux/os_interface.h"
|
||||
#include "shared/source/os_interface/os_interface.h"
|
||||
|
||||
#include "drm/i915_drm.h"
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace NEO {
|
||||
|
||||
DeviceTimeDrm::DeviceTimeDrm(OSInterface *osInterface) {
|
||||
if (osInterface) {
|
||||
pDrm = osInterface->get()->getDrm();
|
||||
pDrm = osInterface->getDriverModel()->as<Drm>();
|
||||
}
|
||||
timestampTypeDetect();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user