mirror of
https://github.com/torvalds/linux.git
synced 2026-10-12 05:17:15 +02:00
drm/amdkfd: flush MES queue on reset-time queue removal
Pass flush_mes_queue=true in reset_queue_mes() to match the GFX post-reset drop semantics. Suggested-by: Shaoyun Liu <shaoyun.liu@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
41eb81a306
commit
a36daf95cc
|
|
@ -427,7 +427,7 @@ static int reset_queue_mes(struct device_queue_manager *dqm, struct queue *q,
|
|||
if (r)
|
||||
return r;
|
||||
/* Proceed remove_queue with reset=true */
|
||||
remove_queue_mes_on_reset_option(dqm, q, &pdd->qpd, true, false);
|
||||
remove_queue_mes_on_reset_option(dqm, q, &pdd->qpd, true, true);
|
||||
set_queue_as_reset(dqm, q, &pdd->qpd);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user