1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display/dc
Wenjing Liu 017860c909 drm/amd/display: make enable link independent from verified link caps
[why]
Ideally link capability should be independent from the link
configuration that we decide to use in enable link. Otherwise if link
capability is changed after validation has completed, we could end up
enabling a link configuration with invalid configuration. This would
lead to over link bandwidth subscription or in the extreme case
causes us to enable HPO link to a DIO stream.

[how]
Add a new struct in pipe ctx called link config. This structure will
contain link configuration to enable a link. It will be populated
during map pool resources after we validate link bandwidth. Remove
the reference of verified link cap during enable link process and
use link config in pipe ctx instead.

Reviewed-by: George Shen <George.Shen@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@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>
2022-07-13 11:25:16 -04:00
..
basics drm/amd/display: Move all linux includes into OS types 2022-07-05 16:16:49 -04:00
bios drm/amd/display: clean up some inconsistent indenting 2022-07-07 15:57:23 -04:00
clk_mgr drm/amd/display: Removing assert statements for Linux 2022-07-12 16:49:17 -04:00
core drm/amd/display: make enable link independent from verified link caps 2022-07-13 11:25:16 -04:00
dce drm/amd/display: Move all linux includes into OS types 2022-07-05 16:16:49 -04:00
dce60 drm/amd/display/dc/dce60/dce60_resource: Include our own header containing prototypes 2021-01-14 13:20:21 -05:00
dce80 drm/amd/display: Move all linux includes into OS types 2022-07-05 16:16:49 -04:00
dce100 drm/amd/display: Move all linux includes into OS types 2022-07-05 16:16:49 -04:00
dce110 drm/amd/display: Maintain old audio programming sequence 2022-07-05 16:17:54 -04:00
dce112 drm/amd/display: Move all linux includes into OS types 2022-07-05 16:16:49 -04:00
dce120 drm/amd/display: Move all linux includes into OS types 2022-07-05 16:16:49 -04:00
dcn10 drm/amd/display: Exit SubVP if MPO in use 2022-07-12 16:48:34 -04:00
dcn20 drm/amd/display: Exit SubVP if MPO in use 2022-07-12 16:48:34 -04:00
dcn21 drm/amd/display: rename hdmi_frl_pcon_support 2022-07-05 16:17:39 -04:00
dcn30 drm/amd/display: make get_refresh_rate() static 2022-07-07 15:55:29 -04:00
dcn31 drm/amd/display: rename hdmi_frl_pcon_support 2022-07-05 16:17:39 -04:00
dcn32 drm/amd/display: Enable ODM combine default policy 2022-07-08 18:25:12 -04:00
dcn201 amd/display/dc: Fix COLOR_ENCODING and COLOR_RANGE doing nothing for DCN20+ 2022-06-21 18:17:24 -04:00
dcn301 drm/amd/display: Move FPU associated DCN30 code to DML folder 2022-05-26 14:56:31 -04:00
dcn302 drm/amdgpu/display: make FP handling in Makefiles consistent 2022-06-14 21:38:41 -04:00
dcn303 drm/amd/display: Move FPU associated DCN30 code to DML folder 2022-05-26 14:56:31 -04:00
dcn315 drm/amd/display: rename hdmi_frl_pcon_support 2022-07-05 16:17:39 -04:00
dcn316 drm/amd/display: rename hdmi_frl_pcon_support 2022-07-05 16:17:39 -04:00
dcn321 drm/amd/display: Enable ODM combine default policy 2022-07-08 18:25:12 -04:00
dml drm/amd/display: fix unnecessary pipe split playing NV12 1080p MPO video 2022-07-12 16:50:29 -04:00
dsc drm/amd: Fix spelling typo in comments 2022-06-03 16:43:36 -04:00
gpio drm/amd/display: Move all linux includes into OS types 2022-07-05 16:16:49 -04:00
hdcp drm/amd/display: Enforce DPCD Address ranges 2021-06-15 17:25:41 -04:00
inc drm/amd/display: make enable link independent from verified link caps 2022-07-13 11:25:16 -04:00
irq drm/amd/display: Move all linux includes into OS types 2022-07-05 16:16:49 -04:00
link drm/amd/display: revert Blank eDP on disable/enable drv 2022-06-01 15:56:48 -04:00
virtual drm/amd/display: Move all linux includes into OS types 2022-07-05 16:16:49 -04:00
dc.h drm/amd/display: Exit SubVP if MPO in use 2022-07-12 16:48:34 -04:00
dc_bios_types.h drm/amd/display: Add dependant changes for DCN32/321 2022-06-03 16:43:38 -04:00
dc_ddc_types.h drm/amd/display: Support for DMUB AUX 2021-03-02 14:05:41 -05:00
dc_dmub_srv.c drm/amd/display: fix 32 bit compilation errors in dc_dmub_srv.c 2022-07-08 12:02:08 -04:00
dc_dmub_srv.h drm/amd/display: Add basic infrastructure for enabling FAMS 2022-07-05 16:12:00 -04:00
dc_dp_types.h drm/amd/display: add support for handling 128b/132b link training test request 2022-04-05 10:29:48 -04:00
dc_dsc.h drm/amd/display: move bpp range decision in decide dsc bw range function 2021-09-14 15:57:09 -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_helper.c drm/amd/display: Support synchronized indirect reg access 2022-01-25 18:00:35 -05:00
dc_hw_types.h drm/amd/display: OVT Update on InfoFrame and Mode Management 2022-07-05 16:17:20 -04:00
dc_link.h drm/amd/display: Helper function for ALPM initialization 2022-07-12 16:49:05 -04: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: Indicate stream change on ODM change 2022-07-05 16:14:11 -04:00
dc_trace.h drm/amd/display: Add control mechanism for FPU utilization 2021-08-05 21:17:59 -04:00
dc_types.h drm/amd/display: OVT Update on InfoFrame and Mode Management 2022-07-05 16:17:20 -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 drm/amd/display: Add customizable tracing event 2018-11-30 12:02:49 -05:00
dm_helpers.h drm/amd/display: remove redundant CONFIG_DRM_AMD_DC_DCN in dc 2022-05-10 17:53:12 -04: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: Decouple amdgpu_dm_trace from service 2020-10-26 13:33:59 -04:00
dm_services_types.h drm/amd/display: Add definition for number of backlight data points 2019-12-18 16:09:08 -05:00
irq_types.h drm/amd/display: Remove underflow IRQ type 2022-04-05 10:29:47 -04:00
Makefile drm/amd/display: fix 32 bit compilation errors in dc_dmub_srv.c 2022-07-08 12:02:08 -04:00
os_types.h drm/amd/display: remove repeated includes 2022-07-07 15:55:39 -04:00