From: Wenjing Liu <[email protected]>

[Why & How]
Enrich the log to provide more informatio in MST payload update.

Reviewed-by: Ariel Bernstein <[email protected]>
Acked-by: Alan Liu <[email protected]>
Signed-off-by: Wenjing Liu <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/core/dc_link.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c 
b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
index fb6ffcb0bc6b..43b55bc6e2db 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
@@ -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++) {
                DC_LOG_MST("stream_enc[%d]: %p      "
+                               "stream[%d].hpo_dp_stream_enc: %p      "
                                "stream[%d].vcp_id: %d      "
                                "stream[%d].slot_count: %d\n",
                                i,
                                (void *) 
link->mst_stream_alloc_table.stream_allocations[i].stream_enc,
                                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,
                                i,
                                
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
 
        for (i = 0; i < MAX_CONTROLLER_NUM; i++) {
                DC_LOG_MST("stream_enc[%d]: %p      "
+                               "stream[%d].hpo_dp_stream_enc: %p      "
                                "stream[%d].vcp_id: %d      "
                                "stream[%d].slot_count: %d\n",
                                i,
                                (void *) 
link->mst_stream_alloc_table.stream_allocations[i].stream_enc,
                                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,
                                i,
                                
link->mst_stream_alloc_table.stream_allocations[i].slot_count);
-- 
2.25.1

Reply via email to