summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKrunoslav Kovac <krunoslav.kovac@amd.com>2023-08-08 21:33:42 +0300
committerAlex Deucher <alexander.deucher@amd.com>2023-08-30 21:58:33 +0300
commit4d5fd3d08ea9926fb2031ff7cfb4d72b7c950301 (patch)
tree37e254d4d8e09dc571a799321d246b1769c99024 /include
parent53d8e3beeaa92d916546abb4c4ac2b88d5a5b3f8 (diff)
downloadlinux-4d5fd3d08ea9926fb2031ff7cfb4d72b7c950301.tar.xz
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions