aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h
diff options
context:
space:
mode:
authorGabe Teeger <gabe.teeger@amd.com>2022-05-12 12:47:23 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-06-06 14:43:08 -0400
commit84de5c2e92dccb2bcfd5ff68af44960b808fe6bb (patch)
tree8ece39b7c1235ae209171bc47444a10113089475 /drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h
parentdrm/amd/display: Implement MPO PSR SU (diff)
downloadlinux-84de5c2e92dccb2bcfd5ff68af44960b808fe6bb.tar.gz
linux-84de5c2e92dccb2bcfd5ff68af44960b808fe6bb.zip
drm/amd/display: Update optimized blank calc and programming
[Why] The existing calculations in DCN3.1 were placeholder and need to be replaced with HW team approved calculations. [How] The new calculations add new parameters to the bounding box and pipe params - VblankNom and the bounding box default. The placeholder calculations are dropped from DCN3.1 in the meantime while we work out hardware approved replacements. Also fix a bug where we wipe out other register contents with a REG_SET instead of a REG_UPDATE for the register we were programming the min_dst_y_next_start_optimized. Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com> Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com> Signed-off-by: Gabe Teeger <gabe.teeger@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h b/drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h
index 967d3e1ce886..74afa10e70f8 100644
--- a/drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h
+++ b/drivers/gpu/drm/amd/display/dc/dml/display_mode_structs.h
@@ -329,6 +329,7 @@ struct _vcs_dpi_ip_params_st {
unsigned int number_of_cursors;
unsigned int max_num_dp2p0_outputs;
unsigned int max_num_dp2p0_streams;
+ unsigned int VBlankNomDefaultUS;
};
struct _vcs_dpi_display_xfc_params_st {