linux/drivers/accel/qaic
Pranjal Ramajor Asha Kanojiya 22ec9a3b73 accel/qaic: Leverage DRM managed APIs to release resources
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 resources and avoid such
problems.

Signed-off-by: Pranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231208163457.1295993-7-quic_jhugo@quicinc.com
2023-12-20 11:13:12 -07:00
..
Kconfig accel/qaic: Add qaic driver to the build system 2023-04-06 08:23:03 +02:00
Makefile accel/qaic: Add support for periodic timesync 2023-10-27 10:05:42 -06:00
mhi_controller.c accel/qaic: Fix MHI channel struct field order 2023-12-15 10:59:58 -07:00
mhi_controller.h accel/qaic: Enable 1 MSI fallback mode 2023-10-27 09:39:39 -06:00
qaic_control.c accel/qaic: Increase number of in_reset states 2023-12-01 10:35:32 -07:00
qaic_data.c accel/qaic: Call drm_gem_create_mmap_offset() once for each BO 2023-12-15 11:02:10 -07:00
qaic_drv.c accel/qaic: Leverage DRM managed APIs to release resources 2023-12-20 11:13:12 -07:00
qaic_timesync.c accel/qaic: Support MHI QAIC_TIMESYNC channel 2023-10-27 10:06:34 -06:00
qaic_timesync.h accel/qaic: Add support for periodic timesync 2023-10-27 10:05:42 -06:00
qaic.h accel/qaic: Leverage DRM managed APIs to release resources 2023-12-20 11:13:12 -07:00