Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amd/display: fix stream setting for diags on silicon

We need to set up stream even with virtual displays when running
diags.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Eric Bernstein <Eric.Bernstein@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Dmytro Laktyushkin and committed by
Alex Deucher
39063de9 0b1f04d8

+2 -2
+2 -2
drivers/gpu/drm/amd/display/dc/core/dc_link.c
··· 3067 3067 enum dc_status status; 3068 3068 DC_LOGGER_INIT(pipe_ctx->stream->ctx->logger); 3069 3069 3070 - if (!IS_FPGA_MAXIMUS_DC(dc->ctx->dce_environment) && 3070 + if (!IS_DIAG_DC(dc->ctx->dce_environment) && 3071 3071 dc_is_virtual_signal(pipe_ctx->stream->signal)) 3072 3072 return; 3073 3073 ··· 3217 3217 struct dc_stream_state *stream = pipe_ctx->stream; 3218 3218 struct dc_link *link = stream->sink->link; 3219 3219 3220 - if (!IS_FPGA_MAXIMUS_DC(dc->ctx->dce_environment) && 3220 + if (!IS_DIAG_DC(dc->ctx->dce_environment) && 3221 3221 dc_is_virtual_signal(pipe_ctx->stream->signal)) 3222 3222 return; 3223 3223