]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix check for setting input TF
authorAndrew Jiang <Andrew.Jiang@amd.com>
Wed, 20 Dec 2017 15:07:42 +0000 (10:07 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:17:31 +0000 (14:17 -0500)
commitcdb3d3271639535dfdb98926a9c89decaab22b06
treecb41bfdbcab6203e0fe29e9977e783336ebd10f2
parent3410899af24ccb6dd8e02f107b2d4c47e392589d
drm/amd/display: Fix check for setting input TF

We no longer change the plane state pointer for full updates, and as
such, we weren't setting the input transfer function and programming the
degamma registers when we are supposed to. Check for a full update, an
input TF change, or a gamma change in the update flags instead to correct
this.

Signed-off-by: Andrew Jiang <Andrew.Jiang@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@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
drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c
drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c