mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
drm/amdkfd: Use huge page size to check split svm range alignment
[ Upstream commitbf2084a7b1] When split svm ranges that have been mapped using huge page should use huge page size(2MB) to check split range alignment, not prange->granularity that means migration granularity. Fixes:7ef6b2d4b7("drm/amdkfd: remap unaligned svm ranges that have split") Signed-off-by: Xiaogang Chen <xiaogang.chen@amd.com> Reviewed-by: Philip Yang <Philip.Yang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit448ee45353) Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
79331b0b4d
commit
c5bb128353
1 changed files with 32 additions and 14 deletions
Loading…
Add table
Add a link
Reference in a new issue