linux/drivers/gpu/drm/amd/display/dc/dml2
Aurabindo Pillai f510dd5c21 drm/amd/display: Fix underflow when setting underscan on DCN401
[WHY & HOW]
When underscan is set through xrandr, it causes the stream destination
rect to change in a way it becomes complicated to handle the calculations
for subvp. Since this is a corner case, disable subvp when underscan is
set.

Fix the existing check that is supposed to catch this corner case by
adding a check based on the parameters in the stream

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-09-18 16:15:08 -04:00
..
dml21 drm/amd/display: Fix underflow when setting underscan on DCN401 2024-09-18 16:15:08 -04:00
Makefile drm/amd/display: DML2.1 Reintegration for Various Fixes 2024-08-20 22:14:14 -04:00
cmntypes.h drm/amd/display: Fix copyright notice in DML2 code 2023-10-26 18:41:22 -04:00
display_mode_core.c drm/amd/display: fix typo in the comment 2024-09-18 16:14:27 -04:00
display_mode_core.h drm/amd/display: Add missing DML2 var helpers 2024-05-20 16:20:24 -04:00
display_mode_core_structs.h drm/amd/display: Fix DSC slice and delay calculations 2024-06-14 15:35:20 -04:00
display_mode_lib_defines.h drm/amd/display: add dwb support to dml2 2024-04-09 22:16:08 -04:00
display_mode_util.c drm/amd/display: Fix copyright notice in DML2 code 2023-10-26 18:41:22 -04:00
display_mode_util.h drm/amd/display: Fix copyright notice in DML2 code 2023-10-26 18:41:22 -04:00
dml2_dc_resource_mgmt.c drm/amd/display: Check pipe_ctx before it is used 2024-06-19 12:44:47 -04:00
dml2_dc_resource_mgmt.h drm/amd/display: Add some forward declarations 2024-03-20 13:37:36 -04:00
dml2_dc_types.h drm/amd/display: Refactor dc_state interface 2023-12-19 14:59:02 -05:00
dml2_internal_types.h drm/amd/display: fix graphics hang in multi-display mst case 2024-09-02 11:38:30 -04:00
dml2_mall_phantom.c drm/amd/display: Add null check before access structs 2024-06-27 17:33:36 -04:00
dml2_mall_phantom.h drm/amd/display: Fix copyright notice in DML2 code 2023-10-26 18:41:22 -04:00
dml2_policy.c drm/amd/display: Fix copyright notice in DML2 code 2023-10-26 18:41:22 -04:00
dml2_policy.h
dml2_translation_helper.c drm/amd/display: fix graphics hang in multi-display mst case 2024-09-02 11:38:30 -04:00
dml2_translation_helper.h drm/amd/display: fix graphics hang in multi-display mst case 2024-09-02 11:38:30 -04:00
dml2_utils.c drm/amd/display: fix graphics hang in multi-display mst case 2024-09-02 11:38:30 -04:00
dml2_utils.h drm/amd/display: add dwb support to dml2 2024-04-09 22:16:08 -04:00
dml2_wrapper.c drm/amd/display: Request 0MHz dispclk for zero display case 2024-07-27 17:31:19 -04:00
dml2_wrapper.h drm/amd/display: Force enable 3DLUT DMA check for dcn401 in DML 2024-08-06 11:11:02 -04:00
dml_assert.h drm/amd/display: Fix copyright notice in DML2 code 2023-10-26 18:41:22 -04:00
dml_depedencies.h drm/amd/display: Fix copyright notice in DML2 code 2023-10-26 18:41:22 -04:00
dml_display_rq_dlg_calc.c
dml_display_rq_dlg_calc.h
dml_logging.h drm/amd/display: Fix copyright notice in DML2 code 2023-10-26 18:41:22 -04:00