ikwzm / udmabuf

User space mappable dma buffer device driver for Linux.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

memory-region property how to use it?

balaji-ch opened this issue · comments

It is mentioned in the readme that "By the memory-region property, it can be associated the reserved memory area with u-dma-buf." But I don't see of_property_read_ulong for it. Isn't it necessary as you read other properties ?

Thank you for the issue.

It is mentioned in the readme that "By the memory-region property, it can be associated the reserved memory area with u-dma-buf." But I don't see of_property_read_ulong for it. Isn't it necessary as you read other properties ?

The memory-region property is processed by of_reserved_mem_device_init() provided by the Linux Kernel.