diff options
author | Aurabindo Pillai <aurabindo.pillai@amd.com> | 2025-04-16 11:26:54 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-05-07 18:08:36 -0400 |
commit | f1c6be3999d2be2673a51a9be0caf9348e254e52 (patch) | |
tree | 7c2d96a265cf93784c329a3530cfedeea1007436 /rust/helpers/signal.c | |
parent | 9984db63742099ee3f3cff35cf71306d10e64356 (diff) |
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: ChiaHsuan Chung <chiahsuan.chung@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: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit cfb2d41831ee5647a4ae0ea7c24971a92d5dfa0d)
Cc: stable@vger.kernel.org
Diffstat (limited to 'rust/helpers/signal.c')
0 files changed, 0 insertions, 0 deletions