Create wrappers for drm_i915_gem_create and drm_i915_gem_userptr

Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-05-16 13:05:56 +00:00
committed by Compute-Runtime-Automation
parent 4266f861ac
commit 06517f429f
6 changed files with 34 additions and 12 deletions

View File

@ -87,6 +87,18 @@ struct ExecBuffer {
uint8_t data[64];
};
struct GemCreate {
uint64_t size;
uint32_t handle;
};
struct GemUserPtr {
uint64_t userPtr;
uint64_t userSize;
uint32_t flags;
uint32_t handle;
};
class IoctlHelper {
public:
virtual ~IoctlHelper() {}