]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amd/display: Enrich the log in MST payload update
authorWenjing Liu <wenjing.liu@amd.com>
Tue, 6 Oct 2020 20:22:40 +0000 (16:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 21 Jun 2022 22:17:23 +0000 (18:17 -0400)
[Why & How]
Enrich the log to provide more informatio in MST payload update.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Ariel Bernstein <Eric.Bernstein@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c

index fb6ffcb0bc6bffab221fd68683d7ae797e9adf7e..43b55bc6e2db4f8749e5ae24b13ca134edb1a663 100644 (file)
@@ -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);