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>
此提交包含在:
Tatenda Chipeperekwa
2020-01-17 12:25:06 -08:00
父節點 37412f5add
當前提交 4571b23507
共有 12 個檔案被更改,包括 433 行新增25 行删除

查看文件

@@ -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;
}