aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
diff options
context:
space:
mode:
authorPeterson <peterson.guo@amd.com>2024-09-23 10:30:50 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-10-07 14:12:01 -0400
commiteda7f2e9bb3b6ba16cb19e521b433b22b220c0d0 (patch)
treefb04411f874cfcc6abbd1609c4aba30fcbacbace /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
parentdrm/amd/display: Noitfy DMCUB of D0/D3 state in hardware init (diff)
downloadlinux-eda7f2e9bb3b6ba16cb19e521b433b22b220c0d0.tar.gz
linux-eda7f2e9bb3b6ba16cb19e521b433b22b220c0d0.zip
drm/amd/display: Fix low black values by increasing error
[WHY] Regamma resolution for the first few black levels can have problems for calibration. [HOW] HW LUT is divided into N power-of-2 regions each with K segments. For SDR mode we set min point at 2^-10 and increments of 2^-13. It's generally more than 8-bit SDR needs, but some calibration tools and API use 12-bit curves. The fix shifts starting point to 2^-12 and starting increments at 2^-16. Reviewed-by: Krunoslav Kovac <krunoslav.kovac@amd.com> Signed-off-by: Peterson <peterson.guo@amd.com> Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@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/display/amdgpu_dm/amdgpu_dm_helpers.c')
0 files changed, 0 insertions, 0 deletions