123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- do { \
- void *ipc_logging_context = get_ipc_log_context(); \
- ipc_log_string(ipc_logging_context, fmt,
- } while (0)
- do { \
- DP_IPC_LOG("[d][%-4d]"fmt, current->pid,
- DP_DEBUG_V(fmt,
- } while (0)
- do { \
- DP_IPC_LOG("[i][%-4d]"fmt, current->pid,
- DP_INFO_V(fmt,
- } while (0)
- do { \
- DP_IPC_LOG("[w][%-4d]"fmt, current->pid,
- DP_WARN_V(fmt,
- } while (0)
- do { \
- DP_IPC_LOG("[e][%-4d]"fmt, current->pid,
- DP_ERR_V(fmt,
- } while (0)
- do { \
- if (drm_debug_enabled(DRM_UT_KMS)) \
- DRM_DEBUG("[msm-dp-debug][%-4d]"fmt, current->pid, \
-
- else \
- pr_debug("[drm:%s][msm-dp-debug][%-4d]"fmt, __func__,\
- current->pid,
- } while (0)
- do { \
- if (drm_debug_enabled(DRM_UT_KMS)) \
- DRM_INFO("[msm-dp-info][%-4d]"fmt, current->pid, \
-
- else \
- pr_info("[drm:%s][msm-dp-info][%-4d]"fmt, __func__, \
- current->pid,
- } while (0)
- pr_warn("[drm:%s][msm-dp-warn][%-4d]"fmt, __func__, \
- current->pid,
- pr_warn_ratelimited("[drm:%s][msm-dp-warn][%-4d]"fmt, __func__, \
- current->pid,
- pr_err("[drm:%s][msm-dp-err][%-4d]"fmt, __func__, \
- current->pid,
- pr_err_ratelimited("[drm:%s][msm-dp-err][%-4d]"fmt, __func__, \
- current->pid,
- struct dp_debug {
- bool sim_mode;
- bool psm_enabled;
- bool hdcp_disabled;
- bool hdcp_wait_sink_sync;
- u32 tpg_pattern;
- u32 max_pclk_khz;
- bool force_encryption;
- bool skip_uevent;
- char hdcp_status[SZ_128];
- bool mst_sim_add_con;
- bool mst_sim_remove_con;
- int mst_sim_remove_con_id;
- unsigned long connect_notification_delay_ms;
- u32 disconnect_delay_ms;
- void (*abort)(struct dp_debug *dp_debug);
- void (*set_mst_con)(struct dp_debug *dp_debug, int con_id);
- };
- struct dp_debug_in {
- struct device *dev;
- struct dp_panel *panel;
- struct dp_hpd *hpd;
- struct dp_link *link;
- struct dp_aux *aux;
- struct drm_connector **connector;
- struct dp_catalog *catalog;
- struct dp_parser *parser;
- struct dp_ctrl *ctrl;
- struct dp_pll *pll;
- struct dp_display *display;
- };
- struct dp_debug *dp_debug_get(struct dp_debug_in *in);
- void dp_debug_put(struct dp_debug *dp_debug);
|