mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
fix debug message when creating Drm
Change-Id: I1b7a1f65d0e9b7371a171bc1b14c226ec5ae6b08 Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
a1348f2f94
commit
6714fe84b8
@@ -170,7 +170,7 @@ Drm *Drm::create(int32_t deviceOrdinal) {
|
||||
const_cast<FeatureTable *>(platformDevices[0]->pSkuTable), true);
|
||||
drmObject->setGtType(eGtType);
|
||||
} else {
|
||||
printDebugString(DebugManager.flags.PrintDebugMessages.get(), stderr, "%s",
|
||||
printDebugString(DebugManager.flags.PrintDebugMessages.get(), stderr,
|
||||
"FATAL: Unknown device: deviceId: %04x, revisionId: %04x\n", drmObject->deviceId, drmObject->revisionId);
|
||||
delete drmObject;
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user