summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
diff options
context:
space:
mode:
authorxinhui pan <xinhui.pan@amd.com>2020-03-16 11:45:14 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-03-16 16:21:32 -0400
commit57210c19e4ee34f1e1986a05f6626fac55ba271f (patch)
treefea55f4072287f41c44322061d04fd20aad142ce /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
parent79cb2719be26c09d34b6b4cffa19abd8f4a36644 (diff)
downloadlinux-stable-57210c19e4ee34f1e1986a05f6626fac55ba271f.tar.gz
linux-stable-57210c19e4ee34f1e1986a05f6626fac55ba271f.tar.bz2
linux-stable-57210c19e4ee34f1e1986a05f6626fac55ba271f.zip
drm_amdgpu: Add job fence to resv conditionally
Job fence on page table should be a shared one, so add it to the root page talbe bo resv. last_delayed field is not needed anymore. so remove it. Cc: Christian König <christian.koenig@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Felix Kuehling <Felix.Kuehling@amd.com> Suggested-by: Christian König <christian.koenig@amd.com> Signed-off-by: xinhui pan <xinhui.pan@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_vm.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
index d00648ee8d54..06fe30e1492d 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
@@ -276,7 +276,6 @@ struct amdgpu_vm {
/* Last submission to the scheduler entities */
struct dma_fence *last_direct;
- struct dma_fence *last_delayed;
unsigned int pasid;
/* dedicated to vm */