Commit f18368b6 authored by Wenjing Liu's avatar Wenjing Liu Committed by Alex Deucher

drm/amd/display: Enrich the log in MST payload update

[Why & How]
Enrich the log to provide more informatio in MST payload update.
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: default avatarAriel Bernstein <Eric.Bernstein@amd.com>
Acked-by: default avatarAlan Liu <HaoPing.Liu@amd.com>
Signed-off-by: default avatarWenjing Liu <wenjing.liu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 98dd398a
...@@ -3831,11 +3831,14 @@ enum dc_status dc_link_reduce_mst_payload(struct pipe_ctx *pipe_ctx, uint32_t bw ...@@ -3831,11 +3831,14 @@ enum dc_status dc_link_reduce_mst_payload(struct pipe_ctx *pipe_ctx, uint32_t bw
for (i = 0; i < MAX_CONTROLLER_NUM; i++) { for (i = 0; i < MAX_CONTROLLER_NUM; i++) {
DC_LOG_MST("stream_enc[%d]: %p " DC_LOG_MST("stream_enc[%d]: %p "
"stream[%d].hpo_dp_stream_enc: %p "
"stream[%d].vcp_id: %d " "stream[%d].vcp_id: %d "
"stream[%d].slot_count: %d\n", "stream[%d].slot_count: %d\n",
i, i,
(void *) link->mst_stream_alloc_table.stream_allocations[i].stream_enc, (void *) link->mst_stream_alloc_table.stream_allocations[i].stream_enc,
i, i,
(void *) link->mst_stream_alloc_table.stream_allocations[i].hpo_dp_stream_enc,
i,
link->mst_stream_alloc_table.stream_allocations[i].vcp_id, link->mst_stream_alloc_table.stream_allocations[i].vcp_id,
i, i,
link->mst_stream_alloc_table.stream_allocations[i].slot_count); link->mst_stream_alloc_table.stream_allocations[i].slot_count);
...@@ -3896,11 +3899,14 @@ enum dc_status dc_link_increase_mst_payload(struct pipe_ctx *pipe_ctx, uint32_t ...@@ -3896,11 +3899,14 @@ enum dc_status dc_link_increase_mst_payload(struct pipe_ctx *pipe_ctx, uint32_t
for (i = 0; i < MAX_CONTROLLER_NUM; i++) { for (i = 0; i < MAX_CONTROLLER_NUM; i++) {
DC_LOG_MST("stream_enc[%d]: %p " DC_LOG_MST("stream_enc[%d]: %p "
"stream[%d].hpo_dp_stream_enc: %p "
"stream[%d].vcp_id: %d " "stream[%d].vcp_id: %d "
"stream[%d].slot_count: %d\n", "stream[%d].slot_count: %d\n",
i, i,
(void *) link->mst_stream_alloc_table.stream_allocations[i].stream_enc, (void *) link->mst_stream_alloc_table.stream_allocations[i].stream_enc,
i, i,
(void *) link->mst_stream_alloc_table.stream_allocations[i].hpo_dp_stream_enc,
i,
link->mst_stream_alloc_table.stream_allocations[i].vcp_id, link->mst_stream_alloc_table.stream_allocations[i].vcp_id,
i, i,
link->mst_stream_alloc_table.stream_allocations[i].slot_count); link->mst_stream_alloc_table.stream_allocations[i].slot_count);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment