diff options
author | Christian König <christian.koenig@amd.com> | 2020-01-22 15:38:43 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-02-05 07:30:39 +0300 |
commit | 7d28efe0c3c0d14d8c04e15efe8d3d59f12c1049 (patch) | |
tree | b5bdb8aa06b02eba65c1c10a975e543e3e18725f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | bfcd6c69e4c3f73f2f92b997983537f9a3ac3b29 (diff) | |
download | linux-7d28efe0c3c0d14d8c04e15efe8d3d59f12c1049.tar.xz |
drm/amdgpu: return EINVAL instead of ENOENT in the VM code
That we can't find a PD above the root is expected can only happen if
we try to update a larger range than actually managed by the VM.
Signed-off-by: Christian König <christian.koenig@amd.com>
Tested-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions