]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Update color space, bias and scale programming sequence
authorChris Park <chris.park@amd.com>
Wed, 27 Nov 2024 18:50:04 +0000 (13:50 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2024 15:32:31 +0000 (10:32 -0500)
commit2909c6d7b19ced6ff85dba6757a6d43dc446c4eb
treeb47922f4f97a367e3360d09899afe7d5aadbba58
parent57ac1175b9568a04042c998a6ab84322afc9bce0
drm/amd/display: Update color space, bias and scale programming sequence

[Why]
DMColor inaccurately updates color space, bias and scale
destructively in dc_plane_state.  This can be resolved by
accurately populating the infos on dc_plane_info where then
translation to plane state can happen as a whole surface update sequence.

[How]
Remove dc_plane_state update in DMColor and update color space,
bias and scale on dc_plane_info.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Chris Park <chris.park@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@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.c
drivers/gpu/drm/amd/display/dc/dc.h