Use the KIQ pipe for kernel queues and the SCHED pipe for
user queues.
Fixes: 2408b0272b04 ("drm/amdgpu/mes: consolidate on a single mes reset callback")
Cc: Michael Chen <Michael.Chen@amd.com>
Cc: Shaoyun Liu <Shaoyun.Liu@amd.com>
Reviewed-by: Michael Chen <michael.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
        queue_input.wptr_addr = ring->wptr_gpu_addr;
        queue_input.vmid = vmid;
        queue_input.use_mmio = use_mmio;
+       queue_input.is_kq = true;
        if (ring->funcs->type == AMDGPU_RING_TYPE_GFX)
                queue_input.legacy_gfx = true;
 
 
        uint64_t                           wptr_addr;
        uint32_t                           vmid;
        bool                               legacy_gfx;
+       bool                               is_kq;
 };
 
 enum mes_misc_opcode {
 
                mes_reset_queue_pkt.doorbell_offset = input->doorbell_offset;
        }
 
-       if (mes->adev->enable_uni_mes)
+       if (input->is_kq)
                pipe = AMDGPU_MES_KIQ_PIPE;
        else
                pipe = AMDGPU_MES_SCHED_PIPE;