diff options
| author | Anthony Koo <[email protected]> | 2018-07-17 09:43:44 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-07-27 09:07:43 -0500 |
| commit | 9907704174e0ad4ed02766fac4049971e583323d (patch) | |
| tree | 8cfa1983a882dd61e27a030868598ab5beb5537e /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | f358b39d187500717b4bc8633cef45d87eff0a3e (diff) | |
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 <[email protected]>
Reviewed-by: Aric Cyr <[email protected]>
Acked-by: Bhawanpreet Lakha <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions