1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc/dml2
Sung Joon Kim 35c1d9664c drm/amd/display: Fix handling duplicate planes on one stream
[why]
DML2 does not handle the case when we have
a single stream sourcing 2 or more planes
that are duplicates of one another. To properly
handle this scenario, pipe index to plane index
mapping is used to decide which plane is being
processed and programmed.

[how]
Create static array of pipe index to plane index map.
Populate the array properly and use in appropriate places.

Reviewed-by: Xi (Alex) Liu <xi.liu@amd.com>
Acked-by: Hersen Wu <hersenxs.wu@amd.com>
Signed-off-by: Sung Joon Kim <sungkim@amd.com>
Signed-off-by: Hersen Wu <hersenxs.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-11-07 12:03:30 -05: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 copyright notice in DML2 code 2023-10-26 18:41:22 -04:00
display_mode_core.h drm/amd/display: Add z8_marks in dml 2023-10-09 16:50:12 -04:00
display_mode_core_structs.h drm/amd/display: Fix copyright notice in DML2 code 2023-10-26 18:41:22 -04:00
display_mode_lib_defines.h drm/amd/display: Fix copyright notice in DML2 code 2023-10-26 18:41:22 -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: Fix handling duplicate planes on one stream 2023-11-07 12:03:30 -05:00
dml2_dc_resource_mgmt.h drm/amd/display: Fix copyright notice in DML2 code 2023-10-26 18:41:22 -04:00
dml2_dc_types.h drm/amd/display: Fix copyright notice in DML2 code 2023-10-26 18:41:22 -04:00
dml2_internal_types.h drm/amd/display: Fix handling duplicate planes on one stream 2023-11-07 12:03:30 -05:00
dml2_mall_phantom.c drm/amd/display: Fix copyright notice in DML2 code 2023-10-26 18:41:22 -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 handling duplicate planes on one stream 2023-11-07 12:03:30 -05:00
dml2_translation_helper.h drm/amd/display: Fix handling duplicate planes on one stream 2023-11-07 12:03:30 -05:00
dml2_utils.c drm/amd/display: Fix handling duplicate planes on one stream 2023-11-07 12:03:30 -05:00
dml2_utils.h drm/amd/display: Move stereo timing check to helper 2023-10-09 16:50:53 -04:00
dml2_wrapper.c drm/amd/display: Fix handling duplicate planes on one stream 2023-11-07 12:03:30 -05:00
dml2_wrapper.h drm/amd/display: implement map dc pipe with callback in DML2 2023-10-26 18:57:51 -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
Makefile drm/amd/display: Increase frame warning limit with KASAN or KCSAN in dml2 2023-11-03 11:59:52 -04:00