diff options
| author | Krunoslav Kovac <[email protected]> | 2023-08-08 16:38:56 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-30 14:58:38 -0400 |
| commit | 959d2fc47f14f7f5ab3f74530e80c9407ced91f2 (patch) | |
| tree | 0d8c76b603ccb05de0edd4a78c2cfc0aa0102062 /tools/perf/scripts/python | |
| parent | 4d5fd3d08ea9926fb2031ff7cfb4d72b7c950301 (diff) | |
drm/amd/display: PQ regamma end point
[WHY & HOW]
PQ has a fixed range of 0-10,000 nits.
Using 1=80 nits normalization, PQ should map to 1.0 for X=125.0
HW LUT used for interpolation does not have X=125 so it's interpolated.
However, we cap Y to 1 for all X>=125.
The closest larger HW point is 128.
What we want is Y(128) such that interpolation through 125 gives 1.0.
Such value is ~1.00256.
Another change is to hardcode PQ table, we pretty much always have 1=80
normalization so the table can be static.
Reviewed-by: Aric Cyr <[email protected]>
Acked-by: Wayne Lin <[email protected]>
Signed-off-by: Krunoslav Kovac <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions