disp: msm: dp: add debug node to capture source and sink crc
This change adds a debug node named 'crc' to drm_dp to read the frame CRC values for DP controller and DP Sink. In order to facilitate the immediate read of the CRC values when accessed, it enables the CRC calculation on the controller and sink automatically when the stream is enabled. In addition to the frame CRC values it also reads the MISR values from controller and PHY to validate the data flow from controller to PHY. Change-Id: I1acee2dba931e4635caf4a400e336a72c86e88bf Signed-off-by: Rajkumar Subbiah <quic_rsubbia@quicinc.com>
Этот коммит содержится в:

коммит произвёл
Gerrit - the friendly Code Review server

родитель
51775dd093
Коммит
7eef92843d
@@ -1,5 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
@@ -32,6 +33,8 @@ struct dp_ctrl {
|
||||
enum dp_stream_id strm,
|
||||
u32 ch_start_slot, u32 ch_tot_slots);
|
||||
void (*set_sim_mode)(struct dp_ctrl *dp_ctrl, bool en);
|
||||
int (*setup_misr)(struct dp_ctrl *dp_ctrl);
|
||||
int (*read_misr)(struct dp_ctrl *dp_ctrl, struct dp_misr40_data *data);
|
||||
};
|
||||
|
||||
struct dp_ctrl_in {
|
||||
|
Ссылка в новой задаче
Block a user