diff options
author | Chunming Zhou <David1.Zhou@amd.com> | 2016-04-14 13:42:32 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-05-04 20:22:55 -0400 |
commit | 68befebee4927036b0f350825a20d46104f375b5 (patch) | |
tree | b848b169f36b3207cf20a58200e6ee3fe635180b /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 66067ad73c384a1780421e48a72a69b393359aa7 (diff) | |
download | lwn-68befebee4927036b0f350825a20d46104f375b5.tar.gz lwn-68befebee4927036b0f350825a20d46104f375b5.zip |
drm/amdgpu: only update last_flush when vmid doesn't have other new owner
Signed-off-by: Chunming Zhou <David1.Zhou@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.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 4a2b9a37271d..e4e781658cf1 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -881,6 +881,7 @@ struct amdgpu_vm_id { struct fence *first; struct amdgpu_sync active; struct fence *last_flush; + struct amdgpu_ring *last_user; atomic_long_t owner; uint64_t pd_gpu_addr; |