mirror of https://gitee.com/openkylin/linux.git
drm/amd/display: Add debug param to force dio disable
[WHY] At the moment, some tests are failing because cur_link_settings is invalid. As a workaround, add an option to force dio disable. Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com> Reviewed-by: Martin Leung <Martin.Leung@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
8e02c26a58
commit
ec30798a82
|
@ -735,6 +735,8 @@ static bool dc_construct(struct dc *dc,
|
||||||
dc->clk_mgr->force_smu_not_present = init_params->force_smu_not_present;
|
dc->clk_mgr->force_smu_not_present = init_params->force_smu_not_present;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
dc->debug.force_ignore_link_settings = init_params->force_ignore_link_settings;
|
||||||
|
|
||||||
if (dc->res_pool->funcs->update_bw_bounding_box)
|
if (dc->res_pool->funcs->update_bw_bounding_box)
|
||||||
dc->res_pool->funcs->update_bw_bounding_box(dc, dc->clk_mgr->bw_params);
|
dc->res_pool->funcs->update_bw_bounding_box(dc, dc->clk_mgr->bw_params);
|
||||||
|
|
||||||
|
|
|
@ -503,6 +503,7 @@ struct dc_debug_options {
|
||||||
bool usbc_combo_phy_reset_wa;
|
bool usbc_combo_phy_reset_wa;
|
||||||
bool disable_dsc;
|
bool disable_dsc;
|
||||||
bool enable_dram_clock_change_one_display_vactive;
|
bool enable_dram_clock_change_one_display_vactive;
|
||||||
|
bool force_ignore_link_settings;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct dc_debug_data {
|
struct dc_debug_data {
|
||||||
|
@ -660,6 +661,7 @@ struct dc_init_data {
|
||||||
#if defined(CONFIG_DRM_AMD_DC_DCN3_0)
|
#if defined(CONFIG_DRM_AMD_DC_DCN3_0)
|
||||||
bool force_smu_not_present;
|
bool force_smu_not_present;
|
||||||
#endif
|
#endif
|
||||||
|
bool force_ignore_link_settings;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct dc_callback_init {
|
struct dc_callback_init {
|
||||||
|
|
Loading…
Reference in New Issue