mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 14:43:42 -04:00
drm/amd/display: log HUBP using DTN logging
also simplify DTN INFO. all we need is a way to have DC log register states some where we can compare with golden. going through connectivity is overkill. Signed-off-by: Tony Cheng <tony.cheng@amd.com> Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -463,4 +463,16 @@ bool dm_dmcu_set_pipe(struct dc_context *ctx, unsigned int controller_id);
|
||||
#define dm_log_to_buffer(buffer, size, fmt, args)\
|
||||
vsnprintf(buffer, size, fmt, args)
|
||||
|
||||
/*
|
||||
* Debug and verification hooks
|
||||
*/
|
||||
bool dm_helpers_dc_conn_log(
|
||||
struct dc_context *ctx,
|
||||
struct log_entry *entry,
|
||||
enum dc_log_type event);
|
||||
|
||||
void dm_dtn_log_begin(struct dc_context *ctx);
|
||||
void dm_dtn_log_append_v(struct dc_context *ctx, const char *msg, ...);
|
||||
void dm_dtn_log_end(struct dc_context *ctx);
|
||||
|
||||
#endif /* __DM_SERVICES_H__ */
|
||||
|
||||
Reference in New Issue
Block a user