]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: Parse debug flag to PR FW
authorJack Chang <jack.chang@amd.com>
Fri, 12 Sep 2025 07:40:18 +0000 (15:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Dec 2025 18:56:36 +0000 (13:56 -0500)
[HOW & WHY]
Parse debug flag to PR FW.

Reviewed-by: Robin Chen <robin.chen@amd.com>
Signed-off-by: Jack Chang <jack.chang@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c

index 80ee6efe91e2d1c63eb127beb2d5ee4a0f0ae26b..07f4f15851fc858ea37514f0dafead27ec7d66cf 100644 (file)
@@ -1373,6 +1373,7 @@ bool edp_pr_copy_settings(struct dc_link *link, struct replay_context *replay_co
        cmd.pr_copy_settings.data.line_time_in_ns = replay_context->line_time_in_ns;
        cmd.pr_copy_settings.data.flags.bitfields.fec_enable_status = (link->fec_state == dc_link_fec_enabled);
        cmd.pr_copy_settings.data.flags.bitfields.dsc_enable_status = (pipe_ctx->stream->timing.flags.DSC == 1);
+       cmd.pr_copy_settings.data.debug.u32All = link->replay_settings.config.debug_flags;
 
        dc_wake_and_execute_dmub_cmd(dc->ctx, &cmd, DM_DMUB_WAIT_TYPE_WAIT);
        return true;