diff options
author | Dave Airlie <airlied@redhat.com> | 2016-10-27 21:33:52 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-10-27 21:33:52 -0400 |
commit | 220196b38483be6d84a295d318d48595f65da443 (patch) | |
tree | f91c2e6e64ef59afdc075d843d51f23369e9164a /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | |
parent | a1873c62710b23e9afbd2faeed5f28649cbe4739 (diff) | |
parent | 56df51d003203f1c3a8eab05605973515aa15feb (diff) |
Merge tag 'topic/drm-misc-2016-10-27' of git://anongit.freedesktop.org/git/drm-intel into drm-next
Pull request already again to get the s/fence/dma_fence/ stuff in and
allow everyone to resync. Otherwise really just misc stuff all over, and a
new bridge driver.
* tag 'topic/drm-misc-2016-10-27' of git://anongit.freedesktop.org/git/drm-intel:
drm/bridge: fix platform_no_drv_owner.cocci warnings
drm/bridge: fix semicolon.cocci warnings
drm: Print some debug/error info during DP dual mode detect
drm: mark drm_of_component_match_add dummy inline
drm/bridge: add Silicon Image SiI8620 driver
dt-bindings: add Silicon Image SiI8620 bridge bindings
video: add header file for Mobile High-Definition Link (MHL) interface
drm: convert DT component matching to component_match_add_release()
dma-buf: Rename struct fence to dma_fence
dma-buf/fence: add an lockdep_assert_held()
drm/dp: Factor out helper to distinguish between branch and sink devices
drm/edid: Only print the bad edid when aborting
drm/msm: add missing header dependencies
drm/msm/adreno: move function declarations to header file
drm/i2c/tda998x: mark symbol static where possible
doc: add missing docbook parameter for fence-array
drm: RIP mode_config->rotation_property
drm/msm/mdp5: Advertize 180 degree rotation
drm/msm/mdp5: Use per-plane rotation property
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h index 1ee1b65d7eff..f2ad49c8e85b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h | |||
@@ -67,7 +67,7 @@ struct amdgpu_fence_driver { | |||
67 | struct timer_list fallback_timer; | 67 | struct timer_list fallback_timer; |
68 | unsigned num_fences_mask; | 68 | unsigned num_fences_mask; |
69 | spinlock_t lock; | 69 | spinlock_t lock; |
70 | struct fence **fences; | 70 | struct dma_fence **fences; |
71 | }; | 71 | }; |
72 | 72 | ||
73 | int amdgpu_fence_driver_init(struct amdgpu_device *adev); | 73 | int amdgpu_fence_driver_init(struct amdgpu_device *adev); |
@@ -81,7 +81,7 @@ int amdgpu_fence_driver_start_ring(struct amdgpu_ring *ring, | |||
81 | unsigned irq_type); | 81 | unsigned irq_type); |
82 | void amdgpu_fence_driver_suspend(struct amdgpu_device *adev); | 82 | void amdgpu_fence_driver_suspend(struct amdgpu_device *adev); |
83 | void amdgpu_fence_driver_resume(struct amdgpu_device *adev); | 83 | void amdgpu_fence_driver_resume(struct amdgpu_device *adev); |
84 | int amdgpu_fence_emit(struct amdgpu_ring *ring, struct fence **fence); | 84 | int amdgpu_fence_emit(struct amdgpu_ring *ring, struct dma_fence **fence); |
85 | void amdgpu_fence_process(struct amdgpu_ring *ring); | 85 | void amdgpu_fence_process(struct amdgpu_ring *ring); |
86 | int amdgpu_fence_wait_empty(struct amdgpu_ring *ring); | 86 | int amdgpu_fence_wait_empty(struct amdgpu_ring *ring); |
87 | unsigned amdgpu_fence_count_emitted(struct amdgpu_ring *ring); | 87 | unsigned amdgpu_fence_count_emitted(struct amdgpu_ring *ring); |