amd_smi_lib: Fix missing sym link causes segfault
Changes AMDSmiDrm to use the versioned library for its dependency
Code changes related to the following:
* AMDSmiDrm::init()
Build changes related to the following: None
Change-Id: Ibd5b3dd88f679912acdfa292502003f58b28daf5
Signed-off-by: Oliveira, Daniel <daniel.oliveira@amd.com>
[ROCm/amdsmi commit: e20fd12934]
This commit is contained in:
committed by
Dmitrii Galantsev
parent
91ef279bc4
commit
f13cbb8d10
@@ -86,7 +86,7 @@ amdsmi_status_t AMDSmiDrm::init() {
|
||||
int fd = -1;
|
||||
|
||||
|
||||
amdsmi_status_t status = lib_loader_.load("libdrm.so");
|
||||
amdsmi_status_t status = lib_loader_.load("libdrm.so.2");
|
||||
if (status != AMDSMI_STATUS_SUCCESS) {
|
||||
return status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user