maybe just:
amdgpu.lockup_timeout=<global>,<gfx>,<compute>,<sdma>,<video>
I don't think we really need separate timeouts for all the different video related engines.
Alex
From: Quan, Evan
Sent: Sunday, April 28, 2019 1:37 AM To: Deucher, Alexander; Michel Dänzer; Koenig, Christian Cc: Xu, Feifei; Cui, Flora; amd-gfx@xxxxxxxxxxxxxxxxxxxxx Subject: RE: [PATCH] drm/amdgpu: support gpu recovery tests on compute rings How about amdgpu.lockup_timeout=non-compute-jobs[, gfx, sdma, decode, encode][: compute-jobs] ? This will not break backward compatibility.
And I’m not sure how to map “decode” and “encode” to the uvd/vce/vcn rings. Since there are many rings related with these IPs(uvd, uvd_enc, vce, vcn_dec, vcn_enc, vcn_jpeg). Maybe we should use IP name(uvd, vce or vcn) instead of “decode/encode”?
Regards, Evan From: amd-gfx <amd-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx>
On Behalf Of Deucher, Alexander
How about an interface to change the timeout on a per engine (gfx, compute, dma, etc.) basis? amdgpu.lockup_timeout=<global>,<gfx>,<compute>,<sdma>,<decode>,<encode>] if only one parameter is given, we change it globably. If more are given, we override the global one. Could also do a sysfs interface to change it on the fly.
Alex From: amd-gfx <amd-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx> on behalf of Michel Dänzer <michel@xxxxxxxxxxx>
On 2019-04-26 10:20 a.m., Quan, Evan wrote: |
_______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx