drm/amdgpu/gfx9: remove spurious line in kiq setup
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Jun 2017 17:09:53 +0000 (13:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Jun 2017 22:01:59 +0000 (18:01 -0400)
This overrode what queue was actually assigned for kiq.

Reviewed-by: Alex Xie <AlexBin.Xie@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c

index e0193e4cb8d4746566fc8ca5ef7c377c374d557e..4c47754f68d84f29aca4e72409c2b93195290214 100644 (file)
@@ -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,