linux_dsm_epyc7002/drivers/gpu/drm/amd/display/dc/dcn10
Gary Kattan 240d09d070 drm/amd/display: Ungate stream before programming registers
[Why]
Certain tests fail after a fresh reboot. This is caused by writing to
registers prior to ungating the stream we're trying to program.

[How]
Make sure the stream is ungated before writing to its registers.
This also enables power-gating plane resources before init_hw
initializes them.
Additionally, this does some refactoring to move gating/ungating
from enable/disable_plane functions to where stream resources are
enabled/disabled.

Signed-off-by: Gary Kattan <gary.kattan@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-02-19 15:58:26 -05:00
..
dcn10_clk_mgr.c drm/amd/display: Start using the new pp_smu interface 2019-01-14 15:04:42 -05:00
dcn10_clk_mgr.h drm/amd/display: Clean up for DCN1 clock debug logging 2018-11-30 12:04:45 -05:00
dcn10_cm_common.c drm/amd/display: Add tracing to dc 2018-12-05 17:49:49 -05:00
dcn10_cm_common.h drm/amd/display: Set gamma not working on MPO planes 2018-11-05 14:21:31 -05:00
dcn10_dpp_cm.c drm/amd/display: Fix runtime errors for diagnostic tests 2019-01-14 15:04:32 -05:00
dcn10_dpp_dscl.c drm/amd/display: Check if registers are available before accessing 2019-01-14 15:42:22 -05:00
dcn10_dpp.c drm/amd/display: Fix disabled cursor on top screen edge 2019-01-14 15:40:18 -05:00
dcn10_dpp.h drm/amd/display: fix PIP bugs on Dal3 2018-08-27 11:10:14 -05:00
dcn10_hubbub.c drm/amd/display: Disable Stutter for Stereo 3D 2019-02-06 13:30:04 -05:00
dcn10_hubbub.h drm/amd/display: Disable Stutter for Stereo 3D 2019-02-06 13:30:04 -05:00
dcn10_hubp.c drm/amd/display: PIP overlay corruption 2019-02-06 13:30:28 -05:00
dcn10_hubp.h drm/amd/display: Introduce DC VM interface 2019-01-25 16:15:36 -05:00
dcn10_hw_sequencer_debug.c drm/amd/display: fix compliler errors [-Werror,-Wmissing-braces] 2019-01-14 15:04:45 -05:00
dcn10_hw_sequencer.c drm/amd/display: Ungate stream before programming registers 2019-02-19 15:58:26 -05:00
dcn10_hw_sequencer.h drm/amd/display: expose surface confirm color function 2018-11-19 15:27:41 -05:00
dcn10_ipp.c drm/amd/display: moving cursor functions from ipp to mem_input 2017-10-21 16:44:03 -04:00
dcn10_ipp.h drm/amd/display: Move dpp reg access from hwss to dpp module. 2018-02-19 14:17:33 -05:00
dcn10_link_encoder.c drm/amd/display: interface to check if timing can be seamless 2019-02-06 13:30:44 -05:00
dcn10_link_encoder.h drm/amd/display: interface to check if timing can be seamless 2019-02-06 13:30:44 -05:00
dcn10_mpc.c drm/amd/display: Make function pointer structs const 2018-07-10 14:17:23 -05:00
dcn10_mpc.h drm/amd/display: add mpc to dtn log 2018-04-11 13:07:38 -05:00
dcn10_opp.c drm/amd/display: Make function pointer structs const 2018-07-10 14:17:23 -05:00
dcn10_opp.h drm/amd/display: Move opp reg access from hwss to opp module. 2018-02-19 14:17:34 -05:00
dcn10_optc.c drm/amd/display: add n_vid_mul and half pix_rate for odm 2019-02-06 13:31:29 -05:00
dcn10_optc.h drm/amd/display: add n_vid_mul and half pix_rate for odm 2019-02-06 13:31:29 -05:00
dcn10_resource.c revert "drm/amd/display: Add condition to sync eDP SW status and HW status" 2019-01-25 16:15:37 -05:00
dcn10_resource.h drm/amd/display: Flattening core_dc to dc 2017-09-26 18:16:40 -04:00
dcn10_stream_encoder.c drm/amd/display: Connect dig_fe to otg directly instead of calling bios 2019-01-25 16:15:37 -05:00
dcn10_stream_encoder.h drm/amd/display: Connect dig_fe to otg directly instead of calling bios 2019-01-25 16:15:37 -05:00
Makefile drm/amd/display: rename dccg to clk_mgr 2018-11-05 14:20:48 -05:00