Skip to contentSkip to conversation

Revert "drm/msm/dp: set self refresh aware based on PSR support"

PATCH In review Johan Hovold 4 participants 5 messages May 23, 2023 – Jun 6, 2023

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "drm/msm/dp: set self refresh aware based on PSR support"

This reverts commit 1844e680d56bb0c4e0489138f2b7ba2dc1c988e3.

PSR support clearly is not ready for mainline and specifically breaks virtual terminals which are no longer updated when PSR is enabled (e.g. no keyboard input is echoed, no cursor blink).

Disable PSR support for now by reverting commit 1844e680d56b ("drm/msm/dp: set self refresh aware based on PSR support").

Cc Vinod Polimera <[email protected]>
Cc Dmitry Baryshkov <[email protected]>

---

Bjorn reported that PSR support broke virtual terminals two months ago, but this is still broken in 6.4-rc3:

	https://lore.kernel.org/lkml/20230326162723.3lo6pnsfdwzsvbhj@ripper/

despite the following series that claimed to address this:

	https://lore.kernel.org/lkml/[email protected]

Let's revert until this has been fixed properly.

Johan

 drivers/gpu/drm/msm/dp/dp_drm.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/msm/dp/dp_drm.c +0 -2
index 785d76639497..029e08c5bb06 100644
@@ -117,8 +117,6 @@ static int edp_bridge_atomic_check(struct drm_bridge *drm_bridge,
 	if (WARN_ON(!conn_state))
 		return -ENODEV;
 
-	conn_state->self_refresh_aware = dp->psr_supported;
-
 	if (!conn_state->crtc || !crtc_state)
 		return 0;
 
Signature · 1 line
2.39.3
#1 lore raw

[ +CC: Thorsten and regzbot so they can help with tracking this regression ]

#regzbot introduced: v6.3..v6.4-rc1

Quoted 17 lines · Johan Hovold

This reverts commit 1844e680d56bb0c4e0489138f2b7ba2dc1c988e3.

PSR support clearly is not ready for mainline and specifically breaks virtual terminals which are no longer updated when PSR is enabled (e.g. no keyboard input is echoed, no cursor blink).

Disable PSR support for now by reverting commit 1844e680d56b ("drm/msm/dp: set self refresh aware based on PSR support").

Cc Vinod Polimera <[email protected]>
Cc Dmitry Baryshkov <[email protected]>

---

Bjorn reported that PSR support broke virtual terminals two months ago, but this is still broken in 6.4-rc3:

Quoted 7 lines
	https://lore.kernel.org/lkml/20230326162723.3lo6pnsfdwzsvbhj@ripper/

despite the following series that claimed to address this:

	https://lore.kernel.org/lkml/[email protected]

Let's revert until this has been fixed properly.

Virtual terminals are still broken with 6.4-rc5 on the Lenovo ThinkPad X13s two weeks after I reported this, and there has been no indication of any progress in the other related thread:

https://lore.kernel.org/lkml/[email protected]

Seems like it is time to merge this revert to get this sorted.

Rob, Abhinav, Dmitry, can either of you merge this one and get it into 6.4-rc6?

Johan

#2 lore raw
Quoted 36 lines · Johan Hovold

[ +CC: Thorsten and regzbot so they can help with tracking this regression ]

#regzbot introduced: v6.3..v6.4-rc1

Quoted 17 lines · Johan Hovold

This reverts commit 1844e680d56bb0c4e0489138f2b7ba2dc1c988e3.

PSR support clearly is not ready for mainline and specifically breaks virtual terminals which are no longer updated when PSR is enabled (e.g. no keyboard input is echoed, no cursor blink).

Disable PSR support for now by reverting commit 1844e680d56b ("drm/msm/dp: set self refresh aware based on PSR support").

Cc Vinod Polimera <[email protected]>
Cc Dmitry Baryshkov <[email protected]>

---

Bjorn reported that PSR support broke virtual terminals two months ago, but this is still broken in 6.4-rc3:

Quoted 7 lines
      https://lore.kernel.org/lkml/20230326162723.3lo6pnsfdwzsvbhj@ripper/

despite the following series that claimed to address this:

      https://lore.kernel.org/lkml/[email protected]

Let's revert until this has been fixed properly.

Virtual terminals are still broken with 6.4-rc5 on the Lenovo ThinkPad X13s two weeks after I reported this, and there has been no indication of any progress in the other related thread:

Quoted 6 lines

https://lore.kernel.org/lkml/[email protected]

Seems like it is time to merge this revert to get this sorted.

Rob, Abhinav, Dmitry, can either of you merge this one and get it into 6.4-rc6?

Rob sent the pull request few hours ago, see
https://lore.kernel.org/dri-devel/CAF6AEGuHujkFjRa6ys36Uyh0KUr4Hd16u1EMqJo8tOZ3ifVubQ@mail.gmail.com/

Signature · 2 lines
With best wishes
Dmitry
#3 lore raw
Quoted 8 lines · Dmitry Baryshkov
Quoted 6 lines · Johan Hovold

Virtual terminals are still broken with 6.4-rc5 on the Lenovo ThinkPad X13s two weeks after I reported this, and there has been no indication of any progress in the other related thread:

https://lore.kernel.org/lkml/[email protected]

Quoted 7 lines
Quoted 4 lines

Seems like it is time to merge this revert to get this sorted.

Rob, Abhinav, Dmitry, can either of you merge this one and get it into 6.4-rc6?

Rob sent the pull request few hours ago, see
https://lore.kernel.org/dri-devel/CAF6AEGuHujkFjRa6ys36Uyh0KUr4Hd16u1EMqJo8tOZ3ifVubQ@mail.gmail.com/

Ok, so you guys went with the module parameter hack. Whatever. As long as the regression is finally fixed.

Next time, some visibility into your process would be appreciated to avoid unnecessary work.

Johan

#4 lore raw
Quoted 10 lines · Johan Hovold
Quoted 9 lines · Dmitry Baryshkov
Quoted 7 lines · Johan Hovold

Virtual terminals are still broken with 6.4-rc5 on the Lenovo ThinkPad X13s two weeks after I reported this, and there has been no indication of any progress in the other related thread:

https://lore.kernel.org/lkml/[email protected]

Seems like it is time to merge this revert to get this sorted.

BTW, thx for bringing this to my attention!

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Rob, Abhinav, Dmitry, can either of you merge this one and get it into 6.4-rc6?

Rob sent the pull request few hours ago, see
https://lore.kernel.org/dri-devel/CAF6AEGuHujkFjRa6ys36Uyh0KUr4Hd16u1EMqJo8tOZ3ifVubQ@mail.gmail.com/

Ok, so you guys went with the module parameter hack. Whatever. As long as the regression is finally fixed.

Yup. Let me tell regzbot about the fix:

#regzbot fix: drm/msm/dp: add module parameter for PSR #regzbot ignore-activity

Quoted 2 lines

Next time, some visibility into your process would be appreciated to avoid unnecessary work.

Yeah, that's something we IMHO sooner or later need to improve for all of kernel development -- among others to give people that find existing bug reports a chance to find patches that were posted or applied to address the issue (and of course reporters also, like in this case).

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) --
Everything you wanna know about Linux kernel regression tracking:
https://linux-regtracking.leemhuis.info/about/#tldr
That page also explains what to do if mails like this annoy you.