genodelabs / genode

Genode OS Framework
https://genode.org/
Other
1.08k stars 254 forks source link

intel/display: support panel self refresh #5339

Closed alex-ab closed 1 month ago

alex-ab commented 2 months ago

Panel Self Refresh (PSR) is a feature for lowering device power by letting the display panel refresh independently, when the screen contents stay static. Linux kernel description Phoronix feature stories

alex-ab commented 2 months ago

The first commit enables the support, but is not so effective since it ever marks the framebuffer dirty on a fixed rate. With the second commit, solely if according to the capture session something changed, the framebuffer is marked as dirty, which then may trigger the wakeup of the panel. In principal the commits can also be squashed, I personally would prefer them to stay separated.

nfeske commented 2 months ago

Very nice to see the direction the code is taking, as you just mentioned to me in person. Merged to staging.