]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Only update mpc blend config if not full update
authorEric Yang <Eric.Yang2@amd.com>
Wed, 14 Mar 2018 21:41:57 +0000 (17:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 18:07:42 +0000 (13:07 -0500)
commit06bfa625c0fc1d3aec0a96f227e559b2dec6dc25
treeb470329caa7a1bcdb88ae6246ac48ff2450b62ce
parent27eb84728b4a99a0e486b2a17be6b036fa7cd130
drm/amd/display: Only update mpc blend config if not full update

The current mpcc insert/remove logic does not support updating
only a single mpcc. So when pixel alpha changed but no full update
we can mistakenly shuffle the mpcc layering order. With this change
we will only insert/remove mpcc if there is full update.

Signed-off-by: Eric Yang <Eric.Yang2@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
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c