]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Disable replay if VRR capability is false
authorTom Chung <chiahsuan.chung@amd.com>
Wed, 26 Jun 2024 08:14:24 +0000 (16:14 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jul 2024 21:07:09 +0000 (17:07 -0400)
commitb68417613d4134b9e39fff95e72ca726268b47db
tree31b1a385215eb72578bcd51ab90986e44e383bb3
parente84f798a93881062cd14ce316a68068edd50bfb4
drm/amd/display: Disable replay if VRR capability is false

[Why]
The VRR need to be supported for panel replay feature.
If VRR capability is false, panel replay capability also
need to be disabled.

[How]
After update the vrr capability, the panel replay capability
also need to be check if need.

Reviewed-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c