linux/drivers/gpu/drm/amd/display/dc/dce
Anthony Koo 9907704174 drm/amd/display: Prevent PSR from being enabled if initialization fails
[Why]
PSR_SET command is sent to the microcontroller in order to initialize
parameters needed for PSR feature, such as telling the microcontroller
which pipe is driving the PSR supported panel. When this command is
skipped or fails, the microcontroller may program the wrong thing if
driver tries to enable PSR.

[How]
If PSR_SET fails, do not set psr_enable flag to indicate the feature is
not yet initialized.

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-07-27 09:07:43 -05:00
..
dce_abm.c drm/amd/display: get rid of 32.32 unsigned fixed point 2018-05-18 16:08:21 -05:00
dce_abm.h drm/amd/display: Fix check for whether dmcu fw is running 2017-12-20 14:46:32 -05:00
dce_audio.c drm/amd/display: Add Dynamic debug prints 2018-04-11 13:08:05 -05:00
dce_audio.h
dce_aux.c drm/amd/display: flatten aux_engine and engine 2018-07-27 09:07:42 -05:00
dce_aux.h drm/amd/display: flatten aux_engine and engine 2018-07-27 09:07:42 -05:00
dce_clock_source.c drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86 2018-07-19 13:56:43 -05:00
dce_clock_source.h drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86 2018-07-19 13:56:43 -05:00
dce_clocks.c drm/amd/display: separate dc_debug into dc_debug_options and dc_debug data 2018-07-24 15:15:59 -05:00
dce_clocks.h drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86 2018-07-19 13:56:43 -05:00
dce_dmcu.c drm/amd/display: Prevent PSR from being enabled if initialization fails 2018-07-27 09:07:43 -05:00
dce_dmcu.h drm/amd/display: Enable backlight support for pre-DCE11 ASICs 2018-03-14 15:08:46 -05:00
dce_hwseq.c drm/amd/display: remove dummy is_blanked() to optimise boot time 2018-05-15 13:43:07 -05:00
dce_hwseq.h drm/amd/display: add missing mask for dcn 2018-07-13 14:49:52 -05:00
dce_ipp.c drm/amd/display: get rid of 32.32 unsigned fixed point 2018-05-18 16:08:21 -05:00
dce_ipp.h
dce_link_encoder.c drm/amd/display: add DalEnableHDMI20 key support 2018-07-13 14:51:11 -05:00
dce_link_encoder.h drm/amd/display: Use dig enable to determine fast boot optimization. 2018-05-15 13:43:27 -05:00
dce_mem_input.c drm/amd/display: make function tables const 2018-07-10 14:17:11 -05:00
dce_mem_input.h drm/amd/display: Separate mem input constuctors for dce 112 and 120 2018-04-11 13:07:42 -05:00
dce_opp.c drm/amd/display: Fix FMT truncation programming 2018-03-21 00:22:35 -05:00
dce_opp.h amdgpu/dc: make opp construct void. 2017-09-29 13:01:42 -04:00
dce_scl_filters.c drm/amd/display: get rid of 32.32 unsigned fixed point 2018-05-18 16:08:21 -05:00
dce_stream_encoder.c drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86 2018-07-19 13:56:43 -05:00
dce_stream_encoder.h amdgpu/dc: make stream encoder constructor return void. 2017-09-29 13:01:29 -04:00
dce_transform.c drm/amd/display: add HDR visual confirm 2018-07-16 16:11:49 -05:00
dce_transform.h drm/amd/display: Add regamma lut write mask to SOC base 2018-03-05 15:34:10 -05:00
Makefile drm/amd/display: Decouple aux from i2c 2018-07-24 15:15:50 -05:00