diff options
author | Mauro Rossi <issor.oruam@gmail.com> | 2018-10-05 22:53:25 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-27 16:45:58 -0400 |
commit | c4a54f70a6afd1a91072ef06cb083221ff189cca (patch) | |
tree | 6e1f51155fb32b60fd1440631a70633ada03762d /drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c | |
parent | 683b59504d4ecec3251a23fdac7e8775385a18c5 (diff) | |
download | linux-stable-c4a54f70a6afd1a91072ef06cb083221ff189cca.tar.gz linux-stable-c4a54f70a6afd1a91072ef06cb083221ff189cca.tar.bz2 linux-stable-c4a54f70a6afd1a91072ef06cb083221ff189cca.zip |
drm/amd/display: dc/bios: add support for DCE6
[Why]
command_table_helper.c requires changes for DCE6 support
[How]
DCE6 targets added replicating and adapting the existing DCE8 implementation.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mauro Rossi <issor.oruam@gmail.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 | 8 |
1 files changed, 8 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 21ff6b686f5f..74c498b6774d 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 @@ -37,6 +37,14 @@ bool dal_bios_parser_init_cmd_tbl_helper2( enum dce_version dce) { switch (dce) { +#if defined(CONFIG_DRM_AMD_DC_SI) + case DCE_VERSION_6_0: + case DCE_VERSION_6_1: + case DCE_VERSION_6_4: + *h = dal_cmd_tbl_helper_dce60_get_table(); + return true; +#endif + case DCE_VERSION_8_0: case DCE_VERSION_8_1: case DCE_VERSION_8_3: |