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>
此提交包含在:
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef _DP_PANEL_H_
|
||||
@@ -151,6 +151,14 @@ struct dp_panel {
|
||||
bool dsc_continuous_pps;
|
||||
bool mst_state;
|
||||
|
||||
/* override debug option */
|
||||
bool mst_hide;
|
||||
bool mode_override;
|
||||
int hdisplay;
|
||||
int vdisplay;
|
||||
int vrefresh;
|
||||
int aspect_ratio;
|
||||
|
||||
s64 fec_overhead_fp;
|
||||
|
||||
int (*init)(struct dp_panel *dp_panel);
|
||||
@@ -163,8 +171,6 @@ struct dp_panel {
|
||||
int (*get_modes)(struct dp_panel *dp_panel,
|
||||
struct drm_connector *connector, struct dp_display_mode *mode);
|
||||
void (*handle_sink_request)(struct dp_panel *dp_panel);
|
||||
int (*set_edid)(struct dp_panel *dp_panel, u8 *edid, size_t edid_size);
|
||||
int (*set_dpcd)(struct dp_panel *dp_panel, u8 *dpcd);
|
||||
int (*setup_hdr)(struct dp_panel *dp_panel,
|
||||
struct drm_msm_ext_hdr_metadata *hdr_meta,
|
||||
bool dhdr_update, u64 core_clk_rate, bool flush);
|
||||
|
新增問題並參考
封鎖使用者