diff options
author | Michel Dänzer <[email protected]> | 2018-06-21 11:27:46 +0200 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2018-06-22 14:57:17 -0500 |
commit | 38e624a18f9a05b8c894409be6b14709a7206c7c (patch) | |
tree | 0664fa0973a32fdc4559631eb2b906d5e0e707f9 /drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | |
parent | fe2a19652918a5247418aed48a247414a5e45fe2 (diff) |
drm/amdgpu: GPU vs CPU page size fixes in amdgpu_vm_bo_split_mapping
start / last / max_entries are numbers of GPU pages, pfn / count are
numbers of CPU pages. Convert between them accordingly.
Fixes badness on systems with > 4K page size.
Cc: [email protected]
Bugzilla: https://bugs.freedesktop.org/106258
Reported-by: Matt Corallo <[email protected]>
Tested-by: [email protected]
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Michel Dänzer <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c')
0 files changed, 0 insertions, 0 deletions