diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2018-06-21 11:27:46 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-06-22 14:57:17 -0500 |
commit | 38e624a18f9a05b8c894409be6b14709a7206c7c (patch) | |
tree | 0664fa0973a32fdc4559631eb2b906d5e0e707f9 /mm/mmu_notifier.c | |
parent | fe2a19652918a5247418aed48a247414a5e45fe2 (diff) | |
download | linux-38e624a18f9a05b8c894409be6b14709a7206c7c.tar.gz |
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: stable@vger.kernel.org
Bugzilla: https://bugs.freedesktop.org/106258
Reported-by: Matt Corallo <freedesktop@bluematt.me>
Tested-by: foxbat@ruin.net
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'mm/mmu_notifier.c')
0 files changed, 0 insertions, 0 deletions