Pass Drm object to OsContext on Linux

Change-Id: I341925eef9bc892f5c321c668736bb6a3aff38f5
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2018-11-08 13:05:46 +01:00
committed by sys_ocldev
parent 76efeae9d8
commit 728932ed44
4 changed files with 38 additions and 5 deletions

View File

@@ -0,0 +1,21 @@
/*
* Copyright (C) 2018 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "runtime/os_interface/os_context.h"
namespace OCLRT {
class Drm;
using OsContextLinux = OsContext::OsContextImpl;
class OsContext::OsContextImpl {
public:
OsContextImpl(Drm &drm);
protected:
Drm &drm;
};
} // namespace OCLRT