diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/uvd_v3_1.c')
-rw-r--r-- | drivers/gpu/drm/radeon/uvd_v3_1.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/uvd_v3_1.c b/drivers/gpu/drm/radeon/uvd_v3_1.c index 5b6fa1f62d4e..d722db2cf340 100644 --- a/drivers/gpu/drm/radeon/uvd_v3_1.c +++ b/drivers/gpu/drm/radeon/uvd_v3_1.c | |||
@@ -37,7 +37,7 @@ | |||
37 | * | 37 | * |
38 | * Emit a semaphore command (either wait or signal) to the UVD ring. | 38 | * Emit a semaphore command (either wait or signal) to the UVD ring. |
39 | */ | 39 | */ |
40 | void uvd_v3_1_semaphore_emit(struct radeon_device *rdev, | 40 | bool uvd_v3_1_semaphore_emit(struct radeon_device *rdev, |
41 | struct radeon_ring *ring, | 41 | struct radeon_ring *ring, |
42 | struct radeon_semaphore *semaphore, | 42 | struct radeon_semaphore *semaphore, |
43 | bool emit_wait) | 43 | bool emit_wait) |
@@ -52,4 +52,6 @@ void uvd_v3_1_semaphore_emit(struct radeon_device *rdev, | |||
52 | 52 | ||
53 | radeon_ring_write(ring, PACKET0(UVD_SEMA_CMD, 0)); | 53 | radeon_ring_write(ring, PACKET0(UVD_SEMA_CMD, 0)); |
54 | radeon_ring_write(ring, 0x80 | (emit_wait ? 1 : 0)); | 54 | radeon_ring_write(ring, 0x80 | (emit_wait ? 1 : 0)); |
55 | |||
56 | return true; | ||
55 | } | 57 | } |