diff options
author | Nirmoy Das <nirmoy.das@amd.com> | 2021-05-20 14:10:24 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-01 22:55:38 -0400 |
commit | 59276f056fb790ff6e985a7a1f6f0f5a5adacfae (patch) | |
tree | ac5d08f476c1223c0ec243e173e3e46196ce41fa /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 1fdc79f6f9dcb9c8af9f53feb2ff61209b4d8287 (diff) | |
download | linux-59276f056fb790ff6e985a7a1f6f0f5a5adacfae.tar.bz2 |
drm/amdgpu: switch to amdgpu_bo_vm for vm code
The subclass, amdgpu_bo_vm is intended for PT/PD BOs which are also
shadowed, so switch to amdgpu_bo_vm BO for PT/PD BOs.
v4: update amdgpu_vm_update_funcs to accept amdgpu_bo_vm.
v3: simplify code.
check also if shadow bo exist instead of checking bo only type.
v2: squash three related patches.
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
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/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions