linux/drivers/gpu/drm/amd/display
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
..
amdgpu_dm drm/amd/display: Convert 10kHz clks from PPLib into kHz 2018-07-20 14:24:10 -05:00
dc drm/amd/display: Prevent PSR from being enabled if initialization fails 2018-07-27 09:07:43 -05:00
include drm/amd/display: read DP sink and DP branch hardware and firmware revision from DPCD 2018-07-13 14:48:49 -05:00
modules drm/amd/display: Add headers for hardcoded 1d luts. 2018-07-16 16:11:48 -05:00
Kconfig drm/amdgpu/display: Replace CONFIG_DRM_AMD_DC_DCN1_0 with CONFIG_X86 2018-07-19 13:56:43 -05:00
Makefile drm/amd: Remove inclusion of non-existing include directories 2018-02-26 23:09:38 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00