mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 23:56:39 +08:00
Move I915_PARAM values to DrmParam enum class
Related-To: NEO-6852 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
973bcb9dbc
commit
695958bd10
@@ -8,6 +8,8 @@
|
||||
#pragma once
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
namespace NEO {
|
||||
class IoctlHelper;
|
||||
|
||||
@@ -244,6 +246,17 @@ enum class DrmParam {
|
||||
EngineClassVideoEnhance,
|
||||
EngineClassInvalid,
|
||||
EngineClassInvalidNone,
|
||||
ParamChipsetId,
|
||||
ParamRevision,
|
||||
ParamHasExecSoftpin,
|
||||
ParamHasPooledEu,
|
||||
ParamHasScheduler,
|
||||
ParamEuTotal,
|
||||
ParamSubsliceTotal,
|
||||
ParamMinEuInPool,
|
||||
ParamCsTimestampFrequency,
|
||||
ParamHasVmBind,
|
||||
ParamHasPageFault,
|
||||
QueryEngineInfo,
|
||||
QueryHwconfigTable,
|
||||
QueryComputeSlices,
|
||||
@@ -251,4 +264,8 @@ enum class DrmParam {
|
||||
};
|
||||
|
||||
unsigned int getIoctlRequestValue(DrmIoctl ioctlRequest, IoctlHelper *ioctlHelper);
|
||||
int getDrmParamValue(DrmParam drmParam, IoctlHelper *ioctlHelper);
|
||||
|
||||
std::string getDrmParamString(DrmParam param);
|
||||
std::string getIoctlString(DrmIoctl ioctlRequest);
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user