disp: msm: dp: optimize sim function handling in dp_debug
Remove edid/dpcd simulation function from dp_debug and calls to sim bridge instead to simplify dp_debug module. Also add mst edid support and mst hpd simulation from aux level. Move selected mode from dp_debug module to dp_panel module to simplify mst handling and decouple dp_debug from main dp driver. Remove custom edid/dpcd mode from dp_panel and dp_aux module. Remove mst connector list handling from dp_display module. Change-Id: Ife1d2deb0e353f0a9695b7b90e5bf3459e1c81f7 Signed-off-by: Xiaowen Wu <wxiaowen@codeaurora.org> Signed-off-by: Karim Henain <khenain@codeaurora.org> Signed-off-by: Sudarsan Ramesh <sudarame@codeaurora.org>
This commit is contained in:

zatwierdzone przez
Sudarsan Ramesh

rodzic
24d245556e
commit
67ce55687b
@@ -11,7 +11,6 @@
|
||||
|
||||
#include "dp_panel.h"
|
||||
|
||||
#define DP_MST_SIM_MAX_PORTS 8
|
||||
|
||||
enum dp_drv_state {
|
||||
PM_DEFAULT,
|
||||
@@ -38,19 +37,6 @@ struct dp_mst_caps {
|
||||
struct drm_dp_aux *drm_aux;
|
||||
};
|
||||
|
||||
struct dp_mst_connector {
|
||||
bool debug_en;
|
||||
int con_id;
|
||||
int hdisplay;
|
||||
int vdisplay;
|
||||
int vrefresh;
|
||||
int aspect_ratio;
|
||||
struct drm_connector *conn;
|
||||
struct mutex lock;
|
||||
struct list_head list;
|
||||
enum drm_connector_status state;
|
||||
};
|
||||
|
||||
struct dp_display {
|
||||
struct drm_device *drm_dev;
|
||||
struct dp_bridge *bridge;
|
||||
@@ -100,9 +86,6 @@ struct dp_display {
|
||||
struct edid *edid);
|
||||
int (*mst_connector_update_link_info)(struct dp_display *dp_display,
|
||||
struct drm_connector *connector);
|
||||
int (*mst_get_connector_info)(struct dp_display *dp_display,
|
||||
struct drm_connector *connector,
|
||||
struct dp_mst_connector *mst_conn);
|
||||
int (*mst_get_fixed_topology_port)(struct dp_display *dp_display,
|
||||
u32 strm_id, u32 *port_num);
|
||||
int (*get_mst_caps)(struct dp_display *dp_display,
|
||||
|
Reference in New Issue
Block a user