summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
diff options
context:
space:
mode:
authorLo-an Chen <lo-an.chen@amd.com>2024-11-14 17:53:41 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-14 20:03:28 +0100
commita249735619a8050417b49dfa86896a547d9b5680 (patch)
tree0be29a2c53151aeac982c346f8d271593870c9bf /drivers/gpu/drm/amd/display/modules/freesync/freesync.c
parentbe826b4451fd187a7c0b04be4f8243d5df6e0450 (diff)
drm/amd/display: Correct prefetch calculation
commit 24d3749c11d949972d8c22e75567dc90ff5482e7 upstream. [WHY] The minimum value of the dst_y_prefetch_equ was not correct in prefetch calculation whice causes OPTC underflow. [HOW] Add the min operation of dst_y_prefetch_equ in prefetch calculation. Cc: Mario Limonciello <mario.limonciello@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Lo-an Chen <lo-an.chen@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions