From: Tony Cheng <tony.cheng@xxxxxxx> Signed-off-by: Tony Cheng <tony.cheng at amd.com> Acked-by: Harry Wentland <harry.wentland at amd.com> --- drivers/gpu/drm/amd/dal/dc/core/dc.c | 2 +- drivers/gpu/drm/amd/dal/dc/dc.h | 2 +- drivers/gpu/drm/amd/dal/dc/gpu/dce110/display_clock_dce110.c | 2 +- drivers/gpu/drm/amd/dal/dc/gpu/dce80/display_clock_dce80.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/amd/dal/dc/core/dc.c b/drivers/gpu/drm/amd/dal/dc/core/dc.c index e3ec5c5163b8..76e6e5d3f98e 100644 --- a/drivers/gpu/drm/amd/dal/dc/core/dc.c +++ b/drivers/gpu/drm/amd/dal/dc/core/dc.c @@ -694,7 +694,7 @@ struct dc *dc_create(const struct dc_init_data *init_params) /* TODO: missing feature to be enabled */ - core_dc->public.debug.disalbe_dfs_bypass = true; + core_dc->public.debug.disable_dfs_bypass = true; return &core_dc->public; diff --git a/drivers/gpu/drm/amd/dal/dc/dc.h b/drivers/gpu/drm/amd/dal/dc/dc.h index 22ed46d3844c..d73ae63b4ec9 100644 --- a/drivers/gpu/drm/amd/dal/dc/dc.h +++ b/drivers/gpu/drm/amd/dal/dc/dc.h @@ -139,7 +139,7 @@ struct dc_debug { bool surface_visual_confirm; bool disable_stutter; bool disable_dcc; - bool disalbe_dfs_bypass; + bool disable_dfs_bypass; bool max_disp_clk; }; diff --git a/drivers/gpu/drm/amd/dal/dc/gpu/dce110/display_clock_dce110.c b/drivers/gpu/drm/amd/dal/dc/gpu/dce110/display_clock_dce110.c index 9a0938d5453a..c993c541dc7e 100644 --- a/drivers/gpu/drm/amd/dal/dc/gpu/dce110/display_clock_dce110.c +++ b/drivers/gpu/drm/amd/dal/dc/gpu/dce110/display_clock_dce110.c @@ -734,7 +734,7 @@ static bool display_clock_integrated_info_construct( } disp_clk->dfs_bypass_enabled = false; - if (!debug->disalbe_dfs_bypass) + if (!debug->disable_dfs_bypass) if (bp->integrated_info->gpu_cap_info & DFS_BYPASS_ENABLE) disp_clk->dfs_bypass_enabled = true; diff --git a/drivers/gpu/drm/amd/dal/dc/gpu/dce80/display_clock_dce80.c b/drivers/gpu/drm/amd/dal/dc/gpu/dce80/display_clock_dce80.c index 3f93a0a3875a..8fd78b8c93ae 100644 --- a/drivers/gpu/drm/amd/dal/dc/gpu/dce80/display_clock_dce80.c +++ b/drivers/gpu/drm/amd/dal/dc/gpu/dce80/display_clock_dce80.c @@ -812,7 +812,7 @@ static bool display_clock_integrated_info_construct( } disp_clk->dfs_bypass_enabled = false; - if (!debug->disalbe_dfs_bypass) + if (!debug->disable_dfs_bypass) if (bp->integrated_info->gpu_cap_info & DFS_BYPASS_ENABLE) disp_clk->dfs_bypass_enabled = true; -- 2.10.1