drm/amdgpu: fix queue reset issue by mmio
Initialize the queue type before resetting the queue using mmio. Signed-off-by: Jesse Zhang <jesse.zhang@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
e146a7ab21
commit
e8397d327e
@@ -832,6 +832,7 @@ int amdgpu_mes_reset_hw_queue_mmio(struct amdgpu_device *adev, int queue_type,
|
||||
struct mes_reset_queue_input queue_input;
|
||||
int r;
|
||||
|
||||
queue_input.queue_type = queue_type;
|
||||
queue_input.use_mmio = true;
|
||||
queue_input.me_id = me_id;
|
||||
queue_input.pipe_id = pipe_id;
|
||||
|
||||
Reference in New Issue
Block a user