drm/amd/display: program DPP shaper and 3D LUT if updated
authorMelissa Wen <mwen@igalia.com>
Tue, 23 May 2023 22:15:16 +0000 (21:15 -0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Jun 2023 17:12:15 +0000 (13:12 -0400)
commit2dc84508f8c692d455b991a2feee85aa5d647568
tree7d1485c1e18c4b563fd3ec7e1b8e40bb790153f1
parentd6149086b45e150c170beaa4546495fd1880724c
drm/amd/display: program DPP shaper and 3D LUT if updated

If shaper and 3D LUT data updates, lut_3d bit in update_flag is updated
and we need to call set_input_transfer_func to program DPP shaper and 3D
LUTs. Small cleanup of code style in the related if-condition.

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: Melissa Wen <mwen@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c