drm/amd/display: Program gamut remap as part of stream update
authorSivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com>
Thu, 26 Jul 2018 18:58:35 +0000 (14:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:11:00 +0000 (11:11 -0500)
commit8ab5617279507044682248f47c3afa9f753d8fe3
treee774b88fd7525b5d644b867457cf8c6745f35e84
parent72ac71a7e65260cc9a5f5e7dde5d14892d867c98
drm/amd/display: Program gamut remap as part of stream update

Add gamut remap to dc_stream_update struct, and program if set when updating
streams.

Signed-off-by: SivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Leo Li <sunpeng.li@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_stream.h