drm/amd/display: add improvements for text display and HDR DWM and MPO
authorSamson Tam <Samson.Tam@amd.com>
Sat, 17 Aug 2024 23:16:53 +0000 (19:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Aug 2024 21:55:20 +0000 (17:55 -0400)
commit1b0ce903fe747d72e9eab86a06c79fb2c7ba2bab
tree13598198fd385ef798a934bb6d26f2699c3821b0
parentb4148dc2fa062cdb94b5165d39827bcb1a3daa28
drm/amd/display: add improvements for text display and HDR DWM and MPO

[Why]
Tune settings for improved text display.
Handle differences between DWM and MPO in HDR path.

[How]
Update sharpener LBA table.
Use HDR multiplier to calculate scalar matrix coefficients
 for HDR RGB MPO path.
Update unit tests.

Reviewed-by: Jun Lei <jun.lei@amd.com>
Signed-off-by: Samson Tam <Samson.Tam@amd.com>
Signed-off-by: Zaeem Mohamed <zaeem.mohamed@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_spl_translate.c
drivers/gpu/drm/amd/display/dc/spl/Makefile
drivers/gpu/drm/amd/display/dc/spl/dc_spl.c
drivers/gpu/drm/amd/display/dc/spl/dc_spl_types.h
drivers/gpu/drm/amd/display/dc/spl/spl_custom_float.c [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/spl/spl_custom_float.h [new file with mode: 0644]