]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix regamma programming
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Thu, 2 Nov 2017 14:52:09 +0000 (10:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:31 +0000 (12:47 -0500)
commitb31de7e0213f000742f5a2977277896b51a7bf36
treebe10804816b9d545dff751211c4454f3bdd129b1
parentfabf0a967b218c5d5c3ad5ae1fef38ba184dd6b9
drm/amd/display: fix regamma programming

When new coefficients match cached we would skip setting regamma mode
Also, when doing a stream update we would program regamma for all pipes,
even thos that are not yet powered on. This resulted in never setting
regamma since we would cache before the pipe is powered.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@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/dcn10/dcn10_dpp.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c