diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0619-drm-amd-dal-Prepare-bring-up-off-next-ASIC-generatio.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0619-drm-amd-dal-Prepare-bring-up-off-next-ASIC-generatio.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0619-drm-amd-dal-Prepare-bring-up-off-next-ASIC-generatio.patch b/common/recipes-kernel/linux/files/0619-drm-amd-dal-Prepare-bring-up-off-next-ASIC-generatio.patch new file mode 100644 index 00000000..f1a31bfd --- /dev/null +++ b/common/recipes-kernel/linux/files/0619-drm-amd-dal-Prepare-bring-up-off-next-ASIC-generatio.patch @@ -0,0 +1,42 @@ +From 3b8139200a5a7b4b86616a546d3cd6dc49177b36 Mon Sep 17 00:00:00 2001 +From: Yongqiang Sun <yongqiang.sun@amd.com> +Date: Tue, 8 Dec 2015 14:22:41 -0500 +Subject: [PATCH 0619/1110] drm/amd/dal: Prepare bring up off next ASIC + generation + +Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com> +Signed-off-by: Harry Wentland <harry.wentland@amd.com> +Acked-by: Harry Wentland<harry.wentland@amd.com> +--- + drivers/gpu/drm/amd/dal/dc/bios/command_table.c | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/drivers/gpu/drm/amd/dal/dc/bios/command_table.c b/drivers/gpu/drm/amd/dal/dc/bios/command_table.c +index c686cc8..87fc14b 100644 +--- a/drivers/gpu/drm/amd/dal/dc/bios/command_table.c ++++ b/drivers/gpu/drm/amd/dal/dc/bios/command_table.c +@@ -2772,7 +2772,7 @@ static enum bp_result enable_disp_power_gating_v2_1( + ******************************************************************************** + *******************************************************************************/ + #ifdef LATEST_ATOM_BIOS_SUPPORT +-enum bp_result set_dce_clock_v2_1( ++static enum bp_result set_dce_clock_v2_1( + struct bios_parser *bp, + struct bp_set_dce_clock_parameters *bp_params); + #endif +@@ -2801,11 +2801,10 @@ static enum bp_result set_dce_clock_v2_1( + SET_DCE_CLOCK_PS_ALLOCATION_V2_1 params; + uint32_t atom_pll_id; + uint32_t atom_clock_type; ++ const struct command_table_helper *cmd = bp->cmd_helper; + + dc_service_memset(¶ms, 0, sizeof(params)); + +- const struct command_table_helper *cmd = bp->cmd_helper; +- + if (!cmd->clock_source_id_to_atom(bp_params->pll_id, &atom_pll_id) || + !cmd->dc_clock_type_to_atom(bp_params->clock_type, &atom_clock_type)) + return BP_RESULT_BADINPUT; +-- +2.7.4 + |