aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2021-05-26 22:00:05 +1000
committerMichael Ellerman <[email protected]>2021-05-28 22:54:27 +1000
commit5362a4b6ee6136018558ef6b2c4701aa15ebc602 (patch)
treeae864a9562e6211d32f26ab0608cdf8e40388386 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent82123a3d1d5a306fdf50c968a474cc60fe43a80f (diff)
powerpc: Fix reverse map real-mode address lookup with huge vmalloc
real_vmalloc_addr() does not currently work for huge vmalloc, which is what the reverse map can be allocated with for radix host, hash guest. Extract the hugepage aware equivalent from eeh code into a helper, and convert existing sites including this one to use it. Fixes: 8abddd968a30 ("powerpc/64s/radix: Enable huge vmalloc mappings") Signed-off-by: Nicholas Piggin <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions