}
pmem->dvaddr = dvaddr;
}
- vipx_info("[%20s] memory is allocated(%#p,%#x,%zuKB)",
- pmem->name, kvaddr, (int)pmem->dvaddr,
- pmem->size / SZ_1K);
+
+ if (pmem->kmap)
+ vipx_info("[%20s] memory is allocated(%#p,%#x,%zuKB)",
+ pmem->name, kvaddr, (int)pmem->dvaddr,
+ pmem->size / SZ_1K);
+ else
+ vipx_info("[%20s] memory is allocated(%#x,%zuKB)",
+ pmem->name, (int)pmem->dvaddr,
+ pmem->size / SZ_1K);
vipx_leave();
return 0;
}
break;
default:
+ ret = -EINVAL;
vipx_err("container memory type is invalid (%u)\n",
con[c_cnt].memory);
goto p_err;
__vipx_queue_unmap_dmabuf(queue, &buf[b_cnt]);
break;
default:
+ ret = -EINVAL;
vipx_err("container memory type is invalid (%u)\n",
con[c_cnt].memory);
goto p_err;
}
break;
default:
+ ret = -EINVAL;
vertex_err("container memory type is invalid (%u)\n",
con[c_cnt].memory);
goto p_err;
__vertex_queue_unmap_dmabuf(queue, &buf[b_cnt]);
break;
default:
+ ret = -EINVAL;
vertex_err("container memory type is invalid (%u)\n",
con[c_cnt].memory);
goto p_err;