mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
refactor: add separate function to create IoctlHelperXe
unify ioctl helper xe logic Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9903009889
commit
15d7a31148
@@ -32,7 +32,7 @@ struct BindInfo {
|
||||
class IoctlHelperXe : public IoctlHelper {
|
||||
public:
|
||||
using IoctlHelper::IoctlHelper;
|
||||
|
||||
static std::unique_ptr<IoctlHelperXe> create(Drm &drmArg);
|
||||
IoctlHelperXe(Drm &drmArg);
|
||||
~IoctlHelperXe() override;
|
||||
int ioctl(DrmIoctl request, void *arg) override;
|
||||
@@ -135,7 +135,7 @@ class IoctlHelperXe : public IoctlHelper {
|
||||
const char *xeGetBindOperationName(int bindOperation);
|
||||
const char *xeGetBindFlagsName(int bindFlags);
|
||||
|
||||
uint64_t getExtraFlagsForVmBind(bool bindCapture, bool bindImmediate, bool bindMakeResident, bool bindLock, bool readOnlyResource);
|
||||
virtual uint64_t getExtraFlagsForVmBind(bool bindCapture, bool bindImmediate, bool bindMakeResident, bool bindLock, bool readOnlyResource);
|
||||
const char *xeGetengineClassName(uint32_t engineClass);
|
||||
template <typename DataType>
|
||||
std::vector<DataType> queryData(uint32_t queryId);
|
||||
@@ -181,7 +181,6 @@ class IoctlHelperXe : public IoctlHelper {
|
||||
};
|
||||
std::vector<DebugMetadata> debugMetadata;
|
||||
|
||||
private:
|
||||
template <typename... XeLogArgs>
|
||||
void xeLog(XeLogArgs &&...args) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user