Re: [PATCH 2/2] drm/amdgpu: fix gang submission error handling

2025-03-24 Thread Tvrtko Ursulin
On 21/03/2025 15:58, Christian König wrote: For the unlikely case that we ran into an ENOMEM while fixing up the gang submission dependencies we can't clean up any more since the gang members are already armed. Fix this by using pre-allocated dependency slots and re-ordering the code, also fix

[PATCH 2/2] drm/amdgpu: fix gang submission error handling

2025-03-21 Thread Christian König
For the unlikely case that we ran into an ENOMEM while fixing up the gang submission dependencies we can't clean up any more since the gang members are already armed. Fix this by using pre-allocated dependency slots and re-ordering the code, also fix a double unref since the fence reference is als

[PATCH 2/2] drm/amdgpu: fix gang submission error handling

2025-03-18 Thread Christian König
For the unlikely case that we ran into an ENOMEM while fixing up the gang submission dependencies we can't clean up any more since the gang members are already armed. Fix this by using pre-allocated dependency slots and re-ordering the code. Signed-off-by: Christian König --- drivers/gpu/drm/am

Re: [PATCH 2/2] drm/amdgpu: fix gang submission error handling

2025-03-18 Thread Tvrtko Ursulin
On 18/03/2025 12:03, Christian König wrote: For the unlikely case that we ran into an ENOMEM while fixing up the gang submission dependencies we can't clean up any more since the gang members are already armed. Fix this by using pre-allocated dependency slots and re-ordering the code. Signed-