mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Revert "fix: Fail device init if kernel debugging is misconfigured"
This reverts commit c122bc51f9.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
214277125d
commit
a89113fa1a
@@ -179,15 +179,6 @@ int Drm::getEnabledPooledEu(int &enabled) {
|
||||
return getParamIoctl(DrmParam::paramHasPooledEu, &enabled);
|
||||
}
|
||||
|
||||
std::string Drm::getSysFsPciPathBaseName() {
|
||||
auto fullPath = getSysFsPciPath();
|
||||
size_t pos = fullPath.rfind("/");
|
||||
if (std::string::npos == pos) {
|
||||
return fullPath;
|
||||
}
|
||||
return fullPath.substr(pos + 1, std::string::npos);
|
||||
}
|
||||
|
||||
std::string Drm::getSysFsPciPath() {
|
||||
std::string path = std::string(Os::sysFsPciPathPrefix) + hwDeviceId->getPciPath() + "/drm";
|
||||
std::string expectedFilePrefix = path + "/card";
|
||||
|
||||
Reference in New Issue
Block a user