SWDEV-559267 - Use CLPrint to DevLogPrintf with Log Level - detail debug. (#1160)

Tá an tiomantas seo le fáil i:
Karthik Jayaprakash
2025-11-25 19:25:32 -05:00
tiomanta ag GitHub
tuismitheoir 93682f2f75
tiomantas 740a06d567
D'athraigh 20 comhad le 130 breiseanna agus 99 scriosta
+4 -2
Féach ar an gComhad
@@ -58,7 +58,8 @@ bool KernelParameters::check() {
for (size_t i = 0; i < signature_.numParameters(); ++i) {
if (!test(i)) {
DevLogPrintfError("Kernel Parameter test failed for idx: %d \n", i);
ClPrint(amd::LOG_DETAIL_DEBUG, amd::LOG_KERN,
"Kernel Parameter test failed for idx: %d \n", i);
return false;
}
}
@@ -327,7 +328,8 @@ address KernelParameters::capture(device::VirtualDevice& vDev, uint64_t lclMemSi
bool KernelParameters::boundToSvmPointer(const Device& device, const_address capturedParameter,
size_t index) const {
if (!device.info().svmCapabilities_) {
DevLogPrintfError("The device: 0x%x does not have SVM Capabilities \n", &device);
ClPrint(amd::LOG_DETAIL_DEBUG, amd::LOG_KERN,
"The device: 0x%x does not have SVM Capabilities \n", &device);
return false;
}
//! Information about which arguments are SVM pointers is stored after