Re: [PATCH 6/7] accel/qaic: Leverage DRM managed APIs to release resources

2023-12-20 Thread Jeffrey Hugo
On 12/20/2023 12:02 AM, Jacek Lawrynowicz wrote: On 15.12.2023 19:06, Jeffrey Hugo wrote: On 12/8/2023 9:34 AM, Jeffrey Hugo wrote: From: Pranjal Ramajor Asha Kanojiya Offload the balancing of init and destroy calls to DRM managed APIs. mutex destroy for ->cntl_mutex is not called during devi

Re: [PATCH 6/7] accel/qaic: Leverage DRM managed APIs to release resources

2023-12-19 Thread Jacek Lawrynowicz
On 15.12.2023 19:06, Jeffrey Hugo wrote: > On 12/8/2023 9:34 AM, Jeffrey Hugo wrote: >> From: Pranjal Ramajor Asha Kanojiya >> >> Offload the balancing of init and destroy calls to DRM managed APIs. >> mutex destroy for ->cntl_mutex is not called during device release and >> destroy workqueue is n

Re: [PATCH 6/7] accel/qaic: Leverage DRM managed APIs to release resources

2023-12-15 Thread Jeffrey Hugo
On 12/8/2023 9:34 AM, Jeffrey Hugo wrote: From: Pranjal Ramajor Asha Kanojiya Offload the balancing of init and destroy calls to DRM managed APIs. mutex destroy for ->cntl_mutex is not called during device release and destroy workqueue is not called in error path of create_qdev(). So, use DRM m

[PATCH 6/7] accel/qaic: Leverage DRM managed APIs to release resources

2023-12-08 Thread Jeffrey Hugo
From: Pranjal Ramajor Asha Kanojiya Offload the balancing of init and destroy calls to DRM managed APIs. mutex destroy for ->cntl_mutex is not called during device release and destroy workqueue is not called in error path of create_qdev(). So, use DRM managed APIs to manage the release of resourc