]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: wake up ogam mem pwr before programming ocsc
authorCharlene Liu <charlene.liu@amd.com>
Wed, 24 Jul 2019 22:14:46 +0000 (18:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Aug 2019 15:56:19 +0000 (10:56 -0500)
commit041475e4c4de34587bcaf76e85adc7238a1b2115
treec2e5bade09b480f1ad77f5d43d307b149d4ededa
parent9d3e60fbb5432c38f8f2d56454526d99a4fc9f6f
drm/amd/display: wake up ogam mem pwr before programming ocsc

[Description]
OGAM_MEM_PWR could stay in light up when driver woke up to update gamma.
either disable MEM_LOW power feature or set to OGAM_bypass could make artificial color distortion goes away.
Easy reproduce after LOW_MEM Power feature enables and resume from S3.

Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Julian Parkin <jparkin@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/dcn20/dcn20_dpp.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.h
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.c
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_mpc.h
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h