AMD Updates FreeSync Panel Replay Support For Linux

Written by Michael Larabel in Radeon on 12 July 2023 at 10:47 AM EDT. 6 Comments
RADEON
Last month AMD Linux kernel driver patches revealed a new feature called FreeSync Panel Replay that is basically an improvement over Panel Self Refresh (PSR) for laptop displays. That code didn't make it for the recently-closed v6.5 merge window but this week AMD engineers did post a second iteration of the patches.

Published on Monday were FreeSync Panel Replay v2 patches for the AMDGPU Linux kernel driver's display code. The updated code for enabling FreeSync Panel Replay fixes issues around an invisible cursor, laggy systems, and random hangs. It's looking like this second attempt at the FreeSync Panel Replay for Linux is in much better -- and useful -- shape for this feature being found with the DCN 3.1.4 display block and newer.

Per the patch series, FreeSync Panel Replay is summed up as:
The importance of Replay
************************

In some instances, the GPU is transmitting repeated frames to the sink without any updates or changes in the content. These repeat transmission are wasteful, resulting in power draw in different aspects of the system

1. DCN is fetching the frame of data from DF/UMC/DRAM. This memory traffic prevents power down of parts of this HW path.

2. GPU is transmitting pixel data to the display through the main link of the DisplayPort interface. This prevents power down of both the Source transmitter (TX) and the Sink receiver (RX)

How it improves on PSR
************************

The concepts of utilizing replay is similar to PSR, but there is a benefit of:
Source and Sink remaining synchronized which allows for
- lower latency when switching from replay to live frames
- enable the possibility of more use cases
- easy control of the sink's refresh rate during replay

Overall this should be a nice win for new AMD Ryzen laptops when the systems begin appearing with this FreeSync Panel Replay support. The updated patches can be found on the amd-gfx mailing list while hopefully will be ready for merging with the Linux 6.6 cycle.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week