linux_dsm_epyc7002/drivers/gpu/drm/amd/display/dc/inc
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
..
hw drm/amd/display: send pipe set command to dmcu when stream unblanks 2019-02-19 15:58:26 -05:00
bw_fixed.h drm/amd/display: explicit uint64_t casting 2018-11-05 14:20:50 -05:00
clock_source.h drm/amd/display: interface to check if timing can be seamless 2019-02-06 13:30:44 -05:00
compressor.h drm/amd/display: fbc state could not reach while enable fbc 2018-11-30 12:02:35 -05:00
core_status.h drm/amd/display: Improve logging of validation failures during atomic_check 2019-01-14 15:04:40 -05:00
core_types.h drm/amd/display: Change from aux_engine to dce_aux 2019-01-14 15:40:48 -05:00
custom_float.h drm/amd/display: Enable regamma 25 segments and use double buffer. 2017-09-26 17:14:18 -04:00
dc_link_ddc.h drm/amd/display: Switch ddc to new aux interface 2019-01-14 15:40:40 -05:00
dc_link_dp.h drm/amd/display: Retry link training again 2018-07-27 09:07:42 -05:00
dce_calcs.h drm/amdgpu/display: remove VEGAM config option 2018-05-18 16:08:18 -05:00
dcn_calcs.h drm/amd/display: rename dccg to clk_mgr 2018-11-05 14:20:48 -05:00
hw_sequencer.h drm/amd/display: Ungate stream before programming registers 2019-02-19 15:58:26 -05:00
link_hwss.h drm/amd/display: add eDP 1.2+ polling for T7 2018-02-19 14:19:34 -05:00
reg_helper.h drm/amd/display: generic indirect register access 2018-07-13 14:47:33 -05:00
resource.h drm/amd/display: move pplib/smu notification to dccg block 2018-11-05 14:20:40 -05:00
vm_helper.h drm/amd/display: DC VM Fixes 2019-02-06 13:30:12 -05:00