disp: msm: dp: Improvements to dp mst simulator mode

Improve dp mst simulator mode by adding support
for up to 8 connectors, the ability to add and
remove ports dynamically, and allowing for
different EDIDs for each connector.

CRs-Fixed: 2459530
Change-Id: I945e3292a7e5150ab7a6bbe0addc4f4f46d58e82
Signed-off-by: Fuad Hossain <fhossain@codeaurora.org>
This commit is contained in:
Fuad Hossain
2019-05-23 18:36:32 -04:00
rodzic 9d87e36a77
commit 15bbd57eff
5 zmienionych plików z 275 dodań i 4 usunięć

Wyświetl plik

@@ -12,7 +12,7 @@
#include "dp_panel.h"
#define DP_MST_SIM_MAX_PORTS 2
#define DP_MST_SIM_MAX_PORTS 8
enum dp_drv_state {
PM_DEFAULT,
@@ -24,6 +24,9 @@ struct dp_mst_hpd_info {
bool mst_hpd_sim;
u32 mst_port_cnt;
u8 *edid;
bool mst_sim_add_con;
bool mst_sim_remove_con;
int mst_sim_remove_con_id;
};
struct dp_mst_drm_cbs {