diff options
author | Harry Wentland <harry.wentland@amd.com> | 2019-02-22 09:58:49 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-21 18:59:34 -0500 |
commit | 9647509497602890e0209dc774494f7ffdeaf8f3 (patch) | |
tree | 04121accda8ee063f38b28a186d4d2a913a51ec8 /drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c | |
parent | 2e35facf82bcdd9b9eb9129f4fb31127b79249ec (diff) | |
download | linux-stable-9647509497602890e0209dc774494f7ffdeaf8f3.tar.gz linux-stable-9647509497602890e0209dc774494f7ffdeaf8f3.tar.bz2 linux-stable-9647509497602890e0209dc774494f7ffdeaf8f3.zip |
drm/amd/display: Add DCN2 BIOS parsing
Handle BIOS parsing for DCN2
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c b/drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c index 53deba42007a..f9439dfc7b75 100644 --- a/drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c +++ b/drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c @@ -61,6 +61,12 @@ bool dal_bios_parser_init_cmd_tbl_helper2( *h = dal_cmd_tbl_helper_dce112_get_table2(); return true; #endif + +#if defined(CONFIG_DRM_AMD_DC_DCN2_0) + case DCN_VERSION_2_0: + *h = dal_cmd_tbl_helper_dce112_get_table2(); + return true; +#endif case DCE_VERSION_12_0: case DCE_VERSION_12_1: *h = dal_cmd_tbl_helper_dce112_get_table2(); |