mirror_ubuntu-kernels/drivers/gpu/drm/amd/display/dc
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
..
basics drm/amd/display: Move bw_fixed from DML folder 2023-10-09 16:48:37 -04:00
bios drm/amd/display: Improve code style on bios_parser2 2023-09-26 17:00:21 -04:00
clk_mgr drm/amd/display: Disable OTG for mode timing switch on DCN35 2023-11-07 12:03:30 -05:00
core drm/amd/display: save and restore mall state when applying minimal transition 2023-11-07 12:03:30 -05:00
dce drm/amd/display: Remove unused duplicate register definition 2023-11-07 12:03:30 -05:00
dce60 drm/amd/display: Refactor HWSS into component folder 2023-10-09 17:00:09 -04:00
dce80 drm/amd/display: Refactor HWSS into component folder 2023-10-09 17:00:09 -04:00
dce100 drm/amd/display: Refactor HWSS into component folder 2023-10-09 17:00:09 -04:00
dce110 drm/amd/display: Refactor HWSS into component folder 2023-10-09 17:00:09 -04:00
dce112 drm/amd/display: Refactor HWSS into component folder 2023-10-09 17:00:09 -04:00
dce120 drm/amd/display: Refactor HWSS into component folder 2023-10-09 17:00:09 -04:00
dcn10 drm/amd/display: Create optc.h file 2023-11-07 12:03:30 -05:00
dcn20 drm/amd/display: Allow 16 max_slices for DP2 DSC 2023-11-07 11:17:03 -05:00
dcn21 drm/amd/display: Set the DML2 attribute to false in all DCNs older than version 3.5 2023-10-26 18:41:22 -04:00
dcn30 drm/amd/display: Fix blend LUT programming 2023-11-03 12:18:33 -04:00
dcn31 drm/amd/display: Fix copyright notice in DC code 2023-10-26 18:41:23 -04:00
dcn32 drm/amd/display: Fix blend LUT programming 2023-11-03 12:18:33 -04:00
dcn35 drm/amd/display: Enable physymclk RCO 2023-11-07 12:03:30 -05:00
dcn201 drm/amd/display: Set the DML2 attribute to false in all DCNs older than version 3.5 2023-10-26 18:41:22 -04:00
dcn301 drm/amd/display: Set the DML2 attribute to false in all DCNs older than version 3.5 2023-10-26 18:41:22 -04:00
dcn302 drm/amd/display: Set the DML2 attribute to false in all DCNs older than version 3.5 2023-10-26 18:41:22 -04:00
dcn303 drm/amd/display: Fix copyright notice in DC code 2023-10-26 18:41:23 -04:00
dcn314 drm/amd/display: Disable SYMCLK32_SE RCO on DCN314 2023-10-26 19:02:13 -04:00
dcn315 drm/amd/display: Set the DML2 attribute to false in all DCNs older than version 3.5 2023-10-26 18:41:22 -04:00
dcn316 drm/amd/display: Set the DML2 attribute to false in all DCNs older than version 3.5 2023-10-26 18:41:22 -04:00
dcn321 drm/amd/display: add interface to query SubVP status 2023-10-26 19:02:31 -04:00
dml drm/amd/display: clean up some inconsistent indentings 2023-10-20 15:11:27 -04:00
dml2 drm/amd/display: Fix handling duplicate planes on one stream 2023-11-07 12:03:30 -05:00
dsc drm/amd/display: Allow 16 max_slices for DP2 DSC 2023-11-07 11:17:03 -05:00
gpio drm/amd/display: Add DCN35 GPIO 2023-08-30 15:51:14 -04:00
hdcp drm/amd/display: Fix copyright notice in DC code 2023-10-26 18:41:23 -04:00
hwss drm/amd/display: For cursor P-State allow for SubVP 2023-11-07 12:03:30 -05:00
inc drm/amd/display: Enable physymclk RCO 2023-11-07 12:03:30 -05:00
irq drm/amd/display: Fix copyright notice in DC code 2023-10-26 18:41:23 -04:00
link drm/amd/display: Revise Replay Desync Error IRQ handle 2023-11-07 12:03:30 -05:00
virtual
dc_bios_types.h
dc_ddc_types.h
dc_dmub_srv.c drm/amd/display: decouple dmcub execution to reduce lock granularity 2023-11-07 11:16:01 -05:00
dc_dmub_srv.h drm/amd/display: decouple dmcub execution to reduce lock granularity 2023-11-07 11:16:01 -05:00
dc_dp_types.h drm/amd/display: Update test link rate DPCD bit field to match spec 2023-11-07 11:17:11 -05:00
dc_dsc.h drm/amd/display: Add link encoding to timing BW calculation parameters 2023-07-18 11:15:51 -04:00
dc_edid_parser.c
dc_edid_parser.h
dc_hdmi_types.h drm/amd/display/dc/dc_hdmi_types: Move string definition to the only file it's used in 2023-03-22 00:47:59 -04:00
dc_helper.c drm/amd/display: switch DC over to the new DRM logging macros 2023-09-26 17:00:21 -04:00
dc_hw_types.h drm/amd/display: Adjust code style for hw_sequencer.h 2023-10-04 18:42:41 -04:00
dc_stat.h
dc_stream.h Revert "drm/amd/display: Disable DWB frame capture to emulate oneshot" 2023-10-13 11:04:30 -04:00
dc_trace.h
dc_types.h drm/amd/display: Revise Replay Desync Error IRQ handle 2023-11-07 12:03:30 -05:00
dc.h drm/amd/display: Promote DAL to 3.2.259 2023-11-07 12:03:30 -05:00
dm_cp_psp.h
dm_event_log.h
dm_helpers.h
dm_pp_smu.h
dm_services_types.h drm/amd/display: refactor dmub commands into single function 2023-04-18 16:28:52 -04:00
dm_services.h drm/amd/display: Show the DCN/DCE version in the log 2023-06-09 09:34:09 -04:00
irq_types.h drm/amd/display: Correct enum typo 2023-10-26 18:59:56 -04:00
Makefile drm/amd/display: Refactor HWSS into component folder 2023-10-09 17:00:09 -04:00
os_types.h drm/amd/display: switch DC over to the new DRM logging macros 2023-09-26 17:00:21 -04:00