| From efe8d627d880b30204c216be34c055fc0f654fb9 Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Wed, 22 Apr 2020 18:07:57 -0400 |
| Subject: drm/amd/display: Update downspread percent to match spreadsheet for |
| DCN2.1 |
| |
| From: Sung Lee <sung.lee@amd.com> |
| |
| [ Upstream commit 668a6741f809f2d15d125cfe2b39661e8f1655ea ] |
| |
| [WHY] |
| The downspread percentage was copied over from a previous version |
| of the display_mode_lib spreadsheet. This value has been updated, |
| and the previous value is too high to allow for such modes as |
| 4K120hz. The new value is sufficient for such modes. |
| |
| [HOW] |
| Update the value in dcn21_resource to match the spreadsheet. |
| |
| Signed-off-by: Sung Lee <sung.lee@amd.com> |
| Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com> |
| Acked-by: Aurabindo Pillai <aurabindo.pillai@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/dcn21/dcn21_resource.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c |
| index 33d0a176841a5..122d3e734c59a 100644 |
| --- a/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c |
| +++ b/drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c |
| @@ -250,7 +250,7 @@ struct _vcs_dpi_soc_bounding_box_st dcn2_1_soc = { |
| .dram_channel_width_bytes = 4, |
| .fabric_datapath_to_dcn_data_return_bytes = 32, |
| .dcn_downspread_percent = 0.5, |
| - .downspread_percent = 0.5, |
| + .downspread_percent = 0.38, |
| .dram_page_open_time_ns = 50.0, |
| .dram_rw_turnaround_time_ns = 17.5, |
| .dram_return_buffer_per_channel_bytes = 8192, |
| -- |
| 2.20.1 |
| |