mirror of https://gitee.com/openkylin/linux.git
aed2c03c8d
The VMA manager is page-size based so drm_vma_node_size() returns the size
in pages. However, drm_gem_mmap_obj() requires the size in bytes. Apply
PAGE_SHIFT so we no longer get EINVAL during mmaps due to too small
buffers.
This bug was introduced in commit:
|
||
---|---|---|
.. | ||
drm | ||
host1x | ||
vga | ||
Makefile |