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

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd/display: Enable bootcrc on FW side

[Why]
The bootcrc feature is controlled on the FW side.

[How]
Pass the control bits in boot options to FW.

Reviewed-by: ChiaHsuan (Tom) Chung <chiahsuan.chung@amd.com>
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Wayne Lin and committed by
Alex Deucher
6cf32edb 7cdb3d03

+3
+3
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c
··· 419 419 boot_options.bits.enable_non_transparent_setconfig = params->enable_non_transparent_setconfig; 420 420 boot_options.bits.lower_hbr3_phy_ssc = params->lower_hbr3_phy_ssc; 421 421 boot_options.bits.disable_dpia_bw_allocation = params->disable_dpia_bw_allocation; 422 + boot_options.bits.bootcrc_en_at_preos = dmub_dcn35_get_fw_boot_option(dmub).bits.bootcrc_en_at_preos; 423 + boot_options.bits.bootcrc_en_at_S0i3 = dmub_dcn35_get_fw_boot_option(dmub).bits.bootcrc_en_at_S0i3; 424 + boot_options.bits.bootcrc_boot_mode = dmub_dcn35_get_fw_boot_option(dmub).bits.bootcrc_boot_mode; 422 425 423 426 REG_WRITE(DMCUB_SCRATCH14, boot_options.all); 424 427 }