mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
Revert "accel/qaic: Add mhi_qaic_cntl"
This reverts commit 566fc96198.
This exposes a userspace API that is still under debate. Revert the
change before the uAPI gets exposed to avoid making a mistake. QAIC is
otherwise still functional.
Suggested-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Pranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1681307864-3782-1-git-send-email-quic_jhugo@quicinc.com
This commit is contained in:
committed by
Jacek Lawrynowicz
parent
d8dab40a8b
commit
50e9cc9a4a
@@ -7,7 +7,6 @@ obj-$(CONFIG_DRM_ACCEL_QAIC) := qaic.o
|
||||
|
||||
qaic-y := \
|
||||
mhi_controller.o \
|
||||
mhi_qaic_ctrl.o \
|
||||
qaic_control.o \
|
||||
qaic_data.o \
|
||||
qaic_drv.o
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,12 +0,0 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only
|
||||
*
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef __MHI_QAIC_CTRL_H__
|
||||
#define __MHI_QAIC_CTRL_H__
|
||||
|
||||
int mhi_qaic_ctrl_init(void);
|
||||
void mhi_qaic_ctrl_deinit(void);
|
||||
|
||||
#endif /* __MHI_QAIC_CTRL_H__ */
|
||||
@@ -25,7 +25,6 @@
|
||||
#include <uapi/drm/qaic_accel.h>
|
||||
|
||||
#include "mhi_controller.h"
|
||||
#include "mhi_qaic_ctrl.h"
|
||||
#include "qaic.h"
|
||||
|
||||
MODULE_IMPORT_NS(DMA_BUF);
|
||||
@@ -601,16 +600,8 @@ static int __init qaic_init(void)
|
||||
goto free_mhi;
|
||||
}
|
||||
|
||||
ret = mhi_qaic_ctrl_init();
|
||||
if (ret) {
|
||||
pr_debug("qaic: mhi_qaic_ctrl_init failed %d\n", ret);
|
||||
goto free_pci;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
free_pci:
|
||||
pci_unregister_driver(&qaic_pci_driver);
|
||||
free_mhi:
|
||||
mhi_driver_unregister(&qaic_mhi_driver);
|
||||
return ret;
|
||||
@@ -634,7 +625,6 @@ static void __exit qaic_exit(void)
|
||||
* reinitializing the link_up state after the cleanup is done.
|
||||
*/
|
||||
link_up = true;
|
||||
mhi_qaic_ctrl_deinit();
|
||||
pci_unregister_driver(&qaic_pci_driver);
|
||||
mhi_driver_unregister(&qaic_mhi_driver);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user