summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c
diff options
context:
space:
mode:
authorAlex Deucher2017-06-15 22:27:42 +0200
committerAlex Deucher2017-09-27 00:06:51 +0200
commitff5ef99248662ef98a64c11c5370ecd9fbbf57a6 (patch)
tree1bf411efad623fd346b6fa482c1ae7c26bf5ebad /drivers/gpu/drm/amd/display/dc/bios/command_table_helper2.c
parentdrm/amdgpu/display: Add irq support for DCN (diff)
downloadkernel-qcow2-linux-ff5ef99248662ef98a64c11c5370ecd9fbbf57a6.tar.gz
kernel-qcow2-linux-ff5ef99248662ef98a64c11c5370ecd9fbbf57a6.tar.xz
kernel-qcow2-linux-ff5ef99248662ef98a64c11c5370ecd9fbbf57a6.zip
drm/amdgpu/display: Enable DCN in DC
Enable DCN in DC. 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.c5
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 1cc3df1d5698..84b1f515aa47 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
@@ -53,6 +53,11 @@ bool dal_bios_parser_init_cmd_tbl_helper2(
case DCE_VERSION_11_2:
*h = dal_cmd_tbl_helper_dce112_get_table2();
return true;
+#if defined(CONFIG_DRM_AMD_DC_DCN1_0)
+ case DCN_VERSION_1_0:
+ *h = dal_cmd_tbl_helper_dce112_get_table2();
+ return true;
+#endif
case DCE_VERSION_12_0:
*h = dal_cmd_tbl_helper_dce112_get_table2();
return true;