Move ioctl strings out of ioctl helper

In order to setup ioctl helper we need to call ioctl to get hw info

Related-To: NEO-6591

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-02-17 09:45:06 +00:00
committed by Compute-Runtime-Automation
parent 63ae26715e
commit 235f9be779
10 changed files with 292 additions and 232 deletions

View File

@ -73,8 +73,6 @@ class IoctlHelper {
virtual ~IoctlHelper() {}
static IoctlHelper *get(const PRODUCT_FAMILY productFamily, const std::string &prelimVersion);
static uint32_t ioctl(Drm *drm, unsigned long request, void *arg);
virtual std::string getIoctlString(unsigned long request);
virtual std::string getIoctlParamString(int param);
virtual IoctlHelper *clone() = 0;
virtual bool isVmBindAvailable(Drm *drm) = 0;
@ -174,8 +172,6 @@ class IoctlHelperImpl : public IoctlHelperUpstream {
class IoctlHelperPrelim20 : public IoctlHelper {
public:
std::string getIoctlString(unsigned long request) override;
std::string getIoctlParamString(int param) override;
IoctlHelper *clone() override;
bool isVmBindAvailable(Drm *drm) override;