aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0404-drm-amd-display-Allow-MPO-on-Raven.patch
blob: c6672e0ed26733c4a3a1ab07b298c4635ad29435 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From fe6c6e2873293a285d19935a76ffb99c3b6cd067 Mon Sep 17 00:00:00 2001
From: Leon Elazar <leon.elazar@amd.com>
Date: Fri, 24 Mar 2017 15:46:24 -0400
Subject: [PATCH 0404/4131] drm/amd/display: Allow MPO on Raven

Signed-off-by: Leon Elazar <leon.elazar@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c
index 121eb30..41613ab 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c
@@ -1292,6 +1292,8 @@ static bool construct(
 	dc->public.caps.i2c_speed_in_khz = 100;
 	dc->public.caps.max_cursor_size = 256;
 
+	dc->public.caps.max_slave_planes = 1;
+
 	if (dc->ctx->dce_environment == DCE_ENV_PRODUCTION_DRV)
 		dc->public.debug = debug_defaults_drv;
 	else
-- 
2.7.4