Commit 82463703 authored by Hansen Dsouza's avatar Hansen Dsouza Committed by Alex Deucher

drm/amd/display: Enable 3 plane MPO

[why and how]
3 plane MPO is a new feature missing in a few resource files
Enable 3 plane MPO by setting slave planes to 2
Reviewed-by: default avatarKrunoslav Kovac <Krunoslav.Kovac@amd.com>
Reviewed-by: default avatarAric Cyr <Aric.Cyr@amd.com>
Acked-by: default avatarHamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: default avatarHansen Dsouza <Hansen.Dsouza@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d8791dc7
...@@ -1762,9 +1762,9 @@ static bool dcn315_resource_construct( ...@@ -1762,9 +1762,9 @@ static bool dcn315_resource_construct(
dc->caps.max_cursor_size = 256; dc->caps.max_cursor_size = 256;
dc->caps.min_horizontal_blanking_period = 80; dc->caps.min_horizontal_blanking_period = 80;
dc->caps.dmdata_alloc_size = 2048; dc->caps.dmdata_alloc_size = 2048;
dc->caps.max_slave_planes = 1; dc->caps.max_slave_planes = 2;
dc->caps.max_slave_yuv_planes = 1; dc->caps.max_slave_yuv_planes = 2;
dc->caps.max_slave_rgb_planes = 1; dc->caps.max_slave_rgb_planes = 2;
dc->caps.post_blend_color_processing = true; dc->caps.post_blend_color_processing = true;
dc->caps.force_dp_tps4_for_cp2520 = true; dc->caps.force_dp_tps4_for_cp2520 = true;
dc->caps.dp_hpo = true; dc->caps.dp_hpo = true;
......
...@@ -1764,9 +1764,9 @@ static bool dcn316_resource_construct( ...@@ -1764,9 +1764,9 @@ static bool dcn316_resource_construct(
dc->caps.max_cursor_size = 256; dc->caps.max_cursor_size = 256;
dc->caps.min_horizontal_blanking_period = 80; dc->caps.min_horizontal_blanking_period = 80;
dc->caps.dmdata_alloc_size = 2048; dc->caps.dmdata_alloc_size = 2048;
dc->caps.max_slave_planes = 1; dc->caps.max_slave_planes = 2;
dc->caps.max_slave_yuv_planes = 1; dc->caps.max_slave_yuv_planes = 2;
dc->caps.max_slave_rgb_planes = 1; dc->caps.max_slave_rgb_planes = 2;
dc->caps.post_blend_color_processing = true; dc->caps.post_blend_color_processing = true;
dc->caps.force_dp_tps4_for_cp2520 = true; dc->caps.force_dp_tps4_for_cp2520 = true;
dc->caps.dp_hpo = true; dc->caps.dp_hpo = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment