aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJosé Roberto de Souza <jose.souza@intel.com>2022-07-14 08:07:55 -0700
committerJosé Roberto de Souza <jose.souza@intel.com>2022-07-18 06:53:38 -0700
commit031a2fea0482965175ad20adea44bdfe6ed817aa (patch)
treee900414df1aa8a15cfac823fff28c273f52c9397 /tools/perf/scripts/python/exported-sql-viewer.py
parentRevert "drm/i915/display: Ensure PSR gets disabled if no encoders in new state" (diff)
downloadlinux-031a2fea0482965175ad20adea44bdfe6ed817aa.tar.gz
linux-031a2fea0482965175ad20adea44bdfe6ed817aa.zip
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions