diff options
author | Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> | 2020-05-21 12:58:56 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-01 01:59:15 -0400 |
commit | 330fa233f8cd027b689862edcba0322fb10177df (patch) | |
tree | 363b07f5fd443231548d0592399d28022404d411 /drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c | |
parent | 5dba4991fd338dc4b2664c0c6b3d80edead4e22c (diff) | |
download | linux-stable-330fa233f8cd027b689862edcba0322fb10177df.tar.gz linux-stable-330fa233f8cd027b689862edcba0322fb10177df.tar.bz2 linux-stable-330fa233f8cd027b689862edcba0322fb10177df.zip |
drm/amd/display: Add DCN3 Command Table Helpers
-Handle DCN3 cases for bios parser and command tables
-Add command function tables for DCN3
Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@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 | 5 |
1 files changed, 5 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 204d7942a6e5..21ff6b686f5f 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 @@ -65,6 +65,11 @@ 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_DCN3_0) + case DCN_VERSION_3_0: + *h = dal_cmd_tbl_helper_dce112_get_table2(); + return true; +#endif default: /* Unsupported DCE */ |