[PATCH 2/6] drm/amdgpu/gfx9: remove spurious line in kiq setup

axie axie at amd.com
Wed Jun 7 21:58:19 UTC 2017


Reviewed-by: Alex Xie <AlexBin.Xie at amd.com>


On 2017-06-07 03:34 PM, Alex Deucher wrote:
> This overrode what queue was actually assigned for kiq.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> index e0193e4..4c47754f 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> @@ -1054,7 +1054,6 @@ static int gfx_v9_0_kiq_init_ring(struct amdgpu_device *adev,
>   	if (r)
>   		return r;
>   
> -	ring->queue = 0;
>   	ring->eop_gpu_addr = kiq->eop_gpu_addr;
>   	sprintf(ring->name, "kiq %d.%d.%d", ring->me, ring->pipe, ring->queue);
>   	r = amdgpu_ring_init(adev, ring, 1024,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20170607/8254b106/attachment-0001.html>


More information about the amd-gfx mailing list