]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Implement bias and scale pre scl
authorRelja Vojvodic <relja.vojvodic@amd.com>
Thu, 27 Jun 2024 21:41:36 +0000 (17:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Jul 2024 21:07:10 +0000 (17:07 -0400)
commitc83ecc0bee94995117329fccbfa6e8b43ce56044
tree0d1125a7ad5a1ceecf7866d2565d8142f9911c1d
parent5fc77c26970d443f1c020ee8a5d475ad6b81e15f
drm/amd/display: Implement bias and scale pre scl

why:
New scaler needs the input to be full range color space. This will also fix
issues that come up due to not having a predefined limited color space matrix
for certain color spaces

how:
Use bias and scale HW to expand the range of limited color spaces to full
before the scaler

Reviewed-by: Krunoslav Kovac <krunoslav.kovac@amd.com>
Signed-off-by: Jerry Zuo <jerry.zuo@amd.com>
Signed-off-by: Relja Vojvodic <relja.vojvodic@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/core/dc_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dpp/dcn35/dcn35_dpp.c
drivers/gpu/drm/amd/display/dc/dpp/dcn35/dcn35_dpp.h
drivers/gpu/drm/amd/display/dc/dpp/dcn401/dcn401_dpp.c
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c
drivers/gpu/drm/amd/display/dc/inc/hw/hw_shared.h