]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amd/display: allocate 4 ddc engines for RV2
authorDerek Lai <Derek.Lai@amd.com>
Tue, 2 Jul 2019 09:50:41 +0000 (17:50 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Aug 2019 08:11:01 +0000 (10:11 +0200)
[ Upstream commit 67fd6c0d2de8e51e84ff3fa6e68bbd524f823e49 ]

[Why]
Driver will create 0, 1, and 2 ddc engines for RV2,
but some platforms used 0, 1, and 3.

[How]
Still allocate 4 ddc engines for RV2.

Signed-off-by: Derek Lai <Derek.Lai@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c

index 7eccb54c421d9090c9fdbc5a0b45f8c1cf4b7454..aac52eed6b2aa4820f0b08e484fb96b19f323259 100644 (file)
@@ -512,7 +512,7 @@ static const struct resource_caps rv2_res_cap = {
                .num_audio = 3,
                .num_stream_encoder = 3,
                .num_pll = 3,
-               .num_ddc = 3,
+               .num_ddc = 4,
 };
 #endif