diff options
author | Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> | 2016-12-02 17:41:42 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 17:03:13 -0400 |
commit | 85944914f1de9b12fb2867f8dd835835f08861a2 (patch) | |
tree | f5479d761424cc44d651b8b280693a00e3918707 /drivers/gpu | |
parent | 8318a7eb988c62fa231c71538628ba85d4fbe7ef (diff) | |
download | linux-stable-85944914f1de9b12fb2867f8dd835835f08861a2.tar.gz linux-stable-85944914f1de9b12fb2867f8dd835835f08861a2.tar.bz2 linux-stable-85944914f1de9b12fb2867f8dd835835f08861a2.zip |
drm/amd/display: fix display clock integrated info read
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c b/drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c index 77033fe8a8e5..846754c16831 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_clocks.c @@ -342,7 +342,7 @@ static void dce_clock_read_integrated_info(struct dce_disp_clk *clk_dce) info.disp_clk_voltage[i].max_supported_clk; } - if (!debug->disable_dfs_bypass) + if (!debug->disable_dfs_bypass && bp->integrated_info) if (bp->integrated_info->gpu_cap_info & DFS_BYPASS_ENABLE) clk_dce->dfs_bypass_enabled = true; |