diff options
| author | Zhenyu Wang <[email protected]> | 2020-02-20 16:23:37 +0800 | 
|---|---|---|
| committer | Zhenyu Wang <[email protected]> | 2020-02-20 16:23:37 +0800 | 
| commit | c95baf12f5077419db01313ab61c2aac007d40cd (patch) | |
| tree | 8c2aed3b89aecfb100b0546b601b7c7ae513a974 /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h | |
| parent | 690c3df85f107c7e2b5726392e0f53bb18ec9f73 (diff) | |
| parent | e24bcd34c1dd7dabde4a8546920537f7137e3c5f (diff) | |
Merge drm-intel-next-queued into gvt-next
Backmerge to pull in
https://patchwork.freedesktop.org/patch/353621/?series=73544&rev=1
Signed-off-by: Zhenyu Wang <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h | 8 | 
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h index b5f1778a2319..d62c2b81d92b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h @@ -40,8 +40,9 @@ struct amdgpu_sync {  };  void amdgpu_sync_create(struct amdgpu_sync *sync); -int amdgpu_sync_fence(struct amdgpu_device *adev, struct amdgpu_sync *sync, -		      struct dma_fence *f, bool explicit); +int amdgpu_sync_fence(struct amdgpu_sync *sync, struct dma_fence *f, +		      bool explicit); +int amdgpu_sync_vm_fence(struct amdgpu_sync *sync, struct dma_fence *fence);  int amdgpu_sync_resv(struct amdgpu_device *adev,  		     struct amdgpu_sync *sync,  		     struct dma_resv *resv, @@ -49,7 +50,8 @@ int amdgpu_sync_resv(struct amdgpu_device *adev,  		     bool explicit_sync);  struct dma_fence *amdgpu_sync_peek_fence(struct amdgpu_sync *sync,  				     struct amdgpu_ring *ring); -struct dma_fence *amdgpu_sync_get_fence(struct amdgpu_sync *sync, bool *explicit); +struct dma_fence *amdgpu_sync_get_fence(struct amdgpu_sync *sync, +					bool *explicit);  int amdgpu_sync_clone(struct amdgpu_sync *source, struct amdgpu_sync *clone);  int amdgpu_sync_wait(struct amdgpu_sync *sync, bool intr);  void amdgpu_sync_free(struct amdgpu_sync *sync);  |