mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 17:00:59 +08:00
Related-To: NEO-6510 Check which prelim version is being used. Select proper IoctlHelper based on that version. If no version found, switch to upstream instead. Source of prelim headers: https://github.com/intel-gpu/drm-uapi-helper Signed-off-by: Szymon Morek <szymon.morek@intel.com>
19 lines
351 B
C++
19 lines
351 B
C++
/*
|
|
* Copyright (C) 2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/os_interface/linux/ioctl_helper.h"
|
|
|
|
#include "shared/source/os_interface/linux/drm_neo.h"
|
|
|
|
namespace NEO {
|
|
|
|
uint32_t IoctlHelper::ioctl(Drm *drm, unsigned long request, void *arg) {
|
|
return drm->ioctl(request, arg);
|
|
}
|
|
|
|
} // namespace NEO
|