drm/amd/display: fix gamma for dpms usecase
authorRoman Li <Roman.Li@amd.com>
Tue, 3 Jan 2017 18:46:45 +0000 (13:46 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:08:23 +0000 (17:08 -0400)
commit18f39f2d674e6556d169dcf1a42493c2a632c005
tree781b2e5894fb55459c2d1ec0093d62a0c10a1a07
parent7fc698a0c0e5901923a6d6c04a59aceefffe4c9b
drm/amd/display: fix gamma for dpms usecase

For dpms usecase we need to set surface transfer function
regardless of gamma set flag.

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_types.c