summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
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 /tools/perf/scripts/python
parent21b673da5192e1212059caf1154c3749a9be66fa (diff)
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions