aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorHarry Wentland <[email protected]>2023-04-06 18:06:27 -0400
committerAlex Deucher <[email protected]>2023-06-30 13:12:15 -0400
commit27fc10d1095f7a7de7c917638d7134033a190dd8 (patch)
tree35de0f9d563efb86f600566817a72de12a602ee9 /scripts/bpf_doc.py
parenta28eb4871acd4132a39a3e93b1e4f4bf500ffb41 (diff)
drm/amd/display: Fix the delta clamping for shaper LUT
The shaper LUT requires a 10-bit value of the delta between segments. We were using dc_fixpt_clamp_u0d10() to do that but it doesn't do what we want it to do. It will preserve 10-bit precision after the decimal point, but that's not quite what we want. We want 14-bit precision and discard the 4 most-significant bytes. To do that we'll do dc_fixpt_clamp_u0d14() & 0x3ff instead. Tested-by: Daniel Wheeler <[email protected]> Reviewed-by: Krunoslav Kovac <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions