mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[ion]: use default sysfs path rather than remount path
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1061 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -204,7 +204,7 @@ RK_S32 check_sysfs_iommu()
|
|||||||
|
|
||||||
if (!dts_info_found) {
|
if (!dts_info_found) {
|
||||||
for (i = 0; i < MPP_ARRAY_ELEMS(system_heaps); i++) {
|
for (i = 0; i < MPP_ARRAY_ELEMS(system_heaps); i++) {
|
||||||
snprintf(path, sizeof(path), "/d/ion/heaps");
|
snprintf(path, sizeof(path), "/sys/kernel/debug/ion/heaps");
|
||||||
if (find_dir_in_path(path, system_heaps[i], sizeof(path))) {
|
if (find_dir_in_path(path, system_heaps[i], sizeof(path))) {
|
||||||
mpp_log("%s found\n", system_heaps[i]);
|
mpp_log("%s found\n", system_heaps[i]);
|
||||||
ret = ION_DETECT_IOMMU_ENABLE;
|
ret = ION_DETECT_IOMMU_ENABLE;
|
||||||
|
Reference in New Issue
Block a user