Re: [PATCH v2 2/7] drm/amdgpu: Switch to delayed work from work_struct.

2022-05-18 Thread Christian König
Am 17.05.22 um 21:20 schrieb Andrey Grodzovsky: We need to be able to non blocking cancel pending reset works from within GPU reset. Currently kernel API allows this only for delayed_work and not for work_struct. Switch to delayed work and queue it with delay 0 which is equal to queueing work

[PATCH v2 2/7] drm/amdgpu: Switch to delayed work from work_struct.

2022-05-17 Thread Andrey Grodzovsky
We need to be able to non blocking cancel pending reset works from within GPU reset. Currently kernel API allows this only for delayed_work and not for work_struct. Switch to delayed work and queue it with delay 0 which is equal to queueing work struct. Signed-off-by: Andrey Grodzovsky ---