]> Gentwo Git Trees - linux/.git/commit
drm/amd/display: more liberal vmin/vmax update for freesync
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Wed, 16 Apr 2025 15:26:54 +0000 (11:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Aug 2025 18:38:40 +0000 (14:38 -0400)
commit6d31602a9f57a7bb3c6c8dbde1d00af67e250a3f
tree4ef47e87a0b7324e989c5d943852484f6513433b
parentc210b757b400959577a5a17b783b5959b82baed8
drm/amd/display: more liberal vmin/vmax update for freesync

[Why]
FAMS2 expects vmin/vmax to be updated in the case when freesync is
off, but supported. But we only update it when freesync is enabled.

[How]
Change the vsync handler such that dc_stream_adjust_vmin_vmax() its called
irrespective of whether freesync is enabled. If freesync is supported,
then there is no harm in updating vmin/vmax registers.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3546
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.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: Roman Li <roman.li@amd.com>
Reviewed-by: ChiaHsuan 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