disp: msm: dp: use the new altmode framework
Use the new altmode framework to receive the connect, disconnect and attention events. Change-Id: Ic542525b526e1abd0f153c293bca6e4cdbb6bf0b Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
此提交包含在:
@@ -14,6 +14,7 @@
|
||||
#include "sde_connector.h"
|
||||
#include "dp_display.h"
|
||||
#include "dp_pll.h"
|
||||
#include "dp_hpd.h"
|
||||
|
||||
#define DEBUG_NAME "drm_dp"
|
||||
|
||||
@@ -2151,6 +2152,15 @@ static int dp_debug_init_sim(struct dp_debug_private *debug, struct dentry *dir)
|
||||
return rc;
|
||||
}
|
||||
|
||||
file = debugfs_create_bool("force_multi_func", 0644, dir,
|
||||
&debug->hpd->force_multi_func);
|
||||
if (IS_ERR_OR_NULL(file)) {
|
||||
rc = PTR_ERR(file);
|
||||
DP_ERR("[%s] debugfs force_multi_func failed, rc=%d\n",
|
||||
DEBUG_NAME, rc);
|
||||
return rc;
|
||||
}
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
新增問題並參考
封鎖使用者