linux/drivers/gpu/drm/amd/display
Harry Wentland 27fc10d109 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 <daniel.wheeler@amd.com>
Reviewed-by: Krunoslav Kovac <krunoslav.kovac@amd.com>
Acked-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-06-30 13:12:15 -04:00
..
amdgpu_dm Revert "drm/amd/display: edp do not add non-edid timings" 2023-06-30 13:12:15 -04:00
dc drm/amd/display: Fix the delta clamping for shaper LUT 2023-06-30 13:12:15 -04:00
dmub drm/amd/display: Set minimum requirement for using PSR-SU on Phoenix 2023-06-30 13:11:36 -04:00
include drm/amd/display: fix compilation error due to shifting negative value 2023-06-09 12:38:19 -04:00
modules Revert "drm/amd: Disable PSR-SU on Parade 0803 TCON" 2023-06-30 13:11:36 -04:00
Kconfig Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux into drm-next 2023-06-15 14:11:22 +10:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP 2023-03-07 14:22:39 -05:00
TODO