[PATCH] drm/amdgpu: remove duplicated codes
Zhang, Jerry (Junwei)
Jerry.Zhang at amd.com
Wed Jun 27 06:37:25 UTC 2018
On 06/27/2018 02:10 PM, Flora Cui wrote:
> Change-Id: Ic0dbd693bac093e54eb95b5e547c89b64a5743b8
> Signed-off-by: Flora Cui <Flora.Cui at amd.com>
Good catch.
Reviewed-by: Junwei Zhang <Jerry.Zhang at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
> index a1c78f9..3a072a7 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
> @@ -578,11 +578,6 @@ void amdgpu_vmid_mgr_init(struct amdgpu_device *adev)
> list_add_tail(&id_mgr->ids[j].list, &id_mgr->ids_lru);
> }
> }
> -
> - adev->vm_manager.fence_context =
> - dma_fence_context_alloc(AMDGPU_MAX_RINGS);
> - for (i = 0; i < AMDGPU_MAX_RINGS; ++i)
> - adev->vm_manager.seqno[i] = 0;
> }
>
> /**
>
More information about the amd-gfx
mailing list