Fixed NoDRM Failures

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Williams, Justin <Justin.Williams@amd.com>
This commit is contained in:
Williams, Justin
2025-06-25 07:01:26 -07:00
zatwierdzone przez Arif, Maisam
rodzic bad4868f39
commit 738627af29
+3 -6
Wyświetl plik
@@ -39,12 +39,9 @@
if (RET != AMDSMI_STATUS_SUCCESS) { \
const char *err_str; \
amdsmi_status_code_to_string(RET, &err_str); \
if (RET == AMDSMI_STATUS_NOT_SUPPORTED || RET == AMDSMI_STATUS_INVAL) { \
std::cout << "AMDSMI call returned " << RET << " at line " \
<< __LINE__ << ": " << err_str << std::endl; \
} else { \
std::cout << "AMDSMI call returned " << RET << " at line " \
<< __LINE__ << ": " << err_str << std::endl; \
std::cout << "AMDSMI call returned " << RET << " at line " \
<< __LINE__ << ": " << err_str << std::endl; \
if (RET != AMDSMI_STATUS_NOT_SUPPORTED && RET != AMDSMI_STATUS_INVAL) { \
return RET; \
} \
} \