linux/drivers/gpu/drm/amd/display/dc/inc/hw
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
..
abm.h drm/amd/display: Fix check for whether dmcu fw is running 2017-12-20 14:46:32 -05:00
audio.h
aux_engine.h drm/amd/display: flatten aux_engine and engine 2018-07-27 09:07:42 -05:00
dchubbub.h drm/amd/display: Move DCC support functions into dchubbub 2018-05-15 13:43:25 -05:00
display_clock.h drm/amd/display: rename display clock block to dccg 2018-07-05 16:38:28 -05:00
dmcu.h drm/amd/display: Prevent PSR from being enabled if initialization fails 2018-07-27 09:07:43 -05:00
dpp.h drm/amd/display: Refactor SDR cursor boosting in HDR mode 2018-07-16 16:11:49 -05:00
gpio.h
hubp.h drm/amd/display: Move address tracking out of HUBP 2018-07-16 16:11:50 -05:00
hw_shared.h drm/amd/display: Move dp_pixel_encoding_type to stream_encoder include 2018-05-15 13:43:23 -05:00
ipp.h drm/amd/display: csc_transform to dc_csc_transform 2018-05-15 13:42:54 -05:00
link_encoder.h drm/amd/display: Use dig enable to determine fast boot optimization. 2018-05-15 13:43:27 -05:00
mem_input.h drm/amd/display: make function tables const 2018-07-10 14:17:11 -05:00
mpc.h drm/amd/display: align dtn logs and add mpc idle bit print 2018-04-11 13:07:41 -05:00
opp.h drm/amd/display: Move opp reg access from hwss to opp module. 2018-02-19 14:17:34 -05:00
stream_encoder.h drm/amd/display: Move dp_pixel_encoding_type to stream_encoder include 2018-05-15 13:43:23 -05:00
timing_generator.h drm/amd/display: Add function to get optc active size 2018-06-15 12:20:24 -05:00
transform.h drm/amd/display: csc_transform to dc_csc_transform 2018-05-15 13:42:54 -05:00