]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Defer BW-optimization-blocked DRR adjustments
authorJohn Olender <john.olender@gmail.com>
Wed, 16 Apr 2025 06:54:26 +0000 (02:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 May 2025 18:21:24 +0000 (14:21 -0400)
commit874697e127931bf50a37ce9d96ee80f3a08a0c38
treeea94d8b1e41b73c61bc22606ea9a4097564d8c44
parent190818d1b653fbf16138286345e67c8c1a83f29f
drm/amd/display: Defer BW-optimization-blocked DRR adjustments

[Why & How]
Instead of dropping DRR updates, defer them. This fixes issues where
monitor continues to see incorrect refresh rate after VRR was turned off
by userspace.

Fixes: 32953485c558 ("drm/amd/display: Do not update DRR while BW optimizations pending")
Link: https://gitlab.freedesktop.org/drm/amd/-/issues/3546
Reviewed-by: Sun peng Li <sunpeng.li@amd.com>
Signed-off-by: John Olender <john.olender@gmail.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 53761b7ecd83e6fbb9f2206f8c980a6aa308c844)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/dc/core/dc.c