Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/amdgpu: Set a suitable dev_info.gart_page_size
In mesa/libdrm, dev_info.gart_page_size is used for alignment and it is set to AMDGPU_GPU_PAGE_SIZE(4KB). So, for non-4KB page size system, we should set gart_page_size to max((int)PAGE_SIZE, AMDGPU_GPU_PAGE_SIZE). Signed-off-by: Huacai Chen <chenhc@lemote.com>
- Loading branch information