[PATCH 20/23] drm/amd/display: Disables dynamic memory clock switching in games

Michel Dänzer michel.daenzer at mailbox.org
Mon Jun 13 10:41:05 UTC 2022


On 2022-06-10 22:52, Hamza Mahfooz wrote:
> From: Harry VanZyllDeJong <harry.vanzylldejong at amd.com>
> 
> [WHY]
> Game performace may be affected if dynamic memory clock switching
> is enabled while playing games.
> 
> [HOW]
> Propagate the vrr active state to dirty bit so that on mode set it
> disables dynamic memory clock switching.

So dynamic memory clock switching will be disabled whenever VRR is enabled?

Note that there is ongoing discussion about how Wayland compositors could usefully keep VRR enabled all the time, as opposed to only while there's a fullscreen application like a game. So "VRR is enabled" likely won't be equivalent to "game is running" in the long term.


-- 
Earthling Michel Dänzer            |                  https://redhat.com
Libre software enthusiast          |         Mesa and Xwayland developer


More information about the amd-gfx mailing list