]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: create shadow bo using amdgpu_bo_create_shadow()
authorNirmoy Das <nirmoy.das@amd.com>
Thu, 22 Apr 2021 14:54:01 +0000 (16:54 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Apr 2021 21:18:32 +0000 (17:18 -0400)
commitadf6f5c51ea14121e2302fb1b0ab3a90921ede59
tree4bbc269b50d74896c75a4aad60968441fcad4889
parent77df5c131d4d3413acf8da259e3cad22426ff90d
drm/amdgpu: create shadow bo using amdgpu_bo_create_shadow()

Shadow BOs are only needed for vm code so call amdgpu_bo_create_shadow()
directly instead of depending on amdgpu_bo_create().

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c