mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
This reverts commit 973757a58d.
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
21 lines
407 B
C++
21 lines
407 B
C++
/*
|
|
* Copyright (C) 2022-2024 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/os_interface/linux/drm_neo.h"
|
|
|
|
namespace NEO {
|
|
bool Drm::isDrmSupported(int fileDescriptor) {
|
|
auto drmVersion = Drm::getDrmVersion(fileDescriptor);
|
|
return "i915" == drmVersion;
|
|
}
|
|
|
|
bool Drm::queryDeviceIdAndRevision() {
|
|
return queryI915DeviceIdAndRevision();
|
|
}
|
|
|
|
} // namespace NEO
|