summary refs log tree commit diff
path: root/Kbuild
diff options
context:
space:
mode:
authorKrunoslav Kovac <krunoslav.kovac@amd.com>2023-08-08 14:33:42 -0400
committerCristian Ciocaltea <cristian.ciocaltea@collabora.com>2023-09-11 21:18:11 +0300
commit03e32af8b40060d89c48004717057274213a2720 (patch)
tree4c7140dcedb53ef49e1cda69076640bb0f6d207b /Kbuild
parent312d559a6946f9fb0a8c687d938cf9b8e04a508f (diff)
downloadlinux-03e32af8b40060d89c48004717057274213a2720.tar.gz
drm/amd/display: PQ tail accuracy
[WHY & HOW]
HW LUTs changed slightly in DCN3: 256 base+slope pairs were replaced by
257 bases. Code was still calculating all 256 base+slope and then
creating 257th pt as last base + last slope.
This was done in wrong format, and then "fixed" it by making the last
two points the same thus making the last slope=0.
However, this also created some precision problems near the end that
are not visible but they do show up with capture cards.

Solution is to calculate 257 and remove deltas since we no longer have
those HW registers.

Reviewed-by: Anthony Koo <anthony.koo@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Krunoslav Kovac <krunoslav.kovac@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 4d5fd3d08ea9926fb2031ff7cfb4d72b7c950301)
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions