mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 12:42:54 +08:00
refactor: bind drm context within IoctlHelper::createDrmContext method
Related-To: NEO-6999 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
efa19a0b18
commit
fffd56d7a6
@@ -20,7 +20,7 @@
|
||||
|
||||
namespace NEO {
|
||||
class Drm;
|
||||
class OsContext;
|
||||
class OsContextLinux;
|
||||
class IoctlHelper;
|
||||
enum class CacheRegion : uint16_t;
|
||||
struct HardwareInfo;
|
||||
@@ -114,7 +114,7 @@ class IoctlHelper {
|
||||
|
||||
virtual std::vector<MemoryRegion> translateToMemoryRegions(const std::vector<uint8_t> ®ionInfo);
|
||||
|
||||
uint32_t createDrmContext(Drm &drm, const OsContext &osContext, uint32_t drmVmId);
|
||||
uint32_t createDrmContext(Drm &drm, OsContextLinux &osContext, uint32_t drmVmId, uint32_t deviceIndex);
|
||||
std::vector<EngineCapabilities> translateToEngineCaps(const std::vector<uint8_t> &data);
|
||||
|
||||
void fillExecObject(ExecObject &execObject, uint32_t handle, uint64_t gpuAddress, uint32_t drmContextId, bool bindInfo, bool isMarkedForCapture);
|
||||
|
||||
Reference in New Issue
Block a user