]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/display: Only update output transfer function for full type.
authorYongqiang Sun <yongqiang.sun@amd.com>
Fri, 10 Nov 2017 20:40:52 +0000 (15:40 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:48:09 +0000 (12:48 -0500)
commit675634c5aba341b2fee890fb93b3d3649ac5ce0b
treef0c755a3987dfb2fd05bd51fd843dc502ccee321
parentdce46c53208f90cf5a401b62b17bbe2bc629c069
drm/amd/display: Only update output transfer function for full type.

dcn10_translate_regamma_to_hw_format costs 750us to run, it cannot be
called within isr, check update flag before calling, only do it for
full update.

Signed-off-by: Yongqiang Sun <yongqiang.sun@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/dcn10/dcn10_hw_sequencer.c