I think that the IB tests already set
the ready flag to false when something goes wrong, but for the
ring tests your probably want to double check and maybe generalize
that.
Christian.
Am 24.02.20 um 19:15 schrieb Das, Nirmoy:
[AMD Official Use Only - Internal Distribution Only]
Thanks Christian. I will try to send a updated patch soon.
From: Koenig,
Christian <Christian.Koenig@xxxxxxx>
Sent: Monday, February 24, 2020, 18:06
To: Nirmoy Das
Cc: amd-gfx@xxxxxxxxxxxxxxxxxxxxx; Deucher,
Alexander; Liu, Monk; Li, Dennis; Das, Nirmoy
Subject: Re: [RFC PATCH 1/1] drm/amdgpu:
wait for sched to become ready on job submit
Hi Nirmoy,
I don't think that this approach makes
sense. Since it is a front end property we should rather
stop setting the scheduler ready status to false during
reset.
Instead we should only set it to false when
the ring/IB test fails and we can't bring the ring back to
life again.
Christian.
|
_______________________________________________
amd-gfx mailing list
amd-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx