summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdkfd/kfd_migrate.c
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2022-04-28 01:50:49 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-04-29 00:49:04 +0300
commit3da2c38231a4c62dafdbd762a199cfacaccd0533 (patch)
tree2c88432664a23171dcc1afd6d9773c70533cd176 /drivers/gpu/drm/amd/amdkfd/kfd_migrate.c
parent86e18ac3aee9d0a3deadb6dc0a8685621805ceed (diff)
downloadlinux-3da2c38231a4c62dafdbd762a199cfacaccd0533.tar.xz
drm/amdgpu: Free user pages if amdgpu_cs_parser_bos failed
Otherwise userspace resubmit the BOs again will trigger kernel WARNING and fail the command submission. Signed-off-by: Philip Yang <Philip.Yang@amd.com> Tested-by: Robert Święcki <robert@swiecki.net> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_migrate.c')
0 files changed, 0 insertions, 0 deletions