mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-05 12:55:18 +07:00
drm/amd/display: Add function to log connectivity
Signed-off-by: Zeyu Fan <Zeyu.Fan@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
909e8c9e41
commit
a235bd9f1e
@ -322,6 +322,12 @@ bool dm_helpers_dp_mst_send_payload_allocation(
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool dm_helpers_dc_conn_log(struct dc_context*ctx, const char *msg)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
bool dm_helpers_dp_mst_start_top_mgr(
|
bool dm_helpers_dp_mst_start_top_mgr(
|
||||||
struct dc_context *ctx,
|
struct dc_context *ctx,
|
||||||
const struct dc_link *link,
|
const struct dc_link *link,
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
#include "core_types.h"
|
#include "core_types.h"
|
||||||
#include "logger.h"
|
#include "logger.h"
|
||||||
#include "include/logger_interface.h"
|
#include "include/logger_interface.h"
|
||||||
|
#include "dm_helpers.h"
|
||||||
|
|
||||||
#define NUM_ELEMENTS(a) (sizeof(a) / sizeof((a)[0]))
|
#define NUM_ELEMENTS(a) (sizeof(a) / sizeof((a)[0]))
|
||||||
|
|
||||||
@ -94,6 +95,8 @@ void dc_conn_log(struct dc_context *ctx,
|
|||||||
dm_logger_append(&entry, "%2.2X ", hex_data[i]);
|
dm_logger_append(&entry, "%2.2X ", hex_data[i]);
|
||||||
|
|
||||||
dm_logger_append(&entry, "^\n");
|
dm_logger_append(&entry, "^\n");
|
||||||
|
dm_helpers_dc_conn_log(ctx, entry.buf);
|
||||||
dm_logger_close(&entry);
|
dm_logger_close(&entry);
|
||||||
|
|
||||||
va_end(args);
|
va_end(args);
|
||||||
}
|
}
|
||||||
|
@ -68,6 +68,10 @@ bool dm_helpers_dp_mst_start_top_mgr(
|
|||||||
const struct dc_link *link,
|
const struct dc_link *link,
|
||||||
bool boot);
|
bool boot);
|
||||||
|
|
||||||
|
bool dm_helpers_dc_conn_log(
|
||||||
|
struct dc_context*ctx,
|
||||||
|
const char *msg);
|
||||||
|
|
||||||
void dm_helpers_dp_mst_stop_top_mgr(
|
void dm_helpers_dp_mst_stop_top_mgr(
|
||||||
struct dc_context *ctx,
|
struct dc_context *ctx,
|
||||||
const struct dc_link *link);
|
const struct dc_link *link);
|
||||||
|
Loading…
Reference in New Issue
Block a user