diff options
author | Lo-an Chen <lo-an.chen@amd.com> | 2024-11-14 17:53:41 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-12-02 18:35:25 -0500 |
commit | 24d3749c11d949972d8c22e75567dc90ff5482e7 (patch) | |
tree | 8c6bbba8794985080e2c76000d563242a57b8624 /drivers/gpu/drm/amd/include/vega10_enum.h | |
parent | 6a7fd76b949efe40fb6d6677f480e624e0cb6e40 (diff) | |
download | linux-24d3749c11d949972d8c22e75567dc90ff5482e7.tar.gz linux-24d3749c11d949972d8c22e75567dc90ff5482e7.tar.bz2 linux-24d3749c11d949972d8c22e75567dc90ff5482e7.zip |
drm/amd/display: Correct prefetch calculation
[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>
Diffstat (limited to 'drivers/gpu/drm/amd/include/vega10_enum.h')
0 files changed, 0 insertions, 0 deletions