]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix gamma setting
authorRoman Li <Roman.Li@amd.com>
Thu, 16 Nov 2017 22:22:39 +0000 (17:22 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Nov 2017 22:56:54 +0000 (17:56 -0500)
commitc8eb37db428fdaad5c7d3d498f4e69703ccdf478
tree759e4db9ac73603d4e1316853812f0f33c12d176
parentcc324e3037b16ec1cf4b0191f37e52ff87203efb
drm/amd/display: fix gamma setting

Adding gamma changed check as condition for affected plane.
We ignored adding plane as affected if modeset was not required.
But for color management change we still need it.

Signed-off-by: Roman Li <Roman.Li@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/amdgpu_dm/amdgpu_dm.c