diff options
| author | Nikola Cornij <[email protected]> | 2019-08-28 18:30:43 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-10-03 09:10:57 -0500 |
| commit | 2fef0faa1cdc5d41ce3ef83f7b8f7e7ecb02d700 (patch) | |
| tree | e4540707598cd5055d696646848c3de5ce5254a1 /tools/perf/scripts/python/bin | |
| parent | 2ad0cdf9e2e9e079af34af681863fa638f2ee212 (diff) | |
drm/amd/display: Set number of pipes to 1 if the second pipe was disabled
[why]
Some ODM-related register settings are inconsistently updated by VBIOS, causing
the state in DC to be invalid, which would then end up crashing in certain
use-cases (such as disable/enable device).
[how]
Check the enabled status of the second pipe when determining the number of
OPTC sources. If the second pipe is disabled, set the number of sources to 1
regardless of other settings (that may not be updated correctly).
Signed-off-by: Nikola Cornij <[email protected]>
Reviewed-by: Dmytro Laktyushkin <[email protected]>
Acked-by: Leo Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions