diff options
| author | Xiaogang Chen <xiaogang.chen@amd.com> | 2025-12-01 14:12:29 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-12-18 13:55:20 +0100 |
| commit | c5bb128353e127da8beb07b0a8612f05caa559b9 (patch) | |
| tree | 1ce580c12b6e724a6616eb784f4454d526694d2b /include/net/aligned_data.h | |
| parent | 79331b0b4df1007ff8c77d7b19f1e7a5240dd524 (diff) | |
drm/amdkfd: Use huge page size to check split svm range alignment
[ Upstream commit bf2084a7b1d75d093b6a79df4c10142d49fbaa0e ]
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: 7ef6b2d4b7e5 ("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 commit 448ee45353ef9fb1a34f5f26eb3f48923c6f0898)
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
