diff options
author | Christian König <christian.koenig@amd.com> | 2016-02-16 04:57:10 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-03-08 11:01:47 -0500 |
commit | 336d1f5efe93db3d997a6d105760dd613d7ecdce (patch) | |
tree | 15818ae465778ac8acaa1410c59042247f9800f4 /drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | |
parent | bcc634f4a8f10a851dd3d8429ea28998351ca843 (diff) |
drm/amdgpu: remove HW fence owner
Not used any more since we now always use the sheduler.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c index 39c3aa60381a..6d191fb40b38 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | |||
@@ -425,8 +425,7 @@ int amdgpu_vce_get_create_msg(struct amdgpu_ring *ring, uint32_t handle, | |||
425 | for (i = ib->length_dw; i < ib_size_dw; ++i) | 425 | for (i = ib->length_dw; i < ib_size_dw; ++i) |
426 | ib->ptr[i] = 0x0; | 426 | ib->ptr[i] = 0x0; |
427 | 427 | ||
428 | r = amdgpu_ib_schedule(ring, 1, ib, AMDGPU_FENCE_OWNER_UNDEFINED, | 428 | r = amdgpu_ib_schedule(ring, 1, ib, NULL, &f); |
429 | NULL, &f); | ||
430 | if (r) | 429 | if (r) |
431 | goto err; | 430 | goto err; |
432 | 431 | ||
@@ -487,9 +486,7 @@ int amdgpu_vce_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle, | |||
487 | ib->ptr[i] = 0x0; | 486 | ib->ptr[i] = 0x0; |
488 | 487 | ||
489 | if (direct) { | 488 | if (direct) { |
490 | r = amdgpu_ib_schedule(ring, 1, ib, | 489 | r = amdgpu_ib_schedule(ring, 1, ib, NULL, &f); |
491 | AMDGPU_FENCE_OWNER_UNDEFINED, | ||
492 | NULL, &f); | ||
493 | if (r) | 490 | if (r) |
494 | goto err; | 491 | goto err; |
495 | 492 | ||