mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Change-Id: I6c01d065ff3372fe7583ed50ed51595ebeb53e54 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
33 lines
533 B
C++
33 lines
533 B
C++
/*
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "runtime/os_interface/linux/drm_memory_operations_handler.h"
|
|
#include "runtime/os_interface/os_interface.h"
|
|
|
|
#include "drm_neo.h"
|
|
|
|
namespace NEO {
|
|
class Drm;
|
|
|
|
class OSInterface::OSInterfaceImpl {
|
|
public:
|
|
OSInterfaceImpl() {
|
|
drm = nullptr;
|
|
}
|
|
Drm *getDrm() const {
|
|
return drm;
|
|
}
|
|
void setDrm(Drm *drm) {
|
|
this->drm = drm;
|
|
}
|
|
|
|
protected:
|
|
Drm *drm;
|
|
};
|
|
} // namespace NEO
|