linux/drivers/gpu/drm/amd/display/dc
Nicholas Kazlauskas 6eb3cf2e06 drm/amd/display: Only revalidate bandwidth on medium and fast updates
[Why]
Changes that are fast don't require updating DLG parameters making
this call unnecessary. Considering this is an expensive call it should
not be done on every flip.

DML touches clocks, p-state support, DLG params and a few other DC
internal flags and these aren't expected during fast. A hang has been
reported with this change when called on every flip which suggests that
modifying these fields is not recommended behavior on fast updates.

[How]
Guard the validation to only happen if update type isn't FAST.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1191
Fixes: a24eaa5c51 ("drm/amd/display: Revalidate bandwidth before commiting DC updates")
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
2020-06-30 22:15:12 -04:00
..
basics drm/amd/dc: Kill dc_conn_log_hex_linux() 2020-04-01 14:44:59 -04:00
bios drm/amd/display: Pass command instead of header into DMUB service 2020-04-28 16:19:05 -04:00
calcs drm/amd/display: Avoid pipe split when plane is too small 2020-05-21 12:48:43 -04:00
clk_mgr drm/amd/display: dmcu wait loop calculation is incorrect in RV 2020-04-22 18:11:48 -04:00
core drm/amd/display: Only revalidate bandwidth on medium and fast updates 2020-06-30 22:15:12 -04:00
dce drm/amd/display: move location of dmub_srv.h file 2020-05-05 13:12:33 -04:00
dce80 drm/amd/display: change from panel to panel cntl 2020-04-22 18:11:48 -04:00
dce100 drm/amd/display: change from panel to panel cntl 2020-04-22 18:11:48 -04:00
dce110 drm/amd/display: Move panel_cntl specific register from abm to panel_cntl. 2020-05-05 13:10:46 -04:00
dce112 drm/amd/display: Enable fp16 also on DCE-11.0 - DCE-12. (v2) 2020-05-21 12:46:51 -04:00
dce120 drm/amd/display: Enable fp16 also on DCE-11.0 - DCE-12. (v2) 2020-05-21 12:46:51 -04:00
dcn10 drm/amd/display: Fix potential integer wraparound resulting in a hang 2020-05-27 18:42:10 -04:00
dcn20 drm/amd/display: correct rn NUM_VMID 2020-05-21 12:48:43 -04:00
dcn21 drm/amd/display: correct rn NUM_VMID 2020-05-21 12:48:43 -04:00
dml drm/amd/display: Remove dml_common_def file 2020-05-21 12:48:43 -04:00
dsc drm/amd/display: Rework dsc to isolate FPU operations 2020-06-11 16:05:32 -04:00
gpio drm/amdgpu/display: extend DCN guards 2020-02-12 16:04:39 -05:00
hdcp drm/amd/display: query hdcp capability during link detect 2020-04-09 10:43:17 -04:00
inc drm/amd/display: Defer cursor lock until after VUPDATE 2020-05-21 12:48:43 -04:00
irq drm/amd/display: rename core_dc to dc 2019-12-05 16:26:39 -05:00
virtual drm/amd/display: determine USB C DP2 mode only when USB DP Alt is enabled 2020-04-09 10:43:17 -04:00
dc_bios_types.h
dc_ddc_types.h
dc_dmub_srv.c drm/amd/display: move location of dmub_srv.h file 2020-05-05 13:12:33 -04:00
dc_dmub_srv.h drm/amd/display: move location of dmub_srv.h file 2020-05-05 13:12:33 -04:00
dc_dp_types.h drm/amd/display: Unify psr feature flags 2020-04-22 18:11:47 -04:00
dc_dsc.h drm/amd/display: Add debug option to override DSC target bpp increment 2019-12-18 16:09:11 -05:00
dc_helper.c drm/amd/display: Pass command instead of header into DMUB service 2020-04-28 16:19:05 -04:00
dc_hw_types.h drm/amd/display: Make cursor source translation adjustment optional 2020-04-09 10:43:17 -04:00
dc_link.h drm/amd/display: move location of dmub_srv.h file 2020-05-05 13:12:33 -04:00
dc_stream.h drm/amd/display: Unify psr feature flags 2020-04-22 18:11:47 -04:00
dc_types.h drm/amd/display: add addition dc type to translate to dmub fw type 2020-05-05 13:11:49 -04:00
dc.h drm/amd/display: 3.2.84 2020-05-05 13:12:47 -04:00
dm_cp_psp.h drm/amd/display: determine is mst hdcp based on stream instead of sink signal 2020-03-09 13:49:06 -04:00
dm_event_log.h
dm_helpers.h
dm_pp_smu.h
dm_services_types.h drm/amd/display: Add definition for number of backlight data points 2019-12-18 16:09:08 -05:00
dm_services.h
irq_types.h
Makefile
os_types.h drm/amdgpu/dc: Use WARN_ON_ONCE for ASSERT 2020-04-30 16:48:47 -04:00