diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2022-07-14 08:07:55 -0700 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2022-07-18 06:53:38 -0700 |
commit | 031a2fea0482965175ad20adea44bdfe6ed817aa (patch) | |
tree | e900414df1aa8a15cfac823fff28c273f52c9397 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | ad444123a4a1d2944bd72fc877af9aabef01b889 (diff) |
drm/i915/psr: Disable PSR before disable pipe
The issue here was on for_each_intel_encoder_mask_with_psr() over the
new_crtc_state encoder mask, so if the CRTC was being disabled mask
would be zero and it would not have any chance to disable PSR.
So here doing for_each_intel_encoder_mask_with_psr() over the
old_crtc_state encoder mask and then using the new_crtc_state to
check if PSR needs to be disabled.
Cc: Jouni Högander <jouni.hogander@intel.com>
Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220714150755.154985-2-jose.souza@intel.com
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions