drm/amd/display: remove output_tf_change flag
authorMelissa Wen <mwen@igalia.com>
Mon, 1 Sep 2025 21:51:05 +0000 (18:51 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 23 Sep 2025 17:54:50 +0000 (13:54 -0400)
commit41b1f9fcba62b06195e625bb88c1031102892439
treeb878f3fc25a192f835e9a0667b0af25381f4ae73
parent361ee85e980c16c9b9e236ccfac33014e8602485
drm/amd/display: remove output_tf_change flag

Remove this flag as the driver stopped managing it individually since
commit a4056c2a6344 ("drm/amd/display: use HW hdr mult for brightness
boost"). After some back and forth it was reintroduced as a condition to
`set_output_transfer_func()` in [1]. Without direct management, this
flag only changes value when all surface update flags are set true on
UPDATE_TYPE_FULL with no output TF status meaning.

Fixes: bb622e0c0044 ("drm/amd/display: program output tf when required") [1]
Signed-off-by: Melissa Wen <mwen@igalia.com>
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 752e6f283ec59ae007aa15a93d5a4b2eefa8cec9)
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c