]> git.itanic.dy.fi Git - linux-stable/commit
Revert "drm/i915/display: Ensure PSR gets disabled if no encoders in new state"
authorJosé Roberto de Souza <jose.souza@intel.com>
Thu, 14 Jul 2022 15:07:54 +0000 (08:07 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Mon, 18 Jul 2022 13:53:37 +0000 (06:53 -0700)
commitad444123a4a1d2944bd72fc877af9aabef01b889
treec6fa632662a83df08f59bbe0990f31e9ce72c260
parentc19491894d4baf2155387e48aa326e1b52d7b986
Revert "drm/i915/display: Ensure PSR gets disabled if no encoders in new state"

This patches fixes a issue but not in the right way as
for_each_oldnew_intel_crtc_in_state() will interate over all CRTCs
not only the crtc passed as parameter, also this two for_each loops
are not necessary and only make code harder to understand.

Proper fix will be discussed in the next patch.

This reverts commit 75f664903d8672897333b86bb450335ec6486ad5.

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-1-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_psr.c