diff options
author | Huacai Chen <[email protected]> | 2021-03-30 23:33:33 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-03-31 21:53:38 -0400 |
commit | 566c6e25f957ebdb0b6e8073ee291049118f47fb (patch) | |
tree | 8ffb89b0f1cf66e52bc11e6b44cb5c8da574bf02 /scripts/gdb/linux/tasks.py | |
parent | 6951c3e4a260f65a16433833d2511e8796dc8625 (diff) |
drm/amdgpu: Set a suitable dev_info.gart_page_size
In Mesa, dev_info.gart_page_size is used for alignment and it was
set to AMDGPU_GPU_PAGE_SIZE(4KB). However, the page table of AMDGPU
driver requires an alignment on CPU pages. So, for non-4KB page system,
gart_page_size should be max_t(u32, PAGE_SIZE, AMDGPU_GPU_PAGE_SIZE).
Signed-off-by: Rui Wang <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Link: https://github.com/loongson-community/linux-stable/commit/caa9c0a1
[Xi: rebased for drm-next, use max_t for checkpatch,
and reworded commit message.]
Signed-off-by: Xi Ruoyao <[email protected]>
BugLink: https://gitlab.freedesktop.org/drm/amd/-/issues/1549
Tested-by: Dan Horák <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions