1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc
Wenjing Liu 26e5817e39 drm/amd/display: do not block ODM + OPM on one side of the screen
[why]
build scaling param is overriding validation policy regarding small viewport
support. Even if ODM + windowed MPO is not supported. The decision has
to be made at the time of validation. When building scaling params, we might
be building an initial dc state as an input to DML validation. The initial state
is not supposed to be always valid and we rely on DML to modify the initial
dc state and determine the final validation result. This check is pre judging
validation result when building the initial dc state.

This causes an issue where we are transitioning from desktop only ODM
combine 2:1 to ODM bypass with 2 planes. In this case we are building
an initial state with with ODM 2:1 combine + 2 planes. This is indeed not
supported but DML is about to modify the state so it no longer uses ODM
combine. Before it reaches DML, dc resource already fails validation because
it checks that the initial state is not supported by our policy. This overrides
the ODM decision to validate this state with ODM combine disabled. Therefore
causes an unexpected validation failure when the secondary plane is added
on one side of the screen.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-09-11 17:15:31 -04:00
..
basics drm/amd/display: Add missing static 2023-07-18 11:13:30 -04:00
bios drm/amd/display: Add DCN35 BIOS command table support 2023-08-30 15:51:14 -04:00
clk_mgr drm/amd/display: clean up some inconsistent indentings 2023-09-06 14:33:13 -04:00
core drm/amd/display: do not block ODM + OPM on one side of the screen 2023-09-11 17:15:31 -04:00
dce drm/amd/display: Update DCE for DCN35 support 2023-08-30 15:51:13 -04:00
dce60 drm/amd/display/dc/dce60/Makefile: Fix previous attempt to silence known override-init warnings 2023-03-22 00:48:00 -04:00
dce80 drm/amd/display: Improve the include of header file 2023-07-18 11:13:08 -04:00
dce100 drm/amd/display: implement pipe type definition and adding accessors 2023-08-15 18:08:28 -04:00
dce110 drm/amd/display: Don't check registers, if using AUX BL control 2023-09-11 17:14:36 -04:00
dce112 drm/amd/display: implement pipe type definition and adding accessors 2023-08-15 18:08:28 -04:00
dce120 drm/amd/display: Refactor fast update to use new HWSS build sequence 2023-06-09 12:41:22 -04:00
dcn10 drm/amd/display: Don't lock phantom pipe on disabling 2023-09-11 17:11:44 -04:00
dcn20 drm/amd/display: Blank phantom OTG before enabling 2023-09-11 17:11:19 -04:00
dcn21 drm/amd/display: add more pipe resource interfaces 2023-08-30 15:35:30 -04:00
dcn30 drm/amd/display: Update DCN32 for DCN35 support 2023-08-30 15:51:14 -04:00
dcn31 drm/amd/display: Update DCN31 for DCN35 support 2023-08-30 15:51:14 -04:00
dcn32 drm/amd/display: Blank phantom OTG before enabling 2023-09-11 17:11:19 -04:00
dcn35 drm/amd/display: clean up some inconsistent indentings 2023-09-06 14:33:10 -04:00
dcn201 drm/amd/display: add more pipe resource interfaces 2023-08-30 15:35:30 -04:00
dcn301 drm/amd/display: add more pipe resource interfaces 2023-08-30 15:35:30 -04:00
dcn302 drm/amd/display: add more pipe resource interfaces 2023-08-30 15:35:30 -04:00
dcn303 drm/amd/display: add more pipe resource interfaces 2023-08-30 15:35:30 -04:00
dcn314 drm/amd/display: Update DCN314 for DCN35 support 2023-08-30 15:51:14 -04:00
dcn315 drm/amd/display: add more pipe resource interfaces 2023-08-30 15:35:30 -04:00
dcn316 drm/amd/display: add more pipe resource interfaces 2023-08-30 15:35:30 -04:00
dcn321 drm/amd/display: add more pipe resource interfaces 2023-08-30 15:35:30 -04:00
dml drm/amd/display: Fix DML calculation errors 2023-09-11 17:15:23 -04:00
dsc drm/amd/display: Add link encoding to timing BW calculation parameters 2023-07-18 11:15:51 -04:00
gpio drm/amd/display: Add DCN35 GPIO 2023-08-30 15:51:14 -04:00
hdcp drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP 2023-03-07 14:22:39 -05:00
inc drm/amd/display: Blank phantom OTG before enabling 2023-09-11 17:11:19 -04:00
irq drm/amd/display: Add DCN35 IRQ 2023-08-30 15:51:15 -04:00
link drm/amd/display: Add DCN35 DIO 2023-08-30 15:51:14 -04:00
virtual drm/amd/display: make virtual_disable_link_output static 2022-10-11 11:32:59 -04:00
dc.h drm/amd/display: Add DCN35 CLK_MGR 2023-08-30 15:51:15 -04:00
dc_bios_types.h drm/amd/display: Skip backlight control delay on external powered links 2023-01-17 15:40:28 -05:00
dc_ddc_types.h drm/amd/display: move public dc link function implementation to dc_link_exports 2023-02-14 16:06:28 -05:00
dc_dmub_srv.c drm/amd/display: Add DCN35 DMUB 2023-08-30 15:51:15 -04:00
dc_dmub_srv.h drm/amd/display: Add DCN35 DMUB 2023-08-30 15:51:15 -04:00
dc_dp_types.h drm/amd/display: Add structs for Freesync Panel Replay 2023-08-07 17:12:49 -04: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 drm/amd/display: Add Freesync HDMI support to DMCU 2021-02-02 12:11:41 -05:00
dc_edid_parser.h drm/amd/display: Add Freesync HDMI support to DMCU 2021-02-02 12:11:41 -05:00
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: Add DCN35 family information 2023-08-30 15:51:13 -04:00
dc_hw_types.h drm/amd/display: Rename DCN config to FP 2023-03-07 14:22:40 -05:00
dc_stat.h drm/amd/display: DMUB Outbound Interrupt Process-X86 2021-07-08 15:14:36 -04:00
dc_stream.h drm/amd/display: Refactor edp power control 2023-08-30 14:58:42 -04:00
dc_trace.h drm/amd/display: Add events log to trace OPTC lock and unlock 2022-10-24 14:36:06 -04:00
dc_types.h drm/amd/display: Add DCN35 CLK_MGR 2023-08-30 15:51:15 -04:00
dm_cp_psp.h drm/amd/display: unhard code link to phy idx mapping in dc link and clean up 2022-01-07 17:21:20 -05:00
dm_event_log.h
dm_helpers.h drm/amd/display: Enable Freesync over PCon 2023-01-31 14:00:44 -05:00
dm_pp_smu.h drm/amdgpu/pm: display vcn pp dpm (v4) 2021-05-21 10:31:55 -04:00
dm_services.h drm/amd/display: Show the DCN/DCE version in the log 2023-06-09 09:34:09 -04:00
dm_services_types.h drm/amd/display: refactor dmub commands into single function 2023-04-18 16:28:52 -04:00
irq_types.h drm/amd/display: Remove underflow IRQ type 2022-04-05 10:29:47 -04:00
Makefile drm/amd/display: Add DCN35 blocks to Makefile 2023-08-30 15:51:15 -04:00
os_types.h drm/amd/display: Rename DCN config to FP 2023-03-07 14:22:40 -05:00