diff options
author | Gary Kattan <gary.kattan@amd.com> | 2019-01-25 15:04:14 -0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-02-19 15:58:26 -0500 |
commit | 240d09d070a7e082d9cb3c2a6112ce3c43bf5df5 (patch) | |
tree | 3bb3f42ce33a93af2852e3c3230d01217d65d74d /tools/perf/scripts/python/syscall-counts.py | |
parent | c19bd82f8b33f6cf505df0ff5027d4679fedaa3e (diff) |
drm/amd/display: Ungate stream before programming registers
[Why]
Certain tests fail after a fresh reboot. This is caused by writing to
registers prior to ungating the stream we're trying to program.
[How]
Make sure the stream is ungated before writing to its registers.
This also enables power-gating plane resources before init_hw
initializes them.
Additionally, this does some refactoring to move gating/ungating
from enable/disable_plane functions to where stream resources are
enabled/disabled.
Signed-off-by: Gary Kattan <gary.kattan@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions